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

@altangent/aws-client

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@altangent/aws-client - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

15

dist/sqs.js

@@ -103,6 +103,13 @@ "use strict";

while (keepRunning) {
let results = yield exports.sqs
.receiveMessage({ QueueUrl: queueUrl, MaxNumberOfMessages: 10 })
.promise();
callback(results.Messages);
try {
let results = yield exports.sqs
.receiveMessage({ QueueUrl: queueUrl, MaxNumberOfMessages: 10 })
.promise();
callback(results.Messages);
}
catch (ex) {
// this needs to be here incase we have an issue with the AWS-SDK
// which occassionally happens. we want this loop to continue.
winston.error(ex);
}
}

@@ -109,0 +116,0 @@ });

{
"name": "@altangent/aws-client",
"version": "1.3.1",
"version": "1.3.2",
"description": "AWS tools",

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

@@ -115,6 +115,12 @@ import * as winston from 'winston';

while (keepRunning) {
let results = await sqs
.receiveMessage({ QueueUrl: queueUrl, MaxNumberOfMessages: 10 })
.promise();
callback(results.Messages);
try {
let results = await sqs
.receiveMessage({ QueueUrl: queueUrl, MaxNumberOfMessages: 10 })
.promise();
callback(results.Messages);
} catch (ex) {
// this needs to be here incase we have an issue with the AWS-SDK
// which occassionally happens. we want this loop to continue.
winston.error(ex);
}
}

@@ -121,0 +127,0 @@ }

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