@baiducloud/sdk
Advanced tools
Comparing version 1.0.2-beta.2 to 1.0.2
# CHANGELOG | ||
## 1.0.2 | ||
_published on 2024-09-24_ | ||
- support global config `customGenerateUrl` to set custom endpoint. | ||
- support `x-bce-source` header | ||
- fix optional-chaining-assign syntax not transformed issue. | ||
## 1.0.2-beta.2 | ||
@@ -11,3 +19,2 @@ | ||
## 1.0.2-beta.0 & ## 1.0.2-beta.1 | ||
@@ -14,0 +21,0 @@ |
{ | ||
"name": "@baiducloud/sdk", | ||
"version": "1.0.2-beta.2", | ||
"version": "1.0.2", | ||
"description": "Baidu Cloud Engine JavaScript SDK", | ||
@@ -56,3 +56,5 @@ "main": "./index.js", | ||
"@babel/core": "^7.24.0", | ||
"@babel/plugin-syntax-optional-chaining-assign": "^7.24.7", | ||
"@babel/plugin-transform-async-to-generator": "^7.23.3", | ||
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", | ||
"@babel/preset-env": "^7.24.0", | ||
@@ -76,2 +78,2 @@ "@types/async": "^3.2.24", | ||
} | ||
} | ||
} |
@@ -1725,3 +1725,3 @@ /** | ||
const bucketName = varArgs.bucketName; | ||
const region = varArgs.config?.region; | ||
const region = varArgs.config ? varArgs.config.region : this.config.region; | ||
@@ -1728,0 +1728,0 @@ varArgs.bucketName = this.config.cname_enabled ? '' : bucketName; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3593526
70480
2
21