fast-gateway
Advanced tools
Comparing version 2.3.18 to 2.4.0
@@ -33,5 +33,18 @@ import * as restana from 'restana'; | ||
middlewares?: Function[]; | ||
hooks?: {}; | ||
hooks?: Hooks; | ||
} | ||
interface Hooks { | ||
onRequest?: Function, | ||
rewriteHeaders?: Function, | ||
onResponse?: Function, | ||
rewriteRequestHeaders?: Function, | ||
request?: { | ||
timeout?: number, | ||
[x: string]: any | ||
} | ||
queryString?: string, | ||
[x: string]: any | ||
} | ||
interface Options<P extends restana.Protocol> { | ||
@@ -38,0 +51,0 @@ server?: restana.Server<P>; |
{ | ||
"name": "fast-gateway", | ||
"version": "2.3.18", | ||
"version": "2.4.0", | ||
"description": "A Node.js API Gateway for the masses!", | ||
@@ -44,3 +44,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"aws-sdk": "^2.686.0", | ||
"aws-sdk": "^2.691.0", | ||
"chai": "^4.2.0", | ||
@@ -54,3 +54,3 @@ "cors": "^2.8.5", | ||
"mocha": "^7.2.0", | ||
"nyc": "^15.0.1", | ||
"nyc": "^15.1.0", | ||
"opossum": "^4.2.4", | ||
@@ -57,0 +57,0 @@ "request-ip": "^2.1.3", |
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
21129
210