cos-wx-sdk-v5 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6450,7 +6450,7 @@ module.exports = function(module) {
|
|
|
6450
6450
|
/*! exports provided: name, version, description, main, scripts, repository, author, license, dependencies, devDependencies, default */
|
|
6451
6451
|
/***/ (function(module) {
|
|
6452
6452
|
|
|
6453
|
-
module.exports = JSON.parse("{\"name\":\"cos-wx-sdk-v5\",\"version\":\"1.4.
|
|
6453
|
+
module.exports = JSON.parse("{\"name\":\"cos-wx-sdk-v5\",\"version\":\"1.4.1\",\"description\":\"小程序 SDK for [腾讯云对象存储服务](https://cloud.tencent.com/product/cos)\",\"main\":\"demo/lib/cos-wx-sdk-v5.min.js\",\"scripts\":{\"dev\":\"cross-env NODE_ENV=development node build.js --mode=development\",\"build\":\"cross-env NODE_ENV=production node build.js --mode=production\",\"sts.js\":\"node server/sts.js\"},\"repository\":{\"type\":\"git\",\"url\":\"http://github.com/tencentyun/cos-wx-sdk-v5.git\"},\"author\":\"carsonxu\",\"license\":\"ISC\",\"dependencies\":{\"mime\":\"^2.4.6\",\"@xmldom/xmldom\":\"^0.8.2\"},\"devDependencies\":{\"babel-core\":\"6.26.3\",\"babel-loader\":\"8.2.5\",\"@babel/preset-env\":\"7.16.11\",\"body-parser\":\"^1.18.3\",\"cross-env\":\"^7.0.3\",\"express\":\"^4.17.1\",\"qcloud-cos-sts\":\"^3.0.2\",\"terser-webpack-plugin\":\"4.2.3\",\"webpack\":\"4.46.0\",\"webpack-cli\":\"4.10.0\"}}");
|
|
6454
6454
|
|
|
6455
6455
|
/***/ }),
|
|
6456
6456
|
|
|
@@ -10922,6 +10922,7 @@ function multipartList(params, callback) {
|
|
|
10922
10922
|
|
|
10923
10923
|
function multipartListPart(params, callback) {
|
|
10924
10924
|
var reqParams = {};
|
|
10925
|
+
var tracker = params.tracker;
|
|
10925
10926
|
reqParams['uploadId'] = params['UploadId'];
|
|
10926
10927
|
reqParams['encoding-type'] = params['EncodingType'];
|
|
10927
10928
|
reqParams['max-parts'] = params['MaxParts'];
|
|
@@ -10933,7 +10934,8 @@ function multipartListPart(params, callback) {
|
|
|
10933
10934
|
Region: params.Region,
|
|
10934
10935
|
Key: params.Key,
|
|
10935
10936
|
headers: params.Headers,
|
|
10936
|
-
qs: reqParams
|
|
10937
|
+
qs: reqParams,
|
|
10938
|
+
tracker: tracker
|
|
10937
10939
|
}, function (err, data) {
|
|
10938
10940
|
if (err) {
|
|
10939
10941
|
tracker && tracker.parent && tracker.parent.setParams({
|
|
@@ -11765,9 +11767,9 @@ function _submitRequest(params, callback) {
|
|
|
11765
11767
|
self.options.ForcePathStyle && (opt.pathStyle = self.options.ForcePathStyle);
|
|
11766
11768
|
self.emit('before-send', opt);
|
|
11767
11769
|
var useAccelerate = opt.url.includes('accelerate.');
|
|
11768
|
-
var queryString = Object.keys(opt.qs).map(function (key) {
|
|
11770
|
+
var queryString = opt.qs ? Object.keys(opt.qs).map(function (key) {
|
|
11769
11771
|
return "".concat(key, "=").concat(opt.qs[key]);
|
|
11770
|
-
}).join('&');
|
|
11772
|
+
}).join('&') : '';
|
|
11771
11773
|
var fullUrl = queryString ? opt.url + '?' + queryString : opt.url;
|
|
11772
11774
|
params.tracker && params.tracker.setParams({
|
|
11773
11775
|
reqUrl: fullUrl,
|