oauth-1.0a
Advanced tools
Comparing version 0.2.1 to 1.0.0
@@ -53,3 +53,3 @@ if (typeof(module) !== 'undefined' && typeof(exports) !== 'undefined') { | ||
break; | ||
case 'RSA-SHA1': | ||
@@ -125,3 +125,3 @@ throw new Error('oauth-1.0a does not support this signature method right now. Coming Soon...'); | ||
* -> sort | ||
* | ||
* | ||
* @param {Object} request data | ||
@@ -176,3 +176,3 @@ * @param {Object} OAuth data | ||
OAuth.prototype.deParam = function(string) { | ||
var arr = decodeURIComponent(string).split('&'); | ||
var arr = string.split('&'); | ||
var data = {}; | ||
@@ -182,3 +182,3 @@ | ||
var item = arr[i].split('='); | ||
data[item[0]] = item[1]; | ||
data[item[0]] = decodeURIComponent(item[1]); | ||
} | ||
@@ -185,0 +185,0 @@ return data; |
{ | ||
"name": "oauth-1.0a", | ||
"version": "0.2.1", | ||
"version": "1.0.0", | ||
"description": "OAuth 1.0a Request Authorization for Node and Browser.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
640834