alipay-sdk
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -73,3 +73,3 @@ 'use strict'; | ||
const sig = crypto.createSign('RSA-SHA1'); | ||
sig.update(payload); | ||
sig.update(new Buffer('' + payload)); | ||
return sig.sign(this.config.private_key, 'base64'); | ||
@@ -76,0 +76,0 @@ } |
{ | ||
"name": "alipay-sdk", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"pub": "npm version patch && git push origin && git push origin --tag", | ||
"pub": "npm version patch && git push origin && git push origin --tag && npm publish && tnpm sync", | ||
"test": "node node_modules/.bin/_mocha test", | ||
@@ -9,0 +9,0 @@ "cov": "node --harmony node_modules/.bin/istanbul cover node_modules/.bin/_mocha test" |
Sorry, the diff of this file is not supported yet
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1
4383
8
115