@c15t/react 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/version.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const __rslib_import_meta_url__="u"<typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.d=(e,_,r)=>{var o=(_,r)=>{for(var o in _)__webpack_require__.o(_,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,[r]:_[o]})};o(_,"get"),o(r,"value")},__webpack_require__.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__);const version="2.4.
|
|
1
|
+
"use strict";const __rslib_import_meta_url__="u"<typeof document?new(require("url".replace("",""))).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("main.js",document.baseURI).href;var __webpack_require__={};__webpack_require__.d=(e,_,r)=>{var o=(_,r)=>{for(var o in _)__webpack_require__.o(_,o)&&!__webpack_require__.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,[r]:_[o]})};o(_,"get"),o(r,"value")},__webpack_require__.o=(e,_)=>Object.prototype.hasOwnProperty.call(e,_),__webpack_require__.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};__webpack_require__.r(__webpack_exports__);const version="2.4.1";for(var __rspack_i in __webpack_require__.d(__webpack_exports__,{},{version:"2.4.1"}),exports.version=__webpack_exports__.version,__webpack_exports__)-1===["version"].indexOf(__rspack_i)&&(exports[__rspack_i]=__webpack_exports__[__rspack_i]);Object.defineProperty(exports,"__esModule",{value:!0});
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
let e="2.4.
|
|
1
|
+
let e="2.4.1";export{e as version};
|
package/dist-types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "2.4.
|
|
1
|
+
export declare const version = "2.4.1";
|
|
@@ -18,6 +18,8 @@ If reading `window.localStorage` or calling a storage method throws, c15t logs a
|
|
|
18
18
|
|
|
19
19
|
If the browser also blocks cookies, it cannot retain your choice across page loads. Do not use `enabled: false` to handle storage restrictions: that option grants every category.
|
|
20
20
|
|
|
21
|
+
c15t v3 stores the choice under the same `c15t` cookie and localStorage key, in a newer format. From 2.4.1, v2 reads that record: the visitor's categories, subject ID and linked user apply on the v2 site, and loading a v2 page leaves the v3 record as it is. When the visitor saves on the v2 site, v2 writes a v2 record, which v3 reads. Earlier v2 releases break on a v3 record, so upgrade every v2 app that shares a cookie domain with a v3 app to 2.4.1 or later before the v3 app ships.
|
|
22
|
+
|
|
21
23
|
**2. Third-party scripts**
|
|
22
24
|
When you load a tracking script (Google Analytics, Meta Pixel, etc.), that script sets its own cookies. Google Analytics creates `_ga` and `_gid` cookies. Meta creates `_fbp` and `_fbc`. These cookies are set by the script's code running in the browser - c15t prevents them by not loading the script until the user consents.
|
|
23
25
|
|
|
@@ -18,6 +18,8 @@ If reading `window.localStorage` or calling a storage method throws, c15t logs a
|
|
|
18
18
|
|
|
19
19
|
If the browser also blocks cookies, it cannot retain your choice across page loads. Do not use `enabled: false` to handle storage restrictions: that option grants every category.
|
|
20
20
|
|
|
21
|
+
c15t v3 stores the choice under the same `c15t` cookie and localStorage key, in a newer format. From 2.4.1, v2 reads that record: the visitor's categories, subject ID and linked user apply on the v2 site, and loading a v2 page leaves the v3 record as it is. When the visitor saves on the v2 site, v2 writes a v2 record, which v3 reads. Earlier v2 releases break on a v3 record, so upgrade every v2 app that shares a cookie domain with a v3 app to 2.4.1 or later before the v3 app ships.
|
|
22
|
+
|
|
21
23
|
**2. Third-party scripts**
|
|
22
24
|
When you load a tracking script (Google Analytics, Meta Pixel, etc.), that script sets its own cookies. Google Analytics creates `_ga` and `_gid` cookies. Meta creates `_fbp` and `_fbc`. These cookies are set by the script's code running in the browser - c15t prevents them by not loading the script until the user consents.
|
|
23
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c15t/react",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"description": "React cookie banner, consent manager, preference center, and headless CMP components with IAB TCF and Consent Mode support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -163,13 +163,13 @@
|
|
|
163
163
|
"not op_mini all"
|
|
164
164
|
],
|
|
165
165
|
"dependencies": {
|
|
166
|
-
"@c15t/ui": "2.2.
|
|
166
|
+
"@c15t/ui": "2.2.4",
|
|
167
167
|
"@types/google.maps": "3.65.3",
|
|
168
|
-
"c15t": "2.4.
|
|
168
|
+
"c15t": "2.4.1"
|
|
169
169
|
},
|
|
170
170
|
"devDependencies": {
|
|
171
171
|
"@c15t/backend": "2.3.0",
|
|
172
|
-
"@c15t/iab": "2.4.
|
|
172
|
+
"@c15t/iab": "2.4.1",
|
|
173
173
|
"@c15t/typescript-config": "0.0.1",
|
|
174
174
|
"@c15t/vitest-config": "1.0.0",
|
|
175
175
|
"@iabtechlabtcf/core": "^1.5.22",
|