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

oci-announcementsservice

Package Overview
Dependencies
Maintainers
2
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oci-announcementsservice - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

44

lib/client.js

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

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getAnnouncementRequest.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_1.composeResponse({

@@ -140,5 +142,4 @@ responseObject: {},

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

@@ -175,4 +176,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, getAnnouncementUserStatusRequest.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_1.composeResponse({

@@ -193,5 +196,4 @@ responseObject: {},

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

@@ -237,4 +239,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, listAnnouncementsRequest.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_1.composeResponse({

@@ -260,5 +264,4 @@ responseObject: {},

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

@@ -297,4 +300,6 @@ });

const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : {}, updateAnnouncementUserStatusRequest.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_1.composeResponse({

@@ -317,5 +322,4 @@ responseObject: {},

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

@@ -322,0 +326,0 @@ });

{
"name": "oci-announcementsservice",
"version": "1.5.1",
"version": "1.5.2",
"description": "OCI NodeJS client for Announcement 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