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