@baiducloud/sdk
Advanced tools
Comparing version 1.0.0-rc.33 to 1.0.0-rc.34
# CHANGELOG | ||
## 1.0.0-rc.34(2021-12-15) | ||
- BOSClient: Provide cname_enabled field when using a custom domain name to delete bucketName path. | ||
## 1.0.0-rc.33(2021-11-26) | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "@baiducloud/sdk", | ||
"version": "1.0.0-rc.33", | ||
"version": "1.0.0-rc.34", | ||
"description": "Baidu Cloud Engine JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -95,2 +95,3 @@ /** | ||
config = u.extend({}, this.config, config); | ||
bucketName = config.cname_enabled ? '' : bucketName; | ||
params = params || {}; | ||
@@ -120,2 +121,4 @@ | ||
config = u.extend({}, this.config, config); | ||
bucketName = config.cname_enabled ? '' : bucketName; | ||
var resource = path.normalize(path.join( | ||
@@ -1024,2 +1027,3 @@ config.removeVersionPrefix ? '/' : '/v1', | ||
}; | ||
varArgs.bucketName = this.config.cname_enabled ? '' : varArgs.bucketName; | ||
var args = u.extend(defaultArgs, varArgs); | ||
@@ -1026,0 +1030,0 @@ |
@@ -265,4 +265,3 @@ /** | ||
* | ||
* 用户需要将源文档所在BOS bucket权限设置为公共读,或者在自定义权限设置中为开放云文档转码服务账号 | ||
*(沙盒:798c20fa770840438a29efd66cdccf7f,线上:183db8cd3d5a4bf9a94459f89a7a3a91)添加READ权限。 | ||
* 用户需要将源文档所在BOS bucket权限设置为公共读,或者在自定义权限设置中为开放云文档转码服务账号添加READ权限。 | ||
* | ||
@@ -269,0 +268,0 @@ * 文档转码服务依赖文档的md5,为提高转码性能,文档转码服务需要用户为源文档指定md5; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2923106
58830