@scaleway/cookie-consent
Advanced tools
Comparing version
# @scaleway/cookie-consent | ||
## 1.0.2 | ||
### Patch Changes | ||
- [#1560](https://github.com/scaleway/scaleway-lib/pull/1560) [`90d0e18`](https://github.com/scaleway/scaleway-lib/commit/90d0e183b92e059026c4453a62a1309cdd1afbf0) Thanks [@Slashgear](https://github.com/Slashgear)! - Fix configuration of segment integrations with categories by using name instead of creationName | ||
## 1.0.1 | ||
@@ -4,0 +10,0 @@ |
@@ -24,6 +24,6 @@ import { useState, useEffect } from 'react'; | ||
category, | ||
creationName | ||
name | ||
} = _ref; | ||
return { | ||
name: creationName, | ||
name, | ||
category: CATEGORY_MATCH[category] ?? 'marketing' | ||
@@ -30,0 +30,0 @@ }; |
{ | ||
"name": "@scaleway/cookie-consent", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "React provider to handle website end user consent cookie storage based on segment integrations", | ||
@@ -5,0 +5,0 @@ "type": "module", |
14549
2.26%