Comparing version 1.5.7 to 1.6.0
@@ -24,4 +24,5 @@ /** | ||
protected "_clientConfiguration": common.ClientConfiguration; | ||
protected _circuitBreaker: null; | ||
protected _httpClient: common.HttpClient; | ||
constructor(params: common.AuthParams); | ||
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration); | ||
/** | ||
@@ -52,6 +53,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; | ||
/** | ||
* Enables the customer to create an support ticket. | ||
@@ -143,4 +140,5 @@ * @param CreateIncidentRequest | ||
protected "_clientConfiguration": common.ClientConfiguration; | ||
protected _circuitBreaker: null; | ||
protected _httpClient: common.HttpClient; | ||
constructor(params: common.AuthParams); | ||
constructor(params: common.AuthParams, clientConfiguration?: common.ClientConfiguration); | ||
/** | ||
@@ -171,6 +169,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; | ||
/** | ||
* Create user to request Customer Support Identifier(CSI) to Customer User Administrator(CUA). | ||
@@ -177,0 +171,0 @@ * @param CreateUserRequest |
@@ -42,9 +42,17 @@ "use strict"; | ||
class IncidentClient { | ||
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 && | ||
@@ -97,8 +105,2 @@ common.isRegionProvider(params.authenticationDetailsProvider)) { | ||
/** | ||
* Sets the client configuration for the client | ||
*/ | ||
set clientConfiguration(clientConfiguration) { | ||
this._clientConfiguration = clientConfiguration; | ||
} | ||
/** | ||
* Enables the customer to create an support ticket. | ||
@@ -555,9 +557,17 @@ * @param CreateIncidentRequest | ||
class UserClient { | ||
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 && | ||
@@ -610,8 +620,2 @@ common.isRegionProvider(params.authenticationDetailsProvider)) { | ||
/** | ||
* Sets the client configuration for the client | ||
*/ | ||
set clientConfiguration(clientConfiguration) { | ||
this._clientConfiguration = clientConfiguration; | ||
} | ||
/** | ||
* Create user to request Customer Support Identifier(CSI) to Customer User Administrator(CUA). | ||
@@ -618,0 +622,0 @@ * @param CreateUserRequest |
{ | ||
"name": "oci-cims", | ||
"version": "1.5.7", | ||
"version": "1.6.0", | ||
"description": "OCI NodeJS client for Cims ", | ||
@@ -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
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
400684
5505
+ Addedoci-common@1.6.0(transitive)
+ Addedoci-workrequests@1.6.0(transitive)
- Removedoci-common@1.5.7(transitive)
- Removedoci-workrequests@1.5.7(transitive)
Updatedoci-common@1.6.0
Updatedoci-workrequests@1.6.0