Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

disconnect

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disconnect - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

4

HISTORY.md

@@ -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 @@ ==================

4

lib/oauth.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc