New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.3.3 to 0.3.4

LICENSE

7

lib/main.js

@@ -10,5 +10,8 @@ const dateFormat = require('dateformat');

class ElementalClient {
constructor(serverUrl) {
constructor(serverUrl, extraHeaders) {
const headers = extraHeaders || {};
headers.Accept = 'application/xml';
this.req = request.defaults({
headers: {'Accept': 'application/xml'},
headers,
baseUrl: serverUrl,

@@ -15,0 +18,0 @@ });

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

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

@@ -19,6 +19,5 @@ # elemental-live-client

client.presets().list().then(
(data) => console.log(`Got presets: ${data}`),
(err) => console.log(`Something went wrong: ${err}`),
);
client.presets().list()
.then((data) => console.log(`Got presets: ${data}`))
.catch((err) => console.log(`Something went wrong: ${err}`));
```

@@ -25,0 +24,0 @@

Sorry, the diff of this file is not supported yet

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