@joelhc/tmdb-ts
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -11,1 +11,2 @@ export * from './account'; | ||
export * from './watch-providers'; | ||
export * from './discover'; |
@@ -23,2 +23,3 @@ "use strict"; | ||
__exportStar(require("./watch-providers"), exports); | ||
__exportStar(require("./discover"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import { AccountEndpoint, CertificationEndpoint, ChangeEndpoint, CreditsEndpoint, GenreEndpoint, MoviesEndpoint, SearchEndpoint, TvShowsEndpoint, ConfigurationEndpoint, WatchProvidersEndpoint } from './endpoints'; | ||
import { AccountEndpoint, CertificationEndpoint, ChangeEndpoint, CreditsEndpoint, GenreEndpoint, MoviesEndpoint, SearchEndpoint, TvShowsEndpoint, ConfigurationEndpoint, WatchProvidersEndpoint, DiscoverEndpoint } from './endpoints'; | ||
export default class TMDB { | ||
@@ -15,2 +15,3 @@ private readonly accessToken; | ||
get watchProviders(): WatchProvidersEndpoint; | ||
get discover(): DiscoverEndpoint; | ||
} |
@@ -38,4 +38,7 @@ "use strict"; | ||
} | ||
get discover() { | ||
return new endpoints_1.DiscoverEndpoint(this.accessToken); | ||
} | ||
} | ||
exports.default = TMDB; | ||
//# sourceMappingURL=tmdb.js.map |
{ | ||
"name": "@joelhc/tmdb-ts", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "TMDB v3 library wrapper", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
80879
87
2043