@incodetech/core 0.0.0-dev-20261116-3ec7b7bd → 0.0.0-dev-20261117-a227fc16

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 (82) hide show
  1. package/dist/{FaceDetectionProvider-DtWTzhdl.esm.js → FaceDetectionProvider-BH89RvzN.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-CPNXKYOV.esm.js → apiError-BvL9jhJX.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-CZp8XZJY.esm.js → authenticationManager-DbnQsZ18.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-BFfOIsAw.esm.js → authenticationStateMachine-DIEdIbWk.esm.js} +2 -2
  7. package/dist/calendarDate-DcqGuEht.esm.js +35 -0
  8. package/dist/consent.d.ts +1 -1
  9. package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-DlvhoJYc.d.ts} +1 -1
  10. package/dist/curp-validation.esm.js +2 -2
  11. package/dist/{curpValidationManager-CbvBDoE1.esm.js → curpValidationManager-BuA6p_T7.esm.js} +1 -1
  12. package/dist/{curpValidationStateMachine-BQ8XK2Y3.esm.js → curpValidationStateMachine-CgUNfRaR.esm.js} +8 -3
  13. package/dist/custom-fields.esm.js +1 -1
  14. package/dist/{customFieldsManager-BRqSCR9R.esm.js → customFieldsManager-BQePQpNk.esm.js} +8 -10
  15. package/dist/{deepsightLoader-CAx598dT.esm.js → deepsightLoader-DrjpNrqX.esm.js} +3 -3
  16. package/dist/dynamic-forms.esm.js +2 -2
  17. package/dist/{dynamicFormsManager-DCvgD3NM.esm.js → dynamicFormsManager-gCKO-6hh.esm.js} +1 -1
  18. package/dist/{dynamicFormsStateMachine-DfgwjRqH.esm.js → dynamicFormsStateMachine-DucUq-Dq.esm.js} +7 -4
  19. package/dist/ekyb.esm.js +2 -2
  20. package/dist/{ekybManager-Bko0uSve.esm.js → ekybManager-rJGOU5bi.esm.js} +1 -1
  21. package/dist/{ekybStateMachine-Dh2QeiVL.esm.js → ekybStateMachine-Mb95Rxl1.esm.js} +1 -1
  22. package/dist/ekyc-prefill.d.ts +1 -1
  23. package/dist/ekyc-prefill.esm.js +2 -2
  24. package/dist/ekyc.esm.js +2 -2
  25. package/dist/{ekycManager-nRT0rxei.esm.js → ekycManager-CmgzNQmQ.esm.js} +1 -1
  26. package/dist/{ekycPrefillManager-GEPxl5VU.esm.js → ekycPrefillManager-DBV3vkhc.esm.js} +1 -1
  27. package/dist/{ekycPrefillManager-BcLhkpp8.d.ts → ekycPrefillManager-DOTl3Y2w.d.ts} +4 -4
  28. package/dist/{ekycPrefillStateMachine-uvDimQw2.esm.js → ekycPrefillStateMachine-BCaiq3KK.esm.js} +2 -2
  29. package/dist/{ekycRules-DXP2hqVw.esm.js → ekycRules-1hyjJ6bw.esm.js} +7 -4
  30. package/dist/{ekycStateMachine-nwJRel2s.esm.js → ekycStateMachine-C72Oe1_T.esm.js} +1 -1
  31. package/dist/electronic-signature.esm.js +1 -1
  32. package/dist/{electronicSignatureManager-CrNhyWu4.esm.js → electronicSignatureManager-BAC5JwLE.esm.js} +1 -1
  33. package/dist/extensibility.d.ts +5 -5
  34. package/dist/extensibility.esm.js +17 -17
  35. package/dist/{faceCaptureManagerFactory-BYnWj3Dl.esm.js → faceCaptureManagerFactory-D4Uxclvs.esm.js} +1 -1
  36. package/dist/{faceCaptureSetup-DODac3ax.esm.js → faceCaptureSetup-XFsy2aRT.esm.js} +3 -3
  37. package/dist/{feature-management-DgXnJeIf.esm.js → feature-management-wc1Hxtj-.esm.js} +1 -1
  38. package/dist/feature-management.esm.js +1 -1
  39. package/dist/flow.esm.js +3 -3
  40. package/dist/{flowCompletionService-B9ustmZu.esm.js → flowCompletionService-BZwfl9Td.esm.js} +1 -1
  41. package/dist/{flowServices-CRld4kkf.esm.js → flowServices-Cd47oPks.esm.js} +4 -4
  42. package/dist/geolocation.esm.js +2 -2
  43. package/dist/{geolocationManager-CHm7AVPP.esm.js → geolocationManager-B5qBm4M9.esm.js} +1 -1
  44. package/dist/{geolocationStateMachine-CWXQPhdZ.esm.js → geolocationStateMachine-Czv0wtWZ.esm.js} +1 -1
  45. package/dist/id-ocr.d.ts +1 -1
  46. package/dist/id-ocr.esm.js +2 -2
  47. package/dist/id-selfie-flow.esm.js +6 -6
  48. package/dist/id.esm.js +3 -3
  49. package/dist/{idCaptureManager-UKvCqd__.esm.js → idCaptureManager-BNM3MgGh.esm.js} +3 -3
  50. package/dist/{idCaptureServices-BRjUnwN9.esm.js → idCaptureServices-lH0uWsIx.esm.js} +2 -2
  51. package/dist/{idCaptureStateMachine-CkadfO_u.esm.js → idCaptureStateMachine-BcF1PpXM.esm.js} +8 -8
  52. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
  53. package/dist/{idOcrManager-im7VfJQi.esm.js → idOcrManager-TyU_UwSz.esm.js} +1 -1
  54. package/dist/{idOcrStateMachine-B832arAl.esm.js → idOcrStateMachine-Bjk_SV6h.esm.js} +7 -0
  55. package/dist/identity-reuse.d.ts +1 -1
  56. package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-C40ngKeM.d.ts} +4 -4
  57. package/dist/index.esm.js +1 -1
  58. package/dist/kyb-checks.esm.js +2 -2
  59. package/dist/{kybChecksManager-MUhCAPqf.esm.js → kybChecksManager-C5KebbHJ.esm.js} +1 -1
  60. package/dist/{kybChecksStateMachine-DBy9ZQ0w.esm.js → kybChecksStateMachine-zebux5Yi.esm.js} +1 -1
  61. package/dist/mandatory-consent.d.ts +1 -1
  62. package/dist/{mandatoryConsentManager-DszYRM5U.d.ts → mandatoryConsentManager-D76rLUsm.d.ts} +1 -1
  63. package/dist/qe-signature.esm.js +1 -1
  64. package/dist/{runChildModule-BJIZb9Ud.esm.js → runChildModule-DYlr0EgS.esm.js} +1 -1
  65. package/dist/{sdkVersion-D7JHf95f.esm.js → sdkVersion-B7b5gfuW.esm.js} +1 -1
  66. package/dist/selfie.esm.js +6 -6
  67. package/dist/{selfieErrorUtils-DHkfkwwr.esm.js → selfieErrorUtils-B8ftA4kF.esm.js} +1 -1
  68. package/dist/{selfieManager-CS_MXb7-.esm.js → selfieManager-BSE392qc.esm.js} +3 -3
  69. package/dist/{selfieStateMachine-DCsYEHCR.esm.js → selfieStateMachine-DQ1eSS_g.esm.js} +3 -3
  70. package/dist/{session-DIJHnuWM.esm.js → session-DmiAIDuz.esm.js} +3 -3
  71. package/dist/session.esm.js +4 -4
  72. package/dist/{sessionInitializer-AORXxhvP.esm.js → sessionInitializer-B1elHwFo.esm.js} +3 -3
  73. package/dist/{setup-BsUYZ5BQ.esm.js → setup-Cq7wC4Qg.esm.js} +4 -4
  74. package/dist/{trueSightService-CoUZOwrU.esm.js → trueSightService-C1wbfZrg.esm.js} +1 -1
  75. package/dist/video-selfie.esm.js +3 -3
  76. package/dist/{videoSelfieCameraWarmer-Cnq1RW9_.esm.js → videoSelfieCameraWarmer-CyA1pvrw.esm.js} +3 -3
  77. package/dist/wasm.esm.js +1 -1
  78. package/dist/watchlist-for-business.esm.js +2 -2
  79. package/dist/{watchlistForBusinessManager-BH6M4kqA.esm.js → watchlistForBusinessManager-Bd7Vm2Fr.esm.js} +1 -1
  80. package/dist/{watchlistForBusinessStateMachine-BMWm5mcP.esm.js → watchlistForBusinessStateMachine-B6GOpt-D.esm.js} +7 -2
  81. package/dist/workflow.esm.js +19 -19
  82. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
1
  import { l as wasmRuntime } from "./warmup-BZOMg303.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-BsUYZ5BQ.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-Cq7wC4Qg.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-CoUZOwrU.esm.js";
6
- import "./sessionInitializer-AORXxhvP.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-C1wbfZrg.esm.js";
6
+ import "./sessionInitializer-B1elHwFo.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-CAx598dT.esm.js");
238
+ const { loadDeepsightSession } = await import("./deepsightLoader-DrjpNrqX.esm.js");
239
239
  return loadDeepsightSession({
240
240
  ds: options.ds,
241
241
  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-CrNhyWu4.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-BAC5JwLE.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-CoUZOwrU.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-C1wbfZrg.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-BFfOIsAw.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CZp8XZJY.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-DIEdIbWk.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DbnQsZ18.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,10 +1,10 @@
1
- import { u as BrowserStorageProvider } from "./setup-BsUYZ5BQ.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-Cq7wC4Qg.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-BYnWj3Dl.esm.js";
7
- import { t as authenticationMachine } from "./authenticationStateMachine-BFfOIsAw.esm.js";
6
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D4Uxclvs.esm.js";
7
+ import { t as authenticationMachine } from "./authenticationStateMachine-DIEdIbWk.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-DODac3ax.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-DtWTzhdl.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-XFsy2aRT.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BH89RvzN.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 = {
@@ -0,0 +1,35 @@
1
+ //#region src/internal/forms/checks/calendarDate.ts
2
+ const ISO_DATE = /^(\d{4})-(\d{2})-(\d{2})$/;
3
+ const DAYS = [
4
+ 31,
5
+ 28,
6
+ 31,
7
+ 30,
8
+ 31,
9
+ 30,
10
+ 31,
11
+ 31,
12
+ 30,
13
+ 31,
14
+ 30,
15
+ 31
16
+ ];
17
+ const INVALID_DATE_ERROR_KEY = "validation.invalidDate";
18
+ /** An ISO date that exists in the Gregorian calendar. */
19
+ function isCalendarDate(value) {
20
+ const match = ISO_DATE.exec(value);
21
+ if (!match) return false;
22
+ const year = Number(match[1]);
23
+ const month = Number(match[2]);
24
+ const day = Number(match[3]);
25
+ if (year < 1 || month < 1 || month > 12 || day < 1) return false;
26
+ const leap = year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
27
+ return day <= (month === 2 && leap ? 29 : DAYS[month - 1] ?? 0);
28
+ }
29
+ /** Leaves required checks and whitespace normalization to the caller. */
30
+ function calendarDateError(value) {
31
+ if (value === void 0 || value === "") return void 0;
32
+ return typeof value === "string" && isCalendarDate(value) ? void 0 : INVALID_DATE_ERROR_KEY;
33
+ }
34
+ //#endregion
35
+ export { calendarDateError as n, INVALID_DATE_ERROR_KEY as t };
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-B0YKqYtZ.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-DlvhoJYc.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -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,3 +1,3 @@
1
- import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BQ8XK2Y3.esm.js";
2
- import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-CbvBDoE1.esm.js";
1
+ import { i as mexicanStates, n as ENTER_CURP_FIELD, r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-CgUNfRaR.esm.js";
2
+ import { n as createCurpValidationManagerFromActor, t as createCurpValidationManager } from "./curpValidationManager-BuA6p_T7.esm.js";
3
3
  export { ENTER_CURP_FIELD, GENERATE_CURP_FIELDS, createCurpValidationManager, createCurpValidationManagerFromActor, curpValidationMachine, mexicanStates };
@@ -4,7 +4,7 @@ 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
6
  import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
7
- import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-BQ8XK2Y3.esm.js";
7
+ import { r as GENERATE_CURP_FIELDS, t as curpValidationMachine } from "./curpValidationStateMachine-CgUNfRaR.esm.js";
8
8
  //#region src/modules/curp-validation/curpValidationActor.ts
9
9
  function createCurpValidationActor(options) {
10
10
  return createActor(curpValidationMachine, { input: { config: options.config } }).start();
@@ -1,8 +1,10 @@
1
+ import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
1
2
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
3
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
4
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
5
  import { t as carryAttempts } from "./attemptCarry-BecGGZK8.esm.js";
5
6
  import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
7
+ import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
6
8
  //#region src/modules/curp-validation/curpValidationUtils.ts
7
9
  /** Convert YYYY-MM-DD to DD/MM/YYYY for the API */
8
10
  function formatDateForApi(date) {
@@ -257,7 +259,10 @@ const createValidators = () => ({
257
259
  }
258
260
  });
259
261
  const normalizeFieldValue = (value) => typeof value === "string" ? value : String(value ?? "");
260
- const evaluateRules = (value, validation, validators) => {
262
+ const evaluateRules = (value, validation, validators, type) => {
263
+ const dateError = type === "date" ? calendarDateError(value.trim()) : void 0;
264
+ if (dateError) return dateError;
265
+ if (type === "date" && value.trim() > getLocalIsoDate()) return "verification.errors.futureDate";
261
266
  if (!validation) return void 0;
262
267
  for (const rule of validation) {
263
268
  const error = validators[rule.type](value);
@@ -273,7 +278,7 @@ const validateGenerateCurpForm = (data, fields) => {
273
278
  const validators = createValidators();
274
279
  return fields.reduce((errors, field) => {
275
280
  const value = normalizeFieldValue(data[field.key]);
276
- const error = evaluateRules(value, field.validation, validators);
281
+ const error = evaluateRules(value, field.validation, validators, field.type);
277
282
  if (error) errors[field.key] = error;
278
283
  return errors;
279
284
  }, {});
@@ -287,7 +292,7 @@ const validateGenerateCurpField = (data, fieldKey, fields) => {
287
292
  if (!field) return void 0;
288
293
  const validators = createValidators();
289
294
  const value = normalizeFieldValue(data[fieldKey]);
290
- return evaluateRules(value, field.validation, validators);
295
+ return evaluateRules(value, field.validation, validators, field.type);
291
296
  };
292
297
  /**
293
298
  * Runs the single CURP-entry field through its validation rules.
@@ -1,2 +1,2 @@
1
- import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BRqSCR9R.esm.js";
1
+ import { n as createCustomFieldsManagerFromActor, r as customFieldsMachine, t as createCustomFieldsManager } from "./customFieldsManager-BQePQpNk.esm.js";
2
2
  export { createCustomFieldsManager, createCustomFieldsManagerFromActor, customFieldsMachine };
@@ -5,6 +5,7 @@ import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
+ import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
8
9
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
9
10
  //#region src/modules/custom-fields/customFieldsServices.ts
10
11
  async function submitCustomFields(params, signal) {
@@ -21,19 +22,16 @@ function transformFields(fields, customFields) {
21
22
  else result[key] = value;
22
23
  return result;
23
24
  }
24
- function isFormComplete(fields, customFields) {
25
- return customFields.every((field) => {
26
- if (field.type === "BOOLEAN") return true;
27
- const value = fields[field.name];
28
- return value !== void 0 && value !== "";
29
- });
30
- }
31
- function validateRequiredFields(fields, customFields) {
25
+ function validateFields(fields, customFields) {
32
26
  const errors = {};
33
27
  for (const field of customFields) {
34
28
  if (field.type === "BOOLEAN") continue;
35
29
  const value = fields[field.name];
36
30
  if (value === void 0 || value === "") errors[field.name] = REQUIRED_FIELD_ERROR;
31
+ else if (field.type === "DATE") {
32
+ const dateError = calendarDateError(value);
33
+ if (dateError) errors[field.name] = dateError;
34
+ }
37
35
  }
38
36
  return Object.keys(errors).length > 0 ? errors : void 0;
39
37
  }
@@ -59,13 +57,13 @@ const customFieldsMachine = setup({
59
57
  validationErrors: Object.keys(validationErrors).length > 0 ? validationErrors : void 0
60
58
  };
61
59
  }),
62
- setValidationErrors: assign(({ context }) => ({ validationErrors: validateRequiredFields(context.fields, context.config.customFields) })),
60
+ setValidationErrors: assign(({ context }) => ({ validationErrors: validateFields(context.fields, context.config.customFields) })),
63
61
  markSuccess: assign({ result: "success" }),
64
62
  markFailed: assign({ result: "failed" })
65
63
  },
66
64
  guards: {
67
65
  apiSucceeded: ({ event }) => event.output.success,
68
- isFormComplete: ({ context }) => isFormComplete(context.fields, context.config.customFields)
66
+ isFormComplete: ({ context }) => validateFields(context.fields, context.config.customFields) === void 0
69
67
  }
70
68
  }).createMachine({
71
69
  id: "customFields",
@@ -1,7 +1,7 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-CoUZOwrU.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-D7JHf95f.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-AORXxhvP.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-C1wbfZrg.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-B7b5gfuW.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-B1elHwFo.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-DfgwjRqH.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DCvgD3NM.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DucUq-Dq.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-gCKO-6hh.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-DfgwjRqH.esm.js";
6
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DucUq-Dq.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,7 +1,8 @@
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-CPNXKYOV.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-BvL9jhJX.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 { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
5
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
6
7
  //#region src/modules/dynamic-forms/dynamicFormsFields.ts
7
8
  function getEffectiveType(question) {
@@ -38,7 +39,9 @@ const VALIDATORS = {
38
39
  formatViaAnswerValidity: ({ questionId, answerValidity }, rule) => answerValidity[questionId] === false ? rule.errorKey : void 0
39
40
  };
40
41
  const normalizeValue = (value) => typeof value === "string" ? value : String(value ?? "");
41
- function evaluateRules(input, rules) {
42
+ function evaluateRules(input, rules, inputType) {
43
+ const dateError = inputType === "DATE" ? calendarDateError(input.value.trim()) : void 0;
44
+ if (dateError) return dateError;
42
45
  for (const rule of rules) {
43
46
  const error = rule.type === "required" ? VALIDATORS.required(input) : VALIDATORS.formatViaAnswerValidity(input, rule);
44
47
  if (error) return error;
@@ -51,7 +54,7 @@ function validateScreenForm(answers, fields, answerValidity) {
51
54
  value: normalizeValue(answers[field.questionId]),
52
55
  questionId: field.questionId,
53
56
  answerValidity
54
- }, field.validation);
57
+ }, field.validation, field.inputType);
55
58
  if (error) errors[field.questionId] = error;
56
59
  return errors;
57
60
  }, {});
@@ -64,7 +67,7 @@ function validateScreenField(answers, questionId, fields, answerValidity) {
64
67
  value: normalizeValue(answers[questionId]),
65
68
  questionId,
66
69
  answerValidity
67
- }, field.validation);
70
+ }, field.validation, field.inputType);
68
71
  }
69
72
  //#endregion
70
73
  //#region src/modules/dynamic-forms/dynamicFormsServices.ts
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-Dh2QeiVL.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-Bko0uSve.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-Mb95Rxl1.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-rJGOU5bi.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-Dh2QeiVL.esm.js";
6
+ import { t as ekybMachine } from "./ekybStateMachine-Mb95Rxl1.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-CZpuJuZl.esm.js";
2
- import { n as getFlow } from "./flowServices-CRld4kkf.esm.js";
2
+ import { n as getFlow } from "./flowServices-Cd47oPks.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";
@@ -1,6 +1,6 @@
1
1
  import { a as EkycFormValues, c as EkycValidationErrors, s as EkycValidationError } from "./types-DEa3taWc.js";
2
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-BcLhkpp8.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-DOTl3Y2w.js";
4
4
  //#region src/modules/ekyc-prefill/ekycPrefillConfig.d.ts
5
5
  /**
6
6
  * Normalizes the served `EKYC_PREFILL` configuration. Idempotent, so a
@@ -1,3 +1,3 @@
1
- import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-uvDimQw2.esm.js";
2
- import { t as createEkycPrefillManager } from "./ekycPrefillManager-GEPxl5VU.esm.js";
1
+ import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-BCaiq3KK.esm.js";
2
+ import { t as createEkycPrefillManager } from "./ekycPrefillManager-DBV3vkhc.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-nwJRel2s.esm.js";
1
+ import { t as ekycMachine } from "./ekycStateMachine-C72Oe1_T.esm.js";
2
2
  import { l as toEkycConfig } from "./ekycUtils-FcqA6oU4.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-nRT0rxei.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-CmgzNQmQ.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-nwJRel2s.esm.js";
6
+ import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-C72Oe1_T.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-uvDimQw2.esm.js";
3
+ import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-BCaiq3KK.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 = {}) {
@@ -45,6 +45,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
45
45
  id: string | undefined;
46
46
  };
47
47
  }>, Values<{
48
+ clearError: {
49
+ type: "clearError";
50
+ params: NonReducibleUnknown;
51
+ };
48
52
  applyForm: {
49
53
  type: "applyForm";
50
54
  params: NonReducibleUnknown;
@@ -77,10 +81,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
77
81
  type: "setSubmitError";
78
82
  params: NonReducibleUnknown;
79
83
  };
80
- clearError: {
81
- type: "clearError";
82
- params: NonReducibleUnknown;
83
- };
84
84
  }>, Values<{
85
85
  isValid: {
86
86
  type: "isValid";
@@ -1,9 +1,9 @@
1
1
  import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-CPNXKYOV.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-BvL9jhJX.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
- import { i as cleanName, l as validateEkycField, n as projectRules, o as formatSSN } from "./ekycRules-DXP2hqVw.esm.js";
6
+ import { i as cleanName, l as validateEkycField, n as projectRules, o as formatSSN } from "./ekycRules-1hyjJ6bw.esm.js";
7
7
  import { t as createBundledDefinitionSource } from "./definitionSource-Nw0YCbpe.esm.js";
8
8
  import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
9
9
  import { t as formatPhoneE164 } from "./phoneFormat-C3q0Ukh4.esm.js";
@@ -1,6 +1,7 @@
1
1
  import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
3
3
  import { t as isValidCurp } from "./curp-DZGvefg3.esm.js";
4
+ import { n as calendarDateError } from "./calendarDate-DcqGuEht.esm.js";
4
5
  import { i as getPostalCodeErrorParams, o as validatePostalCode, r as getPostalCodeErrorKey, s as STREET_LEVEL_REQUIRED_ERROR } from "./definitionSource-Nw0YCbpe.esm.js";
5
6
  import { r as DYNAMIC_REQUIRED_KEY } from "./resolveForm-DaaQSVWp.esm.js";
6
7
  import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
@@ -160,8 +161,8 @@ function matchesCharTemplate(value, templates, ignoreCase = false) {
160
161
  /**
161
162
  * `maxAge`: an ISO `YYYY-MM-DD` date of birth at most `years` full years
162
163
  * before `today`, also ISO, in the user's calendar. As in SDK1, someone turns
163
- * a year older on their birthday. A value that isn't an ISO date passes; the
164
- * date input owns that.
164
+ * a year older on their birthday. Field structure validation checks calendar
165
+ * dates before this age rule runs.
165
166
  */
166
167
  function isWithinMaxAge(value, today, years) {
167
168
  if (!/^\d{4}-\d{2}-\d{2}$/.test(value)) return true;
@@ -180,8 +181,8 @@ function hasNameCharacters(value) {
180
181
  //#region src/internal/forms/checks/notFuture.ts
181
182
  /**
182
183
  * `notFuture`: an ISO `YYYY-MM-DD` date on or before `today`, also ISO, in
183
- * the user's calendar. A value that isn't an ISO date passes; the date input
184
- * owns that.
184
+ * the user's calendar. Field structure validation checks calendar dates
185
+ * before this range rule runs.
185
186
  */
186
187
  function isNotFuture(value, today) {
187
188
  if (!/^\d{4}-\d{2}-\d{2}$/.test(value)) return true;
@@ -374,6 +375,8 @@ const withRuleMessage = (error, rule) => !rule.message || error.key === rule.mes
374
375
  key: rule.message
375
376
  };
376
377
  const evaluateRules = (value, rules, field, values, validators) => {
378
+ const dateError = field.type === "date" ? calendarDateError(value.trim()) : void 0;
379
+ if (dateError) return { key: dateError };
377
380
  if (!rules) return void 0;
378
381
  for (const rule of rules) {
379
382
  const error = validators[rule.type](value, rule, field, values);
@@ -2,7 +2,7 @@ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
2
  import { t as getPhoneValidation } from "./phoneValidation-OggtfjRt.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 { 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-DXP2hqVw.esm.js";
5
+ 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-1hyjJ6bw.esm.js";
6
6
  import { n as usStates, t as usStateOptions } from "./usStates-CwOQ2kAx.esm.js";
7
7
  import { a as getPostalCodeMaxLength, c as fillFromSuggestion, l as getStreetLevelErrorForSuggestion, n as formatPostalCode, t as createBundledDefinitionSource, u as keepSuggestedStateInOptions } from "./definitionSource-Nw0YCbpe.esm.js";
8
8
  import { n as checkSupport, t as resolveForm } from "./resolveForm-DaaQSVWp.esm.js";
@@ -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-CrNhyWu4.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-BAC5JwLE.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-CPNXKYOV.esm.js";
5
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-BvL9jhJX.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-Cqx2y_fC.js";
13
13
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DRaugLgH.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-B0YKqYtZ.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-DlvhoJYc.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-Ci2iVuog.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CdWTbsew.js";
@@ -20,7 +20,7 @@ import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor,
20
20
  import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-BZBmcOKI.js";
21
21
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-C45pTncO.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BflWuTe4.js";
23
- import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-BcLhkpp8.js";
23
+ import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-DOTl3Y2w.js";
24
24
  import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-BKVQazAb.js";
25
25
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-pM7ZPuMa.js";
26
26
  import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DihwheJ6.js";
@@ -28,10 +28,10 @@ import { i as CaptureIdResponse } from "./types-Cpdum4vi.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-CZ-qJ_Aa.js";
31
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-C40ngKeM.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-DszYRM5U.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-D76rLUsm.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,39 +1,39 @@
1
- import { u as BrowserStorageProvider } from "./setup-BsUYZ5BQ.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-Cq7wC4Qg.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-0xTxgP0R.esm.js";
3
- import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-AORXxhvP.esm.js";
3
+ import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-B1elHwFo.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-CrNhyWu4.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-BAC5JwLE.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-DKNOi9-z.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DODac3ax.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CZp8XZJY.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-XFsy2aRT.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DbnQsZ18.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";
13
- import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CbvBDoE1.esm.js";
14
- import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BRqSCR9R.esm.js";
13
+ import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BuA6p_T7.esm.js";
14
+ import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-BQePQpNk.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-DCvgD3NM.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-Bko0uSve.esm.js";
19
- import { n as createEkycManagerFromActor } from "./ekycManager-nRT0rxei.esm.js";
20
- import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-GEPxl5VU.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-gCKO-6hh.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-rJGOU5bi.esm.js";
19
+ import { n as createEkycManagerFromActor } from "./ekycManager-CmgzNQmQ.esm.js";
20
+ import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-DBV3vkhc.esm.js";
21
21
  import { n as createEmailManagerFromActor } from "./emailManager-Co4jarT1.esm.js";
22
- import { n as createSelfieManagerFromActor } from "./selfieManager-CS_MXb7-.esm.js";
23
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-UKvCqd__.esm.js";
22
+ import { n as createSelfieManagerFromActor } from "./selfieManager-BSE392qc.esm.js";
23
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-BNM3MgGh.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
- import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-BH6M4kqA.esm.js";
26
+ import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-Bd7Vm2Fr.esm.js";
27
27
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CjFZ7WRa.esm.js";
28
28
  import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-VgCU4X96.esm.js";
29
29
  import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-Dh3pBhOe.esm.js";
30
- import { n as createIdOcrManagerFromActor } from "./idOcrManager-im7VfJQi.esm.js";
30
+ import { n as createIdOcrManagerFromActor } from "./idOcrManager-TyU_UwSz.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-CHm7AVPP.esm.js";
33
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-B5qBm4M9.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-MUhCAPqf.esm.js";
38
+ import { n as createKybChecksManagerFromActor } from "./kybChecksManager-C5KebbHJ.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-DODac3ax.esm.js";
6
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-XFsy2aRT.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";