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

@types/sqs-consumer

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sqs-consumer - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

sqs-consumer/LICENSE

54

sqs-consumer/index.d.ts

@@ -6,39 +6,23 @@ // Type definitions for sqs-consumer

///<reference types="aws-sdk"/>
/// <reference types="node" />
import { SQS } from "aws-sdk";
declare module "sqs-consumer" {
interface Options {
queueUrl: string;
handleMessage(message: SQS.Message, done: Function): any;
region?: string;
attributeNames?: string[];
messageAttributeNames?: string[];
batchSize?: number;
visibilityTimeout?: number;
waitTimeSeconds?: number;
authenticationErrorTimeout?: number;
sqs?: SQS;
}
import { SQS } from "aws-sdk";
interface Consumer extends NodeJS.EventEmitter {
start(): void;
stop(): void;
}
module SQSConsumer {
interface MessageHandler {
(message: SQS.Message, done: Function): any;
}
interface ConsumerOpts {
queueUrl: string;
handleMessage: MessageHandler;
region?: string;
attributeNames?: string[];
messageAttributeNames?: string[];
batchSize?: number;
visibilityTimeout?: number;
waitTimeSeconds?: number;
authenticationErrorTimeout?: number;
sqs?: SQS;
}
interface Consumer extends NodeJS.EventEmitter {
start (): void;
stop (): void;
}
interface ConsumerFactory {
create(opts: ConsumerOpts): Consumer;
}
}
const Consumer: SQSConsumer.ConsumerFactory;
export = Consumer;
}
export function create(opts: Options): Consumer;
{
"name": "@types/sqs-consumer",
"version": "0.0.5",
"version": "0.0.6",
"description": "TypeScript definitions for sqs-consumer",
"license": "MIT",
"author": "Daniel Chao <http://dchao.co/>",
"contributors": [
{
"name": "Daniel Chao",
"url": "http://dchao.co/"
}
],
"main": "",

@@ -14,7 +19,8 @@ "repository": {

"dependencies": {
"@types/aws-sdk": "*"
"aws-sdk": "^2.37.0",
"@types/node": "*"
},
"peerDependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "36f079edf2fdcff2f93fa4e3b0ca64d03de564685db1d66a7fa77e405ca0866e"
"typesPublisherContentHash": "6e6b242ad1022acd5689f2657bfb34b9d6a0a0816f64f9b4e7c07e200006d39d",
"typeScriptVersion": "2.0"
}

@@ -8,9 +8,7 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/types-2.0/sqs-consumer
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sqs-consumer
Additional Details
* Last updated: Mon, 21 Nov 2016 21:03:00 GMT
* File structure: ModuleAugmentation
* Library Dependencies: aws-sdk
* Module Dependencies: aws-sdk
* Last updated: Mon, 17 Apr 2017 17:55:17 GMT
* Dependencies: aws-sdk, node
* Global values: none

@@ -17,0 +15,0 @@

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