Releases: serviejs/servie-cookie-store
Releases · serviejs/servie-cookie-store
Common interface
Changed
- Use
servie
common interfaces over universal export
Expose `cookies` as URLSearchParams
Added
- Support
getAll
viaURLSearchParams
cache for supporting repeated cookie headers
Key Signing API
Delete Cookie
Added
- New
delete
method for removing cookies from user agent without encrypting an empty value
Servie 3.x
Changed
- Update peer dependencies to support any Servie release
Strip Trailing `=`
Changed
- Strip trailing
=
from the base 64 encoding output (=
is not URL safe, saves a few bytes also)
Move to @serviejs org
Move to @serviejs org
Better Signed Parsing
Fixed
- Correct the parsing of
data
in a signed response, was previously relying on an odd quirk ofBuffer
which ignored everything after.
Move Response
Changed
- Move
res
object intoset
method instead of constructor (usually won't have a reference to theres
object when you need to read first)
Initial Release
Simple handler for working with cookies. Just get
and set
with optional keys
object for hash verification of cookies to detect modification. Useful as a client-side session store for non-secret information.