express-rate-limit
Advanced tools
Comparing version 0.0.0-typescript-beta-5 to 0.0.0-typescript-beta-6
@@ -13,3 +13,3 @@ import express = require("express"); | ||
max: number | ((req: express.Request, res: express.Response) => number); | ||
message: string; | ||
message: any; | ||
statusCode: number; | ||
@@ -30,3 +30,3 @@ headers: boolean; | ||
remaining: number; | ||
resetTime: Date; | ||
resetTime?: Date; | ||
}; | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "express-rate-limit", | ||
"version": "0.0.0-typescript-beta-5", | ||
"version": "0.0.0-typescript-beta-6", | ||
"description": "Basic IP rate-limiting middleware for Express. Use to limit repeated requests to public APIs and/or endpoints such as password reset.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/nfriedly/express-rate-limit", |
Sorry, the diff of this file is not supported yet
32670