@scaleway/cookie-consent
Advanced tools
Comparing version 1.0.2 to 1.0.3
# @scaleway/cookie-consent | ||
## 1.0.3 | ||
### Patch Changes | ||
- [#1562](https://github.com/scaleway/scaleway-lib/pull/1562) [`4a6f64b`](https://github.com/scaleway/scaleway-lib/commit/4a6f64b3eb9030f10c26b006905998eef88220ca) Thanks [@Vinzius](https://github.com/Vinzius)! - keep special condition for google ads | ||
## 1.0.2 | ||
@@ -4,0 +10,0 @@ |
@@ -24,6 +24,7 @@ import { useState, useEffect } from 'react'; | ||
category, | ||
creationName, | ||
name | ||
} = _ref; | ||
return { | ||
name, | ||
name: name === 'Google Ads (Gtag)' ? creationName : name, | ||
category: CATEGORY_MATCH[category] ?? 'marketing' | ||
@@ -30,0 +31,0 @@ }; |
{ | ||
"name": "@scaleway/cookie-consent", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "React provider to handle website end user consent cookie storage based on segment integrations", | ||
@@ -5,0 +5,0 @@ "type": "module", |
14900
205