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

elemental-live-client

Package Overview
Dependencies
Maintainers
4
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elemental-live-client - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

4

lib/live-event.js

@@ -15,3 +15,5 @@ import {Resource} from './resource';

eventStatus(eventId) {
return this.elementalClient.sendRequest('GET', `/api/live_events/${eventId}/status`);
const headers = {'Accept': 'application/json'};
return this.elementalClient.sendRequest('GET', `/api/live_events/${eventId}/status`, null, null, headers);
}

@@ -18,0 +20,0 @@

{
"name": "elemental-live-client",
"version": "0.0.2",
"version": "0.1.0",
"description": "JS library to communicate with Elemental live API",

@@ -5,0 +5,0 @@ "directories": {

@@ -1,2 +0,2 @@

import ElementalClient from '../lib/elemental-client';
import ElementalClient from '../lib/main';
import {LiveEvent} from '../lib/live-event';

@@ -3,0 +3,0 @@ import {Resource} from '../lib/resource';

@@ -1,2 +0,2 @@

import ElementalClient from '../lib/elemental-client';
import ElementalClient from '../lib/main';

@@ -3,0 +3,0 @@ describe('integration tests', () => {

@@ -37,3 +37,3 @@ import {LiveEvent} from '../lib/live-event';

assert.equal(result, testData.retval);
assert(testData.sendRequest.calledWith('GET', '/api/live_events/199/status'));
assert(testData.sendRequest.calledWith('GET', '/api/live_events/199/status', null, null, {'Accept': 'application/json'}));
})

@@ -40,0 +40,0 @@

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