Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tmi.js

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmi.js - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

14

lib/client.js

@@ -574,8 +574,5 @@ var api = require("./api");

var prime = plan.includes("Prime");
var userstate = null;
var userstate = message.tags;
if (msg) {
userstate = message.tags;
userstate['message-type'] = 'resub';
}
userstate['message-type'] = 'resub';

@@ -600,8 +597,5 @@ this.emits(["resub", "subanniversary"], [

var prime = plan.includes("Prime");
var userstate = null;
var userstate = message.tags;
if (msg) {
userstate = message.tags;
userstate['message-type'] = 'sub';
}
userstate['message-type'] = 'sub';

@@ -608,0 +602,0 @@ this.emit("subscription", channel, username, {prime, plan, planName}, msg, userstate);

{
"name": "tmi.js",
"version": "1.3.0",
"version": "1.3.1",
"description": "Javascript library for the Twitch Messaging Interface.",

@@ -5,0 +5,0 @@ "keywords": [

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