v0.4.0
Changed
limiter.preflight
is now async and must be awaited!- Cookie limiter options now takes a
serializeOptions
, that can be used for customizing the cookie.
Added
hashFunction
option, for custom hashing. Defaults to Web Crypto API SHA-256, will fallback to NodeJS crypto if not available.
Fixed
- Hash function is now compatible any environment that supports Web Crypto API, including Cloudflare workers.