Skip to content

Commit

Permalink
chore: publish 1.0.0-rc.34
Browse files Browse the repository at this point in the history
publish 1.0.0-rc.34
  • Loading branch information
lurunze1226 authored Dec 15, 2021
2 parents 3eec2d8 + 22064f7 commit 7843ba8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 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)

- TsdbDataClient: support database parameter.
Expand Down
10 changes: 7 additions & 3 deletions dist/baidubce-sdk.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -22222,7 +22222,7 @@ module.exports={
"_args": [
[
"[email protected]",
"/Users/lurunze/baidubce/bce-sdk-js"
"/Users/hanxiao11/console-project/github/my/bce-sdk-js"
]
],
"_development": true,
Expand All @@ -22248,7 +22248,7 @@ module.exports={
],
"_resolved": "http://registry.npm.baidu-int.com/elliptic/-/elliptic-6.5.2.tgz",
"_spec": "6.5.2",
"_where": "/Users/lurunze/baidubce/bce-sdk-js",
"_where": "/Users/hanxiao11/console-project/github/my/bce-sdk-js",
"author": {
"name": "Fedor Indutny",
"email": "[email protected]"
Expand Down Expand Up @@ -44710,7 +44710,7 @@ exports.createContext = Script.createContext = function (context) {
},{"indexof":134}],208:[function(require,module,exports){
module.exports={
"name": "@baiducloud/sdk",
"version": "1.0.0-rc.33",
"version": "1.0.0-rc.34",
"description": "Baidu Cloud Engine JavaScript SDK",
"main": "./index.js",
"browser": {
Expand Down Expand Up @@ -45726,6 +45726,7 @@ BosClient.prototype.generatePresignedUrl = function (bucketName, key, timestamp,
expirationInSeconds, headers, params, headersToSign, config) {

config = u.extend({}, this.config, config);
bucketName = config.cname_enabled ? '' : bucketName;
params = params || {};

var resource = path.normalize(path.join(
Expand All @@ -45750,6 +45751,8 @@ BosClient.prototype.generatePresignedUrl = function (bucketName, key, timestamp,

BosClient.prototype.generateUrl = function (bucketName, key, pipeline, cdn, config) {
config = u.extend({}, this.config, config);
bucketName = config.cname_enabled ? '' : bucketName;

var resource = path.normalize(path.join(
config.removeVersionPrefix ? '/' : '/v1',
strings.normalize(bucketName || ''),
Expand Down Expand Up @@ -46653,6 +46656,7 @@ BosClient.prototype.sendRequest = function (httpMethod, varArgs) {
config: {},
outputStream: null
};
varArgs.bucketName = this.config.cname_enabled ? '' : varArgs.bucketName;
var args = u.extend(defaultArgs, varArgs);

var config = u.extend({}, this.config, args.config);
Expand Down
16 changes: 8 additions & 8 deletions dist/baidubce-sdk.bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@baiducloud/sdk",
"version": "1.0.0-rc.33",
"version": "1.0.0-rc.34",
"description": "Baidu Cloud Engine JavaScript SDK",
"main": "./index.js",
"browser": {
Expand Down

0 comments on commit 7843ba8

Please sign in to comment.