Skip to content

Commit

Permalink
chore: bump patch version 1.0.2 -> 1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
riimuru committed Jul 10, 2022
1 parent b74d8f9 commit e3ca4b3
Show file tree
Hide file tree
Showing 26 changed files with 418 additions and 29 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

## [v1.0.2](https://github.com/consumet/consumet-extentions/compare/v1.0.1...v1.0.2) - 2022-07-06
## [v1.0.3](https://github.com/consumet/consumet-extentions/compare/v1.0.3...v1.0.3)

### Commits

- feat(anime): added animepahe provider [`19fd07d`](https://github.com/consumet/consumet-extentions/commit/19fd07d3a7912743448504dd0e6767d7407afc44)
- build(deps-dev): bump ts-jest from 28.0.4 to 28.0.5 [`d9dc1b1`](https://github.com/consumet/consumet-extentions/commit/d9dc1b1eee719ed5a201907da23e57cd8e1c8471)
- build(deps-dev): bump typescript from 4.6.4 to 4.7.4 [`790158c`](https://github.com/consumet/consumet-extentions/commit/790158c1fb3b87759a92df53d3b1c2c616208b3b)
- new dist build [`3c94ba1`](https://github.com/consumet/consumet-extentions/commit/3c94ba11c23c0144f6c657f14c9a43e9a0965aaa)

## [v1.0.2](https://github.com/consumet/consumet-extentions/compare/v1.0.1...v1.0.2) - 2022-06-22

### Commits

- FIX: added a package-lock.json [`6e1e2e2`](https://github.com/consumet/consumet-extentions/commit/6e1e2e276c229504b83cd79b0301e4d7d2521859)
- FIX: fixed npm-publish.yml [`60fe7be`](https://github.com/consumet/consumet-extentions/commit/60fe7be235b24cfeb3a52b771fe3809a57f63498)
- FIX: fixed npm-publish.yml [`e2e2150`](https://github.com/consumet/consumet-extentions/commit/e2e2150ad6cb23752e0433a8ad034264f53c698a)


## [v1.0.1](https://github.com/consumet/consumet-extentions/compare/v1.0.0...v1.0.1) - 2022-06-22

### Commits
Expand Down
8 changes: 7 additions & 1 deletion dist/models/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface ISearch<T> {
export interface IAnimeInfo {
id: string;
title: string;
url: string;
url?: string;
image?: string;
releaseDate?: string;
genres?: string[];
Expand Down Expand Up @@ -62,6 +62,9 @@ export interface IVideo {
* make sure to set this to `true` if the video is hls
*/
isM3U8?: boolean;
/**
* size of the video in **bytes**
*/
size?: number;
[x: string]: unknown;
}
Expand Down Expand Up @@ -192,6 +195,9 @@ export interface ISource {
subtitles?: ISubtitle[];
sources: IVideo[];
}
/**
* Used **only** for movie/tvshow providers
*/
export declare enum TvType {
TVSERIES = "TV Series",
MOVIE = "Movie",
Expand Down
3 changes: 3 additions & 0 deletions dist/models/types.js

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

2 changes: 1 addition & 1 deletion dist/models/types.js.map

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

28 changes: 28 additions & 0 deletions dist/providers/anime/animepahe.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { AnimeParser, ISearch, IAnimeInfo, IAnimeResult, ISource } from '../../models';
declare class AnimePahe extends AnimeParser {
readonly name = "AnimePahe";
protected baseUrl: string;
protected logo: string;
protected classPath: string;
/**
* @param query Search query
*/
search: (query: string) => Promise<ISearch<IAnimeResult>>;
/**
* @param id Anime id
* @param episodePage Episode page number (optional) default: -1 to get all episodes. number of episode pages can be found in the anime info object
*/
fetchAnimeInfo: (id: string, episodePage?: number) => Promise<IAnimeInfo>;
/**
*
* @param episodeId Episode id
*/
fetchEpisodeSources: (episodeId: string) => Promise<ISource>;
private fetchEpisodes;
/**
* @deprecated
* @attention AnimePahe doesn't support this method
*/
fetchEpisodeServers: (episodeLink: string) => Promise<unknown>;
}
export default AnimePahe;
175 changes: 175 additions & 0 deletions dist/providers/anime/animepahe.js

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

1 change: 1 addition & 0 deletions dist/providers/anime/animepahe.js.map

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

11 changes: 9 additions & 2 deletions dist/providers/anime/gogoanime.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ declare class Gogoanime extends AnimeParser {
protected baseUrl: string;
protected logo: string;
protected classPath: string;
private readonly ajaxUrl;
/**
*
* @param query search query string
Expand All @@ -12,9 +13,9 @@ declare class Gogoanime extends AnimeParser {
search: (query: string, page?: number) => Promise<ISearch<IAnimeResult>>;
/**
*
* @param animeUrl anime url or id
* @param animeUrl anime id
*/
fetchAnimeInfo: (animeUrl: string) => Promise<IAnimeInfo>;
fetchAnimeInfo: (id: string) => Promise<IAnimeInfo>;
/**
*
* @param episodeId episode id
Expand All @@ -26,5 +27,11 @@ declare class Gogoanime extends AnimeParser {
* @param episodeLink episode link or episode id
*/
fetchEpisodeServers: (episodeLink: string) => Promise<IEpisodeServer[]>;
/**
* @param page page number (optional)
* @param type type of media. (optional) (default `1`) `1`: Japanese with subtitles, `2`: english/dub with no subtitles, `3`: chinese with english subtitles
*/
fetchRecentEpisodes: (page?: number, type?: number) => Promise<ISearch<IAnimeResult>>;
fetchTopAiring: (page?: number) => Promise<ISearch<IAnimeResult>>;
}
export default Gogoanime;
Loading

0 comments on commit e3ca4b3

Please sign in to comment.