New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

themoviedb-ts-api

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

themoviedb-ts-api - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

dist/lib/discover.js

13

dist/index.bundle.js

@@ -153,2 +153,14 @@ var TheMovieDB = (function (exports,axios) {

var Discover = /** @class */ (function () {
function Discover(httpGet) {
var _this = this;
this.tv = function (query) {
if (query === void 0) { query = {}; }
return _this.httpGet('/discover/tv', query);
};
this.httpGet = httpGet;
}
return Discover;
}());
var TheMovieDb = /** @class */ (function () {

@@ -179,2 +191,3 @@ function TheMovieDb(token, language) {

this.authentication = new Authentication(this.httpGet);
this.discover = new Discover(this.httpGet);
}

@@ -181,0 +194,0 @@ return TheMovieDb;

@@ -150,2 +150,14 @@ import axios from 'axios';

var Discover = /** @class */ (function () {
function Discover(httpGet) {
var _this = this;
this.tv = function (query) {
if (query === void 0) { query = {}; }
return _this.httpGet('/discover/tv', query);
};
this.httpGet = httpGet;
}
return Discover;
}());
var TheMovieDb = /** @class */ (function () {

@@ -176,2 +188,3 @@ function TheMovieDb(token, language) {

this.authentication = new Authentication(this.httpGet);
this.discover = new Discover(this.httpGet);
}

@@ -178,0 +191,0 @@ return TheMovieDb;

@@ -156,2 +156,14 @@ 'use strict';

var Discover = /** @class */ (function () {
function Discover(httpGet) {
var _this = this;
this.tv = function (query) {
if (query === void 0) { query = {}; }
return _this.httpGet('/discover/tv', query);
};
this.httpGet = httpGet;
}
return Discover;
}());
var TheMovieDb = /** @class */ (function () {

@@ -182,2 +194,3 @@ function TheMovieDb(token, language) {

this.authentication = new Authentication(this.httpGet);
this.discover = new Discover(this.httpGet);
}

@@ -184,0 +197,0 @@ return TheMovieDb;

2

dist/lib/index.js

@@ -18,2 +18,3 @@ "use strict";

var authentication_1 = require("./authentication");
var discover_1 = require("./discover");
var TheMovieDb = /** @class */ (function () {

@@ -44,2 +45,3 @@ function TheMovieDb(token, language) {

this.authentication = new authentication_1.Authentication(this.httpGet);
this.discover = new discover_1.default(this.httpGet);
}

@@ -46,0 +48,0 @@ return TheMovieDb;

4

dist/types/index.d.ts
import { AxiosInstance } from 'axios';
import TV from './tv';
import { Authentication } from './authentication';
import Discover from './discover';
export declare type TheMovieDbHttpGet = (endPoint: string, params?: Record<string, any>) => Promise<any>;

@@ -8,5 +9,6 @@ export declare class TheMovieDb {

httpGet: TheMovieDbHttpGet;
authentication: Authentication;
discover: Discover;
tv: TV;
authentication: Authentication;
constructor(token: string, language?: string);
}
{
"name": "themoviedb-ts-api",
"version": "0.0.5",
"version": "0.0.6",
"description": "A TypeScript Library to interact with the API of TheMovieDB",

@@ -5,0 +5,0 @@ "keywords": ["api", "themoviedb"],

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc