Skip to content

Commit

Permalink
bump version 1.1.9 -> 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
riimuru committed Oct 22, 2022
1 parent 3b12a7c commit b81cda1
Show file tree
Hide file tree
Showing 7 changed files with 320 additions and 129 deletions.
28 changes: 21 additions & 7 deletions dist/providers/anime/crunchyroll.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,37 @@ declare class Crunchyroll extends AnimeParser {
protected baseUrl: string;
protected logo: string;
protected classPath: string;
private localeHeader;
private channelHeader;
private user_agent;
private headers;
private locale;
private channelId;
private TOKEN;
private options;
private locales;
private subOrder;
fetch(locale?: string, token?: string, accessToken?: string): Promise<any>;
/**
*
* @param locale Locale (default: en-US) (ar-ME, ar-SA, de-DE, en-US, es-419, es-ES, fr-FR, he-IL, it-IT, pt-BR, pl-PL, ru-RU, tr-TR)
* @param token Token
* @param accessToken Access Token
*/
static create(locale?: string, token?: string, accessToken?: string): Promise<Crunchyroll>;
/**
* @param query Search query
* @param limit Limit of results (default: 25) (max: 100)
*/
search: (query: string) => Promise<ISearch<IAnimeResult>>;
search: (query: string, limit?: number) => Promise<ISearch<IAnimeResult>>;
/**
* @param id Anime id
* @param mediaType Anime type (series, movie)
*/
fetchAnimeInfo: (id: string) => Promise<IAnimeInfo>;
fetchAnimeInfo: (id: string, mediaType: string) => Promise<IAnimeInfo>;
/**
*
* @param episodeId Episode id
* @param format subtitle format (default: `srt`) (srt, vtt, ass)
* @param type Video type (default: `adaptive_hls` (m3u8)) `adaptive_dash` (dash), `drm_adaptive_dash` (dash with drm)
*/
fetchEpisodeSources: (episodeId: string) => Promise<ISource>;
fetchEpisodeSources: (episodeId: string, format?: string, type?: string) => Promise<ISource>;
/**
*
* @param episodeId Episode id
Expand Down
245 changes: 211 additions & 34 deletions dist/providers/anime/crunchyroll.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b81cda1

Please sign in to comment.