Comparing version 1.3.0 to 1.3.1
@@ -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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
112668
2256