common-types
Advanced tools
Comparing version 1.6.27 to 1.6.28
@@ -13,2 +13,13 @@ "use strict"; | ||
} | ||
/** | ||
* Returns the message body regardless of whether Lambda was called by API Gateway's LambdaProxy | ||
* or from another Lambda function. | ||
* | ||
* @param input either the LambdaProxy object or type T | ||
*/ | ||
function getBodyFromPossibleLambdaProxyRequest(input) { | ||
return isLambdaProxyRequest(input) | ||
? input | ||
: input; | ||
} | ||
//# sourceMappingURL=aws.js.map |
{ | ||
"name": "common-types", | ||
"version": "1.6.27", | ||
"version": "1.6.28", | ||
"description": "Common types not included in Typescript", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/lifegadget/common-types", |
Sorry, the diff of this file is not supported yet
23704
452