predators-protocol 1.2.1 → 1.2.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.
@@ -20,7 +20,7 @@ const { URL } = require("url");
20
20
  const CONFIG_PATH = path.join(os.homedir(), ".predators-config.json");
21
21
  // ONDA-FIX-NPX-MIDDLEWARE-307: override por env (PREDATORS_API_BASE) · "nao deixar mais acontecer" se o
22
22
  // host mudar. Default = host vivo confirmado. O fix real do "307 na validacao" e server-side (matcher).
23
- const API_BASE_DEFAULT = process.env.PREDATORS_API_BASE || "https://predators-protocol.vercel.app";
23
+ const API_BASE_DEFAULT = process.env.PREDATORS_API_BASE || "https://predadores.online";
24
24
  const VALIDATE_ENDPOINT_DEFAULT = `${API_BASE_DEFAULT}/api/access-tokens/validate`;
25
25
  const CACHE_TTL_SECONDS = 300; // 5min canon
26
26
 
package/lib/config.js CHANGED
@@ -28,9 +28,10 @@ const DEFAULT_CONFIG = {
28
28
  anonymous_id: null, // UUID v4 gerado no primeiro opt-in · zero PII
29
29
  sync_count: 0, // total syncs locais executados
30
30
  last_sync_at: null, // último sync ISO timestamp
31
- // Canon endpoint Vercel deploy (predadores.io OR predators-protocol.vercel.app)
32
- // null = local-only (zero network calls). Apex T7 controls this default.
33
- endpoint: "https://predadores.io/api/telemetry",
31
+ // Canon endpoint: dominio de marca vivo predadores.online (predadores.io EXPIROU ·
32
+ // DNS verificado morto 2026-06-08). null = local-only (zero network calls).
33
+ // telemetry e opt-in default-off + fire-and-forget com catch silencioso (zero impacto UX).
34
+ endpoint: "https://predadores.online/api/telemetry",
34
35
  },
35
36
  syncs: {
36
37
  total: 0,
@@ -18,7 +18,7 @@ const { URL } = require("url");
18
18
 
19
19
  const API_ENDPOINT_DEFAULT =
20
20
  process.env.PREDATORS_API_ENDPOINT ||
21
- "https://predators-protocol.vercel.app/api/admin/access-tokens";
21
+ "https://predadores.online/api/admin/access-tokens";
22
22
 
23
23
  function parseArgs(argv) {
24
24
  const args = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "predators-protocol",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "Predators Protocol \u00b7 multi-agent predatory framework \u00b7 64 predators in 10 layers \u00b7 14 canonical laws \u00b7 5 byte-canon imutables \u00b7 Synapse + Cyber Squad + Brain 11 daemons LIVE \u00b7 H\u00edbrida full transition \u00b7 STABLE 1.0.0 \u00b7 proprietary Alex Gonzaga (Tubarao-Apex)",
5
5
  "keywords": [
6
6
  "predators-protocol",