Socket
Socket
Sign inDemoInstall

sqs-consumer

Package Overview
Dependencies
2
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.5.0 to 8.0.0

4

dist/types.d.ts

@@ -1,2 +0,2 @@

import { SQSClient, Message } from '@aws-sdk/client-sqs';
import { SQSClient, Message, QueueAttributeName } from '@aws-sdk/client-sqs';
export interface ConsumerOptions {

@@ -12,3 +12,3 @@ /**

*/
attributeNames?: string[];
attributeNames?: QueueAttributeName[];
/**

@@ -15,0 +15,0 @@ * List of message attributes to retrieve (i.e. `['name', 'address']`).

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

@@ -58,3 +58,3 @@ "main": "dist/index.js",

"sinon": "^17.0.0",
"sqs-producer": "^3.4.0",
"sqs-producer": "^4.0.0",
"ts-node": "^10.9.1",

@@ -65,7 +65,7 @@ "typedoc": "^0.25.2",

"dependencies": {
"@aws-sdk/client-sqs": "^3.428.0",
"@aws-sdk/client-sqs": "^3.447.0",
"debug": "^4.3.4"
},
"peerDependencies": {
"@aws-sdk/client-sqs": "^3.428.0"
"@aws-sdk/client-sqs": "^3.447.0"
},

@@ -72,0 +72,0 @@ "mocha": {

@@ -16,3 +16,4 @@ import {

ReceiveMessageCommandInput,
ReceiveMessageCommandOutput
ReceiveMessageCommandOutput,
QueueAttributeName
} from '@aws-sdk/client-sqs';

@@ -47,3 +48,3 @@

private handleMessageTimeout: number;
private attributeNames: string[];
private attributeNames: QueueAttributeName[];
private messageAttributeNames: string[];

@@ -50,0 +51,0 @@ private shouldDeleteMessages: boolean;

@@ -1,2 +0,2 @@

import { SQSClient, Message } from '@aws-sdk/client-sqs';
import { SQSClient, Message, QueueAttributeName } from '@aws-sdk/client-sqs';

@@ -13,3 +13,3 @@ export interface ConsumerOptions {

*/
attributeNames?: string[];
attributeNames?: QueueAttributeName[];
/**

@@ -16,0 +16,0 @@ * List of message attributes to retrieve (i.e. `['name', 'address']`).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc