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

simple-helix-api

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-helix-api - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

9

dist/lib/eventsub/websocket.js

@@ -70,3 +70,10 @@ "use strict";

const data = JSON.parse(message.data);
this.events.emit(data.payload.subscription.type, data.payload.event);
switch (data.metadata.message_type) {
case "notification": {
return this.events.emit(data.metadata.subscription_type, data.payload?.event);
}
default: {
return this.events.emit(data.metadata.message_type, data.payload);
}
}
};

@@ -73,0 +80,0 @@ return this;

2

package.json
{
"name": "simple-helix-api",
"version": "3.1.0",
"version": "3.1.1",
"description": "The Simple Helix API allows developers to easily develop applications for Twitch",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -130,2 +130,3 @@ # About

const HelixAPI = require("simple-helix-api"); // you can use import
const EventSubEvent = require("simple-helix-api/dist/lib/eventsub/event");

@@ -132,0 +133,0 @@ // Init Helix instance

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