@incodetech/core 0.0.0-dev-20260619-bb63cb3a → 0.0.0-dev-20260619-9a09b3a5

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.
Files changed (41) hide show
  1. package/dist/ae-signature.d.ts +1 -1
  2. package/dist/{browser-DlFgHpoC-iQk9oyxh.esm.js → browser-DlFgHpoC-DwBHV6-1.esm.js} +1 -1
  3. package/dist/certificate-issuance.d.ts +28 -28
  4. package/dist/consent.d.ts +1 -1
  5. package/dist/{consentManager-CNdr6JTS.d.ts → consentManager-C7D16zfA.d.ts} +50 -50
  6. package/dist/cpf-ocr.d.ts +1 -1
  7. package/dist/{cpfOcrManager-CII4qiF3.d.ts → cpfOcrManager-r5gjUsYU.d.ts} +20 -20
  8. package/dist/document-capture.d.ts +222 -222
  9. package/dist/document-upload.d.ts +46 -46
  10. package/dist/ekyb.esm.js +3 -3
  11. package/dist/{ekybStateMachine-DGFH-tLB.esm.js → ekybStateMachine-JF6-IKua.esm.js} +1 -1
  12. package/dist/electronic-signature.d.ts +1 -1
  13. package/dist/extensibility.d.ts +4 -4
  14. package/dist/extensibility.esm.js +3 -3
  15. package/dist/flow.d.ts +2 -2
  16. package/dist/flow.esm.js +2 -2
  17. package/dist/{flowServices-3MBrgTQn.esm.js → flowServices-iJKtJvK3.esm.js} +1 -1
  18. package/dist/home.d.ts +10 -10
  19. package/dist/id-ocr.d.ts +52 -52
  20. package/dist/id-verification.d.ts +25 -25
  21. package/dist/id.esm.js +3 -3
  22. package/dist/{idCaptureManager-Bkrt8QIC.esm.js → idCaptureManager-DNTn2TCr.esm.js} +1 -1
  23. package/dist/{idCaptureStateMachine-H-1tL3jX.esm.js → idCaptureStateMachine-CixFJh5-.esm.js} +1 -1
  24. package/dist/identity-reuse.d.ts +1 -1
  25. package/dist/{identityReuseManager-C3VRLqYZ.d.ts → identityReuseManager-DLlFpDiV.d.ts} +34 -34
  26. package/dist/{index-DXzIC0HG.d.ts → index-BTJ5ufs1.d.ts} +168 -168
  27. package/dist/index.esm.js +3 -3
  28. package/dist/mandatory-consent.d.ts +1 -1
  29. package/dist/{mandatoryConsentManager-Cy0yEZ2A.d.ts → mandatoryConsentManager-BheHDo4t.d.ts} +50 -50
  30. package/dist/qe-signature.d.ts +1 -1
  31. package/dist/session.esm.js +1 -1
  32. package/dist/{sessionInitializer-DBTrvltw.esm.js → sessionInitializer-DFA3XI-3.esm.js} +1 -1
  33. package/dist/{setup-Dq9-4cRc.esm.js → setup-l-Ud6DX-.esm.js} +2 -2
  34. package/dist/{tri-DPpCyQfs.esm.js → tri-nGQNAf3M.esm.js} +1 -1
  35. package/dist/{tri.esm-CpKcH4P7.esm.js → tri.esm-seBni-5K.esm.js} +121 -118
  36. package/dist/tri.esm.js +1 -1
  37. package/dist/trust-graph.d.ts +2 -2
  38. package/dist/wasm.esm.js +3 -3
  39. package/dist/workflow.d.ts +140 -140
  40. package/dist/workflow.esm.js +4 -4
  41. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.4.0/node_modules/@incodetech/tri-sdk/dist/tri.esm.js
1
+ //#region ../../node_modules/.pnpm/@incodetech+tri-sdk@0.4.1/node_modules/@incodetech/tri-sdk/dist/tri.esm.js
2
2
  var t = class t {
3
3
  constructor() {
4
4
  this.t = !1;
@@ -225,14 +225,14 @@ function P(t$1) {
225
225
  i$1.onload = () => {
226
226
  o$1(), n$1();
227
227
  }, i$1.onerror = () => {
228
- o$1(), e$1(new Error(L));
228
+ o$1(), e$1(new Error(R));
229
229
  }, i$1.async = !0, i$1.src = t$2, r$1.appendChild(i$1);
230
230
  });
231
231
  }(t$1)).then(M);
232
232
  }
233
- const R = "API key required";
234
- var z = "3.12.9";
235
- const L = "Failed to load the JS script of the agent", $ = "9319", U = { scriptUrl: "https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js" };
233
+ const z = "API key required";
234
+ var L = "3.12.9";
235
+ const R = "Failed to load the JS script of the agent", $ = "9319", U = { scriptUrl: "https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js" };
236
236
  function B(t$1) {
237
237
  function n$1() {
238
238
  return globalThis.window && globalThis.window[t$1] && void 0 !== globalThis.window[t$1];
@@ -294,7 +294,7 @@ async function F(t$1) {
294
294
  return n$2(), [t$4, e$3];
295
295
  }();
296
296
  return Promise.resolve().then(() => {
297
- if (!r$1 || "string" != typeof r$1) throw new Error(R);
297
+ if (!r$1 || "string" != typeof r$1) throw new Error(z);
298
298
  return function(t$4, n$2) {
299
299
  const e$3 = [], [i$3, o$2] = function(t$5) {
300
300
  const n$3 = function(t$6) {
@@ -318,7 +318,7 @@ async function F(t$1) {
318
318
  const s$3 = o$3 instanceof Error ? o$3.message : "";
319
319
  if (s$3 === D || s$3 === C) n$3.exclude(), r$3 = 0;
320
320
  else if (s$3 === $) n$3.exclude();
321
- else if (s$3 === L) {
321
+ else if (s$3 === R) {
322
322
  const e$5 = Date.now() - t$6.getTime() < 50, o$4 = n$3.current();
323
323
  o$4 && e$5 && !i$4.has(o$4) && (i$4.add(o$4), r$3 = 0), n$3.postpone();
324
324
  } else n$3.postpone();
@@ -348,12 +348,12 @@ async function F(t$1) {
348
348
  }(function(t$4, n$2) {
349
349
  return (Array.isArray(t$4) ? t$4 : [t$4]).map((t$5) => function(t$6, n$3) {
350
350
  const e$3 = encodeURIComponent;
351
- return t$6.replace(/<[^<>]+>/g, (t$7) => "<version>" === t$7 ? "3" : "<apiKey>" === t$7 ? e$3(n$3) : "<loaderVersion>" === t$7 ? e$3(z) : t$7);
351
+ return t$6.replace(/<[^<>]+>/g, (t$7) => "<version>" === t$7 ? "3" : "<apiKey>" === t$7 ? e$3(n$3) : "<loaderVersion>" === t$7 ? e$3(L) : t$7);
352
352
  }(String(t$5), n$2));
353
353
  }(s$1, r$1), P);
354
354
  }).catch((t$4) => {
355
355
  throw a$1(), function(t$5) {
356
- return t$5 instanceof Error && t$5.message === $ ? new Error(L) : t$5;
356
+ return t$5 instanceof Error && t$5.message === $ ? new Error(R) : t$5;
357
357
  }(t$4);
358
358
  }).then(([t$4, n$2]) => (a$1(), t$4.load({
359
359
  ...o$1,
@@ -1390,7 +1390,7 @@ function Dt() {
1390
1390
  }
1391
1391
  var Ct = class {
1392
1392
  constructor(t$1, n$1) {
1393
- this.M = t$1, this.D = n$1, this.C = [], this.P = null, this.R = [], this.L = null, this.m = !1, this.$ = !0, this.U = 0, this.B = 0, this.O = t$1.flush.intervalMs;
1393
+ this.M = t$1, this.D = n$1, this.C = [], this.P = null, this.L = [], this.R = null, this.m = !1, this.$ = !0, this.U = 0, this.B = 0, this.O = t$1.flush.intervalMs;
1394
1394
  }
1395
1395
  push(t$1) {
1396
1396
  if (this.m) {
@@ -1414,15 +1414,15 @@ var Ct = class {
1414
1414
  }
1415
1415
  stop() {
1416
1416
  if (!this.m) return Promise.resolve();
1417
- d(this.P), this.P = null, d(this.L), this.L = null;
1417
+ d(this.P), this.P = null, d(this.R), this.R = null;
1418
1418
  const t$1 = this.N();
1419
1419
  return this.m = !1, t$1;
1420
1420
  }
1421
1421
  onConnectionChange() {
1422
1422
  const t$1 = "undefined" == typeof navigator || navigator.onLine;
1423
1423
  if (t$1 !== this.$) {
1424
- if (this.$ = t$1, !this.$) return d(this.P), this.P = null, d(this.L), void (this.L = null);
1425
- this.C.length > 0 && this.H(), this.R.length > 0 && this.K();
1424
+ if (this.$ = t$1, !this.$) return d(this.P), this.P = null, d(this.R), void (this.R = null);
1425
+ this.C.length > 0 && this.H(), this.L.length > 0 && this.K();
1426
1426
  }
1427
1427
  }
1428
1428
  H() {
@@ -1431,19 +1431,19 @@ var Ct = class {
1431
1431
  }, this.O));
1432
1432
  }
1433
1433
  K() {
1434
- this.m && this.$ && null === this.L && (this.L = l(() => {
1435
- this.L = null, this.V();
1434
+ this.m && this.$ && null === this.R && (this.R = l(() => {
1435
+ this.R = null, this.V();
1436
1436
  }, this.O));
1437
1437
  }
1438
1438
  V() {
1439
- if (!this.m || !this.$ || 0 === this.R.length || !this.D.isActivityActive()) return;
1440
- const t$1 = this.R.shift();
1439
+ if (!this.m || !this.$ || 0 === this.L.length || !this.D.isActivityActive()) return;
1440
+ const t$1 = this.L.shift();
1441
1441
  this.D.ingest(t$1.batch, !1).then((n$1) => this.Y(n$1, t$1)).catch(() => {
1442
- n.warn("Transport", "retry drain ingest threw unexpectedly — batch dropped"), this.R.length > 0 && this.K();
1442
+ n.warn("Transport", "retry drain ingest threw unexpectedly — batch dropped"), this.L.length > 0 && this.K();
1443
1443
  });
1444
1444
  }
1445
1445
  J(t$1, e$1) {
1446
- this.R.length >= 5 && (this.R.shift(), n.warn("Transport", "retry queue full — oldest batch evicted")), this.R.push({
1446
+ this.L.length >= 5 && (this.L.shift(), n.warn("Transport", "retry queue full — oldest batch evicted")), this.L.push({
1447
1447
  batch: t$1,
1448
1448
  attempts: e$1
1449
1449
  }), this.K();
@@ -1452,11 +1452,11 @@ var Ct = class {
1452
1452
  t$1.ok ? this.G() : this.Z(t$1) && this.J(n$1, 1);
1453
1453
  }
1454
1454
  Y(t$1, e$1) {
1455
- if (t$1.ok) return this.G(), void (this.R.length > 0 && this.K());
1455
+ if (t$1.ok) return this.G(), void (this.L.length > 0 && this.K());
1456
1456
  if (this.Z(t$1)) {
1457
- if (e$1.attempts >= 3) return this.W(), n.warn("Transport", "batch dropped after MAX_RETRY_ATTEMPTS", e$1.batch.batchId), void (this.R.length > 0 && this.K());
1457
+ if (e$1.attempts >= 3) return this.W(), n.warn("Transport", "batch dropped after MAX_RETRY_ATTEMPTS", e$1.batch.batchId), void (this.L.length > 0 && this.K());
1458
1458
  this.W(), this.J(e$1.batch, e$1.attempts + 1);
1459
- } else this.R.length > 0 && this.K();
1459
+ } else this.L.length > 0 && this.K();
1460
1460
  }
1461
1461
  W() {
1462
1462
  this.U++, this.U % this.M.flush.backoffFailureThreshold === 0 && (this.O = Math.min(2 * this.O, this.M.flush.maxIntervalMs));
@@ -1470,10 +1470,10 @@ var Ct = class {
1470
1470
  async N() {
1471
1471
  if (!this.D.isActivityActive()) return Promise.resolve();
1472
1472
  const t$1 = [];
1473
- for (const e$1 of this.R) t$1.push(this.D.ingest(e$1.batch, !0).catch(() => {
1473
+ for (const e$1 of this.L) t$1.push(this.D.ingest(e$1.batch, !0).catch(() => {
1474
1474
  n.warn("Transport", "lifecycle retry ingest threw — batch dropped");
1475
1475
  }));
1476
- if (this.R = [], this.C.length > 0) {
1476
+ if (this.L = [], this.C.length > 0) {
1477
1477
  const e$1 = this.F("lifecycle");
1478
1478
  t$1.push(this.D.ingest(e$1, !0).catch(() => {
1479
1479
  n.warn("Transport", "lifecycle ingest threw — batch dropped");
@@ -1497,7 +1497,7 @@ var Ct = class {
1497
1497
  batchSequence: this.B++,
1498
1498
  clientTimestamp: Date.now(),
1499
1499
  schemaVersion: "0.1.0",
1500
- sdkVersion: "0.4.0",
1500
+ sdkVersion: "0.4.1",
1501
1501
  sdkPlatform: "web",
1502
1502
  tabId: this.D.getTabId(),
1503
1503
  events: n$1
@@ -1514,7 +1514,7 @@ var Ct = class {
1514
1514
  }
1515
1515
  };
1516
1516
  const Pt = "tri:bcast:";
1517
- const Rt = "function" == typeof BroadcastChannel ? BroadcastChannel : function() {
1517
+ const zt = "function" == typeof BroadcastChannel ? BroadcastChannel : function() {
1518
1518
  if ("undefined" == typeof Storage || "undefined" == typeof window) return !1;
1519
1519
  try {
1520
1520
  const t$1 = "__tri_bcast_probe__";
@@ -1565,8 +1565,8 @@ const Rt = "function" == typeof BroadcastChannel ? BroadcastChannel : function()
1565
1565
  addEventListener(t$1, n$1) {}
1566
1566
  removeEventListener(t$1, n$1) {}
1567
1567
  close() {}
1568
- }, zt = "__tri_tabId";
1569
- var Lt = class {
1568
+ }, Lt = "__tri_tabId";
1569
+ var Rt = class {
1570
1570
  constructor(t$1) {
1571
1571
  this.context = t$1, this.tt = "", this.m = !1, this.nt = null, this.et = null, this.it = null, this.ot = /* @__PURE__ */ new Map(), this.rt = -1, this.st = null;
1572
1572
  }
@@ -1592,7 +1592,7 @@ var Lt = class {
1592
1592
  }
1593
1593
  ut() {
1594
1594
  try {
1595
- this.nt = new Rt("__tri_tab_channel"), this.st = this.kt.bind(this), this.nt.addEventListener("message", this.st);
1595
+ this.nt = new zt("__tri_tab_channel"), this.st = this.kt.bind(this), this.nt.addEventListener("message", this.st);
1596
1596
  } catch (t$1) {
1597
1597
  n.warn("TabManager", "failed to open broadcast channel:", t$1);
1598
1598
  }
@@ -1666,10 +1666,10 @@ var Lt = class {
1666
1666
  });
1667
1667
  }
1668
1668
  ct() {
1669
- const t$1 = q.get(zt);
1669
+ const t$1 = q.get(Lt);
1670
1670
  if (t$1) return t$1;
1671
1671
  const n$1 = Dt();
1672
- return q.set(zt, n$1), n$1;
1672
+ return q.set(Lt, n$1), n$1;
1673
1673
  }
1674
1674
  yt(t$1 = Date.now()) {
1675
1675
  let n$1 = 0;
@@ -1702,7 +1702,7 @@ async function jt(t$1) {
1702
1702
  return Promise.race([r$1, o$2]).finally(() => {
1703
1703
  d(i$2);
1704
1704
  });
1705
- }(() => import("./browser-DlFgHpoC-iQk9oyxh.esm.js"), 1e4);
1705
+ }(() => import("./browser-DlFgHpoC-DwBHV6-1.esm.js"), 1e4);
1706
1706
  qt = t$3, t$3.then((n$1) => {
1707
1707
  null === n$1 && l(() => {
1708
1708
  qt === t$3 && (qt = null);
@@ -1777,8 +1777,8 @@ const Xt = new Set([
1777
1777
  "textbox",
1778
1778
  "treeitem"
1779
1779
  ]), Vt = 255;
1780
- function Yt(t$1, n$1, e$1) {
1781
- const i$1 = t$1.tagName.toLowerCase(), o$1 = function(t$2) {
1780
+ function Yt(t$1, n$1, e$1, i$1 = nt) {
1781
+ const o$1 = t$1.tagName.toLowerCase(), r$1 = function(t$2) {
1782
1782
  const n$2 = t$2.parentElement?.children ?? [], e$2 = Math.min(n$2.length, 1e3);
1783
1783
  let i$2 = e$2 - 1, o$2 = 0, r$2 = 0;
1784
1784
  for (let i$3 = 0; i$3 < e$2; i$3++) {
@@ -1791,52 +1791,52 @@ function Yt(t$1, n$1, e$1) {
1791
1791
  ofType: o$2,
1792
1792
  child: r$2
1793
1793
  };
1794
- }(t$1), r$1 = function(t$2, n$2) {
1795
- const e$2 = function(t$3) {
1794
+ }(t$1), s$1 = function(t$2, n$2, e$2) {
1795
+ const i$2 = function(t$3) {
1796
1796
  if (!t$3) return null;
1797
1797
  const n$3 = t$3.getAttribute("data-tri-redact-attrs");
1798
1798
  return n$3 ? n$3.split(",").map((t$4) => t$4.trim().toLowerCase()) : null;
1799
- }(t$2), i$2 = {}, o$2 = t$2.id;
1800
- o$2 && !_("id", e$2) && (i$2.id = o$2);
1801
- const r$2 = t$2.getAttribute("autocomplete");
1802
- r$2 && !_("autocomplete", e$2) && (i$2.autocomplete = r$2);
1803
- const s$1 = t$2.getAttribute("aria-invalid");
1804
- s$1 && !_("aria-invalid", e$2) && (i$2.ariaInvalid = s$1);
1805
- const c$1 = t$2.getAttribute("tabindex");
1806
- c$1 && !_("tabindex", e$2) && (i$2.tabIndex = parseInt(c$1, 10));
1807
- const a$1 = function(t$3) {
1799
+ }(t$2), o$2 = {}, r$2 = t$2.id;
1800
+ r$2 && !_("id", i$2) && (o$2.id = r$2);
1801
+ const s$2 = t$2.getAttribute("autocomplete");
1802
+ s$2 && !_("autocomplete", i$2) && (o$2.autocomplete = s$2);
1803
+ const c$1 = t$2.getAttribute("aria-invalid");
1804
+ c$1 && !_("aria-invalid", i$2) && (o$2.ariaInvalid = c$1);
1805
+ const a$1 = t$2.getAttribute("tabindex");
1806
+ a$1 && !_("tabindex", i$2) && (o$2.tabIndex = parseInt(a$1, 10));
1807
+ const u$1 = function(t$3) {
1808
1808
  return t$3.getAttribute("data-testid") ?? t$3.getAttribute("data-cy") ?? null;
1809
1809
  }(t$2);
1810
- a$1 && !_("data-testid", e$2) && (i$2.testId = a$1);
1811
- const u$1 = t$2.hasAttribute("readonly");
1812
- u$1 && !_("readonly", e$2) && (i$2.readOnly = u$1);
1813
- const l$1 = t$2.hasAttribute("required");
1814
- l$1 && !_("required", e$2) && (i$2.required = l$1);
1815
- const d$1 = t$2.getAttribute("contenteditable");
1816
- d$1 && !_("contenteditable", e$2) && (i$2.contentEditable = "true" === d$1 || "" === d$1);
1817
- const h$1 = t$2.getAttribute("href");
1818
- h$1 && !_("href", e$2) && (i$2.href = {
1819
- ...n$2 ? {} : { url: h$1 },
1820
- external: x(h$1)
1810
+ u$1 && !_("data-testid", i$2) && (o$2.testId = u$1);
1811
+ const l$1 = t$2.hasAttribute("readonly");
1812
+ l$1 && !_("readonly", i$2) && (o$2.readOnly = l$1);
1813
+ const d$1 = t$2.hasAttribute("required");
1814
+ d$1 && !_("required", i$2) && (o$2.required = d$1);
1815
+ const h$1 = t$2.getAttribute("contenteditable");
1816
+ h$1 && !_("contenteditable", i$2) && (o$2.contentEditable = "true" === h$1 || "" === h$1);
1817
+ const f$1 = t$2.getAttribute("href");
1818
+ f$1 && !_("href", i$2) && (o$2.href = {
1819
+ ...n$2 ? {} : { url: e$2(f$1) },
1820
+ external: x(f$1)
1821
1821
  });
1822
- const f$1 = t$2.getAttribute("role");
1823
- f$1 && !_("role", e$2) && (i$2.role = f$1);
1824
- const p$1 = t$2.getAttribute("type");
1825
- p$1 && !_("type", e$2) && (i$2.type = p$1);
1826
- const m$1 = t$2.getAttribute("name");
1827
- m$1 && !_("name", e$2) && (i$2.name = m$1);
1828
- const w$1 = t$2.getAttribute("placeholder");
1829
- !w$1 || n$2 || _("placeholder", e$2) || (i$2.placeholder = w$1);
1830
- const y$1 = Array.from(t$2.classList).slice(0, 5);
1831
- y$1.length > 0 && !_("class", e$2) && (i$2.classes = y$1);
1832
- const v$1 = t$2.getAttribute("alt");
1833
- return !v$1 || n$2 || _("alt", e$2) || (i$2.alt = v$1), Object.keys(i$2).length ? i$2 : null;
1834
- }(t$1, n$1);
1822
+ const p$1 = t$2.getAttribute("role");
1823
+ p$1 && !_("role", i$2) && (o$2.role = p$1);
1824
+ const m$1 = t$2.getAttribute("type");
1825
+ m$1 && !_("type", i$2) && (o$2.type = m$1);
1826
+ const w$1 = t$2.getAttribute("name");
1827
+ w$1 && !_("name", i$2) && (o$2.name = w$1);
1828
+ const y$1 = t$2.getAttribute("placeholder");
1829
+ !y$1 || n$2 || _("placeholder", i$2) || (o$2.placeholder = y$1);
1830
+ const v$1 = Array.from(t$2.classList).slice(0, 5);
1831
+ v$1.length > 0 && !_("class", i$2) && (o$2.classes = v$1);
1832
+ const b$1 = t$2.getAttribute("alt");
1833
+ return !b$1 || n$2 || _("alt", i$2) || (o$2.alt = b$1), Object.keys(o$2).length ? o$2 : null;
1834
+ }(t$1, n$1, i$1);
1835
1835
  return {
1836
- tagName: i$1,
1836
+ tagName: o$1,
1837
1837
  frame: e$1,
1838
- ...r$1 ? { attributes: r$1 } : {},
1839
- ...o$1 ? { nth: o$1 } : {}
1838
+ ...s$1 ? { attributes: s$1 } : {},
1839
+ ...r$1 ? { nth: r$1 } : {}
1840
1840
  };
1841
1841
  }
1842
1842
  function Jt(t$1, n$1) {
@@ -2252,7 +2252,7 @@ async function cn(t$1, o$1) {
2252
2252
  isActivityActive: () => u$1?.isActive() ?? !1
2253
2253
  });
2254
2254
  const p$1 = r$1.tab;
2255
- f$1 = new Lt({
2255
+ f$1 = new Rt({
2256
2256
  push: (t$3) => h$1?.push(t$3),
2257
2257
  events: {
2258
2258
  state: p$1.enabled && p$1.events.state.enabled,
@@ -2281,12 +2281,12 @@ async function cn(t$1, o$1) {
2281
2281
  stopTab: () => f$1?.stop(),
2282
2282
  getShouldSkipStopActivity: () => (f$1?.queryTabsNumber() ?? 0) > 1,
2283
2283
  onConnectionChange: () => h$1?.onConnectionChange()
2284
- }), w$1 = function(t$3) {
2285
- const n$1 = t$3 || "redact", e$1 = new sn(6), i$1 = new sn(6);
2284
+ }), w$1 = function(t$3 = {}) {
2285
+ const { elementLevel: n$1, sanitizeUrl: e$1 = nt } = t$3, i$1 = n$1 || "redact", o$2 = new sn(6), r$2 = new sn(6);
2286
2286
  return { resolve: function(t$4) {
2287
- if (!t$4 || k(t$4) || "off" === n$1) return null;
2288
- let o$2 = e$1.get(t$4);
2289
- if (o$2 || (o$2 = function(t$5) {
2287
+ if (!t$4 || k(t$4) || "off" === i$1) return null;
2288
+ let n$2 = o$2.get(t$4);
2289
+ if (n$2 || (n$2 = function(t$5) {
2290
2290
  if (!t$5 || k(t$5)) return {
2291
2291
  chain: [],
2292
2292
  redaction: {
@@ -2294,7 +2294,7 @@ async function cn(t$1, o$1) {
2294
2294
  index: -1
2295
2295
  }
2296
2296
  };
2297
- const n$2 = [];
2297
+ const n$3 = [];
2298
2298
  let e$2 = t$5, i$2 = -1;
2299
2299
  for (; e$2;) {
2300
2300
  if (k(e$2)) return {
@@ -2304,57 +2304,57 @@ async function cn(t$1, o$1) {
2304
2304
  index: -1
2305
2305
  }
2306
2306
  };
2307
- T(e$2) && (i$2 = n$2.length), n$2.push(e$2);
2307
+ T(e$2) && (i$2 = n$3.length), n$3.push(e$2);
2308
2308
  const t$6 = e$2.parentNode;
2309
2309
  if (!t$6 || b(e$2, "body")) break;
2310
2310
  e$2 = g(t$6) ? t$6.host : t$6;
2311
2311
  }
2312
2312
  return {
2313
- chain: n$2,
2313
+ chain: n$3,
2314
2314
  redaction: {
2315
2315
  level: -1 === i$2 ? "full" : "redact",
2316
2316
  index: i$2
2317
2317
  }
2318
2318
  };
2319
- }(t$4.parentElement), e$1.set(t$4, o$2)), "ignore" === o$2.redaction.level) return null;
2320
- const r$2 = "redact" === o$2.redaction.level || "redact" === n$1 || T(t$4);
2321
- let s$2 = i$1.get(t$4);
2322
- return s$2 || (s$2 = function(t$5, n$2, e$2, i$2) {
2323
- const o$3 = getComputedStyle(t$5), r$3 = rn(t$5), s$3 = function(t$6, n$3) {
2324
- const e$3 = [], i$3 = [];
2325
- for (let o$4 = t$6.length - 1; o$4 >= 0; o$4--) {
2326
- const r$4 = t$6[o$4], s$4 = o$4 <= n$3, c$3 = o$4 + 1, a$2 = Yt(r$4, s$4, rn(r$4)), { score: u$3, reasons: l$1 } = Jt(r$4, c$3);
2327
- if (e$3.push(a$2), !Gt(u$3)) continue;
2328
- const d$1 = Wt(r$4, s$4);
2329
- i$3.push({
2330
- ...a$2,
2331
- ...d$1 ? { label: d$1 } : {},
2332
- depth: c$3,
2333
- score: u$3,
2334
- reasons: l$1
2319
+ }(t$4.parentElement), o$2.set(t$4, n$2)), "ignore" === n$2.redaction.level) return null;
2320
+ const s$2 = "redact" === n$2.redaction.level || "redact" === i$1 || T(t$4);
2321
+ let c$2 = r$2.get(t$4);
2322
+ return c$2 || (c$2 = function(t$5, n$3, i$2, o$3) {
2323
+ const r$3 = getComputedStyle(t$5), s$3 = rn(t$5), c$3 = function(t$6, n$4, e$2 = !1, i$3 = nt) {
2324
+ const o$4 = [], r$4 = [];
2325
+ for (let s$4 = t$6.length - 1; s$4 >= 0; s$4--) {
2326
+ const c$4 = t$6[s$4], a$2 = e$2 || s$4 <= n$4, u$3 = s$4 + 1, l$2 = Yt(c$4, a$2, rn(c$4), i$3), { score: d$1, reasons: h$2 } = Jt(c$4, u$3);
2327
+ if (o$4.push(l$2), !Gt(d$1)) continue;
2328
+ const f$2 = Wt(c$4, a$2);
2329
+ r$4.push({
2330
+ ...l$2,
2331
+ ...f$2 ? { label: f$2 } : {},
2332
+ depth: u$3,
2333
+ score: d$1,
2334
+ reasons: h$2
2335
2335
  });
2336
2336
  }
2337
2337
  return {
2338
- ancestors: e$3,
2339
- interactiveCandidates: i$3.reverse()
2338
+ ancestors: o$4,
2339
+ interactiveCandidates: r$4.reverse()
2340
2340
  };
2341
- }(n$2, i$2), c$2 = Yt(t$5, e$2, r$3), a$1 = function(t$6, n$3, e$3) {
2341
+ }(n$3, o$3, i$2, e$1), a$1 = Yt(t$5, i$2, s$3, e$1), u$2 = function(t$6, n$4, e$2) {
2342
2342
  const { score: i$3, reasons: o$4 } = Jt(t$6, 0);
2343
2343
  return {
2344
2344
  interactive: Gt(i$3),
2345
2345
  ...o$4.length > 0 ? { reasons: o$4 } : {},
2346
2346
  disabled: Qt(t$6),
2347
- rendered: "none" !== n$3?.display,
2348
- visible: "hidden" !== n$3?.visibility,
2349
- inViewport: Zt(e$3),
2350
- acceptsPointer: "none" !== n$3?.pointerEvents,
2351
- opacity: parseFloat(n$3?.opacity || "1")
2347
+ rendered: "none" !== n$4?.display,
2348
+ visible: "hidden" !== n$4?.visibility,
2349
+ inViewport: Zt(e$2),
2350
+ acceptsPointer: "none" !== n$4?.pointerEvents,
2351
+ opacity: parseFloat(n$4?.opacity || "1")
2352
2352
  };
2353
- }(t$5, o$3, r$3);
2354
- let u$2 = null;
2355
- return e$2 || (u$2 = a$1.interactive ? Wt(t$5) : null), {
2356
- tagName: c$2.tagName,
2357
- frame: c$2.frame,
2353
+ }(t$5, r$3, s$3);
2354
+ let l$1 = null;
2355
+ return i$2 || (l$1 = u$2.interactive ? Wt(t$5) : null), {
2356
+ tagName: a$1.tagName,
2357
+ frame: a$1.frame,
2358
2358
  viewport: {
2359
2359
  height: window.innerHeight,
2360
2360
  width: window.innerWidth,
@@ -2362,16 +2362,19 @@ async function cn(t$1, o$1) {
2362
2362
  scrollY: window.scrollY,
2363
2363
  dpr: window.devicePixelRatio
2364
2364
  },
2365
- attributes: c$2.attributes,
2366
- nth: c$2.nth,
2367
- ...u$2 ? { label: u$2 } : {},
2368
- ancestors: s$3.ancestors,
2369
- interactiveCandidates: s$3.interactiveCandidates,
2370
- interactivity: a$1
2365
+ attributes: a$1.attributes,
2366
+ nth: a$1.nth,
2367
+ ...l$1 ? { label: l$1 } : {},
2368
+ ancestors: c$3.ancestors,
2369
+ interactiveCandidates: c$3.interactiveCandidates,
2370
+ interactivity: u$2
2371
2371
  };
2372
- }(t$4, o$2.chain, r$2, o$2.redaction.index), i$1.set(t$4, s$2)), s$2;
2372
+ }(t$4, n$2.chain, s$2, n$2.redaction.index), r$2.set(t$4, c$2)), c$2;
2373
2373
  } };
2374
- }(s$1.capture?.element), y$1 = /* @__PURE__ */ new Set();
2374
+ }({
2375
+ elementLevel: s$1.capture?.element,
2376
+ sanitizeUrl: s$1.sanitizeUrl
2377
+ }), y$1 = /* @__PURE__ */ new Set();
2375
2378
  try {
2376
2379
  y$1.add(new URL(s$1.api.url).origin);
2377
2380
  } catch {}
package/dist/tri.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import "./BrowserTimerProvider-BVgutW_b.esm.js";
2
- import { a as setupTRI, n as initializeTRI, o as startTRI, r as resetTRI, s as stopTRI, t as createTRISession } from "./tri-DPpCyQfs.esm.js";
2
+ import { a as setupTRI, n as initializeTRI, o as startTRI, r as resetTRI, s as stopTRI, t as createTRISession } from "./tri-nGQNAf3M.esm.js";
3
3
 
4
4
  export { createTRISession, initializeTRI, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,5 +1,5 @@
1
1
  import { t as Manager } from "./Manager-B2OEDYqf.js";
2
- import * as xstate1055 from "xstate";
2
+ import * as xstate1388 from "xstate";
3
3
 
4
4
  //#region src/modules/trust-graph/trustGraphManager.d.ts
5
5
  type TrustGraphIdleState = {
@@ -59,7 +59,7 @@ type TrustGraphContext = Record<string, never>;
59
59
  * Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
60
60
  * start directly in the `final` state.
61
61
  */
62
- declare const trustGraphMachine: xstate1055.StateMachine<TrustGraphContext, xstate1055.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1055.NonReducibleUnknown, xstate1055.NonReducibleUnknown, xstate1055.EventObject, xstate1055.MetaObject, {
62
+ declare const trustGraphMachine: xstate1388.StateMachine<TrustGraphContext, xstate1388.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1388.NonReducibleUnknown, xstate1388.NonReducibleUnknown, xstate1388.EventObject, xstate1388.MetaObject, {
63
63
  readonly id: "trust-graph";
64
64
  readonly initial: "finished";
65
65
  readonly context: {};
package/dist/wasm.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { r as warmupWasm } from "./WasmUtilProvider-CAZ4AD98.esm.js";
2
- import { c as buildDefaultWasmConfig, i as setWasmConfig, l as buildWasmConfigFromBasePath, o as upgradeToWasmHttpClient, s as DEFAULT_WASM_VERSION, t as initializeWasmUtil, u as resolveWasmConfig } from "./setup-Dq9-4cRc.esm.js";
2
+ import { c as buildDefaultWasmConfig, i as setWasmConfig, l as buildWasmConfigFromBasePath, o as upgradeToWasmHttpClient, s as DEFAULT_WASM_VERSION, t as initializeWasmUtil, u as resolveWasmConfig } from "./setup-l-Ud6DX-.esm.js";
3
3
  import "./BrowserTimerProvider-BVgutW_b.esm.js";
4
4
  import "./api-DUZwyz0o.esm.js";
5
5
  import "./events-BduWcqZW.esm.js";
@@ -7,9 +7,9 @@ import "./endpoints-B2t80MAM.esm.js";
7
7
  import "./stats-32mOt6D8.esm.js";
8
8
  import "./IpifyProvider-oZf7Ke1O.esm.js";
9
9
  import "./browserSimulation-CGjpdNA1.esm.js";
10
- import "./sessionInitializer-DBTrvltw.esm.js";
10
+ import "./sessionInitializer-DFA3XI-3.esm.js";
11
11
  import "./platform-BfoqeM61.esm.js";
12
12
  import "./getBrowser-Dv8LZyHE.esm.js";
13
- import "./tri-DPpCyQfs.esm.js";
13
+ import "./tri-nGQNAf3M.esm.js";
14
14
 
15
15
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };