tmdb-ts 1.6.1 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TrendingMediaType, TimeWindow, TrendingResults, LanguageOption } from '../types';
|
|
1
|
+
import { TrendingMediaType, TimeWindow, TrendingResults, LanguageOption, PageOption } from '../types';
|
|
2
2
|
import { BaseEndpoint } from './base';
|
|
3
3
|
export declare class TrendingEndpoint extends BaseEndpoint {
|
|
4
4
|
constructor(accessToken: string);
|
|
5
|
-
trending<T extends TrendingMediaType>(mediaType: T, timeWindow: TimeWindow, options?: LanguageOption): Promise<TrendingResults<T>>;
|
|
5
|
+
trending<T extends TrendingMediaType>(mediaType: T, timeWindow: TimeWindow, options?: LanguageOption & PageOption): Promise<TrendingResults<T>>;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trending.js","sourceRoot":"","sources":["../../src/endpoints/trending.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"trending.js","sourceRoot":"","sources":["../../src/endpoints/trending.ts"],"names":[],"mappings":";;;AAOA,iCAAsC;AAEtC,MAAa,gBAAiB,SAAQ,mBAAY;IAChD,YAAY,WAAmB;QAC7B,KAAK,CAAC,WAAW,CAAC,CAAC;IACrB,CAAC;IAED,KAAK,CAAC,QAAQ,CACZ,SAAY,EACZ,UAAsB,EACtB,OAAqC;QAErC,OAAO,MAAM,IAAI,CAAC,GAAG,CAAC,GAAG,CACvB,aAAa,SAAS,IAAI,UAAU,EAAE,EACtC,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAfD,4CAeC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tmdb-ts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.1",
|
|
4
4
|
"description": "TMDB v3 library wrapper",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "
|
|
20
|
+
"url": "https://github.com/blakejoy/tmdb-ts.git"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
23
23
|
"tmdb",
|