@alicloud/pop-core
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -102,6 +102,7 @@ 'use strict'; | ||
// 2. caculate signature | ||
var method = (opts.method || 'GET').toUpperCase(); | ||
var normalized = normalize(params); | ||
var canonicalized = canonicalize(normalized); | ||
// 2.1 get string to sign | ||
var stringToSign = `GET&${encode('/')}&${encode(canonicalized)}`; | ||
var stringToSign = `${method}&${encode('/')}&${encode(canonicalized)}`; | ||
// 2.2 get signature | ||
@@ -108,0 +109,0 @@ const key = this.accessKeySecret + '&'; |
{ | ||
"name": "@alicloud/pop-core", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "AliCloud POP SDK core", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
13012
313