Socket
Socket
Sign inDemoInstall

twitch-new-api

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.5 to 2.0.6

3

dist/Twitch.js

@@ -75,2 +75,5 @@ "use strict";

}
if (retryCount <= currentRetryCount + 1) {
throw new Error(`Failed to get token after trying for ${currentRetryCount} times.`);
}
return getTokenFromTwitch(retryCount, currentRetryCount + 1);

@@ -77,0 +80,0 @@ }

5

package.json
{
"name": "twitch-new-api",
"version": "2.0.5",
"version": "2.0.6",
"description": "Twitchfa Helix Api Wrapper in TypeScript",

@@ -11,3 +11,4 @@ "main": "dist/index.js",

"test": "npx jest",
"test:watch": "npx jest --watch"
"test:watch": "npx jest --watch",
"prepublish": "npm run build"
},

@@ -14,0 +15,0 @@ "keywords": [

@@ -24,3 +24,3 @@ # Install

(async () => {
const user = await twitch.getUserById(['mechiller']);
const user = await twitch.getUserByName(['mechiller']);
const profilePicture = user[0].profile_image_url;

@@ -27,0 +27,0 @@ })();

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc