New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aws-lambda-batch-invoker

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-lambda-batch-invoker - npm Package Compare versions

Comparing version

to
1.1.0

3

index.js

@@ -10,3 +10,4 @@ 'use strict';

options = Object.assign({
maxConcurrency: 5
maxConcurrency: 5,
compressPayloads: false
}, options);

@@ -13,0 +14,0 @@ this._logger = options.logger;

{
"name": "aws-lambda-batch-invoker",
"version": "1.0.3",
"version": "1.1.0",
"description": "batch invoker of a lambda function",

@@ -28,14 +28,14 @@ "main": "index.js",

"devDependencies": {
"chai": "^3.5.0",
"chai-as-promised": "^6.0.0",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"env-test": "^1.0.0",
"eslint": "^3.19.0",
"eslint-plugin-mocha": "^4.9.0",
"mocha": "^3.2.0",
"sinon": "^2.1.0"
"eslint": "^4.16.0",
"eslint-plugin-mocha": "^4.11.0",
"mocha": "^5.0.0",
"sinon": "^4.2.2"
},
"dependencies": {
"bluebird": "3.5.0",
"aws-lambda-invoker": "2.0.1"
"bluebird": "3.5.1",
"aws-lambda-invoker": "2.2.0"
}
}

@@ -10,3 +10,6 @@ # aws-lambda-batch-invoker

- **options** - { Object, optional } - an object to provide configuration options.
- **client** - { Object, optional } - a valid lambda client. If no client is provided, the default lambda client will be used.
- **logger** - { Object/Function, optional } - a valid logger. If no logger is provided, no debug information or errors will be logged.
- **compressPayloads** - { boolean, optional } - whether the payloads should be compressed to remove whitespace when being stringified. Defaults to false.
- **maxConcurrency** - { Number } - controls the max number of invocations started at the same time. Defaults to 5.

@@ -35,2 +38,3 @@ ```javascript

- **options** - { Object } - configuration options for batch invoke, overrides class set defaults.
- **compressPayloads** - { boolean, optional } - whether the payloads should be compressed to remove whitespace when being stringified. Defaults to false.
- **maxConcurrency** - { Number } - controls the max number of invocations started at the same time. Defaults to 5.

@@ -37,0 +41,0 @@ - **cb** - { function } - takes params err and result and is called on success or failure of batch invoking the lambda function. By default returns a promise that rejects on error or resolves with the result from batch invoking the lambda.