Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@twurple/api

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twurple/api - npm Package Compare versions

Comparing version 5.0.10 to 5.0.11

3

lib/api/helix/HelixRateLimiter.js

@@ -12,3 +12,4 @@ "use strict";

needsToRetryAfter(res) {
if (res.status === 429) {
if (res.status === 429 &&
(!res.headers.has('ratelimit-remaining') || Number(res.headers.get('ratelimit-remaining')) === 0)) {
return +res.headers.get('ratelimit-reset') * 1000 - Date.now();

@@ -15,0 +16,0 @@ }

{
"name": "@twurple/api",
"version": "5.0.10",
"version": "5.0.11",
"publishConfig": {

@@ -39,8 +39,8 @@ "access": "public"

"@d-fischer/shared-utils": "^3.2.0",
"@twurple/api-call": "^5.0.10",
"@twurple/common": "^5.0.10",
"@twurple/api-call": "^5.0.11",
"@twurple/common": "^5.0.11",
"tslib": "^2.0.3"
},
"devDependencies": {
"@twurple/auth": "^5.0.10"
"@twurple/auth": "^5.0.11"
},

@@ -61,3 +61,3 @@ "peerDependencies": {

},
"gitHead": "1791de16f66a5c11031d41c8d9952e3fb429eb6c"
"gitHead": "8ec06e6f31abec244f2ee03c6f088bdbb0efe20c"
}

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