- All limiters support Never Expiring keys now. If limiter option
duration
is 0 orblock
method called with 0 duration, key is never expiring. Note: if you want to start using never expiring keys with already created MySQL or Postgres limiters, make sure database table is re-created or alter db table to allowexpire
column to be NULL. - Added
IRateLimiterResOptions
interface. Thank you Eladio Mora. - Tests configured to be checked by eslint now. Thanks @mkxml (issue #28)
- Fixed typing for
rateLimiterInstance.get()
. Thanks @ephemer. - Fixed
ExpressBruteFlexible
reset works with ignoreIP option. - Added
ExpressBruteFlexible
prefix
option for keys.