@mcma/aws-api-gateway
Advanced tools
Comparing version 0.16.6 to 0.16.7
@@ -36,3 +36,3 @@ "use strict"; | ||
httpMethod = event.requestContext.http.method; | ||
path = this.config.includeStageInPath ? event.requestContext.http.path : event.requestContext.http.path.substring(event.requestContext.stage.length + 1); | ||
path = this.config.includeStageInPath || event.requestContext.stage === "$default" ? event.requestContext.http.path : event.requestContext.http.path.substring(event.requestContext.stage.length + 1); | ||
} | ||
@@ -39,0 +39,0 @@ const requestContext = new api_1.McmaApiRequestContext(new api_1.McmaApiRequest({ |
{ | ||
"name": "@mcma/aws-api-gateway", | ||
"version": "0.16.6", | ||
"version": "0.16.7", | ||
"description": "Node module with code for using AWS's API Gateway as an entry point to an MCMA API handler.", | ||
@@ -37,12 +37,12 @@ "engines": { | ||
"peerDependencies": { | ||
"@mcma/core": "0.16.6", | ||
"@mcma/api": "0.16.6", | ||
"@mcma/core": "0.16.7", | ||
"@mcma/api": "0.16.7", | ||
"@types/aws-lambda": "^8.10.114" | ||
}, | ||
"devDependencies": { | ||
"@mcma/api": "0.16.6", | ||
"@mcma/client": "0.16.6", | ||
"@mcma/core": "0.16.6", | ||
"@mcma/data": "0.16.6", | ||
"@mcma/worker-invoker": "0.16.6", | ||
"@mcma/api": "0.16.7", | ||
"@mcma/client": "0.16.7", | ||
"@mcma/core": "0.16.7", | ||
"@mcma/data": "0.16.7", | ||
"@mcma/worker-invoker": "0.16.7", | ||
"@types/aws-lambda": "^8.10.114", | ||
@@ -49,0 +49,0 @@ "@types/node": "^18.15.10", |
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
6693