sls-helper-plugin-janis
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -9,2 +9,6 @@ # Changelog | ||
## [2.4.1] - 2020-02-20 | ||
### Fixed | ||
- API hook now normalizes the path to avoid bad function naming | ||
## [2.4.0] - 2020-02-19 | ||
@@ -11,0 +15,0 @@ ### Added |
@@ -42,5 +42,7 @@ 'use strict'; | ||
const pathParameters = getPathParameters(path); | ||
const fileDir = getFileDirFromApiPath(path); | ||
const normalizedPath = normalizePath(path); | ||
const pathParameters = getPathParameters(normalizedPath); | ||
const fileDir = getFileDirFromApiPath(normalizedPath); | ||
methodName = methodName || method; | ||
@@ -50,3 +52,3 @@ | ||
integration: INTEGRATION, | ||
path: normalizePath(path), | ||
path: normalizedPath, | ||
method: method.toLowerCase(), | ||
@@ -53,0 +55,0 @@ request: buildRequest({ pathParameters, queryParameters, requestHeaders }), |
{ | ||
"name": "sls-helper-plugin-janis", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "A Serverless Helper plugin to add custom helpers for JANIS Commerce", | ||
@@ -5,0 +5,0 @@ "main": "lib/plugin.js", |
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
35528
818