Skip to content

Commit

Permalink
bump: 1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lurunze1226 committed Sep 24, 2024
1 parent 4e9fb1c commit b58997c
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 741 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# 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

_published on 2024-09-23_
Expand All @@ -8,7 +16,6 @@ _published on 2024-09-23_

- support global config `customGenerateUrl` to set custom endpoint.


## 1.0.2-beta.0 & ## 1.0.2-beta.1

_published on 2024-09-03_
Expand Down
8 changes: 5 additions & 3 deletions dist/baidubce-sdk.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -57354,7 +57354,7 @@ exports.createContext = Script.createContext = function (context) {
},{"indexof":153}],411:[function(require,module,exports){
module.exports={
"name": "@baiducloud/sdk",
"version": "1.0.2-beta.2",
"version": "1.0.2",
"description": "Baidu Cloud Engine JavaScript SDK",
"main": "./index.js",
"browser": {
Expand Down Expand Up @@ -57407,7 +57407,9 @@ module.exports={
},
"devDependencies": {
"@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",
"@types/async": "^3.2.24",
"@types/jest": "^29.5.12",
Expand All @@ -57427,6 +57429,7 @@ module.exports={
"uglify-js": "^3.17.4"
}
}

},{}],412:[function(require,module,exports){
"use strict";

Expand Down Expand Up @@ -60731,7 +60734,6 @@ BosClient.prototype.selectObject = function (bucketName, objectName, body, optio

// --- E N D ---
BosClient.prototype.sendRequest = function (httpMethod, varArgs, requestUrl) {
var _varArgs$config;
var defaultArgs = {
bucketName: null,
key: null,
Expand All @@ -60743,7 +60745,7 @@ BosClient.prototype.sendRequest = function (httpMethod, varArgs, requestUrl) {
};
var endpoint = this.config.endpoint;
var bucketName = varArgs.bucketName;
var region = (_varArgs$config = varArgs.config) === null || _varArgs$config === void 0 ? void 0 : _varArgs$config.region;
var region = varArgs.config ? varArgs.config.region : this.config.region;
varArgs.bucketName = this.config.cname_enabled ? '' : bucketName;
var customGenerateUrl = varArgs.config && varArgs.config.customGenerateUrl ? varArgs.config.customGenerateUrl : this.config.customGenerateUrl ? this.config.customGenerateUrl : undefined;

Expand Down
2 changes: 1 addition & 1 deletion dist/baidubce-sdk.bundle.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit b58997c

Please sign in to comment.