simple-helix-api
Advanced tools
Comparing version 4.1.6 to 4.1.7
@@ -33,3 +33,3 @@ "use strict"; | ||
this.connection = new reconnecting_websocket_1.default(this.endpoint, [], { | ||
WebSocket: ws_1.default, | ||
WebSocket: global?.WebSocket || ws_1.default, | ||
startClosed: true, | ||
@@ -36,0 +36,0 @@ maxRetries: Infinity |
@@ -47,4 +47,4 @@ "use strict"; | ||
WebSocket: global?.WebSocket || ws_1.default, | ||
maxRetries: Infinity, | ||
startClosed: true | ||
startClosed: true, | ||
maxRetries: Infinity | ||
}); | ||
@@ -51,0 +51,0 @@ return new Promise((resolve, reject) => { |
{ | ||
"name": "simple-helix-api", | ||
"version": "4.1.6", | ||
"version": "4.1.7", | ||
"description": "The Simple Helix API allows developers to easily develop applications for Twitch", | ||
@@ -19,4 +19,4 @@ "main": "./dist/index.js", | ||
"@types/ws": "^8.5.10", | ||
"@typescript-eslint/eslint-plugin": "^7.0.2", | ||
"@typescript-eslint/parser": "^7.0.2", | ||
"@typescript-eslint/eslint-plugin": "^7.1.0", | ||
"@typescript-eslint/parser": "^7.1.0", | ||
"dotenv": "^16.4.5", | ||
@@ -23,0 +23,0 @@ "eslint": "^8.57.0", |
@@ -15,3 +15,3 @@ /// <reference types="node" /> | ||
subscribedEvents: Partial<Record<TEventType, (...args: any) => any>>; | ||
readonly events: EventEmitter; | ||
readonly events: EventEmitter<[never]>; | ||
readonly WebsocketEvents: { | ||
@@ -18,0 +18,0 @@ CONNECTED: string; |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
108580
0