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.3.0-beta.8 to 3.3.0-beta.9

10

dist/lib/tmi/websocket.js

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

}
say(text, channel = this.channels[0]) {
say(text, channel = this.channels[0], tags) {
if (!this.connected || !text) {

@@ -155,3 +155,9 @@ return false;

text = text.substring(0, 500);
this.connection.send(`PRIVMSG ${channel} :${text}`);
let command = `PRIVMSG ${channel} :${text}`;
if (tags) {
command = Object.keys(tags).map(key => {
return `@${key}=${tags[key]}`;
}) + " " + command;
}
this.connection.send(command.trim());
this.events.emit("message", {

@@ -158,0 +164,0 @@ ...this.globalUserState,

2

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

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

@@ -22,3 +22,3 @@ /// <reference types="node" />

onMessage(parsed: IRCMessage): boolean | undefined;
say(text: string, channel?: string | string[]): boolean;
say(text: string, channel?: string | string[], tags?: Record<string, string>): boolean;
command(command: string, args?: string | string[], channel?: string | string[]): boolean;

@@ -25,0 +25,0 @@ on(event: TChatEvent, listener: (...args: any) => any): EventEmitter;

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