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
Fix the documentation, Cookies.remove() do not use use the converters.
The converters are currently being used to adapt third party cookies for
reading only, the "remove()" method do not retrieve anything so it
doesn't make sense using the current converter.
Closesjs-cookiegh-64.
Create a new instance of the api that overrides the default decoding implementation.
206
-
All methods that rely in a proper decoding to work, such as `Cookies.remove()` and `Cookies.get()`, will run the converter first for each cookie.
206
+
All get methods that rely in a proper decoding to work, such as `Cookies.get()` and `Cookies.get('name')`, will run the converter first for each cookie.
207
207
The returning String will be used as the cookie value.
208
208
209
209
Example from reading one of the cookies that can only be decoded using the `escape` function:
0 commit comments