New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

oci-budget

Package Overview
Dependencies
Maintainers
2
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-budget - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

110

lib/client.js

@@ -147,4 +147,6 @@ "use strict";

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createAlertRuleRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -170,5 +172,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -205,4 +206,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, createBudgetRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -228,5 +231,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -264,4 +266,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteAlertRuleRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -279,5 +283,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -314,4 +317,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, deleteBudgetRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -329,5 +334,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -364,4 +368,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getAlertRuleRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -387,5 +393,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -421,4 +426,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getBudgetRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -444,5 +451,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -486,4 +492,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listAlertRulesRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -509,5 +517,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -579,4 +586,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listBudgetsRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -602,5 +611,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -658,4 +666,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateAlertRuleRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -681,5 +691,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -717,4 +726,6 @@ });

const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateBudgetRequest.retryConfiguration);
const response = yield retrier.makeServiceCall(() => this._httpClient.send(request));
if (response.status && response.status >= 200 && response.status <= 299) {
if (this.logger)
retrier.logger = this.logger;
try {
const response = yield retrier.makeServiceCall(this._httpClient, request);
const sdkResponse = oci_common_2.composeResponse({

@@ -740,5 +751,4 @@ responseObject: {},

}
else {
const errBody = yield common.handleErrorBody(response);
throw common.handleErrorResponse(response, errBody);
catch (err) {
throw err;
}

@@ -745,0 +755,0 @@ });

{
"name": "oci-budget",
"version": "1.5.1",
"version": "1.5.2",
"description": "OCI NodeJS client for Budget Service",

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

"dependencies": {
"oci-common": "1.5.1",
"oci-workrequests": "1.5.1"
"oci-common": "1.5.2",
"oci-workrequests": "1.5.2"
},

@@ -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