@incodetech/core 0.0.0-dev-20261113-2a2af83d → 0.0.0-dev-20261113-bf9cecf5

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 (71) hide show
  1. package/dist/{FaceDetectionProvider-Tqzj1kmD.esm.js → FaceDetectionProvider-BHFMKlVk.esm.js} +4 -4
  2. package/dist/{addressSearch-D55PKLQZ.esm.js → addressSearch-Rxm1K67A.esm.js} +3 -2
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-naUKa-Ct.esm.js → apiError-BGLJwanM.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-CxwumxtB.esm.js → authenticationManager-Dw8QnjmA.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-BOLETrRC.esm.js → authenticationStateMachine-DPxh4vOu.esm.js} +2 -2
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-vI6QHkHU.d.ts → consentManager-B2F_VeAo.d.ts} +5 -5
  10. package/dist/{deepsightLoader-Cfo2XAbT.esm.js → deepsightLoader-2dUuR62h.esm.js} +3 -3
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-Cqin1QsX.esm.js → dynamicFormsManager-x1-nyxYL.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine-rL4EYaz9.esm.js → dynamicFormsStateMachine-C5qxUfFI.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +2 -2
  15. package/dist/{ekybManager-BrzyUp8J.esm.js → ekybManager-DKnI7tVY.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-BUihWoBj.esm.js → ekybStateMachine-CBq9G3-f.esm.js} +8 -5
  17. package/dist/ekyc-prefill.esm.js +2 -2
  18. package/dist/ekyc.esm.js +3 -3
  19. package/dist/{ekycManager-BojVwTr3.esm.js → ekycManager-BWOKhg0A.esm.js} +1 -1
  20. package/dist/{ekycPrefillManager-DRt0QUgb.esm.js → ekycPrefillManager-BnKbAmJu.esm.js} +1 -1
  21. package/dist/{ekycPrefillStateMachine-DPIcRuRW.esm.js → ekycPrefillStateMachine-Cdpa9saV.esm.js} +5 -4
  22. package/dist/{ekycRules-BLX7Elcb.esm.js → ekycRules-B0OocyvM.esm.js} +1 -1
  23. package/dist/{ekycStateMachine-BQCS2Ycg.esm.js → ekycStateMachine-C--4YSib.esm.js} +20 -11
  24. package/dist/{ekycUtils-Dcff8BOD.esm.js → ekycUtils-Cp9M-bBI.esm.js} +39 -43
  25. package/dist/electronic-signature.esm.js +1 -1
  26. package/dist/{electronicSignatureManager-2Rpu7MVt.esm.js → electronicSignatureManager-DVp6ECFq.esm.js} +1 -1
  27. package/dist/extensibility.d.ts +4 -4
  28. package/dist/extensibility.esm.js +13 -13
  29. package/dist/{faceCaptureManagerFactory-BLLvaMFY.esm.js → faceCaptureManagerFactory-DMahCXTd.esm.js} +1 -1
  30. package/dist/{faceCaptureSetup-CnqkHMOr.esm.js → faceCaptureSetup-DHff9_Se.esm.js} +3 -3
  31. package/dist/{feature-management-BcQ9vTT7.esm.js → feature-management-BWe9w7OO.esm.js} +1 -1
  32. package/dist/feature-management.esm.js +1 -1
  33. package/dist/flow.esm.js +3 -3
  34. package/dist/{flowCompletionService-D6moFRza.esm.js → flowCompletionService-CVOmSB_k.esm.js} +1 -1
  35. package/dist/{flowServices-CJCHQxCF.esm.js → flowServices-CHl7r36s.esm.js} +5 -5
  36. package/dist/geolocation.esm.js +2 -2
  37. package/dist/{geolocationManager-BrkIxqSS.esm.js → geolocationManager-DNAsvMfT.esm.js} +1 -1
  38. package/dist/{geolocationStateMachine-BQAX12Rn.esm.js → geolocationStateMachine-v9D_i1R8.esm.js} +1 -1
  39. package/dist/id-ocr.d.ts +1 -1
  40. package/dist/id-selfie-flow.esm.js +6 -6
  41. package/dist/id.esm.js +3 -3
  42. package/dist/{idCaptureManager-D3EJhevJ.esm.js → idCaptureManager-B36SF0YJ.esm.js} +3 -3
  43. package/dist/{idCaptureServices-DgJv_HM2.esm.js → idCaptureServices-BZsDmLhR.esm.js} +2 -2
  44. package/dist/{idCaptureStateMachine-yAstRQw_.esm.js → idCaptureStateMachine-lN-li29n.esm.js} +8 -8
  45. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
  46. package/dist/identity-reuse.d.ts +1 -1
  47. package/dist/{identityReuseManager-C40ngKeM.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +4 -4
  48. package/dist/index.esm.js +1 -1
  49. package/dist/kyb-checks.esm.js +2 -2
  50. package/dist/{kybChecksManager-DAYfc5k5.esm.js → kybChecksManager-D4t6I1BS.esm.js} +1 -1
  51. package/dist/{kybChecksStateMachine-BR7XGqHO.esm.js → kybChecksStateMachine-CALDE3Do.esm.js} +4 -3
  52. package/dist/mandatory-consent.d.ts +1 -1
  53. package/dist/{mandatoryConsentManager-8Fmb0REm.d.ts → mandatoryConsentManager-DgNuWWQw.d.ts} +5 -5
  54. package/dist/qe-signature.esm.js +1 -1
  55. package/dist/{resolveForm-f9PhUo9j.esm.js → resolveForm-DaaQSVWp.esm.js} +7 -4
  56. package/dist/{runChildModule-D_TSUFtt.esm.js → runChildModule-BgqPX7O_.esm.js} +1 -1
  57. package/dist/{sdkVersion-BqmwjASn.esm.js → sdkVersion-CI7AVv52.esm.js} +1 -1
  58. package/dist/selfie.esm.js +6 -6
  59. package/dist/{selfieErrorUtils-CNzzxWiH.esm.js → selfieErrorUtils-CPjCnfAs.esm.js} +1 -1
  60. package/dist/{selfieManager-Cq0eakl9.esm.js → selfieManager-2_4e6flX.esm.js} +3 -3
  61. package/dist/{selfieStateMachine-C2rAcYHc.esm.js → selfieStateMachine-sHHpgUAE.esm.js} +3 -3
  62. package/dist/{session-Bswbl4Cb.esm.js → session-DTKWnoo3.esm.js} +3 -3
  63. package/dist/session.esm.js +4 -4
  64. package/dist/{sessionInitializer-DYoxtIOt.esm.js → sessionInitializer-DRIZt0ov.esm.js} +3 -3
  65. package/dist/{setup-Bg7wz9PU.esm.js → setup-CZPaluvp.esm.js} +4 -4
  66. package/dist/{trueSightService-DCyoLHfz.esm.js → trueSightService-DbFQftw_.esm.js} +1 -1
  67. package/dist/video-selfie.esm.js +3 -3
  68. package/dist/{videoSelfieCameraWarmer-BrzTLFY2.esm.js → videoSelfieCameraWarmer-9yMgpC3E.esm.js} +3 -3
  69. package/dist/wasm.esm.js +1 -1
  70. package/dist/workflow.esm.js +17 -17
  71. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-Bg7wz9PU.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-CZPaluvp.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DCyoLHfz.esm.js";
6
- import "./sessionInitializer-DYoxtIOt.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DbFQftw_.esm.js";
6
+ import "./sessionInitializer-DRIZt0ov.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-DoByUnTa.esm.js";
8
8
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
9
9
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
@@ -235,7 +235,7 @@ function startDetection(params) {
235
235
  };
236
236
  }
237
237
  async function initializeDeepsightSession(options) {
238
- const { loadDeepsightSession } = await import("./deepsightLoader-Cfo2XAbT.esm.js");
238
+ const { loadDeepsightSession } = await import("./deepsightLoader-2dUuR62h.esm.js");
239
239
  return loadDeepsightSession({
240
240
  ds: options.ds,
241
241
  storage: options.storage
@@ -5,8 +5,9 @@ import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  /**
6
6
  * The rollout switch for form definitions (ENG-59781): one all-or-nothing
7
7
  * answer to "do eKYC and eKYB build their forms from catalog definitions, or
8
- * with today's builders?". Both module adapters ask it before selecting a
9
- * definition (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
8
+ * with today's builders?". The eKYC and eKYB machines read it once, when
9
+ * they're created, and pass the answer to the module adapters
10
+ * (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
10
11
  * (`internal/forms`) knows nothing about it.
11
12
  *
12
13
  * Off by default, so every source and country keeps today's builder. A
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-2Rpu7MVt.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DVp6ECFq.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DCyoLHfz.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DbFQftw_.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-BOLETrRC.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CxwumxtB.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DPxh4vOu.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Dw8QnjmA.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-Bg7wz9PU.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CZPaluvp.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
3
3
  import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
4
4
  import "./events-CP3yOzAl.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BLLvaMFY.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-BOLETrRC.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DMahCXTd.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-DPxh4vOu.esm.js";
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
10
10
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-CIqUf_i6.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CnqkHMOr.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Tqzj1kmD.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-DHff9_Se.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BHFMKlVk.esm.js";
5
5
  import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-BKFjsQpO.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-vI6QHkHU.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-B2F_VeAo.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -79,10 +79,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
79
79
  type: "setError";
80
80
  params: NonReducibleUnknown;
81
81
  };
82
- clearError: {
83
- type: "clearError";
84
- params: NonReducibleUnknown;
85
- };
86
82
  setLoadError: {
87
83
  type: "setLoadError";
88
84
  params: NonReducibleUnknown;
@@ -95,6 +91,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
95
91
  type: "toggleCheckbox";
96
92
  params: NonReducibleUnknown;
97
93
  };
94
+ clearError: {
95
+ type: "clearError";
96
+ params: NonReducibleUnknown;
97
+ };
98
98
  resetContext: {
99
99
  type: "resetContext";
100
100
  params: NonReducibleUnknown;
@@ -102,7 +102,7 @@ declare const consentMachine: StateMachine<ConsentContext, {
102
102
  }>, {
103
103
  type: "canSubmit";
104
104
  params: unknown;
105
- }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
105
+ }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
106
106
  readonly id: "consent";
107
107
  readonly initial: "idle";
108
108
  readonly context: ({ input }: {
@@ -1,7 +1,7 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-DCyoLHfz.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-BqmwjASn.esm.js";
4
- import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-DYoxtIOt.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-DbFQftw_.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-CI7AVv52.esm.js";
4
+ import { C as BrowserEnvironmentProvider, S as IpifyProvider, T as SDK_PLATFORM, b as getThumbmarkId, n as getDisableIpify, r as getFingerprintEnabled, v as isBrowserSimulation, w as fingerprintSignalsReporter } from "./sessionInitializer-DRIZt0ov.esm.js";
5
5
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
6
6
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DPK7qGgo.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-rL4EYaz9.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-Cqin1QsX.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C5qxUfFI.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-x1-nyxYL.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-rL4EYaz9.esm.js";
6
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C5qxUfFI.esm.js";
7
7
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
8
8
  function createDynamicFormsActor(options) {
9
9
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-naUKa-Ct.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BGLJwanM.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { c as ALL_COUNTRIES, f as SUPPORTED_COUNTRIES, l as DEV_ONLY_COUNTRIES, m as isSupportedCountry, o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-BUihWoBj.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-BrzyUp8J.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-CBq9G3-f.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-DKnI7tVY.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as ekybMachine } from "./ekybStateMachine-BUihWoBj.esm.js";
6
+ import { t as ekybMachine } from "./ekybStateMachine-CBq9G3-f.esm.js";
7
7
  //#region src/modules/ekyb/ekybActor.ts
8
8
  /**
9
9
  * Creates and starts an eKYB actor.
@@ -1,13 +1,13 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { n as getFlow } from "./flowServices-CJCHQxCF.esm.js";
2
+ import { n as getFlow } from "./flowServices-CHl7r36s.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { a as sortModulesByOrder, c as ALL_COUNTRIES, d as FIELD_ORDER, i as requiresAddressValidation, m as isSupportedCountry, n as hasAtLeastOneAddressField, o as toEkybConfig, p as UBO_FIELD_LABELS, r as isFieldOptional, s as ADDRESS_FIELDS, u as FIELD_NAME_MAPPING } from "./ekybUtils-Cw8Ta9Qi.esm.js";
6
6
  import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
7
7
  import { n as requiresCnpjValidation, r as validateCNPJ } from "./cnpj-Co1ottYN.esm.js";
8
8
  import { a as getPostalCodeMaxLength, c as fillFromSuggestion, i as getPostalCodeErrorKey, l as getStreetLevelErrorForSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as STREET_LEVEL_REQUIRED_ERROR, t as createBundledDefinitionSource } from "./definitionSource-BHNxbuiv.esm.js";
9
- import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-f9PhUo9j.esm.js";
10
- import { r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-D55PKLQZ.esm.js";
9
+ import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
10
+ import { r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-Rxm1K67A.esm.js";
11
11
  //#region src/modules/ekyb/ekybValidators.ts
12
12
  const buildPostalCodeParams = (country) => {
13
13
  const fixedLen = FIXED_DIGIT_POSTAL_CODE_LENGTH[country];
@@ -344,7 +344,8 @@ const EKYB_SUPPORTED_IDS = {
344
344
  groupRules: /* @__PURE__ */ new Set(),
345
345
  optionLists: new Set(Object.keys(OPTION_LISTS)),
346
346
  conditions: /* @__PURE__ */ new Set(),
347
- prefillSources: /* @__PURE__ */ new Set()
347
+ prefillSources: /* @__PURE__ */ new Set(),
348
+ flags: /* @__PURE__ */ new Set()
348
349
  };
349
350
  /** Today's UBO actions use a fixed limit and a single collection. */
350
351
  const UBO_COLLECTION = "ubos";
@@ -415,8 +416,10 @@ const bundled = createBundledDefinitionSource(EKYB_DEFINITIONS);
415
416
  /**
416
417
  * The resolved definition for this country and configuration, if one applies
417
418
  * and the rollout is on. Every country has a builder today, so none is exempt.
419
+ * `useDefinitions` is the rollout answer the machine read once, when it was
420
+ * created.
418
421
  */
419
- function selectEkybForm(config, verificationFields, country, useDefinitions = isFormDefinitionsEnabled()) {
422
+ function selectEkybForm(config, verificationFields, country, useDefinitions) {
420
423
  if (!useDefinitions) return void 0;
421
424
  const context = toEkybResolveContext(config, verificationFields);
422
425
  if (!context) return void 0;
@@ -1,3 +1,3 @@
1
- import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DPIcRuRW.esm.js";
2
- import { t as createEkycPrefillManager } from "./ekycPrefillManager-DRt0QUgb.esm.js";
1
+ import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-Cdpa9saV.esm.js";
2
+ import { t as createEkycPrefillManager } from "./ekycPrefillManager-BnKbAmJu.esm.js";
3
3
  export { createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
package/dist/ekyc.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as ekycMachine } from "./ekycStateMachine-BQCS2Ycg.esm.js";
2
- import { l as toEkycConfig } from "./ekycUtils-Dcff8BOD.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-BojVwTr3.esm.js";
1
+ import { t as ekycMachine } from "./ekycStateMachine-C--4YSib.esm.js";
2
+ import { l as toEkycConfig } from "./ekycUtils-Cp9M-bBI.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-BWOKhg0A.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-BQCS2Ycg.esm.js";
6
+ import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-C--4YSib.esm.js";
7
7
  //#region src/modules/ekyc/ekycActor.ts
8
8
  /**
9
9
  * Creates and starts an eKYC actor.
@@ -1,6 +1,6 @@
1
1
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
2
2
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
3
- import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DPIcRuRW.esm.js";
3
+ import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-Cdpa9saV.esm.js";
4
4
  //#region src/modules/ekyc-prefill/ekycPrefillActor.ts
5
5
  /** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
6
6
  function createEkycPrefillActor(options = {}) {
@@ -1,12 +1,12 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-naUKa-Ct.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-BGLJwanM.esm.js";
3
3
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
6
  import { t as createBundledDefinitionSource } from "./definitionSource-BHNxbuiv.esm.js";
7
- import { n as checkSupport, t as resolveForm } from "./resolveForm-f9PhUo9j.esm.js";
7
+ import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
8
8
  import { t as formatPhoneE164 } from "./phoneFormat-DEpESpz2.esm.js";
9
- import { i as cleanName, l as validateEkycField, n as projectRules, o as formatSSN } from "./ekycRules-BLX7Elcb.esm.js";
9
+ import { i as cleanName, l as validateEkycField, n as projectRules, o as formatSSN } from "./ekycRules-B0OocyvM.esm.js";
10
10
  import { t as formatCPF } from "./idOcrCpfUtils-Nfln1Psb.esm.js";
11
11
  //#region src/modules/ekyc-prefill/ekycPrefillConfig.ts
12
12
  const isString = (value) => typeof value === "string" && value !== "";
@@ -180,7 +180,8 @@ const EKYC_PREFILL_SUPPORTED_IDS = {
180
180
  groupRules: /* @__PURE__ */ new Set(["oneOfRequired"]),
181
181
  optionLists: /* @__PURE__ */ new Set(),
182
182
  conditions: /* @__PURE__ */ new Set(),
183
- prefillSources: /* @__PURE__ */ new Set()
183
+ prefillSources: /* @__PURE__ */ new Set(),
184
+ flags: /* @__PURE__ */ new Set()
184
185
  };
185
186
  const bundled = createBundledDefinitionSource(EKYCPREFILL_DEFINITIONS);
186
187
  /** The catalog definition for a country, or `undefined` when it has none. */
@@ -2,7 +2,7 @@ import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.e
2
2
  import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
3
3
  import { a as isValidRut, i as isValidInDrivingLicenseNumber, n as isValidEsDni, r as isValidFiPersonalIdentityCode, t as isValidCurp } from "./nationalIds-B91f_RuB.esm.js";
4
4
  import { a as getPostalCodeMaxLength, i as getPostalCodeErrorKey, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, s as STREET_LEVEL_REQUIRED_ERROR } from "./definitionSource-BHNxbuiv.esm.js";
5
- import { r as DYNAMIC_REQUIRED_KEY } from "./resolveForm-f9PhUo9j.esm.js";
5
+ import { r as DYNAMIC_REQUIRED_KEY } from "./resolveForm-DaaQSVWp.esm.js";
6
6
  import { t as validateCPF } from "./cpf-BIADjddF.esm.js";
7
7
  import { a as hasNameCharacters, c as isWithinMaxAge, i as hasDigitCount, l as matchesCharTemplate, o as isInNumericRange, r as hasAllowedCharacters, s as isNotFuture } from "./phoneFormat-DEpESpz2.esm.js";
8
8
  //#region src/modules/ekyc/ekycValidators.ts
@@ -4,12 +4,12 @@ import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
5
5
  import { n as usStates, t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
6
6
  import { a as getPostalCodeMaxLength, c as fillFromSuggestion, l as getStreetLevelErrorForSuggestion, r as formatPostalCode, t as createBundledDefinitionSource } from "./definitionSource-BHNxbuiv.esm.js";
7
- import { n as checkSupport, t as resolveForm } from "./resolveForm-f9PhUo9j.esm.js";
8
- import { n as searchAddress, r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-D55PKLQZ.esm.js";
9
- import { C as TAX_ID_SOURCES, S as STREET_SOURCES, _ as MIDDLE_NAME_SOURCES, a as getEKYCFields, b as POSTAL_CODE_SOURCES, c as resolveEkycSource, d as APARTMENT_SOURCES, f as CITY_SOURCES, g as HOUSE_NO_SOURCES, h as EMAIL_SOURCES, i as getEKYCDisplayModes, l as toEkycConfig, m as COUNTRY_SELECTOR_DISABLED_SOURCES, o as isFieldOptional, p as COUNTRY_CODE_OMITTED_SOURCES, r as getEKYCCountry, s as mapToEKYCvalue, t as EKYC_GROUP_KEYS, u as ADDRESS_STATE_SOURCES, v as NAME_SOURCES, w as VOCABULARY, x as STATE_CODE_HINTS, y as ONE_OF_REQUIRED_GROUPS } from "./ekycUtils-Dcff8BOD.esm.js";
7
+ import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
8
+ import { n as searchAddress, r as isFormDefinitionsEnabled, t as debounceSearchActor } from "./addressSearch-Rxm1K67A.esm.js";
9
+ import { C as TAX_ID_SOURCES, S as STREET_SOURCES, _ as MIDDLE_NAME_SOURCES, a as getEKYCFields, b as POSTAL_CODE_SOURCES, c as resolveEkycSource, d as APARTMENT_SOURCES, f as CITY_SOURCES, g as HOUSE_NO_SOURCES, h as EMAIL_SOURCES, i as getEKYCDisplayModes, l as toEkycConfig, m as COUNTRY_SELECTOR_DISABLED_SOURCES, o as isFieldOptional, p as COUNTRY_CODE_OMITTED_SOURCES, r as getEKYCCountry, s as mapToEKYCvalue, t as EKYC_GROUP_KEYS, u as ADDRESS_STATE_SOURCES, v as NAME_SOURCES, w as VOCABULARY, x as STATE_CODE_HINTS, y as ONE_OF_REQUIRED_GROUPS } from "./ekycUtils-Cp9M-bBI.esm.js";
10
10
  import { t as DateFormattingProvider } from "./DateFormattingProvider-DPq9zco-.esm.js";
11
11
  import { n as CHARACTER_CLASSES, t as formatPhoneE164 } from "./phoneFormat-DEpESpz2.esm.js";
12
- import { a as formatPhoneNational, c as oneOfRequiredErrorKey, i as cleanName, l as validateEkycField, n as projectRules, o as formatSSN, s as loadPhoneValidator, t as RULES, u as validateEkycForm } from "./ekycRules-BLX7Elcb.esm.js";
12
+ import { a as formatPhoneNational, c as oneOfRequiredErrorKey, i as cleanName, l as validateEkycField, n as projectRules, o as formatSSN, s as loadPhoneValidator, t as RULES, u as validateEkycForm } from "./ekycRules-B0OocyvM.esm.js";
13
13
  //#region src/internal/forms/resolvePrefill.ts
14
14
  const DISPLAY_MODES = /* @__PURE__ */ new Set([
15
15
  "editable",
@@ -6521,7 +6521,8 @@ const EKYC_SUPPORTED_IDS = {
6521
6521
  groupRules: /* @__PURE__ */ new Set(["oneOfRequired", "rulesByOption"]),
6522
6522
  optionLists: new Set(Object.keys(OPTION_LISTS)),
6523
6523
  conditions: /* @__PURE__ */ new Set(["fieldFilled"]),
6524
- prefillSources: new Set(EKYC_PREFILL_SOURCES)
6524
+ prefillSources: new Set(EKYC_PREFILL_SOURCES),
6525
+ flags: /* @__PURE__ */ new Set()
6525
6526
  };
6526
6527
  /** Today's field shape only flags `middleName` as optional. */
6527
6528
  const LEGACY_OPTIONAL_FLAG = /* @__PURE__ */ new Set(["middleName"]);
@@ -6661,9 +6662,10 @@ const MIGRATED_EKYC_SOURCES = /* @__PURE__ */ new Set([
6661
6662
  ]);
6662
6663
  /**
6663
6664
  * The bundled definition for exactly this source and country, if it is
6664
- * projectable and the rollout lets this source use it.
6665
+ * projectable and the rollout lets this source use it. `useDefinitions` is
6666
+ * the rollout answer the machine read once, when it was created.
6665
6667
  */
6666
- function selectEkycDefinition(source, country, useDefinitions = isFormDefinitionsEnabled()) {
6668
+ function selectEkycDefinition(source, country, useDefinitions) {
6667
6669
  if (!useDefinitions && MIGRATED_EKYC_SOURCES.has(source)) return void 0;
6668
6670
  const definition = bundled.select({
6669
6671
  module: "ekyc",
@@ -6843,9 +6845,10 @@ function applyOneOfRequiredGroups(defs, configSource) {
6843
6845
  * this country reads it (`packages/form-definitions/catalog/ekyc`) when the
6844
6846
  * rollout allows (`selectEkycDefinition`); any other pair keeps the current
6845
6847
  * builder. `useDefinitions` is the rollout answer the machine read once, when
6846
- * it was created, so it can't change mid-session.
6848
+ * it was created, so it can't change mid-session. The options are named so a
6849
+ * caller can't swap the two booleans.
6847
6850
  */
6848
- function buildFieldDefs(fields, configSource, country, enablePhoneRisk = false, useDefinitions) {
6851
+ function buildFieldDefs(fields, configSource, country, { useDefinitions, enablePhoneRisk = false }) {
6849
6852
  const definition = selectEkycDefinition(configSource, country, useDefinitions);
6850
6853
  if (definition) return projectEkycFields(resolveForm(definition, toEkycResolveContext(fields, enablePhoneRisk)), fields, country);
6851
6854
  return legacyBuildFieldDefs(fields, configSource, country, enablePhoneRisk);
@@ -7349,7 +7352,10 @@ const ekycMachine = setup({
7349
7352
  verificationFields: vFields,
7350
7353
  configSource: source,
7351
7354
  fieldsCountry: country,
7352
- fields: buildFieldDefs(vFields, source, country, config.enablePhoneRisk, context._formDefinitions),
7355
+ fields: buildFieldDefs(vFields, source, country, {
7356
+ useDefinitions: context._formDefinitions,
7357
+ enablePhoneRisk: config.enablePhoneRisk
7358
+ }),
7353
7359
  displayModes: getEKYCDisplayModes(config)
7354
7360
  };
7355
7361
  }),
@@ -7532,7 +7538,10 @@ const ekycMachine = setup({
7532
7538
  verificationFields: vFields,
7533
7539
  configSource: source,
7534
7540
  fieldsCountry: country,
7535
- fields: buildFieldDefs(vFields, source, country, context.config.enablePhoneRisk, context._formDefinitions)
7541
+ fields: buildFieldDefs(vFields, source, country, {
7542
+ useDefinitions: context._formDefinitions,
7543
+ enablePhoneRisk: context.config.enablePhoneRisk
7544
+ })
7536
7545
  };
7537
7546
  })
7538
7547
  },
@@ -1281,12 +1281,6 @@ const MIDDLE_NAME_SOURCES = [
1281
1281
  "CL_1",
1282
1282
  "INDIA_PAN"
1283
1283
  ];
1284
- const PHONE_RISK_ADDONS = [
1285
- "phoneCheck",
1286
- "advancedPhoneCheck",
1287
- "phoneProfile"
1288
- ];
1289
- const EMAIL_RISK_ADDONS = ["emailCheck"];
1290
1284
  /** Risk addons that replace a `RISK_ADDONS_ONLY` source with their own. */
1291
1285
  const RISK_ADDON_SOURCE_OVERRIDES = { phoneProfile: "PHONE_PROFILE" };
1292
1286
  /** Sources whose submit payload must not carry `countryCode`. */
@@ -1315,9 +1309,6 @@ function mapToEKYCvalue(field) {
1315
1309
  default: return "user_input";
1316
1310
  }
1317
1311
  }
1318
- function hasRiskAddon(riskAddons, allowedAddons) {
1319
- return allowedAddons.some((addon) => riskAddons?.includes(addon));
1320
- }
1321
1312
  /**
1322
1313
  * Resolves the source sent to the backend. A `RISK_ADDONS_ONLY` source is
1323
1314
  * replaced by the first configured addon that defines its own source
@@ -1327,54 +1318,59 @@ function resolveEkycSource(source, riskAddons) {
1327
1318
  if (source !== "RISK_ADDONS_ONLY") return source;
1328
1319
  return riskAddons?.map((addon) => RISK_ADDON_SOURCE_OVERRIDES[addon]).find(Boolean) ?? source;
1329
1320
  }
1330
- /** Maps raw backend module config to a field-source mapping */
1331
- function getEKYCFields(config) {
1332
- const hasPhoneRiskAddon = hasRiskAddon(config.riskAddons, PHONE_RISK_ADDONS);
1333
- const hasEmailRiskAddon = hasRiskAddon(config.riskAddons, EMAIL_RISK_ADDONS);
1334
- const shouldRenderEmail = config.checkEmail || hasEmailRiskAddon;
1335
- const shouldRenderPhone = config.checkPhone || hasPhoneRiskAddon;
1336
- return {
1337
- name: config.checkName ? mapToEKYCvalue(config.nameSource ?? "") : false,
1338
- SSN: config.checkSsn ? mapToEKYCvalue(config.ssnSource ?? "") : false,
1339
- address: config.checkAddress ? mapToEKYCvalue(config.addressSource ?? "") : false,
1340
- "date of birth": config.checkDob ? mapToEKYCvalue(config.dobSource ?? "") : false,
1341
- email: shouldRenderEmail ? mapToEKYCvalue(config.emailSource ?? "") : false,
1342
- phone: shouldRenderPhone ? mapToEKYCvalue(config.phoneSource ?? "") : false,
1343
- nationality: config.checkNationality ? mapToEKYCvalue(config.nationalitySource ?? "") : false,
1344
- dlNumber: config.checkDlNumber ? mapToEKYCvalue(config.dlNumberSource ?? "") : false,
1345
- dlState: config.checkDlState ? mapToEKYCvalue(config.dlStateSource ?? "") : false,
1346
- dlExpireAt: config.checkDlExpireAt ? mapToEKYCvalue(config.dlExpireAtSource ?? "") : false,
1347
- last4SSN: config.checkLast4SSN ? mapToEKYCvalue(config.last4SSNSource ?? "") : false,
1348
- idNum: config.checkIdNum ? mapToEKYCvalue(config.idNumSource ?? "") : false,
1349
- idNum1: config.checkIdNum1 ? mapToEKYCvalue(config.idNum1Source ?? "") : false,
1350
- gender: config.checkGender ? mapToEKYCvalue(config.genderSource ?? "") : false,
1351
- panNumber: config.checkPanNumber ? mapToEKYCvalue(config.panNumberSource ?? "") : false,
1352
- idType: config.checkIdType ? mapToEKYCvalue(config.idTypeSource ?? "") : false,
1353
- issueDate: config.checkIssueDate ? mapToEKYCvalue(config.issueDateSource ?? "") : false,
1354
- fileNumber: config.checkFileNumber ? mapToEKYCvalue(config.fileNumberSource ?? "") : false
1355
- };
1356
- }
1357
- /** eKYC group id → the key `getEKYCFields` sets in `EkycVerificationFields`. */
1321
+ /**
1322
+ * eKYC group id → the key `getEKYCFields` sets in `EkycVerificationFields`, in
1323
+ * the order `getEKYCFields` has always written them.
1324
+ */
1358
1325
  const EKYC_GROUP_KEYS = {
1359
1326
  name: "name",
1327
+ ssn: "SSN",
1328
+ address: "address",
1360
1329
  dateOfBirth: "date of birth",
1361
1330
  email: "email",
1362
1331
  phone: "phone",
1363
- address: "address",
1364
- ssn: "SSN",
1332
+ nationality: "nationality",
1333
+ dlNumber: "dlNumber",
1334
+ dlState: "dlState",
1335
+ dlExpireAt: "dlExpireAt",
1365
1336
  last4SSN: "last4SSN",
1366
1337
  idNumber: "idNum",
1367
1338
  idNumber1: "idNum1",
1368
- nationality: "nationality",
1369
1339
  gender: "gender",
1370
1340
  panNumber: "panNumber",
1371
- dlNumber: "dlNumber",
1372
- dlState: "dlState",
1373
- dlExpireAt: "dlExpireAt",
1374
1341
  idType: "idType",
1375
1342
  issueDate: "issueDate",
1376
1343
  fileNumber: "fileNumber"
1377
1344
  };
1345
+ const RISK_ADDON_PREFIX = "riskAddon:";
1346
+ /**
1347
+ * Each verification field's switches, from its vocabulary group: the config
1348
+ * flags and risk add-ons that turn it on (`enabledBy`, where a risk add-on is
1349
+ * `riskAddon:<id>`), and the config key that names its source (`sourceKey`).
1350
+ */
1351
+ const FIELD_SWITCHES = Object.entries(EKYC_GROUP_KEYS).flatMap(([id, field]) => {
1352
+ const group = VOCABULARY.entries.find((entry) => entry.type === "group" && entry.id === id);
1353
+ if (!group?.enabledBy?.length || !group.sourceKey) throw new Error(`eKYC group "${id}" has no enabledBy or sourceKey in the vocabulary`);
1354
+ const enabledBy = group.enabledBy;
1355
+ return [{
1356
+ field,
1357
+ flags: enabledBy.filter((flag) => !flag.startsWith(RISK_ADDON_PREFIX)),
1358
+ riskAddons: enabledBy.filter((flag) => flag.startsWith(RISK_ADDON_PREFIX)).map((flag) => flag.slice(10)),
1359
+ sourceKey: group.sourceKey
1360
+ }];
1361
+ });
1362
+ /** Maps raw backend module config to a field-source mapping */
1363
+ function getEKYCFields(config) {
1364
+ const values = config;
1365
+ const riskAddons = config.riskAddons;
1366
+ const fields = {};
1367
+ for (const switches of FIELD_SWITCHES) {
1368
+ const on = switches.flags.some((flag) => values[flag]) || switches.riskAddons.some((addon) => riskAddons?.includes(addon));
1369
+ const source = values[switches.sourceKey];
1370
+ fields[switches.field] = on ? mapToEKYCvalue(typeof source === "string" ? source : "") : false;
1371
+ }
1372
+ return fields;
1373
+ }
1378
1374
  /**
1379
1375
  * Each verification field's display-mode key in module configuration, from
1380
1376
  * the vocabulary's `displayModeKey` on its group.
@@ -1,2 +1,2 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-2Rpu7MVt.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, i as AE_CONSENT_KEYS, l as getConsentKeys, n as createElectronicSignatureManagerFromActor, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DVp6ECFq.esm.js";
2
2
  export { AE_CONSENT_KEYS, NAMIRIAL_QES_CONSENT_KEYS, NAMIRIAL_QES_PROVIDER_CODE, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, createElectronicSignatureManagerFromActor, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
3
3
  import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
4
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-naUKa-Ct.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BGLJwanM.esm.js";
6
6
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
7
7
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
8
8
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -12,7 +12,7 @@ import "./StreamCanvasCapture-ixfy84ys.js";
12
12
  import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-BRYJflLy.js";
13
13
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-aZzFZo6V.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-BcYhxO63.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-vI6QHkHU.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-B2F_VeAo.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-crZcIUSY.js";
17
17
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-BfF2Qa5b.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
@@ -28,10 +28,10 @@ import { i as CaptureIdResponse } from "./types-DS_RiYko.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-VO1HEoUZ.js";
29
29
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DQq4GxBO.js";
30
30
  import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-l7ZERQcV.js";
31
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-C40ngKeM.js";
31
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-CZ-qJ_Aa.js";
32
32
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-mFOHRhVd.js";
33
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-8Fmb0REm.js";
34
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-DflRx-_u.js";
33
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-DgNuWWQw.js";
34
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-C0C7lFGd.js";
35
35
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-pT6FiPE7.js";
36
36
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-daT_8fj_.js";
37
37
  import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
@@ -1,12 +1,12 @@
1
- import { u as BrowserStorageProvider } from "./setup-Bg7wz9PU.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CZPaluvp.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
3
- import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-DYoxtIOt.esm.js";
3
+ import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-DRIZt0ov.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-2Rpu7MVt.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-DVp6ECFq.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-DKNOi9-z.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-CnqkHMOr.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CxwumxtB.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DHff9_Se.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Dw8QnjmA.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-DaUklfNj.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-BPocwpm2.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-BfA29Aji.esm.js";
@@ -14,13 +14,13 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BRqSCR9R.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-Bd1ooIDB.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-BKaJVQxg.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-Cqin1QsX.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-BrzyUp8J.esm.js";
19
- import { n as createEkycManagerFromActor } from "./ekycManager-BojVwTr3.esm.js";
20
- import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-DRt0QUgb.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-x1-nyxYL.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-DKnI7tVY.esm.js";
19
+ import { n as createEkycManagerFromActor } from "./ekycManager-BWOKhg0A.esm.js";
20
+ import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-BnKbAmJu.esm.js";
21
21
  import { n as createEmailManagerFromActor } from "./emailManager-Co4jarT1.esm.js";
22
- import { n as createSelfieManagerFromActor } from "./selfieManager-Cq0eakl9.esm.js";
23
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-D3EJhevJ.esm.js";
22
+ import { n as createSelfieManagerFromActor } from "./selfieManager-2_4e6flX.esm.js";
23
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-B36SF0YJ.esm.js";
24
24
  import { n as createPhoneManagerFromActor } from "./phoneManager-rA7updqF.esm.js";
25
25
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-BDaVjzLW.esm.js";
26
26
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-CEOMKI63.esm.js";
@@ -30,10 +30,10 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
30
30
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-BmH5urT2.esm.js";
31
31
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-DjsEtWLq.esm.js";
32
32
  import { n as createSignatureManagerFromActor } from "./signatureManager-BgAja97K.esm.js";
33
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-BrkIxqSS.esm.js";
33
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-DNAsvMfT.esm.js";
34
34
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-6JQQkzha.esm.js";
35
35
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-PMGM4hXY.esm.js";
36
36
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-CGmNGbov.esm.js";
37
37
  import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-DOLq45ph.esm.js";
38
- import { n as createKybChecksManagerFromActor } from "./kybChecksManager-DAYfc5k5.esm.js";
38
+ import { n as createKybChecksManagerFromActor } from "./kybChecksManager-D4t6I1BS.esm.js";
39
39
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createCertificateIssuanceManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createCustomFieldsManagerFromActor, createCustomWatchlistManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEkycPrefillManagerFromActor, createElectronicSignatureManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createFiscalQrManagerFromActor, createGeolocationManagerFromActor, createGovernmentValidationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createKybChecksManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createSignatureManagerFromActor, createWatchlistForBusinessManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
6
- import { r as concealmentToAvatar } from "./faceCaptureSetup-CnqkHMOr.esm.js";
6
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-DHff9_Se.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DPK7qGgo.esm.js";
8
8
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
9
9
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DFJlH7K3.esm.js";