Changelog
v2.1.1
- sets cookie header with a more precise approach.
v2.1.0
- add
fetchFn
to wrap options. this allows you to wrap your fetch multiple times to add other helpers.
v2.0.1
- fix headers not merged correctly and add test
v2.0.0
- now
value
,secure
,httpOnly
,maxAge
,expires
,sameSite
props will only be strictly checked only if when retrieving the cookies usingCookieOptions
, which means if you pass a cookie, it will only be checked ifname
,path
anddomain
match. This should solve issue of replacing cookies.