Comparing version 0.1.13 to 0.1.14
@@ -151,3 +151,3 @@ "use strict"; | ||
} | ||
if (ipAddress && decoded.ipaddr !== ipAddress) | ||
if (decoded.role !== "Application" && ipAddress && decoded.ipaddr !== ipAddress) | ||
throw new errors_1.Unauthorized(`Invalid request IP address`); | ||
@@ -154,0 +154,0 @@ if (decoded.role !== "Application" && permission.roles[decoded.role] !== true) |
{ | ||
"name": "tyx", | ||
"description": "TyX Core Framework, Serverless back-end in TypeScript for AWS Lambda", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"private": false, | ||
@@ -26,4 +26,3 @@ "license": "MIT", | ||
"scripts": { | ||
"package": "npx gulp package", | ||
"publish": "cd build/package && npm publish" | ||
"package": "npx gulp package" | ||
}, | ||
@@ -30,0 +29,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
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
431119