cos-wx-sdk-v5 1.4.7 → 1.4.8
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.
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
9
9
|
|
|
10
|
+
## [v1.4.7](https://github.com/tencentyun/cos-wx-sdk-v5/compare/v1.4.6...v1.4.7) - 2022-11-09
|
|
11
|
+
|
|
12
|
+
fix
|
|
13
|
+
- 升级依赖包@xmldom/xmldom版本
|
|
14
|
+
|
|
15
|
+
### Merged
|
|
16
|
+
|
|
17
|
+
- fix: update @xmldom [`#80`](https://github.com/tencentyun/cos-wx-sdk-v5/pull/80)
|
|
18
|
+
|
|
19
|
+
### Commits
|
|
20
|
+
|
|
21
|
+
- Updated CHANGELOG.md [`60ad375`](https://github.com/tencentyun/cos-wx-sdk-v5/commit/60ad37542e472d0d6f1f3eaa7dc7487c4c9890d6)
|
|
22
|
+
|
|
10
23
|
## [v1.4.6](https://github.com/tencentyun/cos-wx-sdk-v5/compare/v1.4.5...v1.4.6) - 2022-10-25
|
|
11
24
|
|
|
12
25
|
fix
|
|
@@ -454,11 +467,6 @@ const 改为 var
|
|
|
454
467
|
|
|
455
468
|
## v0.4.0 - 2018-01-12
|
|
456
469
|
|
|
457
|
-
* 完成功能完整的版本
|
|
458
|
-
* 支持最大上传5GB
|
|
459
|
-
* 支持取消上传、上传进度
|
|
460
|
-
* 修复手机使用错误
|
|
461
|
-
|
|
462
470
|
### Commits
|
|
463
471
|
|
|
464
472
|
- init [`294a9a9`](https://github.com/tencentyun/cos-wx-sdk-v5/commit/294a9a9298d330e9f56da5480643a2137703007d)
|
|
@@ -6793,7 +6793,7 @@ module.exports = function(module) {
|
|
|
6793
6793
|
/*! exports provided: name, version, description, main, scripts, repository, author, license, dependencies, devDependencies, default */
|
|
6794
6794
|
/***/ (function(module) {
|
|
6795
6795
|
|
|
6796
|
-
module.exports = JSON.parse("{\"name\":\"cos-wx-sdk-v5\",\"version\":\"1.4.
|
|
6796
|
+
module.exports = JSON.parse("{\"name\":\"cos-wx-sdk-v5\",\"version\":\"1.4.8\",\"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.6\"},\"devDependencies\":{\"@babel/core\":\"7.17.9\",\"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\"}}");
|
|
6797
6797
|
|
|
6798
6798
|
/***/ }),
|
|
6799
6799
|
|
|
@@ -10705,6 +10705,12 @@ function deleteObject(params, callback) {
|
|
|
10705
10705
|
|
|
10706
10706
|
|
|
10707
10707
|
function getObjectAcl(params, callback) {
|
|
10708
|
+
var reqParams = {};
|
|
10709
|
+
|
|
10710
|
+
if (params.VersionId) {
|
|
10711
|
+
reqParams.versionId = params.VersionId;
|
|
10712
|
+
}
|
|
10713
|
+
|
|
10708
10714
|
submitRequest.call(this, {
|
|
10709
10715
|
Action: 'name/cos:GetObjectACL',
|
|
10710
10716
|
method: 'GET',
|
|
@@ -10712,6 +10718,7 @@ function getObjectAcl(params, callback) {
|
|
|
10712
10718
|
Region: params.Region,
|
|
10713
10719
|
Key: params.Key,
|
|
10714
10720
|
headers: params.Headers,
|
|
10721
|
+
qs: reqParams,
|
|
10715
10722
|
action: 'acl'
|
|
10716
10723
|
}, function (err, data) {
|
|
10717
10724
|
if (err) return callback(err);
|