sqs-consumer
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -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", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
9169
0