You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
When calling setItem(), checks if the cookie was created, or deletes it if the domain or path are not valid.
This version bumps to major because the old method .isAvaliable is renamed to .isAvailable
Improvements
Validates the availability of the storage mechanism when a new instance is created. If the requested storage is not available, then the first available storage is used.