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

oberknecht-api

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oberknecht-api - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

8

lib/api/oberknecht.api.js

@@ -154,7 +154,7 @@ let i = require("../index");

mod = (user_id, customtoken) => { return mod(this.symbol, null, user_id, customtoken) };
unmod = (user_id, customtoken) => { return unmod(this.symbol, null, user_id, customtoken) };
mod = (user_id, customtoken) => { return mod(this.symbol, this.options.userid, user_id, customtoken) };
unmod = (user_id, customtoken) => { return unmod(this.symbol, this.options.userid, user_id, customtoken) };
vip = (user_id, customtoken) => { return vip(this.symbol, null, user_id, customtoken) };
unvip = (user_id, customtoken) => { return unvip(this.symbol, null, user_id, customtoken) };
vip = (user_id, customtoken) => { return vip(this.symbol, this.options.userid, user_id, customtoken) };
unvip = (user_id, customtoken) => { return unvip(this.symbol, this.options.userid, user_id, customtoken) };

@@ -161,0 +161,0 @@ /** @param {"blue" | "blue_violet" | "cadet_blue" | "chocolate" | "coral" | "dodger_blue" | "firebrick" | "golden_rod" | "green" | "hot_pink" | "orange_red" | "red" | "sea_green" | "spring_green" | "yellow_green"} color */

@@ -11,2 +11,3 @@ const request = require("request");

return new Promise(async (resolve, reject) => {
console.log(broadcaster_id)
if (!(broadcaster_id ?? undefined) || !(user_id ?? undefined)) return reject(Error(`broadcaster_id and/or user_id is undefined`));

@@ -23,7 +24,3 @@ broadcaster_id = cleanChannelName(broadcaster_id); user_id = cleanChannelName(user_id);

})
.catch(e => {
if (!sym) return reject(e);
broadcaster_id = i.apiclientData[sym]._options.userid;
clientid = i.apiclientData[sym]._options.clientid;
});
.catch();
};

@@ -30,0 +27,0 @@

{
"name": "oberknecht-api",
"version": "0.4.3",
"version": "0.4.4",
"description": "A client for easy usage of the Twitch API (Helix)",

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

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