Socket
Socket
Sign inDemoInstall

spray-client

Package Overview
Dependencies
52
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-beta.2 to 1.0.0-beta.3

test.js

4

index.js

@@ -40,3 +40,3 @@ /**

info(token, callback) {
let request = new SprayLib.SprayRequest('get', 'user/info', {
let request = new SprayLib.SprayRequest('get', 'user/get', {
'Application-Key': this.options.apiKey,

@@ -59,1 +59,3 @@ 'API-Version': this.options.apiVersion,

}
module.exports = SprayClient;

@@ -8,3 +8,3 @@ const RP = require('request-promise');

this.method = method;
this.headers = headers;
this.headers = headers || {};
}

@@ -17,3 +17,3 @@

json: true,
headers: headers,
headers: this.headers,
body: body

@@ -20,0 +20,0 @@ };

{
"name": "spray-client",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "Utility Access for Spray API",

@@ -23,3 +23,6 @@ "main": "index.js",

"request-promise": "^4.1.1"
},
"devDependencies": {
"chai": "^3.5.0"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc