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

twitch-auth

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitch-auth - npm Package Compare versions

Comparing version 4.3.0-pre.4 to 4.3.0-pre.5

2

lib/AuthProvider/ClientCredentialsAuthProvider.js

@@ -38,3 +38,3 @@ "use strict";

if (scopes && scopes.length > 0) {
throw new Error("Scope " + (typeof scopes === 'string' ? scopes : scopes.join(',')) + " requested but the client credentials flow does not support scopes");
throw new Error("Scope " + (typeof scopes === 'string' ? scopes : scopes.join(', ')) + " requested but the client credentials flow does not support scopes");
}

@@ -41,0 +41,0 @@ if (!this._token || this._token.isExpired) {

@@ -72,3 +72,3 @@ "use strict";

if (scopes.some(function (scope) { return !_this._scopes.includes(scope); })) {
throw new Error("This token does not have the requested scopes (" + scopes.join(', ') + ") and can not be upgraded");
throw new Error("This token does not have the requested scopes (" + scopes.join(', ') + ") and can not be upgraded.\nIf you need dynamically upgrading scopes, please implement the AuthProvider interface accordingly:\n\n\thttps://d-fischer.github.io/twitch-auth/reference/interfaces/AuthProvider.html");
}

@@ -75,0 +75,0 @@ _a.label = 3;

{
"name": "twitch-auth",
"version": "4.3.0-pre.4",
"version": "4.3.0-pre.5",
"description": "Authenticate with Twitch and stop caring about refreshing tokens.",

@@ -33,5 +33,5 @@ "keywords": [

"@d-fischer/deprecate": "^2.0.2",
"@d-fischer/shared-utils": "^2.4.0",
"tslib": "^2.0.0",
"twitch-api-call": "^4.3.0-pre.4"
"@d-fischer/shared-utils": "^2.4.1",
"tslib": "^2.0.3",
"twitch-api-call": "^4.3.0-pre.5"
},

@@ -48,3 +48,3 @@ "files": [

},
"gitHead": "d68ad1df12a6816c35ed903de7a8abe9eba15d8e"
"gitHead": "c2e3adc41a1e6294f07609065d290082d08d205d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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