node-themoviedb
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -43,6 +43,2 @@ "use strict"; | ||
} | ||
case 429: { | ||
const retryAfter = parseInt(error.response.headers['retry-after']); | ||
throw new errors.TooManyRequests(retryAfter); | ||
} | ||
default: break; | ||
@@ -49,0 +45,0 @@ } |
{ | ||
"name": "node-themoviedb", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A Node.JS wrapper for The Movie DB API.", | ||
@@ -5,0 +5,0 @@ "author": "Andy Wampir <wampirchikkkk@yandex.ru>", |
@@ -67,3 +67,2 @@ > A Node.JS wrapper for The Movie DB API. | ||
// const response = await mdb.tv.episode.rateTVEpisode(args); | ||
console.log(response.rateLimit.limit) // 40 | ||
``` | ||
@@ -297,3 +296,3 @@ | ||
## TooManyRequests | ||
## TooManyRequests (deprecated) | ||
@@ -300,0 +299,0 @@ Throws when expired rate limit |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132290
3625
301