Skip to content

v0.6.1

Latest
Compare
Choose a tag to compare
@ciscoheat ciscoheat released this 19 Sep 14:18

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 and CloudflareIPUARateLimiter that can be imported from sveltekit-rate-limiter/limiters.

Changed

  • The RateLimiterStore interface now uses number as second parameter to the add method.