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

sqs-consumer

Package Overview
Dependencies
Maintainers
1
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqs-consumer - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

index.js

@@ -43,3 +43,3 @@ var EventEmitter = require('events').EventEmitter;

Consumer.prototype.start = function () {
var options = {
var receiveParams = {
QueueUrl: this.queueUrl,

@@ -50,3 +50,3 @@ MaxNumberOfMessages: 1,

this.sqs.receiveMessage(options, this._handleSqsResponse.bind(this));
this.sqs.receiveMessage(receiveParams, this._handleSqsResponse.bind(this));
};

@@ -81,3 +81,3 @@

var consumer = this;
var options = {
var deleteParams = {
QueueUrl: this.queueUrl,

@@ -87,3 +87,3 @@ ReceiptHandle: message.ReceiptHandle

this.sqs.deleteMessage(options, function (err) {
this.sqs.deleteMessage(deleteParams, function (err) {
if (err) return consumer.emit('error', err);

@@ -90,0 +90,0 @@

{
"name": "sqs-consumer",
"version": "1.0.1",
"version": "1.0.2",
"description": "Build SQS-based Node applications without the boilerplate",

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

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