alipay-sdk
Advanced tools
Comparing version 1.0.14 to 1.0.16
@@ -126,4 +126,8 @@ 'use strict'; | ||
const payload = this.getOrderedParamString(this.decamelize(params, needEncode)); | ||
return this.signOriginal(payload); | ||
} | ||
signOriginal(params) { | ||
const sig = crypto.createSign('RSA-SHA1'); | ||
sig.update(new Buffer('' + payload)); | ||
sig.update(new Buffer(params)); | ||
return sig.sign(this.config.privateKey, 'base64'); | ||
@@ -130,0 +134,0 @@ } |
{ | ||
"name": "alipay-sdk", | ||
"version": "1.0.14", | ||
"version": "1.0.16", | ||
"description": "", | ||
@@ -11,2 +11,3 @@ "main": "index.js", | ||
}, | ||
"author": "", | ||
"license": "ISC", | ||
@@ -13,0 +14,0 @@ "dependencies": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
75800
608
0