@c15t/browser 3.0.0-alpha.0 → 3.0.0-alpha.2
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/AGENTS.md +3 -0
- package/CHANGELOG.md +25 -0
- package/dist/861.js +1 -1
- package/dist/925.js +21 -13
- package/dist/c15t.css +9 -112
- package/dist/c15t.devtools.js +1 -1
- package/dist/c15t.headless.js +1 -1
- package/dist/c15t.iab.css +3 -109
- package/dist/c15t.iab.js +9 -141
- package/dist/c15t.js +4 -30
- package/dist/iab.js +1 -1
- package/dist-types/auto-init.d.ts +1 -1
- package/dist-types/client.d.ts +1 -1
- package/dist-types/devtools.d.ts +1 -1
- package/dist-types/gated-scripts.d.ts +3 -2
- package/dist-types/global.d.ts +4 -4
- package/dist-types/headless.d.ts +11 -11
- package/dist-types/iab/mount.d.ts +1 -1
- package/dist-types/iab/preferences.d.ts +1 -1
- package/dist-types/iab/surface.d.ts +2 -2
- package/dist-types/iab/vendor-disclosures.d.ts +1 -1
- package/dist-types/iab.d.ts +7 -7
- package/dist-types/index.d.ts +12 -12
- package/dist-types/types.d.ts +3 -1
- package/dist-types/ui/banner.d.ts +2 -2
- package/dist-types/ui/dialog.d.ts +2 -2
- package/dist-types/ui/mount.d.ts +2 -2
- package/dist-types/ui/surface.d.ts +1 -1
- package/dist-types/ui/trigger.d.ts +2 -2
- package/dist-types/ui/widget.d.ts +1 -1
- package/dist-types/version.d.ts +1 -1
- package/docs/README.md +3 -0
- package/docs/frameworks/javascript/script-loader.md +47 -0
- package/docs/frameworks/javascript/script-tag.md +30 -6
- package/docs/integrations/building-integrations.md +5 -0
- package/docs/integrations/clear-on-revocation.md +167 -0
- package/docs/integrations/cloudflare-zaraz.md +399 -0
- package/docs/integrations/google-maps.md +20 -20
- package/docs/integrations/granular-consent.md +208 -0
- package/docs/integrations/overview.md +5 -4
- package/docs/integrations/youtube.md +26 -21
- package/package.json +7 -7
- package/readme.json +0 -44
package/AGENTS.md
CHANGED
|
@@ -27,14 +27,17 @@ These docs describe v3. Start with Inth hosted setup, identify the framework, ro
|
|
|
27
27
|
- [Ahrefs Analytics](./docs/integrations/ahrefs-analytics.md): Configure Ahrefs Analytics with c15t v3, understand measurement permission and verify loading and revocation.
|
|
28
28
|
- [Amplitude](./docs/integrations/amplitude.md): Configure Amplitude with c15t v3, understand measurement permission and verify loading and revocation.
|
|
29
29
|
- [Custom integrations](./docs/integrations/building-integrations.md): Define loading, initialization and consent-change behavior for a vendor without a helper.
|
|
30
|
+
- [Clear on revocation](./docs/integrations/clear-on-revocation.md): Remove configured first-party cookies and Web Storage keys when their consent category is denied.
|
|
30
31
|
- [Clearbit](./docs/integrations/clearbit.md): Configure Clearbit with c15t v3, understand marketing permission and verify loading and revocation.
|
|
31
32
|
- [Cloudflare Web Analytics](./docs/integrations/cloudflare-web-analytics.md): Configure Cloudflare Web Analytics with c15t v3, understand measurement permission and verify loading and revocation.
|
|
33
|
+
- [Cloudflare Zaraz](./docs/integrations/cloudflare-zaraz.md): Synchronize c15t permissions with Zaraz purposes while Cloudflare manages your tools.
|
|
32
34
|
- [Crisp](./docs/integrations/crisp.md): Configure Crisp with c15t v3, understand functionality permission and verify loading and revocation.
|
|
33
35
|
- [Databuddy](./docs/integrations/databuddy.md): Configure Databuddy's initial and updated consent state with c15t v3.
|
|
34
36
|
- [Fathom Analytics](./docs/integrations/fathom-analytics.md): Configure Fathom Analytics with c15t v3, understand measurement permission and verify loading and revocation.
|
|
35
37
|
- [Google Maps](./docs/integrations/google-maps.md): Prevent a map iframe from mounting before the required permission.
|
|
36
38
|
- [Google Tag](./docs/integrations/google-tag.md): Configure gtag with c15t Consent Mode signals and understand its loading behavior.
|
|
37
39
|
- [Google Tag Manager](./docs/integrations/google-tag-manager.md): Load GTM with c15t consent signals and verify the tags inside your container.
|
|
40
|
+
- [Granular consent](./docs/integrations/granular-consent.md): Let visitors grant a category and still turn one vendor off, without adopting IAB TCF.
|
|
38
41
|
- [Heap](./docs/integrations/heap.md): Configure Heap with c15t v3, understand measurement permission and verify loading and revocation.
|
|
39
42
|
- [Hightouch](./docs/integrations/hightouch.md): Configure Hightouch with c15t v3, understand measurement permission and verify loading and revocation.
|
|
40
43
|
- [Hotjar](./docs/integrations/hotjar.md): Configure Hotjar with c15t v3, understand measurement permission and verify loading and revocation.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
|
+
## @c15t/browser@3.0.0-alpha.2 (alpha)
|
|
2
|
+
|
|
3
|
+
### Fix declaration imports for Node16 and NodeNext
|
|
4
|
+
|
|
5
|
+
Fix declaration imports for TypeScript consumers using Node16 or NodeNext resolution. Preserve explicit JavaScript filenames so exported APIs retain their types without requiring `skipLibCheck`.
|
|
6
|
+
|
|
7
|
+
### Restore category discovery and consent completion
|
|
8
|
+
|
|
9
|
+
Restore category discovery from scripts, frames, and network rules. Merge discovered categories with `consentCategories` within the policy scope, and use the same set for the dialog and consent completion. Keep the banner dismissed after accepting the displayed categories and reloading. Enable tagged iframe discovery and blocking by default in React, matching the shared runtime.
|
|
10
|
+
|
|
1
11
|
# @c15t/browser
|
|
2
12
|
|
|
13
|
+
## 3.0.0-alpha.1
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- dd44a61: Add opt-in `clearOnRevocation` configuration to remove declared cookies, localStorage keys, and sessionStorage keys when their consent category is denied or revoked. Support exact names, prefix patterns, and cookie scopes while protecting c15t consent records.
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [dd44a61]
|
|
22
|
+
- Updated dependencies [46f45c4]
|
|
23
|
+
- @c15t/core@3.0.0-alpha.1
|
|
24
|
+
- @c15t/ui@3.0.0-alpha.1
|
|
25
|
+
- @c15t/dev-tools@3.0.0-alpha.1
|
|
26
|
+
- @c15t/iab@3.0.0-alpha.1
|
|
27
|
+
|
|
3
28
|
## 3.0.0-alpha.0
|
|
4
29
|
|
|
5
30
|
### Major Changes
|