Sign In

clay-lambda

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clay-lambda - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+4
-3
index.js

@@ -10,3 +10,4 @@ let routes = []

event.method = method;
event.path = path;
event.path = apiPath;
event.originalPath = path;

@@ -21,3 +22,3 @@ if (routes.length == 0

if (route.path == path
if (route.path == apiPath
&& (route.method == method || route.method == '*')) {

@@ -28,3 +29,3 @@ return route.fn(event, done, fail)

return fail('Path ' + path + ' is not found.')
return fail('Path ' + apiPath + ' is not found.')
}

@@ -31,0 +32,0 @@

{
"name": "clay-lambda",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",