Changes
- Redis uses Lua script for expiring atomic increments. It allowed to remove a hack, which made extra queries to Redis, when TTL is not set on key set.
- RateLimiterCluster options type fixed.
BREAKING CHANGES:
isWhite
andisBlack
getters/setters and options support removed fromRLWrapperBlackAndWhite
.isWhiteListed
andisBlackListed
options should be used instead.IRateLimiterResOptions
interface type removed from lib/index.d.ts.IRateLimiterRes
should be used.