Added
- Plugins can now use an array of rates for the
rate
property, so limits like "1 per secord, 100 per hour" can be set. - New limiters:
CloudflareIPRateLimiter
andCloudflareIPUARateLimiter
that can be imported fromsveltekit-rate-limiter/limiters
.
Changed
- The
RateLimiterStore
interface now usesnumber
as second parameter to theadd
method.