Skip to content

2.1.2

Compare
Choose a tag to compare
@jherax jherax released this 21 Apr 22:13
· 13 commits to master since this release

Improvements

  1. Added the options parameter to the API method removeItem(), in order to allow passing metadata to the cookie to delete. When using "cookieStorage" the new signature is: instance.removeItem(key, options)
  2. When calling setItem(), checks if the cookie was created, or deletes it if the domain or path are not valid.