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

oci-bds

Package Overview
Dependencies
Maintainers
2
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-bds - npm Package Compare versions

Comparing version 1.5.7 to 1.6.0

7

lib/client.d.ts

@@ -29,4 +29,5 @@ /**

protected "_clientConfiguration": common.ClientConfiguration;
protected _circuitBreaker: null;
protected _httpClient: common.HttpClient;
constructor(params: common.AuthParams);
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration);
/**

@@ -70,6 +71,2 @@ * Get the endpoint that is being used to call (ex, https://www.example.com).

/**
* Sets the client configuration for the client
*/
clientConfiguration: common.ClientConfiguration;
/**
* Adds storage to existing worker nodes. The same amount of storage will be added to all workers.

@@ -76,0 +73,0 @@ * No change will be made to already attached storage. Block Storage once added cannot be removed.

@@ -46,9 +46,17 @@ "use strict";

class BdsClient {
constructor(params) {
constructor(params, clientConfiguration) {
this["_endpoint"] = "";
this["_defaultHeaders"] = {};
this._circuitBreaker = null;
const requestSigner = params.authenticationDetailsProvider
? new common.DefaultRequestSigner(params.authenticationDetailsProvider)
: null;
this._httpClient = params.httpClient || new common.FetchHttpClient(requestSigner);
if (clientConfiguration) {
this._clientConfiguration = clientConfiguration;
this._circuitBreaker = clientConfiguration.circuitBreaker
? clientConfiguration.circuitBreaker.circuit
: null;
}
this._httpClient =
params.httpClient || new common.FetchHttpClient(requestSigner, this._circuitBreaker);
if (params.authenticationDetailsProvider &&

@@ -122,8 +130,2 @@ common.isRegionProvider(params.authenticationDetailsProvider)) {

/**
* Sets the client configuration for the client
*/
set clientConfiguration(clientConfiguration) {
this._clientConfiguration = clientConfiguration;
}
/**
* Adds storage to existing worker nodes. The same amount of storage will be added to all workers.

@@ -130,0 +132,0 @@ * No change will be made to already attached storage. Block Storage once added cannot be removed.

{
"name": "oci-bds",
"version": "1.5.7",
"version": "1.6.0",
"description": "OCI NodeJS client for BDS Service",

@@ -18,4 +18,4 @@ "repository": {

"dependencies": {
"oci-common": "1.5.7",
"oci-workrequests": "1.5.7"
"oci-common": "1.6.0",
"oci-workrequests": "1.6.0"
},

@@ -22,0 +22,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

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