New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

twitch-eventsub

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

twitch-eventsub - npm Package Compare versions

Comparing version 4.4.6 to 4.4.7

7

lib/EventSubListener.js

@@ -92,6 +92,6 @@ "use strict";

listenerPort = (_a = adapterListenerPort !== null && adapterListenerPort !== void 0 ? adapterListenerPort : port) !== null && _a !== void 0 ? _a : 443;
this._currentListenerPort = listenerPort;
return [4 /*yield*/, this._server.listen(listenerPort)];
case 2:
_b.sent();
this._currentListenerPort = listenerPort;
this._logger.info("Listening on port " + listenerPort);

@@ -111,4 +111,2 @@ return [4 /*yield*/, this._apiClient.helix.eventSub.getSubscriptionsPaginated().getAll()];

var id = url.slice(urlPrefix.length);
// false positive
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
return [id, sub];

@@ -624,5 +622,8 @@ }

subscription = new (clazz.bind.apply(clazz, tslib_1.__spread([void 0, handler, client], params)))();
if (!this._currentListenerPort) return [3 /*break*/, 2];
return [4 /*yield*/, subscription.start(this._twitchSubscriptions.get(subscription.id))];
case 1:
_a.sent();
_a.label = 2;
case 2:
this._subscriptions.set(subscription.id, subscription);

@@ -629,0 +630,0 @@ return [2 /*return*/, subscription];

{
"name": "twitch-eventsub",
"version": "4.4.6",
"version": "4.4.7",
"description": "Listen to events on Twitch via their EventSub API.",

@@ -37,7 +37,7 @@ "keywords": [

"tslib": "^2.0.3",
"twitch-auth": "^4.4.6",
"twitch-common": "^4.4.6"
"twitch-auth": "^4.4.7",
"twitch-common": "^4.4.7"
},
"devDependencies": {
"twitch": "^4.4.6"
"twitch": "^4.4.7"
},

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

},
"gitHead": "3d82693894457637faea2b84a3f59cd722e7107b"
"gitHead": "86fa09eb31cceb459c39486a4fd32c51a013251f"
}

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