@aesop-fables/triginta
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -73,6 +73,3 @@ "use strict"; | ||
const routeKey = `${configuredRoute.method} ${configuredRoute.route}`; | ||
const event = { | ||
version: '2.0', | ||
routeKey, | ||
headers: { | ||
const event = Object.assign({ version: '2.0', routeKey, headers: { | ||
accept: '*/*', | ||
@@ -88,4 +85,3 @@ 'accept-encoding': 'gzip, deflate, br', | ||
'x-forwarded-proto': 'http', | ||
}, | ||
requestContext: { | ||
}, requestContext: { | ||
accountId: '888888888888', | ||
@@ -107,5 +103,3 @@ apiId: 'trigintaLocal', | ||
timeEpoch: Date.now(), | ||
}, | ||
body: body ? JSON.stringify(body) : undefined, | ||
}; | ||
}, body: body ? JSON.stringify(body) : undefined }, parsePathParameters(context)); | ||
return event; | ||
@@ -112,0 +106,0 @@ } |
{ | ||
"name": "@aesop-fables/triginta", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "A lightweight framework that wraps the basic infrastructure usages of AWS Lambda (SQS, Kinesis, etc.).", | ||
@@ -5,0 +5,0 @@ "type": "commonjs", |
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
484