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.1 to 0.1.2

10

index.js

@@ -7,6 +7,6 @@ const request = require('request');

constructor(options) {
// Establish the base URL for the API.
this.base = options.base || 'https://api.streamelements.com/kappa/v2';
// Store the user's access token in the instance.

@@ -47,4 +47,4 @@ this.jwt = options.token;

// If we receive a status code other than 200 OK, reject the Promise.
if (response.statusCode !== 200) {
// If we receive a status code other than 2XX range, reject the Promise.
if (response.statusCode < 200 || response.statusCode > 299) {
return reject(`Error encountered during request to StreamElements. Status Code: ${response.statusCode}`);

@@ -494,2 +494,2 @@ }

module.exports = StreamElements;
module.exports = StreamElements;
{
"name": "node-streamelements",
"version": "0.1.1",
"version": "0.1.2",
"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