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:
isWhiteandisBlackgetters/setters and options support removed fromRLWrapperBlackAndWhite.isWhiteListedandisBlackListedoptions should be used instead.IRateLimiterResOptionsinterface type removed from lib/index.d.ts.IRateLimiterResshould be used.