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

node-streamelements

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-streamelements - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

7

index.js

@@ -357,2 +357,9 @@ const request = require('request');

}
setSongRequestVolume(volumeAmount, channel = this.accountId) {
const volume = parseInt(volumeAmount, 10);
if (isNaN(volume) || volume < 0 || volume > 100) {
throw new Error('volumeAmount should be a number between 0 and 100.');
}
return this.makeRequest(HTTP.POST, `songrequest/${channel}/player/volume`, { volume });
}

@@ -359,0 +366,0 @@ // /speech

2

package.json
{
"name": "node-streamelements",
"version": "0.1.2",
"version": "0.1.3",
"description": "An unofficial wrapper for the StreamElements API.",

@@ -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