Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@baiducloud/sdk

Package Overview
Dependencies
Maintainers
5
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baiducloud/sdk - npm Package Compare versions

Comparing version 1.0.0-rc.39 to 1.0.0-rc.40

5

CHANGELOG.md
# CHANGELOG
## 1.0.0-rc.40(2023-06-19)
- BosClient: 'x-bce-security-token' considered in auth token.
## 1.0.0-rc.39(2023-06-16)

@@ -3,0 +8,0 @@

2

package.json
{
"name": "@baiducloud/sdk",
"version": "1.0.0-rc.39",
"version": "1.0.0-rc.40",
"description": "Baidu Cloud Engine JavaScript SDK",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -109,2 +109,7 @@ /**

var auth = new Auth(credentials.ak, credentials.sk);
if (config.sessionToken) {
params['x-bce-security-token'] = config.sessionToken;
}
var authorization = auth.generateAuthorization(

@@ -116,5 +121,2 @@ 'GET', resource, params, headers, timestamp, expirationInSeconds,

if (config.sessionToken) {
params['x-bce-security-token'] = config.sessionToken;
}

@@ -1678,3 +1680,2 @@ return util.format('%s%s?%s', config.endpoint, resource, qs.encode(params));

var agent = this._httpAgent = new HttpClient(config);
var httpContext = {

@@ -1681,0 +1682,0 @@ httpMethod: httpMethod,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc