Skip to content

Commit

Permalink
Merge pull request #1 from ordermentum/expose-options
Browse files Browse the repository at this point in the history
expose ClientHttpOptions
  • Loading branch information
Sutikshan authored Nov 10, 2016
2 parents df7eec6 + 338056b commit 65d149a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/oauth.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,11 @@ exports.OAuth.prototype._createClient= function( port, hostname, method, path, h
} else {
httpModel= http;
}

for( var k in this._httpOptions ) {
options[k] = this._httpOptions[k];
}
this.ClientHttpOptions = options;
return httpModel.request(options);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ "name" : "@ordermentum/oauth"
, "description" : "Library for interacting with OAuth 1.0, 1.0A, 2 and Echo. Provides simplified client access and allows for construction of more complex apis and OAuth providers."
, "version" : "0.9.15"
, "version" : "0.9.16"
, "directories" : { "lib" : "./lib" }
, "main" : "index.js"
, "author" : "Ciaran Jessup <ciaranj@gmail.com>"
Expand Down

0 comments on commit 65d149a

Please sign in to comment.