@incodetech/core 0.0.0-dev-20261123-f3cecd0f → 0.0.0-dev-20261123-4e85f134

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 (111) hide show
  1. package/dist/{FaceDetectionProvider-BI2xJOZi.esm.js → FaceDetectionProvider-CSiQ4_ay.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-Dxfixsln.esm.js → apiError-D8p92jfK.esm.js} +1 -1
  4. package/dist/authentication.d.ts +3 -3
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-BJElkTsj.d.ts → authenticationManager-CLG0PAw9.d.ts} +1 -1
  7. package/dist/{authenticationManager-BVx-rrQx.esm.js → authenticationManager-DzwIWNvb.esm.js} +3 -3
  8. package/dist/{authenticationStateMachine-Bi3xyJd8.esm.js → authenticationStateMachine-QgXVzF_L.esm.js} +3 -3
  9. package/dist/consent.d.ts +1 -1
  10. package/dist/{consentManager-Duzd8paN.d.ts → consentManager-Bx_osBME.d.ts} +9 -9
  11. package/dist/curp-validation.d.ts +1 -1
  12. package/dist/{curpValidationManager-CmL52FU8.d.ts → curpValidationManager-CA9w3fO6.d.ts} +1 -1
  13. package/dist/{deepsightCaptureConfig-Bp3ttC6f.esm.js → deepsightCaptureConfig-Bcrw2pFu.esm.js} +2 -2
  14. package/dist/{deepsightLoader-AlFo55X0.esm.js → deepsightLoader-DRDK4yts.esm.js} +4 -4
  15. package/dist/{desktopCameraElection-CNXGgnSo.esm.js → desktopCameraElection-BvPHvAA4.esm.js} +4 -4
  16. package/dist/document-capture.d.ts +1 -1
  17. package/dist/document-signature.esm.js +1 -1
  18. package/dist/{documentCaptureManager-DOgJTJ4F.d.ts → documentCaptureManager-DLWTqjUr.d.ts} +5 -5
  19. package/dist/{documentSignatureStateMachine-_51mBEGo.esm.js → documentSignatureStateMachine-PMOkZDCn.esm.js} +1 -1
  20. package/dist/dynamic-forms.esm.js +2 -2
  21. package/dist/{dynamicFormsManager-CmGK8Nmm.esm.js → dynamicFormsManager-BOQRxy_t.esm.js} +1 -1
  22. package/dist/{dynamicFormsStateMachine-BUzOuzaA.esm.js → dynamicFormsStateMachine-Bv8m-KhL.esm.js} +1 -1
  23. package/dist/ekyb.d.ts +1 -1
  24. package/dist/ekyb.esm.js +2 -2
  25. package/dist/{ekybManager-C49pcveL.esm.js → ekybManager-Dt7Z6NEX.esm.js} +1 -1
  26. package/dist/{ekybStateMachine-IWnhPTLm.esm.js → ekybStateMachine-DExt873D.esm.js} +1 -1
  27. package/dist/ekyc-prefill.d.ts +5 -4
  28. package/dist/ekyc-prefill.esm.js +2 -2
  29. package/dist/ekyc.esm.js +3 -3
  30. package/dist/{ekycManager-CsknO0Rw.esm.js → ekycManager-N2EAITDJ.esm.js} +1 -1
  31. package/dist/{ekycPrefillManager-ObAVm5GR.esm.js → ekycPrefillManager-B1i-Fgy-.esm.js} +1 -1
  32. package/dist/{ekycPrefillManager-C11D5yiF.d.ts → ekycPrefillManager-BzM-GMVT.d.ts} +6 -6
  33. package/dist/{ekycPrefillStateMachine-BoVSVydv.esm.js → ekycPrefillStateMachine-DlUZGMCd.esm.js} +333 -131
  34. package/dist/{ekycRules-BH_Ll_0A.esm.js → ekycRules-B7kUzSgu.esm.js} +117 -1
  35. package/dist/{ekycStateMachine-CJHaHgfD.esm.js → ekycStateMachine-1qQi52Ih.esm.js} +274 -361
  36. package/dist/{ekycUtils-DEvtEyBI.esm.js → ekycUtils-D4CwNG7Y.esm.js} +5 -3
  37. package/dist/electronic-signature.esm.js +1 -1
  38. package/dist/{electronicSignatureManager-BNxHsiOA.esm.js → electronicSignatureManager-YyQFeYTi.esm.js} +1 -1
  39. package/dist/extensibility.d.ts +14 -14
  40. package/dist/extensibility.esm.js +13 -13
  41. package/dist/{faceCaptureManagerFactory-CHqmyOjM.d.ts → faceCaptureManagerFactory-BNY7JNj3.d.ts} +3 -3
  42. package/dist/{faceCaptureManagerFactory-DlQAlE2f.esm.js → faceCaptureManagerFactory-BOu2eQns.esm.js} +2 -2
  43. package/dist/{faceCaptureSetup-B7RaB0_O.esm.js → faceCaptureSetup-CopYy5_O.esm.js} +7 -7
  44. package/dist/{feature-management-CfDygYqM.esm.js → feature-management-CGHalFcv.esm.js} +1 -1
  45. package/dist/feature-management.esm.js +1 -1
  46. package/dist/flow-events.d.ts +1 -1
  47. package/dist/flow.d.ts +5 -5
  48. package/dist/flow.esm.js +3 -3
  49. package/dist/{flowCompletionService-BBk66S3P.esm.js → flowCompletionService-BETSa4vN.esm.js} +1 -1
  50. package/dist/{flowServices-DtMnUqOb.esm.js → flowServices-Adu2JkFA.esm.js} +5 -5
  51. package/dist/geolocation.d.ts +1 -1
  52. package/dist/geolocation.esm.js +2 -2
  53. package/dist/{geolocationManager-Del2ddmt.d.ts → geolocationManager-CENrvxpK.d.ts} +1 -1
  54. package/dist/{geolocationManager-BiKEQCE2.esm.js → geolocationManager-CFSS2JSp.esm.js} +1 -1
  55. package/dist/{geolocationStateMachine-FtmVonRL.esm.js → geolocationStateMachine-yhJy-Oli.esm.js} +1 -1
  56. package/dist/home.d.ts +1 -1
  57. package/dist/id-ocr.d.ts +1 -1
  58. package/dist/id-ocr.esm.js +17 -1
  59. package/dist/id-selfie-flow.d.ts +1 -1
  60. package/dist/id-selfie-flow.esm.js +6 -6
  61. package/dist/id.d.ts +2 -2
  62. package/dist/id.esm.js +3 -3
  63. package/dist/{idCaptureManager-CgkQW3Xc.d.ts → idCaptureManager-DksvDJ5Y.d.ts} +2 -2
  64. package/dist/{idCaptureManager-ColRR6SE.esm.js → idCaptureManager-biMO4ti8.esm.js} +4 -4
  65. package/dist/{idCaptureServices-Bss4WmTf.esm.js → idCaptureServices-DsBCDgPq.esm.js} +2 -2
  66. package/dist/{idCaptureStateMachine-DZD2WfHO.esm.js → idCaptureStateMachine-DSVxM1sV.esm.js} +11 -11
  67. package/dist/{idOcrManager-C3BHGgSb.d.ts → idOcrManager-CNGVEZ7B.d.ts} +1 -1
  68. package/dist/identity-reuse.d.ts +1 -1
  69. package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
  70. package/dist/{index-CoePktWH.d.ts → index-BsqGSj_x.d.ts} +1 -1
  71. package/dist/index.esm.js +1 -1
  72. package/dist/kyb-checks.esm.js +2 -2
  73. package/dist/{kybChecksManager-BG31cWgX.esm.js → kybChecksManager-BELqX_Lm.esm.js} +1 -1
  74. package/dist/{kybChecksStateMachine-BmNu0IZs.esm.js → kybChecksStateMachine-DK41gj76.esm.js} +1 -1
  75. package/dist/mandatory-consent.d.ts +2 -2
  76. package/dist/{mandatoryConsentManager-kzr5kdc_.d.ts → mandatoryConsentManager-B4-gw9FV.d.ts} +10 -10
  77. package/dist/qe-signature.esm.js +1 -1
  78. package/dist/{recordingService-CAnEoIxy.esm.js → recordingService-C092bHW7.esm.js} +1 -1
  79. package/dist/{runChildModule-CYyC2Qsm.esm.js → runChildModule-BImyqF65.esm.js} +1 -1
  80. package/dist/{sdkVersion-CbYAyk-3.esm.js → sdkVersion-BGEzZXPX.esm.js} +1 -1
  81. package/dist/selfie.d.ts +3 -3
  82. package/dist/selfie.esm.js +7 -7
  83. package/dist/{selfieErrorUtils-DFZDaTym.esm.js → selfieErrorUtils-BbrtgKm7.esm.js} +1 -1
  84. package/dist/{selfieManager-DrBYj5kA.d.ts → selfieManager-CSxlf4Ls.d.ts} +1 -1
  85. package/dist/{selfieManager-ByE5lOdT.esm.js → selfieManager-Cdj5fjRN.esm.js} +3 -3
  86. package/dist/{selfieStateMachine-aApsBvH8.esm.js → selfieStateMachine-CAlutNlH.esm.js} +3 -3
  87. package/dist/{session-CjD_xiZa.esm.js → session-BlpaoMHX.esm.js} +4 -4
  88. package/dist/session.d.ts +1 -1
  89. package/dist/session.esm.js +4 -4
  90. package/dist/{sessionInitializer-B7b9nwEd.esm.js → sessionInitializer-DmGppDQX.esm.js} +4 -4
  91. package/dist/{setup-D6Gomd33.esm.js → setup-DA07nIIF.esm.js} +5 -5
  92. package/dist/trueSight-BAtlP0U8.esm.js +1 -0
  93. package/dist/{trueSightService-BHmpDnvW.esm.js → trueSightService-DSDSHENR.esm.js} +1 -1
  94. package/dist/{types-B-PIc0en.d.ts → types-Ct3OFmQs.d.ts} +25 -9
  95. package/dist/{types-DHpz4Y37.d.ts → types-CzoXVfgt.d.ts} +1 -1
  96. package/dist/{types-C1056-J1.d.ts → types-DQ2BSAKU.d.ts} +1 -1
  97. package/dist/types-DQACmFP1.d.ts +6 -0
  98. package/dist/{types-4Re9FSOw.d.ts → types-D_-0O9pg.d.ts} +1 -1
  99. package/dist/{types-CEGG70FK.d.ts → types-E4jPC3M2.d.ts} +1 -1
  100. package/dist/{types-b0l9b83G.d.ts → types-eMmhwENp.d.ts} +1 -1
  101. package/dist/video-selfie.d.ts +1 -1
  102. package/dist/video-selfie.esm.js +3 -3
  103. package/dist/{videoSelfieCameraWarmer-O-uRRcju.esm.js → videoSelfieCameraWarmer-DWrg6vQd.esm.js} +3 -3
  104. package/dist/{videoSelfieStepDetector-DC_Qh7qI.d.ts → videoSelfieStepDetector-Cu7EZdcz.d.ts} +2 -2
  105. package/dist/wasm.esm.js +1 -1
  106. package/dist/workflow.d.ts +1 -1
  107. package/dist/workflow.esm.js +19 -19
  108. package/package.json +1 -1
  109. package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +0 -18
  110. package/dist/trueSight-CsGhFXTr.esm.js +0 -1
  111. package/dist/types-BtrJ5fkm.d.ts +0 -6
@@ -1,9 +1,9 @@
1
1
  import { l as wasmRuntime } from "./warmup-CBaYXBuZ.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-D6Gomd33.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-DA07nIIF.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-BDXl-HzX.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BHmpDnvW.esm.js";
6
- import "./trueSight-CsGhFXTr.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-DSDSHENR.esm.js";
6
+ import "./trueSight-BAtlP0U8.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-CrqhpKkP.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-AlFo55X0.esm.js");
237
+ const { loadDeepsightSession } = await import("./deepsightLoader-DRDK4yts.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-BNxHsiOA.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-YyQFeYTi.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-BHmpDnvW.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-DSDSHENR.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.
@@ -1,4 +1,4 @@
1
- import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CHqmyOjM.js";
2
- import { t as AuthenticationConfig } from "./types-BtrJ5fkm.js";
3
- import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-BJElkTsj.js";
1
+ import { C as authenticationMachine, S as createAuthenticationActor, b as AuthenticationActor, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BNY7JNj3.js";
2
+ import { t as AuthenticationConfig } from "./types-DQACmFP1.js";
3
+ import { n as AuthenticationState, r as createAuthenticationManager, t as AuthenticationManager } from "./authenticationManager-CLG0PAw9.js";
4
4
  export { type AuthenticationActor, type AuthenticationConfig, type AuthenticationManager, type AuthenticationState, type CreateAuthenticationActorOptions, authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,3 +1,3 @@
1
- import { t as authenticationMachine } from "./authenticationStateMachine-Bi3xyJd8.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-BVx-rrQx.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-QgXVzF_L.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DzwIWNvb.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,6 +1,6 @@
1
1
  import { t as Manager } from "./Manager-DufwKlav.js";
2
2
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
3
- import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-CHqmyOjM.js";
3
+ import { b as AuthenticationActor, n as FaceCaptureManagerState, t as FaceCaptureManager, x as CreateAuthenticationActorOptions } from "./faceCaptureManagerFactory-BNY7JNj3.js";
4
4
  //#region src/modules/authentication/authenticationManager.d.ts
5
5
  type AuthenticationState = FaceCaptureManagerState;
6
6
  /**
@@ -1,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-D6Gomd33.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-DA07nIIF.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BDXl-HzX.esm.js";
3
3
  import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
4
4
  import "./events-ChMS-UzR.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DlQAlE2f.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-Bi3xyJd8.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BOu2eQns.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-QgXVzF_L.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-B7RaB0_O.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BI2xJOZi.esm.js";
5
- import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-CNXGgnSo.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CopYy5_O.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CSiQ4_ay.esm.js";
5
+ import { l as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-BvPHvAA4.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,4 +1,4 @@
1
- import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-CmL52FU8.js";
1
+ import { a as CurpValidationActor, c as CurpValidationErrors, d as GenerateCurpFieldDef, f as GenerateCurpFieldType, i as createCurpValidationManagerFromActor, l as CurpValidationRule, n as CurpValidationState, o as curpValidationMachine, p as GenerateCurpForm, r as createCurpValidationManager, s as CurpValidationConfig, t as CurpValidationManager, u as EnterCurpFieldDef } from "./curpValidationManager-CA9w3fO6.js";
2
2
  //#region src/modules/curp-validation/curpValidationUtils.d.ts
3
3
  type MexicanState = {
4
4
  value: string;
@@ -1,7 +1,7 @@
1
1
  import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
2
  import { t as Manager } from "./Manager-DufwKlav.js";
3
3
  import "./Actor-DqjOqDfU.js";
4
- import { i as FlowModuleConfig } from "./types-4Re9FSOw.js";
4
+ import { i as FlowModuleConfig } from "./types-D_-0O9pg.js";
5
5
  //#region src/modules/curp-validation/types.d.ts
6
6
  type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
7
7
  /** Maximum validation retries before auto-advancing. @default 1 */
@@ -1,5 +1,5 @@
1
- import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-BHmpDnvW.esm.js";
2
- import "./trueSight-CsGhFXTr.esm.js";
1
+ import { u as trueSightLog, w as utf8ByteLength } from "./trueSightService-DSDSHENR.esm.js";
2
+ import "./trueSight-BAtlP0U8.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-BDXl-HzX.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-BHmpDnvW.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-CbYAyk-3.esm.js";
4
- import "./trueSight-CsGhFXTr.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-B7b9nwEd.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-DSDSHENR.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-BGEzZXPX.esm.js";
4
+ import "./trueSight-BAtlP0U8.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-DmGppDQX.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-BX01stN8.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-BDXl-HzX.esm.js";
5
5
  import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
6
- import { u as trueSightLog } from "./trueSightService-BHmpDnvW.esm.js";
7
- import "./trueSight-CsGhFXTr.esm.js";
8
- import { m as getFeatureGate } from "./feature-management-CfDygYqM.esm.js";
6
+ import { u as trueSightLog } from "./trueSightService-DSDSHENR.esm.js";
7
+ import "./trueSight-BAtlP0U8.esm.js";
8
+ import { m as getFeatureGate } from "./feature-management-CGHalFcv.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 { l as queryCameraPermission } from "./permissionServices-BB14DItB.esm.js";
12
12
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
13
- import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-Bp3ttC6f.esm.js";
13
+ import { t as deepsightCaptureConfigText } from "./deepsightCaptureConfig-Bcrw2pFu.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
  /**
@@ -1,3 +1,3 @@
1
1
  import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType, u as DocumentUploadStatus } from "./types-Cy6Lx3L6.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DOgJTJ4F.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DLWTqjUr.js";
3
3
  export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, type DocumentUploadStatus, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-CBQN04Rh.esm.js";
2
2
  import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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-_51mBEGo.esm.js";
5
+ import { a as hasReadAll, i as hasDownloads, n as canSubmitSignature, r as documentSignatureMachine, t as canOpenSign } from "./documentSignatureStateMachine-PMOkZDCn.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();
@@ -102,14 +102,14 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
102
102
  id: string | undefined;
103
103
  };
104
104
  }>, Values<{
105
- clearError: {
106
- type: "clearError";
107
- params: NonReducibleUnknown;
108
- };
109
105
  decrementAttemptsRemaining: {
110
106
  type: "decrementAttemptsRemaining";
111
107
  params: NonReducibleUnknown;
112
108
  };
109
+ clearError: {
110
+ type: "clearError";
111
+ params: NonReducibleUnknown;
112
+ };
113
113
  setStream: {
114
114
  type: "setStream";
115
115
  params: NonReducibleUnknown;
@@ -263,7 +263,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
263
263
  type: "fileSizeOkForNonGallery";
264
264
  params: unknown;
265
265
  };
266
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
266
+ }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
267
267
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
268
268
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
269
269
  readonly id: "documentCapture";
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, v as addEvent } from "./types-CBQN04Rh.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
3
3
  import "./events-ChMS-UzR.esm.js";
4
- import { i as toIncodeApiError } from "./apiError-Dxfixsln.esm.js";
4
+ import { i as toIncodeApiError } from "./apiError-D8p92jfK.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-BUzOuzaA.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-CmGK8Nmm.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Bv8m-KhL.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-BOQRxy_t.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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-BUzOuzaA.esm.js";
6
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-Bv8m-KhL.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-BNxrW8xK.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-Dxfixsln.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-D8p92jfK.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-DcqGuEht.esm.js";
package/dist/ekyb.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./xstate.cjs-D6Ur0X1F.js";
2
2
  import { n as AddressSuggestion } from "./textRules-D4NRinKY.js";
3
- import { i as FlowModuleConfig } from "./types-4Re9FSOw.js";
3
+ import { i as FlowModuleConfig } from "./types-D_-0O9pg.js";
4
4
  import { a as EkybValidationError, n as EkybCountry, o as EkybValidationErrors, r as EkybFieldDef, s as UboEntry, t as EkybConfig } from "./types-BgRHw-dR.js";
5
5
  import { n as EkybState, o as ekybMachine, r as createEkybManager, t as EkybManager } from "./ekybManager-BflWuTe4.js";
6
6
  //#region src/modules/ekyb/ekybServices.d.ts
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { h as isSupportedCountry, l as ALL_COUNTRIES, p as SUPPORTED_COUNTRIES, s as toEkybConfig, u as DEV_ONLY_COUNTRIES } from "./ekybUtils-Z9MhFAer.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-IWnhPTLm.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-C49pcveL.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-DExt873D.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-Dt7Z6NEX.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-ChMS-UzR.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-IWnhPTLm.esm.js";
6
+ import { t as ekybMachine } from "./ekybStateMachine-DExt873D.esm.js";
7
7
  //#region src/modules/ekyb/ekybActor.ts
8
8
  /**
9
9
  * Creates and starts an eKYB actor.
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-BNxrW8xK.esm.js";
2
- import { n as getFlow } from "./flowServices-DtMnUqOb.esm.js";
2
+ import { n as getFlow } from "./flowServices-Adu2JkFA.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 requiresAddressValidation, c as ADDRESS_FIELDS, d as FIELD_NAME_MAPPING, f as FIELD_ORDER, h as isSupportedCountry, i as isFormFieldEntry, l as ALL_COUNTRIES, m as UBO_FIELD_LABELS, n as hasAtLeastOneAddressField, o as sortModulesByOrder, r as isFieldOptional, s as toEkybConfig } from "./ekybUtils-Z9MhFAer.esm.js";
@@ -1,6 +1,6 @@
1
1
  import { a as EkycFormValues, c as EkycValidationErrors, s as EkycValidationError } from "./types-DEa3taWc.js";
2
- import { a as EkycPrefillFieldDef, c as EkycPrefillModuleConfig, i as EkycPrefillErrorKind, l as EkycPrefillServedField, n as EkycPrefillConfigField, s as EkycPrefillInputFormat, t as EkycPrefillConfig } from "./types-B-PIc0en.js";
3
- 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-C11D5yiF.js";
2
+ import { a as EkycPrefillFieldDef, c as EkycPrefillServedField, i as EkycPrefillErrorKind, n as EkycPrefillConfigField, s as EkycPrefillModuleConfig, t as EkycPrefillConfig } from "./types-Ct3OFmQs.js";
3
+ 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-BzM-GMVT.js";
4
4
  //#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
5
5
  /**
6
6
  * Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a
@@ -10,8 +10,9 @@ import { a as EkycPrefillFormState, c as EkycPrefillManager, d as EkycPrefillSub
10
10
  * check hides the field.
11
11
  * - `fields` stays `undefined` when the configuration has no `fields` array:
12
12
  * the flat dashboard shape, which the module can't render.
13
- * - `source`, `displayMode` and other per-field keys are dropped.
13
+ * - A field's `source` and `displayMode` are kept when served as non-empty
14
+ * strings; other per-field keys are dropped.
14
15
  */
15
16
  declare function toEkycPrefillConfig(raw: EkycPrefillModuleConfig | EkycPrefillConfig | undefined): EkycPrefillConfig;
16
17
  //#endregion
17
- export { type EkycPrefillAnyOfState, type EkycPrefillClosedState, type EkycPrefillConfig, type EkycPrefillConfigField, type EkycPrefillErrorKind, type EkycPrefillErrorState, type EkycPrefillFieldDef, type EkycValidationError as EkycPrefillFieldError, type EkycValidationErrors as EkycPrefillFieldErrors, type EkycPrefillFinishedState, type EkycPrefillFormState, type EkycPrefillIdleState, type EkycPrefillInputFormat, type EkycPrefillLimitReachedState, type EkycPrefillManager, type EkycPrefillMisconfiguredState, type EkycPrefillModuleConfig, type EkycPrefillServedField, type EkycPrefillState, type EkycPrefillSubmittingState, type EkycFormValues as EkycPrefillValues, createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
18
+ export { type EkycPrefillAnyOfState, type EkycPrefillClosedState, type EkycPrefillConfig, type EkycPrefillConfigField, type EkycPrefillErrorKind, type EkycPrefillErrorState, type EkycPrefillFieldDef, type EkycValidationError as EkycPrefillFieldError, type EkycValidationErrors as EkycPrefillFieldErrors, type EkycPrefillFinishedState, type EkycPrefillFormState, type EkycPrefillIdleState, type EkycPrefillLimitReachedState, type EkycPrefillManager, type EkycPrefillMisconfiguredState, type EkycPrefillModuleConfig, type EkycPrefillServedField, type EkycPrefillState, type EkycPrefillSubmittingState, type EkycFormValues as EkycPrefillValues, createEkycPrefillManager, ekycPrefillMachine, toEkycPrefillConfig };
@@ -1,3 +1,3 @@
1
- import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-BoVSVydv.esm.js";
2
- import { t as createEkycPrefillManager } from "./ekycPrefillManager-ObAVm5GR.esm.js";
1
+ import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DlUZGMCd.esm.js";
2
+ import { t as createEkycPrefillManager } from "./ekycPrefillManager-B1i-Fgy-.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-CJHaHgfD.esm.js";
2
- import { l as toEkycConfig } from "./ekycUtils-DEvtEyBI.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-CsknO0Rw.esm.js";
1
+ import { l as toEkycConfig } from "./ekycUtils-D4CwNG7Y.esm.js";
2
+ import { t as ekycMachine } from "./ekycStateMachine-1qQi52Ih.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-N2EAITDJ.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -3,7 +3,7 @@ import { t as createManagerInstrumentation } from "./events-ChMS-UzR.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-CJHaHgfD.esm.js";
6
+ import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-1qQi52Ih.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-BoVSVydv.esm.js";
3
+ import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DlUZGMCd.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 = {}) {
@@ -3,7 +3,7 @@ import "./xstate.cjs-D6Ur0X1F.js";
3
3
  import { t as Manager } from "./Manager-DufwKlav.js";
4
4
  import "./Actor-DqjOqDfU.js";
5
5
  import { a as EkycFormValues, c as EkycValidationErrors } from "./types-DEa3taWc.js";
6
- import { a as EkycPrefillFieldDef, c as EkycPrefillModuleConfig, d as EkycPrefillSubmitResponse, i as EkycPrefillErrorKind, o as EkycPrefillInput, r as EkycPrefillContext, t as EkycPrefillConfig, u as EkycPrefillSubmitPlan } from "./types-B-PIc0en.js";
6
+ import { a as EkycPrefillFieldDef, i as EkycPrefillErrorKind, l as EkycPrefillSubmitPlan, o as EkycPrefillInput, r as EkycPrefillContext, s as EkycPrefillModuleConfig, t as EkycPrefillConfig, u as EkycPrefillSubmitResponse } from "./types-Ct3OFmQs.js";
7
7
  //#region src/modules/ekyc-prefill/ekycPrefillStateMachine.d.ts
8
8
  type SubmitInput = {
9
9
  submit: EkycPrefillSubmitPlan;
@@ -82,10 +82,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
82
82
  params: NonReducibleUnknown;
83
83
  };
84
84
  }>, Values<{
85
- isValid: {
86
- type: "isValid";
87
- params: unknown;
88
- };
89
85
  phoneRulesFailed: {
90
86
  type: "phoneRulesFailed";
91
87
  params: unknown;
@@ -98,6 +94,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
98
94
  type: "canRender";
99
95
  params: unknown;
100
96
  };
97
+ isValid: {
98
+ type: "isValid";
99
+ params: unknown;
100
+ };
101
101
  isBadRequest: {
102
102
  type: "isBadRequest";
103
103
  params: unknown;
@@ -110,7 +110,7 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
110
110
  type: "isLimitReached";
111
111
  params: unknown;
112
112
  };
113
- }>, never, "error" | "idle" | "closed" | "finished" | "misconfigured" | "submitting" | "limitReached" | {
113
+ }>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "misconfigured" | "limitReached" | {
114
114
  form: "inputting" | "validating";
115
115
  }, string, EkycPrefillInput, NonReducibleUnknown, EventObject, MetaObject, {
116
116
  readonly id: "ekycPrefill";