@baiducloud/sdk
Advanced tools
Comparing version 1.0.0-rc.36 to 1.0.0-rc.37
# CHANGELOG | ||
## 1.0.0-rc.37(2023-01-09) | ||
- BosClient: support 'x-bce-server-side-encryption', 'x-bce-restore-days', 'x-bce-restore-tier' headers; | ||
## 1.0.0-rc.36(2022-05-06) | ||
@@ -4,0 +7,0 @@ |
{ | ||
"name": "@baiducloud/sdk", | ||
"version": "1.0.0-rc.36", | ||
"version": "1.0.0-rc.37", | ||
"description": "Baidu Cloud Engine JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -121,3 +121,3 @@ /** | ||
bucketName = config.cname_enabled ? '' : bucketName; | ||
var resource = path.normalize(path.join( | ||
@@ -1126,3 +1126,6 @@ config.removeVersionPrefix ? '/' : '/v1', | ||
H.X_BCE_OBJECT_GRANT_READ, | ||
H.X_BCE_STORAGE_CLASS | ||
H.X_BCE_STORAGE_CLASS, | ||
H.X_BCE_SERVER_SIDE_ENCRYPTION, | ||
H.X_BCE_RESTORE_DAYS, | ||
H.X_BCE_RESTORE_TIER | ||
]; | ||
@@ -1129,0 +1132,0 @@ var metaSize = 0; |
@@ -31,2 +31,3 @@ /** | ||
/** BOS 相关headers */ | ||
exports.AUTHORIZATION = 'Authorization'; | ||
@@ -42,2 +43,5 @@ exports.X_BCE_DATE = 'x-bce-date'; | ||
exports.X_BCE_STORAGE_CLASS = 'x-bce-storage-class'; | ||
exports.X_BCE_SERVER_SIDE_ENCRYPTION = 'x-bce-server-side-encryption'; | ||
exports.X_BCE_RESTORE_DAYS = 'x-bce-restore-days'; | ||
exports.X_BCE_RESTORE_TIER = 'x-bce-restore-tier'; | ||
@@ -57,12 +61,1 @@ exports.X_HTTP_HEADERS = 'http_headers'; | ||
exports.ACCEPT = 'accept'; | ||
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3214605
61909