@incodetech/core 0.0.0-dev-20260720-00ef49e9 → 0.0.0-dev-20260721-30e32dbd

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 (116) hide show
  1. package/dist/BrowserVisibilityObserverProvider-DfE4Sheq.esm.js +64 -0
  2. package/dist/{addressSearch-DEYnZoez.esm.js → addressSearch-CK0sUGXQ.esm.js} +1 -1
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/antifraud.esm.js +2 -2
  5. package/dist/{antifraudManager-CFsD4BgV.esm.js → antifraudManager-DNQ03cI-.esm.js} +3 -3
  6. package/dist/{antifraudStateMachine-VB-aXHct.esm.js → antifraudStateMachine-BhDtbvsr.esm.js} +2 -2
  7. package/dist/authentication.esm.js +2 -2
  8. package/dist/{authenticationManager-D7wtvj8F.esm.js → authenticationManager-BfQ-q4Cz.esm.js} +4 -4
  9. package/dist/{authenticationStateMachine-CM4bMjJc.esm.js → authenticationStateMachine-D99o4YNq.esm.js} +4 -4
  10. package/dist/certificate-issuance.esm.js +3 -3
  11. package/dist/{certificateIssuanceStateMachine-Di_bLlkP.esm.js → certificateIssuanceStateMachine-FqsRyCQy.esm.js} +2 -2
  12. package/dist/consent.esm.js +2 -2
  13. package/dist/{consentManager-0EiBXYtL.esm.js → consentManager-BFqvQKnL.esm.js} +3 -3
  14. package/dist/{consentStateMachine-STURxpEc.esm.js → consentStateMachine-DEX3rWmY.esm.js} +2 -2
  15. package/dist/cpf-ocr.esm.js +1 -1
  16. package/dist/{cpfOcrManager-Bu32le9u.esm.js → cpfOcrManager-Crj9julI.esm.js} +3 -3
  17. package/dist/cross-document-data-match.esm.js +1 -1
  18. package/dist/{crossDocumentDataMatchManager-Dw7euiiZ.esm.js → crossDocumentDataMatchManager-BJ1sNzqp.esm.js} +3 -3
  19. package/dist/curp-validation.esm.js +2 -2
  20. package/dist/{curpValidationManager-BGj9U3E0.esm.js → curpValidationManager-DxpyQx7s.esm.js} +3 -3
  21. package/dist/{curpValidationStateMachine-Dq6l4oeZ.esm.js → curpValidationStateMachine-CLaUrwr_.esm.js} +2 -2
  22. package/dist/custom-fields.esm.js +3 -3
  23. package/dist/custom-watchlist.esm.js +3 -3
  24. package/dist/{customWatchlistStateMachine-BuQML-pk.esm.js → customWatchlistStateMachine-DmR8nQ9D.esm.js} +2 -2
  25. package/dist/{deepsightLoader-N6u2JnGq.esm.js → deepsightLoader-BgI56M2u.esm.js} +1 -1
  26. package/dist/document-capture.d.ts +1 -1
  27. package/dist/document-capture.esm.js +2 -2
  28. package/dist/document-upload.esm.js +3 -3
  29. package/dist/{documentCaptureManager-Ccu_LTBA.d.ts → documentCaptureManager-CBP2DkPr.d.ts} +4 -4
  30. package/dist/{documentCaptureManager-BI1bAj1F.esm.js → documentCaptureManager-HPQFi4FW.esm.js} +3 -3
  31. package/dist/{documentCaptureStateMachine-C1uifdea.esm.js → documentCaptureStateMachine-DPDPyUQd.esm.js} +2 -2
  32. package/dist/dynamic-forms.esm.js +2 -2
  33. package/dist/{dynamicFormsManager-Fi2O2RUM.esm.js → dynamicFormsManager-Cpui-n_E.esm.js} +3 -3
  34. package/dist/{dynamicFormsStateMachine-DiPpuHgF.esm.js → dynamicFormsStateMachine-PBlPbUaP.esm.js} +2 -2
  35. package/dist/ekyb.esm.js +2 -2
  36. package/dist/{ekybManager-BVUo4X83.esm.js → ekybManager-InlQLPZ5.esm.js} +3 -3
  37. package/dist/{ekybStateMachine-CwDauKYm.esm.js → ekybStateMachine-BVotxlQG.esm.js} +4 -4
  38. package/dist/ekyc.esm.js +2 -2
  39. package/dist/{ekycManager-CI7sN4Ln.esm.js → ekycManager-CSSMm3NN.esm.js} +3 -3
  40. package/dist/{ekycStateMachine-DFQdmBXl.esm.js → ekycStateMachine-DKSNtU9D.esm.js} +3 -3
  41. package/dist/electronic-signature.esm.js +1 -1
  42. package/dist/{electronicSignatureManager-DGFwHdro.esm.js → electronicSignatureManager-BGt5jlyi.esm.js} +3 -3
  43. package/dist/email.esm.js +2 -2
  44. package/dist/{emailManager-Dmt1YrtS.esm.js → emailManager-B9ZtXkmO.esm.js} +3 -3
  45. package/dist/{emailStateMachine-DQS-QMgQ.esm.js → emailStateMachine-dPf_JV21.esm.js} +2 -2
  46. package/dist/{events-Dy8PyVO5.esm.js → events-Cz6MebsD.esm.js} +16 -1
  47. package/dist/events.d.ts +9 -1
  48. package/dist/events.esm.js +2 -2
  49. package/dist/extensibility.d.ts +1 -1
  50. package/dist/extensibility.esm.js +26 -26
  51. package/dist/face-match.esm.js +2 -2
  52. package/dist/{faceCaptureManagerFactory-Dhpagy6D.esm.js → faceCaptureManagerFactory-CvcsNRmY.esm.js} +30 -5
  53. package/dist/{faceCaptureSetup-CjWXmyg1.esm.js → faceCaptureSetup-CuebR7r9.esm.js} +4 -4
  54. package/dist/{faceMatchManager-fPX11GnX.esm.js → faceMatchManager-C27ikuay.esm.js} +3 -3
  55. package/dist/{faceMatchStateMachine-D_7UX1rV.esm.js → faceMatchStateMachine-DPxvXTD8.esm.js} +2 -2
  56. package/dist/field-comparison.esm.js +1 -1
  57. package/dist/{fieldComparisonManager-USUE9qDr.esm.js → fieldComparisonManager-DFRmWfO2.esm.js} +3 -3
  58. package/dist/fiscal-qr.esm.js +3 -3
  59. package/dist/flow.esm.js +5 -5
  60. package/dist/{flowServices-CFExICxt.esm.js → flowServices-Dcp6cMxC.esm.js} +2 -2
  61. package/dist/geolocation.esm.js +2 -2
  62. package/dist/{geolocationManager-C8GnN4Od.esm.js → geolocationManager-Bq6mhMLb.esm.js} +3 -3
  63. package/dist/{geolocationStateMachine-DfVSIUvS.esm.js → geolocationStateMachine-CM43faR8.esm.js} +2 -2
  64. package/dist/government-validation.esm.js +3 -3
  65. package/dist/{governmentValidationStateMachine-loZfWcU9.esm.js → governmentValidationStateMachine-DOzBCyQG.esm.js} +2 -2
  66. package/dist/home.esm.js +2 -2
  67. package/dist/id-ocr.esm.js +2 -2
  68. package/dist/id-verification.esm.js +2 -2
  69. package/dist/id.esm.js +6 -6
  70. package/dist/{idCaptureManager-Bam3S6wg.esm.js → idCaptureManager-qKhvaBcS.esm.js} +27 -8
  71. package/dist/{idCaptureStateMachine-yMOSoMqs.esm.js → idCaptureStateMachine-NS8ITfeC.esm.js} +8 -8
  72. package/dist/{idOcrManager-gscmFPxD.esm.js → idOcrManager-CZqArdyB.esm.js} +3 -3
  73. package/dist/{idOcrStateMachine-jfAyK4Bb.esm.js → idOcrStateMachine-D6SZ5UEN.esm.js} +3 -3
  74. package/dist/{idVerificationManager-BTsyXjv6.esm.js → idVerificationManager-D-fdmeEv.esm.js} +3 -3
  75. package/dist/{idVerificationStateMachine-7BSciEJk.esm.js → idVerificationStateMachine-CRyto3WY.esm.js} +2 -2
  76. package/dist/identity-reuse.esm.js +2 -2
  77. package/dist/{identityReuseManager-BjMJHKLP.esm.js → identityReuseManager-B4Uc5t63.esm.js} +3 -3
  78. package/dist/{identityReuseStateMachine-B0IFF3R7.esm.js → identityReuseStateMachine-DuDSkTJQ.esm.js} +2 -2
  79. package/dist/index.esm.js +1 -1
  80. package/dist/{invokeOnCaptureCallback-B-QfsCQY.esm.js → invokeOnCaptureCallback-DClbfPxs.esm.js} +1 -1
  81. package/dist/mandatory-consent.esm.js +2 -2
  82. package/dist/{mandatoryConsentManager-BOOjm7SU.esm.js → mandatoryConsentManager-D0xVg9hS.esm.js} +3 -3
  83. package/dist/{mandatoryConsentStateMachine-BP3npRnI.esm.js → mandatoryConsentStateMachine-OJMLYTcA.esm.js} +2 -2
  84. package/dist/{onDeviceFaceResults-BAiPSJHi.esm.js → onDeviceFaceResults-CnEjsceT.esm.js} +1 -1
  85. package/dist/personhood.esm.js +5 -5
  86. package/dist/phone.esm.js +2 -2
  87. package/dist/{phoneManager-C3aqq6jS.esm.js → phoneManager-CuSs7oB6.esm.js} +3 -3
  88. package/dist/{phoneStateMachine-CLGcLA8t.esm.js → phoneStateMachine-BcNKggqC.esm.js} +2 -2
  89. package/dist/qe-signature.esm.js +1 -1
  90. package/dist/{recordingService-BW-tqhqS.esm.js → recordingService-CS0RUQWN.esm.js} +1 -1
  91. package/dist/redirect-to-mobile.esm.js +2 -2
  92. package/dist/{redirectToMobileManager-Ct_5C_La.esm.js → redirectToMobileManager-eW8H-t2I.esm.js} +4 -4
  93. package/dist/{redirectToMobileStateMachine-D78eaxsp.esm.js → redirectToMobileStateMachine-DfeNOyS0.esm.js} +2 -2
  94. package/dist/{runChildModule-Crz1nHwJ.esm.js → runChildModule-CqKn3aLp.esm.js} +3 -3
  95. package/dist/selfie.esm.js +8 -8
  96. package/dist/{selfieManager-CpjT9NOs.esm.js → selfieManager-FCxBF--8.esm.js} +4 -4
  97. package/dist/{selfieStateMachine-CQVjhQLQ.esm.js → selfieStateMachine-7h8APMHv.esm.js} +4 -4
  98. package/dist/session-BH3I9Qx4.esm.js +1 -0
  99. package/dist/session.esm.js +2 -2
  100. package/dist/{sessionInitializer-BEQovnS0.esm.js → sessionInitializer-D5B6NuMk.esm.js} +2 -2
  101. package/dist/{setup-DvcUUX66.esm.js → setup-DJYTXoMR.esm.js} +2 -2
  102. package/dist/signature.esm.js +3 -3
  103. package/dist/{signatureStateMachine-zRLvEGTw.esm.js → signatureStateMachine-CL414Utx.esm.js} +2 -2
  104. package/dist/trust-graph.esm.js +2 -2
  105. package/dist/video-selfie.esm.js +4 -4
  106. package/dist/wasm.esm.js +1 -1
  107. package/dist/watchlist-for-business.esm.js +3 -3
  108. package/dist/watchlist.esm.js +3 -3
  109. package/dist/{watchlistForBusinessStateMachine-Rc6BAwlr.esm.js → watchlistForBusinessStateMachine-Bneo_qn7.esm.js} +2 -2
  110. package/dist/{watchlistStateMachine-64y9XBjm.esm.js → watchlistStateMachine-Dy3_dkvG.esm.js} +2 -2
  111. package/dist/workflow.esm.js +31 -31
  112. package/dist/{xstate-actors.esm-CtI5S0f4.esm.js → xstate-actors.esm-BaY-n1vb.esm.js} +1 -1
  113. package/dist/{xstate.esm-Cf4e0Cfd.esm.js → xstate.esm-DJRyQbtk.esm.js} +10 -3
  114. package/package.json +3 -3
  115. package/dist/BrowserVisibilityObserverProvider-sJclps4C.esm.js +0 -23
  116. package/dist/session-DF5fLTmo.esm.js +0 -1
@@ -0,0 +1,64 @@
1
+ //#region src/internal/events/splitTrackedName.ts
2
+ /**
3
+ * Splits a Figma "Tracked Events" name into its screen (section) and in-screen
4
+ * state (sub-section) parts.
5
+ *
6
+ * The UXv2 Figma canvases model a two-level hierarchy: a section is the
7
+ * **screen** (`idCapture.frontCapture`) and its sub-section is a **state**
8
+ * within that screen (`idCapture.frontCapture.livecue-glare`). The capture
9
+ * mappers already emit the full sub-section path; this helper re-partitions it
10
+ * so `screenOpened`/`screenClosed` fire on the section and `stateEvent` fires
11
+ * on the sub-section.
12
+ *
13
+ * A tracked sub-state exists only for multi-level paths (`module.section.state`
14
+ * — two or more dots). Coarser names — a top-level screen (`idCapture.finished`,
15
+ * one dot) or a legacy single token (`AUTH_FACE`, no dots) — are screen-only,
16
+ * with `state: undefined`, so they never emit a `stateEvent`.
17
+ *
18
+ * @example
19
+ * splitTrackedName('idCapture.frontCapture.livecue-glare');
20
+ * // { screen: 'idCapture.frontCapture', state: 'idCapture.frontCapture.livecue-glare' }
21
+ * splitTrackedName('idCapture.finished'); // { screen: 'idCapture.finished', state: undefined }
22
+ * splitTrackedName('AUTH_FACE'); // { screen: 'AUTH_FACE', state: undefined }
23
+ * splitTrackedName(undefined); // { screen: undefined, state: undefined }
24
+ */
25
+ function splitTrackedName(fullName) {
26
+ if (fullName === void 0) return {
27
+ screen: void 0,
28
+ state: void 0
29
+ };
30
+ const firstDot = fullName.indexOf(".");
31
+ const lastDot = fullName.lastIndexOf(".");
32
+ if (firstDot === lastDot) return {
33
+ screen: fullName,
34
+ state: void 0
35
+ };
36
+ return {
37
+ screen: fullName.slice(0, lastDot),
38
+ state: fullName
39
+ };
40
+ }
41
+ //#endregion
42
+ //#region ../infra/src/wasm/wasmDsFlagSync.ts
43
+ function setWasmDsFlagSync(enabled) {
44
+ if (typeof localStorage === "undefined") return;
45
+ localStorage.setItem("ds", enabled ? "1" : "0");
46
+ }
47
+ //#endregion
48
+ //#region ../infra/src/providers/browser/BrowserVisibilityObserverProvider.ts
49
+ var BrowserVisibilityObserverProvider = class {
50
+ isVisible() {
51
+ return !document.hidden;
52
+ }
53
+ onVisibilityChange(listener) {
54
+ const handler = () => {
55
+ listener(!document.hidden);
56
+ };
57
+ document.addEventListener("visibilitychange", handler);
58
+ return () => {
59
+ document.removeEventListener("visibilitychange", handler);
60
+ };
61
+ }
62
+ };
63
+ //#endregion
64
+ export { setWasmDsFlagSync as n, splitTrackedName as r, BrowserVisibilityObserverProvider as t };
@@ -1,7 +1,7 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  const usStateOptions = Object.values({
6
6
  AL: {
7
7
  code: "AL",
@@ -1,4 +1,4 @@
1
- import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DGFwHdro.esm.js";
1
+ import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-BGt5jlyi.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CFsD4BgV.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-BhDtbvsr.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-DNQ03cI-.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as antifraudMachine } from "./antifraudStateMachine-BhDtbvsr.esm.js";
5
5
  //#region src/modules/antifraud/antifraudActor.ts
6
6
  function createAntifraudActor() {
7
7
  return createActor(antifraudMachine).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  //#region src/modules/antifraud/antifraudServices.ts
6
6
  async function processAntifraud(signal) {
7
7
  const res = await api.get(endpoints.processAntifraud, { signal });
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-CM4bMjJc.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D7wtvj8F.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-D99o4YNq.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BfQ-q4Cz.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
- import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
3
- import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-Dhpagy6D.esm.js";
2
+ import { n as eventModuleNames } from "./events-Cz6MebsD.esm.js";
3
+ import { o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CvcsNRmY.esm.js";
5
5
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-CM4bMjJc.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-D99o4YNq.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,10 +1,10 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
4
- import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CjWXmyg1.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BAiPSJHi.esm.js";
4
+ import { r as assign } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CuebR7r9.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CnEjsceT.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-CkgnSJel.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Di_bLlkP.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-FqsRyCQy.esm.js";
4
4
  //#region src/modules/certificate-issuance/certificateIssuanceActor.ts
5
5
  /**
6
6
  * Creates and starts a certificate issuance actor.
@@ -1,7 +1,7 @@
1
1
  import { n as getApi, r as getToken } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
6
6
  //#region src/modules/certificate-issuance/certificateIssuanceServices.ts
7
7
  function buildIssueCertificateUrl(baseURL) {
@@ -1,3 +1,3 @@
1
- import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
2
- import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-0EiBXYtL.esm.js";
1
+ import { t as consentMachine } from "./consentStateMachine-DEX3rWmY.esm.js";
2
+ import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-BFqvQKnL.esm.js";
3
3
  export { consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as consentMachine } from "./consentStateMachine-DEX3rWmY.esm.js";
5
5
  //#region src/modules/consent/consentActor.ts
6
6
  function createConsentActor(options) {
7
7
  return createActor(consentMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  //#region src/modules/consent/consentServices.ts
6
6
  async function fetchCombinedConsent(consentId, language, signal) {
7
7
  if (!consentId) throw new Error("Combined consent id is required");
@@ -1,2 +1,2 @@
1
- import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-Bu32le9u.esm.js";
1
+ import { a as isValidCPF, i as formatCPF, n as createCpfOcrManagerFromActor, r as cpfOcrMachine, t as createCpfOcrManager } from "./cpfOcrManager-Crj9julI.esm.js";
2
2
  export { cpfOcrMachine, createCpfOcrManager, createCpfOcrManagerFromActor, formatCPF, isValidCPF };
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
6
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
7
7
  //#region src/modules/cpf-ocr/cpfOcrServices.ts
8
8
  async function fetchCpfOcrData(signal) {
@@ -1,2 +1,2 @@
1
- import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
1
+ import { n as createCrossDocumentDataMatchManagerFromActor, r as crossDocumentDataMatchMachine, t as createCrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-BJ1sNzqp.esm.js";
2
2
  export { createCrossDocumentDataMatchManager, createCrossDocumentDataMatchManagerFromActor, crossDocumentDataMatchMachine };
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { c as createManager, o as createActor, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { c as createManager, o as createActor, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
6
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
7
7
  //#region src/modules/cross-document-data-match/crossDocumentDataMatchServices.ts
8
8
  /** Minimum spinner duration (ms), aligned with SDK v1 `ProcessCrossDocumentData`. */
@@ -1,3 +1,3 @@
1
- import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
2
- import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-BGj9U3E0.esm.js";
1
+ import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-CLaUrwr_.esm.js";
2
+ import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-DxpyQx7s.esm.js";
3
3
  export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as curpValidationMachine } from "./curpValidationStateMachine-CLaUrwr_.esm.js";
5
5
  //#region src/modules/curp-validation/curpValidationActor.ts
6
6
  function createCurpValidationActor(options) {
7
7
  return createActor(curpValidationMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  //#region src/modules/curp-validation/curpValidationUtils.ts
6
6
  const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
7
7
  function isValidCurp(curp) {
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
5
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
+ import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
6
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
7
7
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
8
8
  //#region src/modules/custom-fields/customFieldsServices.ts
9
9
  async function submitCustomFields(params, signal) {
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuQML-pk.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as customWatchlistMachine } from "./customWatchlistStateMachine-DmR8nQ9D.esm.js";
5
5
  //#region src/modules/custom-watchlist/customWatchlistActor.ts
6
6
  function createCustomWatchlistActor() {
7
7
  return createActor(customWatchlistMachine).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  //#region src/modules/custom-watchlist/customWatchlistServices.ts
6
6
  async function processWatchlist(signal) {
7
7
  const res = await api.post(endpoints.processWatchlist, {}, { signal });
@@ -1,7 +1,7 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
4
- import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-BEQovnS0.esm.js";
4
+ import { c as isBrowserSimulation, d as getThumbmarkId, l as IpifyProvider, n as getFingerprintEnabled, p as BrowserEnvironmentProvider, t as getDisableIpify } from "./sessionInitializer-D5B6NuMk.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
7
7
  import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as DocumentCaptureActor, c as DocumentCaptureConfig, d as DocumentType, i as createDocumentCaptureManagerFromActor, l as DocumentCaptureErrorCode, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, s as DOCUMENT_CAPTURE_ERROR_CODES, t as DocumentCaptureManager, u as DocumentCaptureNextPageType } from "./documentCaptureManager-Ccu_LTBA.js";
1
+ import { a as DocumentCaptureActor, c as DocumentCaptureConfig, d as DocumentType, i as createDocumentCaptureManagerFromActor, l as DocumentCaptureErrorCode, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, s as DOCUMENT_CAPTURE_ERROR_CODES, t as DocumentCaptureManager, u as DocumentCaptureNextPageType } from "./documentCaptureManager-CBP2DkPr.js";
2
2
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,3 +1,3 @@
1
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C1uifdea.esm.js";
2
- import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-BI1bAj1F.esm.js";
1
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DPDPyUQd.esm.js";
2
+ import { n as createDocumentCaptureManagerFromActor, t as createDocumentCaptureManager } from "./documentCaptureManager-HPQFi4FW.esm.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -1,8 +1,8 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
6
  import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
7
7
  import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
8
8
  //#region src/modules/document-upload/documentUploadServices.ts
@@ -200,6 +200,10 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
200
200
  id: string | undefined;
201
201
  };
202
202
  }>, Values<{
203
+ decrementAttemptsRemaining: {
204
+ type: "decrementAttemptsRemaining";
205
+ params: NonReducibleUnknown;
206
+ };
203
207
  setStream: {
204
208
  type: "setStream";
205
209
  params: NonReducibleUnknown;
@@ -216,10 +220,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
216
220
  type: "stopStream";
217
221
  params: NonReducibleUnknown;
218
222
  };
219
- decrementAttemptsRemaining: {
220
- type: "decrementAttemptsRemaining";
221
- params: NonReducibleUnknown;
222
- };
223
223
  setCapturedDocument: {
224
224
  type: "setCapturedDocument";
225
225
  params: NonReducibleUnknown;
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-C1uifdea.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-DPDPyUQd.esm.js";
5
5
  //#region src/modules/document-capture/documentCaptureActor.ts
6
6
  function createDocumentCaptureActor(options) {
7
7
  return createActor(documentCaptureMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
6
6
  import { a as stopCameraStream } from "./camera-BmFEyPP_.esm.js";
7
7
  import { n as getBackCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DiPpuHgF.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-Fi2O2RUM.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-PBlPbUaP.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-Cpui-n_E.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DiPpuHgF.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-PBlPbUaP.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
7
7
  //#region src/modules/dynamic-forms/dynamicFormsFields.ts
package/dist/ekyb.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-CwDauKYm.esm.js";
2
- import { t as createEkybManager } from "./ekybManager-BVUo4X83.esm.js";
1
+ import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-BVotxlQG.esm.js";
2
+ import { t as createEkybManager } from "./ekybManager-InlQLPZ5.esm.js";
3
3
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-CwDauKYm.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-BVotxlQG.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
6
- import { t as getFlow } from "./flowServices-CFExICxt.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
+ import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-CK0sUGXQ.esm.js";
6
+ import { t as getFlow } from "./flowServices-Dcp6cMxC.esm.js";
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  /**
9
9
  * Countries available in all environments.
package/dist/ekyc.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DFQdmBXl.esm.js";
2
- import { t as createEkycManager } from "./ekycManager-CI7sN4Ln.esm.js";
1
+ import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DKSNtU9D.esm.js";
2
+ import { t as createEkycManager } from "./ekycManager-CSSMm3NN.esm.js";
3
3
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -1,7 +1,7 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekycMachine } from "./ekycStateMachine-DFQdmBXl.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { t as ekycMachine } from "./ekycStateMachine-DKSNtU9D.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
3
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
5
5
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
6
- import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
6
+ import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-CK0sUGXQ.esm.js";
7
7
  //#region src/modules/ekyc/ekycConsts.ts
8
8
  const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
9
9
  const STATE_CODE_HINTS = {
@@ -1,2 +1,2 @@
1
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DGFwHdro.esm.js";
1
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-BGt5jlyi.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -1,9 +1,9 @@
1
1
  import { t as api } from "./api-BDTZNnca.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
5
- import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
- import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
+ import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
6
+ import { n as fromPromise } from "./xstate-actors.esm-BaY-n1vb.esm.js";
7
7
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
8
8
  import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
9
9
  //#region src/modules/electronic-signature/electronicSignatureServices.ts
package/dist/email.esm.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
2
- import { t as createEmailManager } from "./emailManager-Dmt1YrtS.esm.js";
1
+ import { t as emailMachine } from "./emailStateMachine-dPf_JV21.esm.js";
2
+ import { t as createEmailManager } from "./emailManager-B9ZtXkmO.esm.js";
3
3
  export { createEmailManager, emailMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
- import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Cz6MebsD.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-DJRyQbtk.esm.js";
3
+ import { t as emailMachine } from "./emailStateMachine-dPf_JV21.esm.js";
4
4
  //#region src/modules/email/emailActor.ts
5
5
  function createEmailActor(options) {
6
6
  return createActor(emailMachine, { input: { config: options.config } }).start();
@@ -1,8 +1,8 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-BDTZNnca.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
4
- import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
+ import { r as assign, t as setup } from "./xstate.esm-DJRyQbtk.esm.js";
5
+ import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BaY-n1vb.esm.js";
6
6
  import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
7
7
  //#region src/modules/email/emailServices.ts
8
8
  function getEmailServerFailureReason(error, invalidStatus) {
@@ -209,6 +209,14 @@ function errorTriggered(module, screen, payload) {
209
209
  payload
210
210
  });
211
211
  }
212
+ function stateChanged(module, screen, payload) {
213
+ screenEvent({
214
+ module,
215
+ screen,
216
+ code: "stateEvent",
217
+ payload
218
+ });
219
+ }
212
220
  function elementClicked(module, screen, payload) {
213
221
  screenEvent({
214
222
  module,
@@ -290,6 +298,7 @@ function createManagerInstrumentation(moduleName, options) {
290
298
  onModuleClosed: moduleClosed,
291
299
  onScreenOpened: screenOpened,
292
300
  onScreenClosed: screenClosed,
301
+ onStateChanged: (moduleName, screenName, stateName) => stateChanged(moduleName, screenName, { stateName }),
293
302
  onErrorTriggered: (moduleName, errorName, screenName, payload) => errorTriggered(moduleName, screenName, {
294
303
  errorName,
295
304
  ...payload
@@ -304,6 +313,12 @@ function createManagerInstrumentation(moduleName, options) {
304
313
  getEventScreenName: options?.getEventScreenName,
305
314
  getScreenName: options?.getScreenName
306
315
  }),
316
+ getStateName: (snapshot) => {
317
+ const stateName = options?.getEventStateName?.(snapshot);
318
+ if (stateName === void 0) return;
319
+ const trimmed = stateName.trim();
320
+ return trimmed.length > 0 ? trimmed : void 0;
321
+ },
307
322
  getErrorName: (snapshot) => {
308
323
  const mappedError = options?.getErrorName?.(snapshot) ?? getDefaultManagerErrorName(snapshot);
309
324
  if (mappedError === void 0) return;
@@ -501,4 +516,4 @@ const cameraScreenNamesMapper = {
501
516
  document: "document"
502
517
  };
503
518
  //#endregion
504
- export { setAnalyticsBatcher as _, videoSelfieEvents as a, getTimestamp as b, elementClicked as c, screenClosed as d, screenEvent as f, resetAnalyticsBatcher as g, getAnalyticsBatcher as h, tutorialScreenNamesMapper as i, moduleClosed as l, addEvent as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u, subscribeEvent as v, revokeObjectURL as x, createEventBus as y };
519
+ export { revokeObjectURL as S, resetAnalyticsBatcher as _, videoSelfieEvents as a, createEventBus as b, elementClicked as c, screenClosed as d, screenEvent as f, getAnalyticsBatcher as g, addEvent as h, tutorialScreenNamesMapper as i, moduleClosed as l, stateChanged as m, eventModuleNames as n, createManagerInstrumentation as o, screenOpened as p, eventScreenNames as r, captureAttemptFinished as s, cameraScreenNamesMapper as t, moduleOpened as u, setAnalyticsBatcher as v, getTimestamp as x, subscribeEvent as y };