@incodetech/core 0.0.0-dev-20261130-bfc39773 → 0.0.0-dev-20261201-b41183a2

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 (75) hide show
  1. package/dist/{FaceDetectionProvider-1VovGUeD.esm.js → FaceDetectionProvider-DILvXMxQ.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-CvCm5SUE.esm.js → apiError-B80OYJHb.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-Bk8SiDq9.esm.js → authenticationManager-CXDKsr-j.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-tvvu8GdG.esm.js → authenticationStateMachine-CjheAavc.esm.js} +3 -3
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/{consentManager-Duzd8paN.d.ts → consentManager-Bx_osBME.d.ts} +9 -9
  9. package/dist/{deepsightCaptureConfig-Bqt2G__a.esm.js → deepsightCaptureConfig-22yGNhzp.esm.js} +2 -2
  10. package/dist/{deepsightLoader-c3ADR5jS.esm.js → deepsightLoader-DAvHxEmQ.esm.js} +4 -4
  11. package/dist/{desktopCameraElection-B3VHT-hM.esm.js → desktopCameraElection-DKHWoXIZ.esm.js} +4 -4
  12. package/dist/document-signature.esm.js +1 -1
  13. package/dist/{documentSignatureStateMachine-DvuMGF-C.esm.js → documentSignatureStateMachine-BVv6yTDC.esm.js} +1 -1
  14. package/dist/dynamic-forms.esm.js +2 -2
  15. package/dist/{dynamicFormsManager-C3WuX_Q0.esm.js → dynamicFormsManager-L9BCGhY3.esm.js} +1 -1
  16. package/dist/{dynamicFormsStateMachine-BbUWAKtw.esm.js → dynamicFormsStateMachine-UeIgfIgO.esm.js} +1 -1
  17. package/dist/ekyb.d.ts +5 -5
  18. package/dist/ekyb.esm.js +3 -3
  19. package/dist/{ekybManager-DowSZFSH.esm.js → ekybManager-BNG13W2D.esm.js} +1 -1
  20. package/dist/{ekybStateMachine-CRgcnG20.esm.js → ekybStateMachine-qSw4IjCe.esm.js} +169 -143
  21. package/dist/{ekybUtils-ru8kQWEQ.esm.js → ekybUtils-CX-dR5p9.esm.js} +1 -36
  22. package/dist/ekyc-prefill.d.ts +1 -1
  23. package/dist/ekyc-prefill.esm.js +2 -2
  24. package/dist/{ekycPrefillManager-BjQYAkIw.esm.js → ekycPrefillManager-C5DMDJEA.esm.js} +1 -1
  25. package/dist/{ekycPrefillManager-BwmPXfhY.d.ts → ekycPrefillManager-D-8VY48A.d.ts} +4 -4
  26. package/dist/{ekycPrefillStateMachine-BQnmcISQ.esm.js → ekycPrefillStateMachine-66IiDSxQ.esm.js} +1 -1
  27. package/dist/electronic-signature.esm.js +1 -1
  28. package/dist/{electronicSignatureManager-DCcjU7P-.esm.js → electronicSignatureManager-Dc0_ymIt.esm.js} +1 -1
  29. package/dist/extensibility.d.ts +5 -5
  30. package/dist/extensibility.esm.js +12 -12
  31. package/dist/{faceCaptureManagerFactory-WJyidtVL.esm.js → faceCaptureManagerFactory-DePLuBnT.esm.js} +2 -2
  32. package/dist/{faceCaptureSetup-DrZAqP98.esm.js → faceCaptureSetup-C8qfvh2x.esm.js} +7 -7
  33. package/dist/{feature-management-B1LEwJJD.esm.js → feature-management-srznX8Iz.esm.js} +1 -1
  34. package/dist/feature-management.esm.js +1 -1
  35. package/dist/flow.esm.js +3 -3
  36. package/dist/{flowCompletionService-Bs-VAQuT.esm.js → flowCompletionService-Cba59yFV.esm.js} +1 -1
  37. package/dist/{flowServices-CU5i0i6P.esm.js → flowServices-B33MhjQM.esm.js} +5 -5
  38. package/dist/geolocation.esm.js +2 -2
  39. package/dist/{geolocationManager-BRem7MTQ.esm.js → geolocationManager-C7cHHTkd.esm.js} +1 -1
  40. package/dist/{geolocationStateMachine-1IqW2rd7.esm.js → geolocationStateMachine-QJqoWT7E.esm.js} +1 -1
  41. package/dist/id-ocr.d.ts +1 -1
  42. package/dist/id-selfie-flow.esm.js +6 -6
  43. package/dist/id.esm.js +3 -3
  44. package/dist/{idCaptureManager-BsKoZPpt.esm.js → idCaptureManager-3YmXwvvY.esm.js} +4 -4
  45. package/dist/{idCaptureServices-LMJwkK8R.esm.js → idCaptureServices-j-hB9ROq.esm.js} +2 -2
  46. package/dist/{idCaptureStateMachine-Bjb-bTdB.esm.js → idCaptureStateMachine-DcQQvjLv.esm.js} +11 -11
  47. package/dist/{idOcrManager-C0C7lFGd.d.ts → idOcrManager-CNGVEZ7B.d.ts} +1 -1
  48. package/dist/identity-reuse.d.ts +1 -1
  49. package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
  50. package/dist/index.esm.js +1 -1
  51. package/dist/kyb-checks.esm.js +2 -2
  52. package/dist/{kybChecksManager-ChXUFJ5Q.esm.js → kybChecksManager-BorQeoKZ.esm.js} +1 -1
  53. package/dist/{kybChecksStateMachine-DG7z6tlb.esm.js → kybChecksStateMachine-kuV8xPAu.esm.js} +1 -1
  54. package/dist/mandatory-consent.d.ts +1 -1
  55. package/dist/{mandatoryConsentManager-iM_rd8ay.d.ts → mandatoryConsentManager-C6jjFptX.d.ts} +9 -9
  56. package/dist/qe-signature.esm.js +1 -1
  57. package/dist/{recordingService-CSfGVfCz.esm.js → recordingService-RHW4CWxh.esm.js} +1 -1
  58. package/dist/{runChildModule-Co6iW3f5.esm.js → runChildModule-pJrB5rsq.esm.js} +1 -1
  59. package/dist/{sdkVersion-gCk4s3S8.esm.js → sdkVersion-CiTnubuK.esm.js} +1 -1
  60. package/dist/selfie.esm.js +7 -7
  61. package/dist/{selfieErrorUtils-CoVZOS2m.esm.js → selfieErrorUtils-UJWNVxvr.esm.js} +1 -1
  62. package/dist/{selfieManager-C6Xp0-mX.esm.js → selfieManager-B9nn8qKH.esm.js} +3 -3
  63. package/dist/{selfieStateMachine-Be7uP4jV.esm.js → selfieStateMachine-7H38L53x.esm.js} +3 -3
  64. package/dist/{session-DuFfreqq.esm.js → session-BLrEehWj.esm.js} +4 -4
  65. package/dist/session.esm.js +4 -4
  66. package/dist/{sessionInitializer-Deh3dU74.esm.js → sessionInitializer-DAC3I8PG.esm.js} +4 -4
  67. package/dist/{setup-B-GwK1w_.esm.js → setup-BajT35bZ.esm.js} +5 -5
  68. package/dist/trueSight-BdWbgUnZ.esm.js +1 -0
  69. package/dist/{trueSightService-Blh0Uioe.esm.js → trueSightService-BLyfduve.esm.js} +1 -1
  70. package/dist/video-selfie.esm.js +3 -3
  71. package/dist/{videoSelfieCameraWarmer-Dko8aqBP.esm.js → videoSelfieCameraWarmer-D4nY62Xt.esm.js} +3 -3
  72. package/dist/wasm.esm.js +1 -1
  73. package/dist/workflow.esm.js +18 -18
  74. package/package.json +3 -3
  75. package/dist/trueSight-oyYTYwRd.esm.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { l as wasmRuntime } from "./warmup-O3rAoe1-.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-B-GwK1w_.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-BajT35bZ.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-Blh0Uioe.esm.js";
6
- import "./trueSight-oyYTYwRd.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BLyfduve.esm.js";
6
+ import "./trueSight-BdWbgUnZ.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
9
9
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -234,7 +234,7 @@ function startDetection(params) {
234
234
  };
235
235
  }
236
236
  async function initializeDeepsightSession(options) {
237
- const { loadDeepsightSession } = await import("./deepsightLoader-c3ADR5jS.esm.js");
237
+ const { loadDeepsightSession } = await import("./deepsightLoader-DAvHxEmQ.esm.js");
238
238
  return loadDeepsightSession({
239
239
  ds: options.ds,
240
240
  storage: options.storage
@@ -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-DCcjU7P-.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-Dc0_ymIt.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-Blh0Uioe.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-BLyfduve.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-tvvu8GdG.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Bk8SiDq9.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-CjheAavc.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CXDKsr-j.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-B-GwK1w_.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-BajT35bZ.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
3
3
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
4
4
  import "./events-PUWyizJn.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-WJyidtVL.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-tvvu8GdG.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DePLuBnT.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-CjheAavc.esm.js";
8
8
  //#region src/modules/authentication/authenticationActor.ts
9
9
  function createAuthenticationActor(options) {
10
10
  const dependencies = options.dependencies ?? {
@@ -1,8 +1,8 @@
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-DrZAqP98.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-1VovGUeD.esm.js";
5
- import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-B3VHT-hM.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-C8qfvh2x.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-DILvXMxQ.esm.js";
5
+ import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-DKHWoXIZ.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
8
8
  SPOOF_ATTEMPT_DETECTED: FACE_ERROR_CODES.SPOOF_ATTEMPT_DETECTED,
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-Duzd8paN.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-Bx_osBME.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -75,18 +75,22 @@ declare const consentMachine: StateMachine<ConsentContext, {
75
75
  id: string | undefined;
76
76
  };
77
77
  }>, Values<{
78
- setError: {
79
- type: "setError";
80
- params: NonReducibleUnknown;
81
- };
82
78
  clearError: {
83
79
  type: "clearError";
84
80
  params: NonReducibleUnknown;
85
81
  };
82
+ setError: {
83
+ type: "setError";
84
+ params: NonReducibleUnknown;
85
+ };
86
86
  setLoadError: {
87
87
  type: "setLoadError";
88
88
  params: NonReducibleUnknown;
89
89
  };
90
+ resetContext: {
91
+ type: "resetContext";
92
+ params: NonReducibleUnknown;
93
+ };
90
94
  setConsentData: {
91
95
  type: "setConsentData";
92
96
  params: NonReducibleUnknown;
@@ -95,14 +99,10 @@ declare const consentMachine: StateMachine<ConsentContext, {
95
99
  type: "toggleCheckbox";
96
100
  params: NonReducibleUnknown;
97
101
  };
98
- resetContext: {
99
- type: "resetContext";
100
- params: NonReducibleUnknown;
101
- };
102
102
  }>, {
103
103
  type: "canSubmit";
104
104
  params: unknown;
105
- }, never, "error" | "idle" | "finished" | "loading" | "submitting" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
105
+ }, never, "error" | "idle" | "finished" | "submitting" | "loading" | "display", string, ConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
106
106
  readonly id: "consent";
107
107
  readonly initial: "idle";
108
108
  readonly context: ({ input }: {
@@ -1,5 +1,5 @@
1
- import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-Blh0Uioe.esm.js";
2
- import "./trueSight-oyYTYwRd.esm.js";
1
+ import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-BLyfduve.esm.js";
2
+ import "./trueSight-BdWbgUnZ.esm.js";
3
3
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
4
4
  //#region src/internal/deepsight/deepsightCaptureConfig.ts
5
5
  /**
@@ -1,8 +1,8 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-Blh0Uioe.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-gCk4s3S8.esm.js";
4
- import "./trueSight-oyYTYwRd.esm.js";
5
- import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-Deh3dU74.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-BLyfduve.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-CiTnubuK.esm.js";
4
+ import "./trueSight-BdWbgUnZ.esm.js";
5
+ import { C as fingerprintSignalsReporter, S as BrowserEnvironmentProvider, _ as isBrowserSimulation, n as getFingerprintEnabled, t as getDisableIpify, w as SDK_PLATFORM, x as IpifyProvider, y as getThumbmarkId } from "./sessionInitializer-DAC3I8PG.esm.js";
6
6
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
7
7
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
8
8
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
@@ -3,14 +3,14 @@ import { d as CAMERA_CYCLE_OWNERSHIP_DOMAIN, f as getCameraCycleOwnershipDomain,
3
3
  import { r as setWasmDeepsightConfigSync } from "./wasmDeepsightConfigSync-DukEcrU8.esm.js";
4
4
  import { i as utilityWasmApi } from "./WasmUtilProvider-unrmGEHD.esm.js";
5
5
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
6
- import { u as trueSightLog } from "./trueSightService-Blh0Uioe.esm.js";
7
- import "./trueSight-oyYTYwRd.esm.js";
8
- import { m as getFeatureGate } from "./feature-management-B1LEwJJD.esm.js";
6
+ import { u as trueSightLog } from "./trueSightService-BLyfduve.esm.js";
7
+ import "./trueSight-BdWbgUnZ.esm.js";
8
+ import { m as getFeatureGate } from "./feature-management-srznX8Iz.esm.js";
9
9
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
10
10
  import { c as isCameraDenialErrorName, n as enumerateVideoDevices, o as withAudioTracks, r as requestCameraAccess, s as clearCameraGrantedInDocument, u as markCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
11
11
  import { u as queryCameraPermission } from "./permissionServices-GQyOY1tb.esm.js";
12
12
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
13
- import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-Bqt2G__a.esm.js";
13
+ import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-22yGNhzp.esm.js";
14
14
  import { r as selectBestBackDevice, t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
15
15
  //#region ../infra/src/capabilities/ICameraCycleCapability.ts
16
16
  /**
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
2
  import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-DvuMGF-C.esm.js";
5
+ import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-BVv6yTDC.esm.js";
6
6
  //#region src/modules/document-signature/documentSignatureActor.ts
7
7
  function createDocumentSignatureActor(options) {
8
8
  return createActor(documentSignatureMachine, { input: { config: options.config } }).start();
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
3
  import "./events-PUWyizJn.esm.js";
4
- import { i as toIncodeApiError } from "./apiError-CvCm5SUE.esm.js";
4
+ import { i as toIncodeApiError } from "./apiError-B80OYJHb.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
7
7
  //#region src/modules/document-signature/documentSignatureServices.ts
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BbUWAKtw.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-C3WuX_Q0.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-UeIgfIgO.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-L9BCGhY3.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.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-BbUWAKtw.esm.js";
6
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-UeIgfIgO.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-B58edv6M.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-CvCm5SUE.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-B80OYJHb.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 { n as calendarDateError } from "./calendarDate-D2zWfUlA.esm.js";
package/dist/ekyb.d.ts CHANGED
@@ -20,18 +20,18 @@ type EkybFlowConfig = FlowModuleConfig['EKYB'];
20
20
  */
21
21
  declare function toEkybConfig(config: Partial<EkybFlowConfig> & Partial<EkybConfig>): EkybConfig;
22
22
  //#endregion
23
- //#region src/modules/ekyb/ekybConstants.d.ts
23
+ //#region src/modules/ekyb/ekybCountries.d.ts
24
24
  /**
25
- * Countries available in all environments.
26
- * Sorted alphabetically by display name.
25
+ * Countries available in all environments, sorted by ISO code.
27
26
  */
28
27
  declare const SUPPORTED_COUNTRIES: readonly EkybCountry[];
29
28
  /**
30
- * Additional countries available only in dev/staging environments.
29
+ * Additional countries available only in dev/staging environments, sorted by
30
+ * ISO code.
31
31
  */
32
32
  declare const DEV_ONLY_COUNTRIES: readonly EkybCountry[];
33
33
  /**
34
- * Union of all recognized country codes (prod + dev).
34
+ * Every country with a live eKYB form (prod + dev), sorted by ISO code.
35
35
  */
36
36
  declare const ALL_COUNTRIES: readonly EkybCountry[];
37
37
  declare function isSupportedCountry(code: string): code is EkybCountry;
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-ru8kQWEQ.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-CRgcnG20.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-DowSZFSH.esm.js";
1
+ import { s as toEkybConfig } from "./ekybUtils-CX-dR5p9.esm.js";
2
+ import { a as isSupportedCountry, i as SUPPORTED_COUNTRIES, n as ALL_COUNTRIES, r as DEV_ONLY_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-qSw4IjCe.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BNG13W2D.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-PUWyizJn.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-CRgcnG20.esm.js";
6
+ import { t as ekybMachine } from "./ekybStateMachine-qSw4IjCe.esm.js";
7
7
  //#region src/modules/ekyb/ekybActor.ts
8
8
  /**
9
9
  * Creates and starts an eKYB actor.
@@ -1,154 +1,14 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
- import { n as getFlow } from "./flowServices-CU5i0i6P.esm.js";
2
+ import { n as getFlow } from "./flowServices-B33MhjQM.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
- import { _ as isSupportedCountry, a as requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, g as collectsUbos, h as UBO_FIELD_LABELS, i as isFormFieldEntry, l as ALL_COUNTRIES, m as TAX_ID_RULES_BY_COUNTRY, n as hasAtLeastOneAddressField, o as sortModulesByOrder, r as isFieldOptional, s as toEkybConfig } from "./ekybUtils-ru8kQWEQ.esm.js";
5
+ import { a as requiresAddressValidation, c as ADDRESS_FIELDS, d as TAX_ID_RULES_BY_COUNTRY, f as UBO_FIELD_LABELS, i as isFormFieldEntry, l as FIELD_NAME_MAPPING, n as hasAtLeastOneAddressField, o as sortModulesByOrder, p as collectsUbos, r as isFieldOptional, s as toEkybConfig, u as FIELD_ORDER } from "./ekybUtils-CX-dR5p9.esm.js";
6
6
  import { t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
7
7
  import { t as validateCNPJ } from "./cnpj-CVq3vL39.esm.js";
8
8
  import { n as requiresCnpjValidation } from "./cnpj-D5cxwIe-.esm.js";
9
9
  import { a as getPostalCodeErrorKey, c as validatePostalCode, d as getStreetLevelErrorForSuggestion, f as keepSuggestionInOptions, i as formatPostalCode, l as STREET_LEVEL_REQUIRED_ERROR, o as getPostalCodeErrorParams, r as isFormDefinitionsEnabled, s as getPostalCodeMaxLength, t as debounceSearchActor, u as fillFromSuggestion } from "./addressSearch-BJ711RHG.esm.js";
10
10
  import { n as checkSupport, r as DYNAMIC_REQUIRED_KEY, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
11
11
  import { n as matchesCharTemplate, t as createBundledDefinitionSource } from "./definitionSource-B9WTvQb9.esm.js";
12
- //#region src/modules/ekyb/ekybValidators.ts
13
- const createValidators = () => ({
14
- required: (value, _rule, field) => {
15
- if (value.trim().length > 0) return void 0;
16
- const fieldName = field.displayLabel ?? field.label;
17
- return fieldName ? {
18
- key: DYNAMIC_REQUIRED_KEY,
19
- params: { fieldName }
20
- } : { key: DYNAMIC_REQUIRED_KEY };
21
- },
22
- streetLevelRequired: (value) => {
23
- if (value.trim().length > 0) return void 0;
24
- return STREET_LEVEL_REQUIRED_ERROR;
25
- },
26
- cnpj: (value) => {
27
- if (value.trim().length === 0) return void 0;
28
- return validateCNPJ(value) ? void 0 : { key: "ekyb.error.invalidTaxId" };
29
- },
30
- postalCodeFormat: (value, rule) => {
31
- if (rule.type !== "postalCodeFormat") return void 0;
32
- if (value.trim().length === 0) return void 0;
33
- if (validatePostalCode(value, rule.country)) return void 0;
34
- return {
35
- key: getPostalCodeErrorKey(rule.country),
36
- params: getPostalCodeErrorParams(rule.country)
37
- };
38
- },
39
- charTemplate: (value, rule) => {
40
- if (rule.type !== "charTemplate") return void 0;
41
- if (value.trim().length === 0) return void 0;
42
- return matchesCharTemplate(value.trim(), rule.templates, rule.ignoreCase) ? void 0 : { key: "verification.errors.invalidFormat" };
43
- }
44
- });
45
- const normalizeFieldValue = (value) => typeof value === "string" ? value : String(value ?? "");
46
- const evaluateRules = (value, rules, field, validators) => {
47
- if (!rules) return void 0;
48
- for (const rule of rules) {
49
- const error = validators[rule.type](value, rule, field);
50
- if (error) return error;
51
- }
52
- };
53
- /**
54
- * Address group: when no address field is filled (for countries that require
55
- * address validation), marks required address fields with a required error.
56
- * Per-field errors take precedence — this is merged last in validateEkybForm.
57
- */
58
- function validateAddressGroup(fields, values, country) {
59
- if (!requiresAddressValidation(country)) return {};
60
- const addressValues = {};
61
- for (const f of ADDRESS_FIELDS) addressValues[f] = values[f];
62
- if (hasAtLeastOneAddressField(addressValues)) return {};
63
- const errors = {};
64
- const requiredAddressFields = fields.filter((f) => ADDRESS_FIELDS.includes(f.name) && f.required);
65
- for (const f of requiredAddressFields) if (!(values[f.name] ?? "").trim()) {
66
- const fieldName = f.displayLabel ?? f.label;
67
- errors[f.name] = {
68
- key: DYNAMIC_REQUIRED_KEY,
69
- params: { fieldName }
70
- };
71
- }
72
- return errors;
73
- }
74
- /**
75
- * UBO group: marks required UBO name/surname fields when the UBO entry
76
- * has been interacted with (first UBO always validates; subsequent UBOs
77
- * only validate if either field has a value).
78
- */
79
- function validateUboGroup(ubos, hasUbos) {
80
- if (!hasUbos) return {};
81
- const errors = {};
82
- for (let i = 0; i < ubos.length; i++) {
83
- const isDefault = i === 0;
84
- const hasAnyValue = ubos[i].name.trim() !== "" || ubos[i].surname.trim() !== "";
85
- if (isDefault || hasAnyValue) {
86
- if (!ubos[i].name.trim()) errors[`ubo-${i}-name`] = {
87
- key: DYNAMIC_REQUIRED_KEY,
88
- params: { fieldName: UBO_FIELD_LABELS.name }
89
- };
90
- if (!ubos[i].surname.trim()) errors[`ubo-${i}-surname`] = {
91
- key: DYNAMIC_REQUIRED_KEY,
92
- params: { fieldName: UBO_FIELD_LABELS.surname }
93
- };
94
- }
95
- }
96
- return errors;
97
- }
98
- /**
99
- * Full-form validation: per-field pass, then address cross-field pass, then
100
- * UBO pass. Per-field errors take precedence over cross-field errors for
101
- * the same key.
102
- */
103
- function validateEkybForm(values, fields, country, ubos, hasUbos) {
104
- const validators = createValidators();
105
- const perField = fields.reduce((acc, field) => {
106
- const value = normalizeFieldValue(values[field.name]);
107
- const error = evaluateRules(value, field.validation, field, validators);
108
- if (error) acc[field.name] = error;
109
- return acc;
110
- }, {});
111
- const addressGroup = validateAddressGroup(fields, values, country);
112
- const uboGroup = validateUboGroup(ubos, hasUbos);
113
- return {
114
- ...addressGroup,
115
- ...perField,
116
- ...uboGroup
117
- };
118
- }
119
- /**
120
- * Single-field validation (per-field only, no cross-field passes).
121
- * Intended for blur-triggered validation of regular form fields.
122
- */
123
- function validateEkybField(values, fieldName, fields) {
124
- const field = fields.find((f) => f.name === fieldName);
125
- if (!field) return void 0;
126
- const validators = createValidators();
127
- const value = normalizeFieldValue(values[field.name]);
128
- return evaluateRules(value, field.validation, field, validators);
129
- }
130
- /**
131
- * Single UBO field validation (blur-triggered).
132
- * fieldKey format: `ubo-{index}-name` or `ubo-{index}-surname`.
133
- * Returns undefined for non-default UBOs whose peer field is also empty
134
- * (user hasn't started filling that UBO entry yet).
135
- */
136
- function validateEkybUboField(ubos, fieldKey) {
137
- const match = fieldKey.match(/^ubo-(\d+)-(name|surname)$/);
138
- if (!match) return void 0;
139
- const index = Number(match[1]);
140
- const field = match[2];
141
- if (index < 0 || index >= ubos.length) return void 0;
142
- const ubo = ubos[index];
143
- const isDefault = index === 0;
144
- const hasAnyValue = ubo.name.trim() !== "" || ubo.surname.trim() !== "";
145
- if (!isDefault && !hasAnyValue) return void 0;
146
- if (!ubo[field].trim()) return {
147
- key: DYNAMIC_REQUIRED_KEY,
148
- params: { fieldName: UBO_FIELD_LABELS[field] }
149
- };
150
- }
151
- //#endregion
152
12
  //#region ../form-definitions/generated/ekyb.ts
153
13
  const EKYB_DEFINITIONS = {
154
14
  "ekyb/AR": {
@@ -1697,6 +1557,172 @@ const EKYB_DEFINITIONS = {
1697
1557
  }
1698
1558
  };
1699
1559
  //#endregion
1560
+ //#region src/modules/ekyb/ekybCountries.ts
1561
+ function isTwoLetterCode(code) {
1562
+ return code !== void 0 && /^[A-Z]{2}$/.test(code);
1563
+ }
1564
+ const CATALOG_COUNTRIES = Object.values(EKYB_DEFINITIONS).flatMap((definition) => isTwoLetterCode(definition.country) ? [{
1565
+ country: definition.country,
1566
+ devOnly: definition.availableIn !== void 0 && !definition.availableIn.includes("production")
1567
+ }] : []).sort((a, b) => a.country.localeCompare(b.country, "en"));
1568
+ /**
1569
+ * Countries available in all environments, sorted by ISO code.
1570
+ */
1571
+ const SUPPORTED_COUNTRIES = CATALOG_COUNTRIES.filter((entry) => !entry.devOnly).map((entry) => entry.country);
1572
+ /**
1573
+ * Additional countries available only in dev/staging environments, sorted by
1574
+ * ISO code.
1575
+ */
1576
+ const DEV_ONLY_COUNTRIES = CATALOG_COUNTRIES.filter((entry) => entry.devOnly).map((entry) => entry.country);
1577
+ /**
1578
+ * Every country with a live eKYB form (prod + dev), sorted by ISO code.
1579
+ */
1580
+ const ALL_COUNTRIES = CATALOG_COUNTRIES.map((entry) => entry.country);
1581
+ const ALL_COUNTRIES_SET = new Set(ALL_COUNTRIES);
1582
+ function isSupportedCountry(code) {
1583
+ return ALL_COUNTRIES_SET.has(code);
1584
+ }
1585
+ //#endregion
1586
+ //#region src/modules/ekyb/ekybValidators.ts
1587
+ const createValidators = () => ({
1588
+ required: (value, _rule, field) => {
1589
+ if (value.trim().length > 0) return void 0;
1590
+ const fieldName = field.displayLabel ?? field.label;
1591
+ return fieldName ? {
1592
+ key: DYNAMIC_REQUIRED_KEY,
1593
+ params: { fieldName }
1594
+ } : { key: DYNAMIC_REQUIRED_KEY };
1595
+ },
1596
+ streetLevelRequired: (value) => {
1597
+ if (value.trim().length > 0) return void 0;
1598
+ return STREET_LEVEL_REQUIRED_ERROR;
1599
+ },
1600
+ cnpj: (value) => {
1601
+ if (value.trim().length === 0) return void 0;
1602
+ return validateCNPJ(value) ? void 0 : { key: "ekyb.error.invalidTaxId" };
1603
+ },
1604
+ postalCodeFormat: (value, rule) => {
1605
+ if (rule.type !== "postalCodeFormat") return void 0;
1606
+ if (value.trim().length === 0) return void 0;
1607
+ if (validatePostalCode(value, rule.country)) return void 0;
1608
+ return {
1609
+ key: getPostalCodeErrorKey(rule.country),
1610
+ params: getPostalCodeErrorParams(rule.country)
1611
+ };
1612
+ },
1613
+ charTemplate: (value, rule) => {
1614
+ if (rule.type !== "charTemplate") return void 0;
1615
+ if (value.trim().length === 0) return void 0;
1616
+ return matchesCharTemplate(value.trim(), rule.templates, rule.ignoreCase) ? void 0 : { key: "verification.errors.invalidFormat" };
1617
+ }
1618
+ });
1619
+ const normalizeFieldValue = (value) => typeof value === "string" ? value : String(value ?? "");
1620
+ const evaluateRules = (value, rules, field, validators) => {
1621
+ if (!rules) return void 0;
1622
+ for (const rule of rules) {
1623
+ const error = validators[rule.type](value, rule, field);
1624
+ if (error) return error;
1625
+ }
1626
+ };
1627
+ /**
1628
+ * Address group: when no address field is filled (for countries that require
1629
+ * address validation), marks required address fields with a required error.
1630
+ * Per-field errors take precedence — this is merged last in validateEkybForm.
1631
+ */
1632
+ function validateAddressGroup(fields, values, country) {
1633
+ if (!requiresAddressValidation(country)) return {};
1634
+ const addressValues = {};
1635
+ for (const f of ADDRESS_FIELDS) addressValues[f] = values[f];
1636
+ if (hasAtLeastOneAddressField(addressValues)) return {};
1637
+ const errors = {};
1638
+ const requiredAddressFields = fields.filter((f) => ADDRESS_FIELDS.includes(f.name) && f.required);
1639
+ for (const f of requiredAddressFields) if (!(values[f.name] ?? "").trim()) {
1640
+ const fieldName = f.displayLabel ?? f.label;
1641
+ errors[f.name] = {
1642
+ key: DYNAMIC_REQUIRED_KEY,
1643
+ params: { fieldName }
1644
+ };
1645
+ }
1646
+ return errors;
1647
+ }
1648
+ /**
1649
+ * UBO group: marks required UBO name/surname fields when the UBO entry
1650
+ * has been interacted with (first UBO always validates; subsequent UBOs
1651
+ * only validate if either field has a value).
1652
+ */
1653
+ function validateUboGroup(ubos, hasUbos) {
1654
+ if (!hasUbos) return {};
1655
+ const errors = {};
1656
+ for (let i = 0; i < ubos.length; i++) {
1657
+ const isDefault = i === 0;
1658
+ const hasAnyValue = ubos[i].name.trim() !== "" || ubos[i].surname.trim() !== "";
1659
+ if (isDefault || hasAnyValue) {
1660
+ if (!ubos[i].name.trim()) errors[`ubo-${i}-name`] = {
1661
+ key: DYNAMIC_REQUIRED_KEY,
1662
+ params: { fieldName: UBO_FIELD_LABELS.name }
1663
+ };
1664
+ if (!ubos[i].surname.trim()) errors[`ubo-${i}-surname`] = {
1665
+ key: DYNAMIC_REQUIRED_KEY,
1666
+ params: { fieldName: UBO_FIELD_LABELS.surname }
1667
+ };
1668
+ }
1669
+ }
1670
+ return errors;
1671
+ }
1672
+ /**
1673
+ * Full-form validation: per-field pass, then address cross-field pass, then
1674
+ * UBO pass. Per-field errors take precedence over cross-field errors for
1675
+ * the same key.
1676
+ */
1677
+ function validateEkybForm(values, fields, country, ubos, hasUbos) {
1678
+ const validators = createValidators();
1679
+ const perField = fields.reduce((acc, field) => {
1680
+ const value = normalizeFieldValue(values[field.name]);
1681
+ const error = evaluateRules(value, field.validation, field, validators);
1682
+ if (error) acc[field.name] = error;
1683
+ return acc;
1684
+ }, {});
1685
+ const addressGroup = validateAddressGroup(fields, values, country);
1686
+ const uboGroup = validateUboGroup(ubos, hasUbos);
1687
+ return {
1688
+ ...addressGroup,
1689
+ ...perField,
1690
+ ...uboGroup
1691
+ };
1692
+ }
1693
+ /**
1694
+ * Single-field validation (per-field only, no cross-field passes).
1695
+ * Intended for blur-triggered validation of regular form fields.
1696
+ */
1697
+ function validateEkybField(values, fieldName, fields) {
1698
+ const field = fields.find((f) => f.name === fieldName);
1699
+ if (!field) return void 0;
1700
+ const validators = createValidators();
1701
+ const value = normalizeFieldValue(values[field.name]);
1702
+ return evaluateRules(value, field.validation, field, validators);
1703
+ }
1704
+ /**
1705
+ * Single UBO field validation (blur-triggered).
1706
+ * fieldKey format: `ubo-{index}-name` or `ubo-{index}-surname`.
1707
+ * Returns undefined for non-default UBOs whose peer field is also empty
1708
+ * (user hasn't started filling that UBO entry yet).
1709
+ */
1710
+ function validateEkybUboField(ubos, fieldKey) {
1711
+ const match = fieldKey.match(/^ubo-(\d+)-(name|surname)$/);
1712
+ if (!match) return void 0;
1713
+ const index = Number(match[1]);
1714
+ const field = match[2];
1715
+ if (index < 0 || index >= ubos.length) return void 0;
1716
+ const ubo = ubos[index];
1717
+ const isDefault = index === 0;
1718
+ const hasAnyValue = ubo.name.trim() !== "" || ubo.surname.trim() !== "";
1719
+ if (!isDefault && !hasAnyValue) return void 0;
1720
+ if (!ubo[field].trim()) return {
1721
+ key: DYNAMIC_REQUIRED_KEY,
1722
+ params: { fieldName: UBO_FIELD_LABELS[field] }
1723
+ };
1724
+ }
1725
+ //#endregion
1700
1726
  //#region src/modules/ekyb/ekybForm.ts
1701
1727
  /**
1702
1728
  * eKYB adapter for form definitions.
@@ -2335,4 +2361,4 @@ const ekybMachine = setup({
2335
2361
  }
2336
2362
  });
2337
2363
  //#endregion
2338
- export { ekybMachine as t };
2364
+ export { isSupportedCountry as a, SUPPORTED_COUNTRIES as i, ALL_COUNTRIES as n, DEV_ONLY_COUNTRIES as r, ekybMachine as t };
@@ -1,40 +1,5 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
2
  //#region src/modules/ekyb/ekybConstants.ts
3
- /**
4
- * Countries available in all environments.
5
- * Sorted alphabetically by display name.
6
- */
7
- const SUPPORTED_COUNTRIES = [
8
- "AR",
9
- "BR",
10
- "CN",
11
- "FR",
12
- "DE",
13
- "IL",
14
- "IT",
15
- "MX",
16
- "PE",
17
- "ES",
18
- "GB",
19
- "US"
20
- ];
21
- /**
22
- * Additional countries available only in dev/staging environments.
23
- */
24
- const DEV_ONLY_COUNTRIES = [
25
- "CM",
26
- "CO",
27
- "KE",
28
- "NG"
29
- ];
30
- /**
31
- * Union of all recognized country codes (prod + dev).
32
- */
33
- const ALL_COUNTRIES = [...SUPPORTED_COUNTRIES, ...DEV_ONLY_COUNTRIES];
34
- const ALL_COUNTRIES_SET = new Set(ALL_COUNTRIES);
35
- function isSupportedCountry(code) {
36
- return ALL_COUNTRIES_SET.has(code);
37
- }
38
3
  const FIELD_ORDER = [
39
4
  "name-user_input",
40
5
  "taxId-user_input",
@@ -196,4 +161,4 @@ function requiresAddressValidation(countryCode) {
196
161
  return !ADDRESS_FULLY_OPTIONAL_COUNTRIES.includes(countryCode);
197
162
  }
198
163
  //#endregion
199
- export { isSupportedCountry as _, requiresAddressValidation as a, ADDRESS_FIELDS as c, FIELD_NAME_MAPPING as d, FIELD_ORDER as f, collectsUbos as g, UBO_FIELD_LABELS as h, isFormFieldEntry as i, ALL_COUNTRIES as l, TAX_ID_RULES_BY_COUNTRY as m, hasAtLeastOneAddressField as n, sortModulesByOrder as o, SUPPORTED_COUNTRIES as p, isFieldOptional as r, toEkybConfig as s, ekybUtils_exports as t, DEV_ONLY_COUNTRIES as u };
164
+ export { requiresAddressValidation as a, ADDRESS_FIELDS as c, TAX_ID_RULES_BY_COUNTRY as d, UBO_FIELD_LABELS as f, isFormFieldEntry as i, FIELD_NAME_MAPPING as l, hasAtLeastOneAddressField as n, sortModulesByOrder as o, collectsUbos as p, isFieldOptional as r, toEkybConfig as s, ekybUtils_exports as t, FIELD_ORDER as u };
@@ -1,5 +1,5 @@
1
1
  import { a as EkycPrefillFieldDef, f as EkycPrefillValues, i as EkycPrefillErrorKind, l as EkycPrefillModuleConfig, n as EkycPrefillConfigField, o as EkycPrefillFieldError, s as EkycPrefillFieldErrors, t as EkycPrefillConfig, u as EkycPrefillServedField } from "./types-g3NuVCT9.js";
2
- import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-BwmPXfhY.js";
2
+ import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSubmittingState, f as createEkycPrefillManager, h as ekycPrefillMachine, i as EkycPrefillFinishedState, l as EkycPrefillMisconfiguredState, n as EkycPrefillClosedState, o as EkycPrefillIdleState, r as EkycPrefillErrorState, s as EkycPrefillLimitReachedState, t as EkycPrefillAnyOfState, u as EkycPrefillState } from "./ekycPrefillManager-D-8VY48A.js";
3
3
  //#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
4
4
  /**
5
5
  * Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a