aws-serverless-express
Advanced tools
Comparing version 1.1.4 to 1.2.0
@@ -31,3 +31,6 @@ /* | ||
headers['x-apigateway-event'] = JSON.stringify(event) | ||
const eventWithoutBody = Object.assign({}, event) | ||
delete eventWithoutBody['body'] | ||
headers['x-apigateway-event'] = JSON.stringify(eventWithoutBody) | ||
headers['x-apigateway-context'] = JSON.stringify(context) | ||
@@ -34,0 +37,0 @@ |
{ | ||
"name": "aws-serverless-express", | ||
"version": "1.1.4", | ||
"version": "1.2.0", | ||
"description": "This library enables you to utilize AWS Lambda and Amazon API Gateway to respond to web and API requests using your existing Node.js application framework.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -88,2 +88,2 @@ This library enables you to utilize [AWS Lambda](https://aws.amazon.com/lambda/) and [Amazon API Gateway](https://aws.amazon.com/api-gateway/) to respond to web and API requests using your existing [Node.js](https://nodejs.org/) application framework. The sample provided allows you to easily build serverless web applications/services and RESTful APIs using the [Express](https://expressjs.com/) framework. | ||
- Currently no support for binary data | ||
- Maximum execution time for a request is 300 seconds (5 minutes). Not suitable for long running jobs. | ||
- API Gateway has a timeout of 30 seconds, and Lambda has a maximum execution time of 5 minutes. |
27178
143