disconnect
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -0,1 +1,5 @@ | ||
0.9.1 / 2016-10-24 | ||
================== | ||
* Upgraded OAuth library to `oauth-1.0a` v2.0.0 | ||
0.9.0 / 2016-06-15 | ||
@@ -2,0 +6,0 @@ ================== |
@@ -109,7 +109,7 @@ 'use strict'; | ||
var oAuth = new OAuth({ | ||
consumer: {public: this.auth.consumerKey, secret: this.auth.consumerSecret}, | ||
consumer: {key: this.auth.consumerKey, secret: this.auth.consumerSecret}, | ||
signature_method: this.config.signatureMethod, version: this.config.version | ||
}), | ||
authObj = oAuth.authorize({method: requestMethod, url: url}, {public: this.auth.token, secret: this.auth.tokenSecret}); | ||
authObj = oAuth.authorize({method: requestMethod, url: url}, {key: this.auth.token, secret: this.auth.tokenSecret}); | ||
return oAuth.toHeader(authObj).Authorization; | ||
}; |
@@ -81,3 +81,3 @@ 'use strict'; | ||
* @param {string} user - The user name | ||
* @param {object} [params] - Optional pagination params | ||
* @param {object} [params] - Optional pagination and sorting params | ||
* @param {function} [callback] - The callback | ||
@@ -84,0 +84,0 @@ */ |
{ | ||
"name": "disconnect", | ||
"description": "A full featured Discogs API v2.0 client library", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"keywords": ["discogs", "api", "client", "oauth"], | ||
@@ -22,3 +22,3 @@ "homepage": "https://github.com/bartve/disconnect", | ||
"dependencies": { | ||
"oauth-1.0a": "1.x.x", | ||
"oauth-1.0a": "2.x.x", | ||
"depd": "1.x.x" | ||
@@ -25,0 +25,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64177
+ Addedoauth-1.0a@2.2.6(transitive)
- Removedcrypto-js@3.1.8(transitive)
- Removedoauth-1.0a@1.0.1(transitive)
Updatedoauth-1.0a@2.x.x