@scaleway/cookie-consent
Advanced tools
Comparing version 1.0.0 to 1.0.1
# @scaleway/cookie-consent | ||
## 1.0.1 | ||
### Patch Changes | ||
- [#1537](https://github.com/scaleway/scaleway-lib/pull/1537) [`2a8bc8b`](https://github.com/scaleway/scaleway-lib/commit/2a8bc8b11fc23ba4bc2bf2b90b64dbce8ffd4d0c) Thanks [@renovate](https://github.com/apps/renovate)! - Updated dependency `@types/cookie` to `0.5.2`. | ||
- [#1553](https://github.com/scaleway/scaleway-lib/pull/1553) [`61156f6`](https://github.com/scaleway/scaleway-lib/commit/61156f6656c1707d260eaece0ea1713fdcf7946e) Thanks [@rachidBensaid](https://github.com/rachidBensaid)! - Pass cookie options when removing consent for a specific category | ||
## 1.0.0 | ||
@@ -4,0 +12,0 @@ |
@@ -70,2 +70,3 @@ import cookie from 'cookie'; | ||
document.cookie = cookie.serialize(cookieName, '', { | ||
...cookiesOptions, | ||
expires: new Date(0) | ||
@@ -72,0 +73,0 @@ }); |
{ | ||
"name": "@scaleway/cookie-consent", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "React provider to handle website end user consent cookie storage based on segment integrations", | ||
@@ -31,3 +31,3 @@ "type": "module", | ||
"devDependencies": { | ||
"@types/cookie": "0.5.1", | ||
"@types/cookie": "0.5.2", | ||
"react": "18.2.0" | ||
@@ -34,0 +34,0 @@ }, |
14228
204