eh-api-client
Advanced tools
Comparing version 0.36.0 to 0.37.0
@@ -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; |
{ | ||
"name": "eh-api-client", | ||
"version": "0.36.0", | ||
"version": "0.37.0", | ||
"description": "Node.js rest client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
81374
1972