OptionalhttpSet to false if the client is a non-HTTP API (e.g., a script reading cookies directly). Causes httpOnly cookies to be excluded. Default: true.
OptionalmaxMaximum total cookies across all domains. Default: 3000 (RFC 6265 §6.1 minimum).
OptionalmaxMaximum bytes per cookie (name + value + attributes). Cookies exceeding this are silently dropped. Default: 4096 (RFC 6265 §6.1 minimum).
OptionalmaxMaximum cookies per domain. Excess cookies are evicted oldest-last-access-time first. Default: 50 (RFC 6265 §6.1 minimum).
Optionalon
Options accepted by CookieJar.
onChangeis fired after every mutation. The plugin uses this to coalesce persistence viaqueueMicrotask— any burst of mutations in a single tick produces exactly one adapter save.