claudia-api-builder
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "claudia-api-builder", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Simplify AWS ApiGateway handling", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
# Release history | ||
## 2.0.1, 16. October 2016 | ||
- bugfix for intercepting non-web requests, where 2.0 introduced backwards incompatibility wrapping even non-API Gateway requests into proxyRequest. The behaviour is now compatible with 1.x, where non-web requests are sent to the intercepting function unmodified. | ||
## 2.0.0, 27. September 2016 | ||
@@ -4,0 +8,0 @@ |
@@ -207,4 +207,7 @@ /*global module, require, Promise, console */ | ||
}, | ||
isFromApiGw = function (event) { | ||
return event && event.requestContext && event.requestContext.resourcePath && event.requestContext.httpMethod; | ||
}, | ||
getRequest = function (event, context) { | ||
if (requestFormat === 'AWS_PROXY' || requestFormat === 'DEPRECATED') { | ||
if (requestFormat === 'AWS_PROXY' || requestFormat === 'DEPRECATED' || !isFromApiGw(event)) { | ||
return event; | ||
@@ -211,0 +214,0 @@ } else { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22989
501
0