@ecomconsult/consentkit 0.5.12 → 0.5.13

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/README.md CHANGED
@@ -29,7 +29,7 @@ Vanilla ES2020, zero dependencies, no build step.
29
29
  - **Equal-weight buttons, no pre-ticked boxes** — the consent invariants are
30
30
  fixed by design, see [CONTRIBUTING.md](https://github.com/vermoh/ConsentKit/blob/main/CONTRIBUTING.md)
31
31
 
32
- > **Status: prototype (v0.5.12).** The core, the UI and the demo are verified in
32
+ > **Status: prototype (v0.5.13).** The core, the UI and the demo are verified in
33
33
  > a browser and covered by an automated suite (`npm test`); several distribution
34
34
  > paths are not yet tested against live systems. See
35
35
  > [Project status](#project-status) before shipping this to production.
@@ -819,7 +819,7 @@ external requests. Rebuild them with `tools/build-inline.mjs` (see
819
819
  [`tools/README.md`](https://github.com/vermoh/ConsentKit/blob/main/tools/README.md)); each block's header records the exact
820
820
  command that produced it.
821
821
 
822
- ConsentKit 0.5.12, rebuilt 2026-09-07, uncompressed — gzip on the server cuts
822
+ ConsentKit 0.5.13, rebuilt 2026-09-07, uncompressed — gzip on the server cuts
823
823
  this roughly threefold. Every block includes the branding extension and the
824
824
  attribution line; `--no-branding` drops both the code and the config and takes
825
825
  **~26 KB** back off:
@@ -1023,6 +1023,10 @@ Client versions. The WordPress plugin tracks the same numbers and keeps its own
1023
1023
  notes in
1024
1024
  [`plugins/wordpress/consentkit/readme.txt`](https://github.com/vermoh/ConsentKit/blob/main/plugins/wordpress/consentkit/readme.txt).
1025
1025
 
1026
+ ### 0.5.13
1027
+
1028
+ - Host database: `fbcdn.net` → marketing (Facebook SDK chunks and plugin images); `aichat.md`, `bubble.aichat.md` → functional (chat widget); `challenges.cloudflare.com` (Cloudflare challenge / Turnstile) and `i.imgur.com` → infrastructure, never held.
1029
+
1026
1030
  ### 0.5.12
1027
1031
  - **Services in the preferences panel are collapsed by default and compact.**
1028
1032
  The group's «N services · M cookies» line became a disclosure button; opening
@@ -1139,7 +1143,7 @@ notes in
1139
1143
 
1140
1144
  ## Project status
1141
1145
 
1142
- **This is a prototype (v0.5.12), not a released product.** It is honest about
1146
+ **This is a prototype (v0.5.13), not a released product.** It is honest about
1143
1147
  what has been verified and what has not.
1144
1148
 
1145
1149
  ### Verified
@@ -28,7 +28,7 @@ export function undecidedState() {
28
28
  */
29
29
  export function createStub() {
30
30
  const stub = {
31
- version: '0.5.12',
31
+ version: '0.5.13',
32
32
  config: {},
33
33
  init: function () { return undecidedState(); },
34
34
  allowed: function (cat) { return cat === 'necessary'; },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ecomconsult/consentkit",
3
- "version": "0.5.12",
3
+ "version": "0.5.13",
4
4
  "description": "GDPR cookie consent core with blocking engine, Shadow DOM UI and Google Consent Mode v2. Zero dependencies, no build step.",
5
5
  "repository": {
6
6
  "type": "git",
package/src/ck-core.js CHANGED
@@ -92,6 +92,7 @@
92
92
 
93
93
  // --- marketing -----------------------------------------------------
94
94
  'connect.facebook.net': 'marketing',
95
+ 'fbcdn.net': 'marketing', // Facebook CDN: SDK chunks (static.xx) and plugin images (scontent.*)
95
96
  'facebook.net': 'marketing', // connect.facebook.net covered above
96
97
  'analytics.tiktok.com': 'marketing',
97
98
  'googleadservices.com': 'marketing',
@@ -205,6 +206,7 @@
205
206
  // Booking and form embeds — the visitor came to the page to use them.
206
207
  'calendly.com': 'functional',
207
208
  'typeform.com': 'functional',
209
+ 'aichat.md': 'functional', // aichat.md chat widget (bubble.aichat.md loader)
208
210
  // 999.md — the Moldovan classifieds platform. Shops embed its listing
209
211
  // widgets; simpalsmedia.com is the group's asset host that serves them.
210
212
  '999.md': 'functional',
@@ -432,6 +434,9 @@
432
434
  // places is classified, not waved through — so a bare `cloudflare.com` here
433
435
  // would be a bug.
434
436
  var INFRA_DB = [
437
+ // --- bot checks and image hosts: not a consent decision -------------
438
+ 'challenges.cloudflare.com', // Cloudflare challenge / Turnstile (incl. *.challenges.cloudflare.com)
439
+ 'i.imgur.com', // hot-linked images
435
440
  // --- site builders and hosting platforms ---------------------------
436
441
  'tildacdn.com',
437
442
  'tildacdn.net',
@@ -1973,7 +1978,7 @@
1973
1978
  // Public API
1974
1979
  // ---------------------------------------------------------------------------
1975
1980
  var ConsentKit = {
1976
- version: '0.5.12',
1981
+ version: '0.5.13',
1977
1982
  config: config,
1978
1983
 
1979
1984
  init: function (userConfig) {