Skip to content

Releases: serviejs/servie-cookie-store

Common interface

22 May 07:34
Compare
Choose a tag to compare

Changed

  • Use servie common interfaces over universal export

Expose `cookies` as URLSearchParams

19 May 22:22
Compare
Choose a tag to compare

Added

  • Support getAll via URLSearchParams cache for supporting repeated cookie headers

Key Signing API

10 Jun 13:08
Compare
Choose a tag to compare

Changed

  • Alter the key signing API to support a greater range of use-cases and custom signature implementations (e.g. keysign for signing or keycrypt for encryption)

Delete Cookie

06 Jun 09:43
Compare
Choose a tag to compare

Added

  • New delete method for removing cookies from user agent without encrypting an empty value

Servie 3.x

19 May 06:59
Compare
Choose a tag to compare

Changed

  • Update peer dependencies to support any Servie release

Strip Trailing `=`

24 May 20:01
Compare
Choose a tag to compare

Changed

  • Strip trailing = from the base 64 encoding output (= is not URL safe, saves a few bytes also)

Move to @serviejs org

08 May 21:21
Compare
Choose a tag to compare

Better Signed Parsing

19 Apr 03:13
Compare
Choose a tag to compare

Fixed

  • Correct the parsing of data in a signed response, was previously relying on an odd quirk of Buffer which ignored everything after .

Move Response

14 Mar 16:48
Compare
Choose a tag to compare

Changed

  • Move res object into set method instead of constructor (usually won't have a reference to the res object when you need to read first)

Initial Release

12 Mar 00:30
Compare
Choose a tag to compare

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.