Socket
Socket
Sign inDemoInstall

eh-api-client

Package Overview
Dependencies
52
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.36.0 to 0.37.0

7

lib/client.js

@@ -54,2 +54,3 @@ var

this._options = options;
this._defaultOptions = {}
this.auth = options.auth;

@@ -116,2 +117,6 @@ this.apiURL = apiURL;

Client.prototype.setOptions = function(options) {
_.extend(this._defaultOptions, options);
};
Client.prototype.setRequestId = function(requestId) {

@@ -155,2 +160,4 @@ this.requestId = requestId;

_.defaults(options, this._defaultOptions)
if (options.hasOwnProperty('encoding')) {

@@ -157,0 +164,0 @@ reqParams.encoding = options.encoding;

2

package.json
{
"name": "eh-api-client",
"version": "0.36.0",
"version": "0.37.0",
"description": "Node.js rest client",

@@ -5,0 +5,0 @@ "main": "index.js",

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