cdp-edge 2.0.5 → 2.0.6

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.
@@ -32,7 +32,7 @@ function printBanner() {
32
32
  console.log(chalk.cyan('╚██████╗██████╔╝██║ ███████╗██████╔╝╚██████╔╝███████╗'));
33
33
  console.log(chalk.cyan(' ╚═════╝╚═════╝ ╚═╝ ╚══════╝╚═════╝ ╚═════╝╚══════╝'));
34
34
  console.log('');
35
- console.log(chalk.gray(' Customer Data Platform on the Edge · Global Edge Tracking · v2.0.5'));
35
+ console.log(chalk.gray(' Customer Data Platform on the Edge · Global Edge Tracking · v2.0.6'));
36
36
  console.log('');
37
37
  console.log(chalk.gray('═'.repeat(68)));
38
38
  console.log('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cdp-edge",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "CDP Edge - Quantum Tracking - Sistema multi-agente para tracking digital Cloudflare Native (Workers + D1)",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -1,7 +1,7 @@
1
1
  name = "server-edge-tracker"
2
2
  # Entry point: worker.js (monólito original, 100% compatível)
3
3
  # Para usar a versão modular ES Modules: altere para main = "index.js"
4
- main = "worker.js"
4
+ main = "index.js"
5
5
  compatibility_date = "2025-01-01"
6
6
  compatibility_flags = ["nodejs_compat"]
7
7
 
@@ -64,11 +64,11 @@ id = "821b6c1ccb4b475985439b801c1fdbe0"
64
64
  preview_id = "d2d9198f47e340ee905a8dc566b09e95"
65
65
 
66
66
  # ── R2 Bucket — Audit Logs ────────────────────────────────────────────────────
67
- # ⚠️ PENDENTE: Habilitar R2 no Cloudflare Dashboard antes de descomentar
68
- # Dashboard R2 Enable depois: wrangler r2 bucket create cdp-edge-logs
69
- # [[r2_buckets]]
70
- # binding = "AUDIT_LOGS"
71
- # bucket_name = "cdp-edge-logs"
67
+ # Logs imutáveis por evento: logs/YYYY/MM/DD/{timestamp}_{eventName}.json
68
+ # Sem PII apenas userId, eventId, ltvClass, UTMs, geo
69
+ [[r2_buckets]]
70
+ binding = "AUDIT_LOGS"
71
+ bucket_name = "cdp-edge-logs"
72
72
 
73
73
  # ── Cron Triggers — Intelligence Agent ───────────────────────────────────────
74
74
  # Semanal: domingo 02:00 UTC — check de versões de API + relatório diário