@incodetech/core 0.0.0-dev-20261112-d93cd816 → 0.0.0-dev-20261112-1cc51a7f

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 (72) hide show
  1. package/dist/{FaceDetectionProvider-Buoj20ih.esm.js → FaceDetectionProvider-CgDGTjSP.esm.js} +4 -4
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-WM2sDbGQ.esm.js → apiError-stfTw3jA.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-D9wPKaX-.esm.js → authenticationManager-CqCEnFTr.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-BrQaICXP.esm.js → authenticationStateMachine-BC9YdPnd.esm.js} +2 -2
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/{consentManager-_q9yJUku.d.ts → consentManager-sjhjBNVr.d.ts} +8 -8
  9. package/dist/{deepsightLoader-D-otJOBM.esm.js → deepsightLoader-C_kiB5Su.esm.js} +3 -3
  10. package/dist/document-capture.d.ts +1 -1
  11. package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-DDfviFg0.d.ts} +1 -1
  12. package/dist/dynamic-forms.esm.js +2 -2
  13. package/dist/{dynamicFormsManager-BKBS2L48.esm.js → dynamicFormsManager-h5MPWjin.esm.js} +1 -1
  14. package/dist/{dynamicFormsStateMachine-DChX1qbQ.esm.js → dynamicFormsStateMachine-DHYxYzjG.esm.js} +1 -1
  15. package/dist/ekyb.esm.js +2 -2
  16. package/dist/{ekybManager-BJHXwjcn.esm.js → ekybManager-BmVqhhkU.esm.js} +1 -1
  17. package/dist/{ekybStateMachine-D_ny7Boz.esm.js → ekybStateMachine-YO0KPd1M.esm.js} +3 -2
  18. package/dist/ekyc-prefill.d.ts +1 -1
  19. package/dist/ekyc-prefill.esm.js +2 -2
  20. package/dist/ekyc.esm.js +2 -2
  21. package/dist/{ekycManager-DGAn__vq.esm.js → ekycManager-BwotHwyk.esm.js} +1 -1
  22. package/dist/{ekycPrefillManager-Dgfzd-k1.d.ts → ekycPrefillManager-B2V4p26P.d.ts} +4 -4
  23. package/dist/{ekycPrefillManager-D-cR3p13.esm.js → ekycPrefillManager-CRYUIqlp.esm.js} +1 -1
  24. package/dist/{ekycPrefillStateMachine-DM1SEZtG.esm.js → ekycPrefillStateMachine-Dmkrvg1I.esm.js} +1 -1
  25. package/dist/{ekycStateMachine-NSnXCfwh.esm.js → ekycStateMachine-DlnHMsxH.esm.js} +2 -9
  26. package/dist/electronic-signature.esm.js +1 -1
  27. package/dist/{electronicSignatureManager-B4rtjcqt.esm.js → electronicSignatureManager-CDtznBxL.esm.js} +1 -1
  28. package/dist/extensibility.d.ts +5 -5
  29. package/dist/extensibility.esm.js +14 -14
  30. package/dist/face-match.esm.js +2 -2
  31. package/dist/{faceCaptureManagerFactory-pnrAEVv4.esm.js → faceCaptureManagerFactory-ChWaEruS.esm.js} +1 -1
  32. package/dist/{faceCaptureSetup-BrbHITyo.esm.js → faceCaptureSetup-Bs0WQKzW.esm.js} +3 -3
  33. package/dist/{faceMatchManager-CRe7Nvm6.esm.js → faceMatchManager-BXC8qPiB.esm.js} +1 -1
  34. package/dist/{faceMatchStateMachine-EX9QhxFE.esm.js → faceMatchStateMachine-PADe6f6s.esm.js} +14 -2
  35. package/dist/{feature-management-BFCeebwP.esm.js → feature-management-C_ytnikL.esm.js} +1 -1
  36. package/dist/feature-management.esm.js +1 -1
  37. package/dist/flow.esm.js +3 -3
  38. package/dist/{flowCompletionService-BzmNKu31.esm.js → flowCompletionService-Cekt5YpP.esm.js} +1 -1
  39. package/dist/{flowServices-Ds8LPFp9.esm.js → flowServices-DLJtphp_.esm.js} +4 -4
  40. package/dist/geolocation.esm.js +2 -2
  41. package/dist/{geolocationManager-DhkJMshi.esm.js → geolocationManager-DE1-SblN.esm.js} +1 -1
  42. package/dist/{geolocationStateMachine-D1yBlyYP.esm.js → geolocationStateMachine-Bm2U4p7Z.esm.js} +1 -1
  43. package/dist/id-selfie-flow.esm.js +6 -6
  44. package/dist/id.esm.js +3 -3
  45. package/dist/{idCaptureManager-Ca8SMFRq.esm.js → idCaptureManager-D5stn8N4.esm.js} +3 -3
  46. package/dist/{idCaptureServices-BKKK7SXV.esm.js → idCaptureServices-8MYwxyJb.esm.js} +2 -2
  47. package/dist/{idCaptureStateMachine-rWDtIjLQ.esm.js → idCaptureStateMachine-C0AFxzEZ.esm.js} +8 -8
  48. package/dist/identity-reuse.d.ts +1 -1
  49. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-B1birg5X.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-CyJ0ZEb3.esm.js → kybChecksManager-CFvrGnjr.esm.js} +1 -1
  53. package/dist/{kybChecksStateMachine-CER-qj_p.esm.js → kybChecksStateMachine-BlMXnl5r.esm.js} +1 -1
  54. package/dist/mandatory-consent.d.ts +1 -1
  55. package/dist/{mandatoryConsentManager-CaoGpNjl.d.ts → mandatoryConsentManager-_FkvjyE9.d.ts} +6 -6
  56. package/dist/qe-signature.esm.js +1 -1
  57. package/dist/{runChildModule-Csr_t889.esm.js → runChildModule-rdHx1biy.esm.js} +1 -1
  58. package/dist/{sdkVersion-C-SjpVpp.esm.js → sdkVersion-Bo7uHRx3.esm.js} +1 -1
  59. package/dist/selfie.esm.js +6 -6
  60. package/dist/{selfieErrorUtils-BbLyPJpF.esm.js → selfieErrorUtils-DFLrLAi1.esm.js} +1 -1
  61. package/dist/{selfieManager-m-yx-0D_.esm.js → selfieManager-DJkhtKaQ.esm.js} +3 -3
  62. package/dist/{selfieStateMachine-wl0j7Phk.esm.js → selfieStateMachine-9mmzYPHi.esm.js} +3 -3
  63. package/dist/{session-BQh3gWdj.esm.js → session-DEB57Iqt.esm.js} +3 -3
  64. package/dist/session.esm.js +4 -4
  65. package/dist/{sessionInitializer-8-ZKd38L.esm.js → sessionInitializer-CycXUh4e.esm.js} +3 -3
  66. package/dist/{setup-ClcKFJa2.esm.js → setup-CgDSBcH-.esm.js} +4 -4
  67. package/dist/{trueSightService-CnYUBxv5.esm.js → trueSightService-BtAqGc7n.esm.js} +1 -1
  68. package/dist/video-selfie.esm.js +3 -3
  69. package/dist/{videoSelfieCameraWarmer-vXf_TeFl.esm.js → videoSelfieCameraWarmer-CL79Y9WD.esm.js} +3 -3
  70. package/dist/wasm.esm.js +1 -1
  71. package/dist/workflow.esm.js +17 -17
  72. 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-ClcKFJa2.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-CgDSBcH-.esm.js";
3
3
  import { r as BaseWasmProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
4
4
  import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
5
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-CnYUBxv5.esm.js";
6
- import "./sessionInitializer-8-ZKd38L.esm.js";
5
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity } from "./trueSightService-BtAqGc7n.esm.js";
6
+ import "./sessionInitializer-CycXUh4e.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-C2sigf9p.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-D-otJOBM.esm.js");
238
+ const { loadDeepsightSession } = await import("./deepsightLoader-C_kiB5Su.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-B4rtjcqt.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CDtznBxL.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-CnYUBxv5.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-BtAqGc7n.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-BrQaICXP.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-D9wPKaX-.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-BC9YdPnd.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CqCEnFTr.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -1,9 +1,9 @@
1
- import { u as BrowserStorageProvider } from "./setup-ClcKFJa2.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CgDSBcH-.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
3
3
  import { n as eventModuleNames } from "./events-C7h7oaTE.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-pnrAEVv4.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-BrQaICXP.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ChWaEruS.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-BC9YdPnd.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BrbHITyo.esm.js";
4
- import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Buoj20ih.esm.js";
3
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-Bs0WQKzW.esm.js";
4
+ import { d as isOnDeviceMode, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CgDGTjSP.esm.js";
5
5
  import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-wRaWOx9n.esm.js";
6
6
  //#region src/modules/authentication/authenticationErrorUtils.ts
7
7
  const AUTH_ERROR_MAP = {
package/dist/consent.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-_q9yJUku.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-sjhjBNVr.js";
2
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -78,10 +78,18 @@ declare const consentMachine: StateMachine<ConsentContext, {
78
78
  type: "setError";
79
79
  params: NonReducibleUnknown;
80
80
  };
81
+ clearError: {
82
+ type: "clearError";
83
+ params: NonReducibleUnknown;
84
+ };
81
85
  setLoadError: {
82
86
  type: "setLoadError";
83
87
  params: NonReducibleUnknown;
84
88
  };
89
+ resetContext: {
90
+ type: "resetContext";
91
+ params: NonReducibleUnknown;
92
+ };
85
93
  setConsentData: {
86
94
  type: "setConsentData";
87
95
  params: NonReducibleUnknown;
@@ -90,14 +98,6 @@ declare const consentMachine: StateMachine<ConsentContext, {
90
98
  type: "toggleCheckbox";
91
99
  params: NonReducibleUnknown;
92
100
  };
93
- clearError: {
94
- type: "clearError";
95
- params: NonReducibleUnknown;
96
- };
97
- resetContext: {
98
- type: "resetContext";
99
- params: NonReducibleUnknown;
100
- };
101
101
  }>, {
102
102
  type: "canSubmit";
103
103
  params: unknown;
@@ -1,7 +1,7 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
2
- import { u as trueSightLog } from "./trueSightService-CnYUBxv5.esm.js";
3
- import { t as SDK_VERSION } from "./sdkVersion-C-SjpVpp.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-8-ZKd38L.esm.js";
2
+ import { u as trueSightLog } from "./trueSightService-BtAqGc7n.esm.js";
3
+ import { t as SDK_VERSION } from "./sdkVersion-Bo7uHRx3.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-CycXUh4e.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-5NLoQaLV.esm.js";
@@ -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-CyNndVAT.js";
2
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-CD5iQiUI.js";
2
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-DDfviFg0.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 };
@@ -262,7 +262,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
262
262
  type: "fileSizeOkForNonGallery";
263
263
  params: unknown;
264
264
  };
265
- }>, never, "uploading" | "closed" | "success" | "finished" | "initCamera" | "tutorial" | "capturing" | "preview" | "failure" | "nextPage" | "finalizing" | {
265
+ }>, never, "uploading" | "closed" | "success" | "finished" | "capturing" | "failure" | "initCamera" | "tutorial" | "preview" | "nextPage" | "finalizing" | {
266
266
  permissions: "idle" | "denied" | "waitingForUser" | "requesting" | "learnMore";
267
267
  }, string, DocumentCaptureInput, NonReducibleUnknown, EventObject, MetaObject, {
268
268
  readonly id: "documentCapture";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DChX1qbQ.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-BKBS2L48.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DHYxYzjG.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-h5MPWjin.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DChX1qbQ.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DHYxYzjG.esm.js";
5
5
  //#region src/modules/dynamic-forms/dynamicFormsActor.ts
6
6
  function createDynamicFormsActor(options) {
7
7
  return createActor(dynamicFormsMachine, { input: { config: options.config } }).start();
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
- import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-WM2sDbGQ.esm.js";
2
+ import { i as toIncodeApiError, r as isServerError, t as IncodeApiError } from "./apiError-stfTw3jA.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { c as ALL_COUNTRIES, f as SUPPORTED_COUNTRIES, l as DEV_ONLY_COUNTRIES, m as isSupportedCountry, o as toEkybConfig } from "./ekybUtils-Cw8Ta9Qi.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-D_ny7Boz.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-BJHXwjcn.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-YO0KPd1M.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-BmVqhhkU.esm.js";
4
4
  export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-D_ny7Boz.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-YO0KPd1M.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
- import { n as getFlow } from "./flowServices-Ds8LPFp9.esm.js";
2
+ import { n as getFlow } from "./flowServices-DLJtphp_.esm.js";
3
3
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.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";
@@ -851,7 +851,8 @@ const ekybMachine = setup({
851
851
  RESULTS: {
852
852
  target: "inputting",
853
853
  actions: "setAddressSuggestions"
854
- }
854
+ },
855
+ SUBMIT: { target: "validatingSubmit" }
855
856
  }
856
857
  },
857
858
  validatingSubmit: {
@@ -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-Dgfzd-k1.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-B2V4p26P.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-DM1SEZtG.esm.js";
2
- import { t as createEkycPrefillManager } from "./ekycPrefillManager-D-cR3p13.esm.js";
1
+ import { i as toEkycPrefillConfig, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-Dmkrvg1I.esm.js";
2
+ import { t as createEkycPrefillManager } from "./ekycPrefillManager-CRYUIqlp.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-NSnXCfwh.esm.js";
1
+ import { t as ekycMachine } from "./ekycStateMachine-DlnHMsxH.esm.js";
2
2
  import { l as toEkycConfig } from "./ekycUtils-Dcff8BOD.esm.js";
3
- import { t as createEkycManager } from "./ekycManager-DGAn__vq.esm.js";
3
+ import { t as createEkycManager } from "./ekycManager-BwotHwyk.esm.js";
4
4
  export { createEkycManager, ekycMachine, toEkycConfig };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-NSnXCfwh.esm.js";
4
+ import { i as isStepValid, n as buildEkycSteps, r as clampStepIndex, t as ekycMachine } from "./ekycStateMachine-DlnHMsxH.esm.js";
5
5
  //#region src/modules/ekyc/ekycActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYC actor.
@@ -81,10 +81,6 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
81
81
  params: NonReducibleUnknown;
82
82
  };
83
83
  }>, Values<{
84
- isValid: {
85
- type: "isValid";
86
- params: unknown;
87
- };
88
84
  phoneRulesFailed: {
89
85
  type: "phoneRulesFailed";
90
86
  params: unknown;
@@ -97,6 +93,10 @@ declare const ekycPrefillMachine: StateMachine<EkycPrefillContext, {
97
93
  type: "canRender";
98
94
  params: unknown;
99
95
  };
96
+ isValid: {
97
+ type: "isValid";
98
+ params: unknown;
99
+ };
100
100
  isBadRequest: {
101
101
  type: "isBadRequest";
102
102
  params: unknown;
@@ -1,5 +1,5 @@
1
1
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
2
- import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-DM1SEZtG.esm.js";
2
+ import { n as isAnyOfMissing, r as validateForm, t as ekycPrefillMachine } from "./ekycPrefillStateMachine-Dmkrvg1I.esm.js";
3
3
  //#region src/modules/ekyc-prefill/ekycPrefillActor.ts
4
4
  /** Creates and starts an eKYC Pre-fill actor, idle until `LOAD`. */
5
5
  function createEkycPrefillActor(options = {}) {
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-WM2sDbGQ.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-stfTw3jA.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-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
@@ -1551,14 +1551,6 @@ const EKYC_DEFINITIONS = {
1551
1551
  rules: [{ id: "noPoBox" }],
1552
1552
  prefill: ["document.street", "poa.street"]
1553
1553
  },
1554
- {
1555
- name: "houseNo",
1556
- kind: "text",
1557
- group: "address",
1558
- section: "address",
1559
- label: { key: "verification.labels.houseNo" },
1560
- prefill: ["document.houseNumber", "poa.houseNumber"]
1561
- },
1562
1554
  {
1563
1555
  name: "city",
1564
1556
  kind: "text",
@@ -7620,7 +7612,8 @@ const ekycMachine = setup({
7620
7612
  RESULTS: {
7621
7613
  target: "inputting",
7622
7614
  actions: "setAddressSuggestions"
7623
- }
7615
+ },
7616
+ SUBMIT: { target: "validatingSubmit" }
7624
7617
  }
7625
7618
  },
7626
7619
  validatingSubmit: {
@@ -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-B4rtjcqt.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-CDtznBxL.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 };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
- import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-WM2sDbGQ.esm.js";
4
+ import { i as toIncodeApiError, n as isConnectivityError, t as IncodeApiError } from "./apiError-stfTw3jA.esm.js";
5
5
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
7
  import { t as externalFetch } from "./externalFetch-CQY41QT1.esm.js";
@@ -12,15 +12,15 @@ import "./StreamCanvasCapture-ixfy84ys.js";
12
12
  import { i as createIdCaptureManagerFromActor, n as IdCaptureManager, q as WasmUtilProvider, r as IdCaptureState, y as IdCaptureActor } from "./idCaptureManager-CG8zbAp0.js";
13
13
  import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CISxaY6N.js";
14
14
  import { a as CertificateIssuanceActor, i as createCertificateIssuanceManagerFromActor, n as CertificateIssuanceState, t as CertificateIssuanceManager } from "./certificateIssuanceManager-Dr8A4Lgr.js";
15
- import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-_q9yJUku.js";
15
+ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-sjhjBNVr.js";
16
16
  import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-yCWCOzcU.js";
17
17
  import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DEqTUWdu.js";
18
18
  import { a as createCustomFieldsManagerFromActor, n as CustomFieldsState, o as CustomFieldsActor, t as CustomFieldsManager } from "./customFieldsManager-CF-cO8ap.js";
19
19
  import { a as CustomWatchlistActor, i as createCustomWatchlistManagerFromActor, n as CustomWatchlistState, t as CustomWatchlistManager } from "./customWatchlistManager-DolUswyR.js";
20
- import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-CD5iQiUI.js";
20
+ import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-DDfviFg0.js";
21
21
  import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-9kwY8Bf5.js";
22
22
  import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-BLOkwmWO.js";
23
- import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-Dgfzd-k1.js";
23
+ import { c as EkycPrefillManager, m as EkycPrefillActor, p as createEkycPrefillManagerFromActor, u as EkycPrefillState } from "./ekycPrefillManager-B2V4p26P.js";
24
24
  import { i as createEkycManagerFromActor, n as EkycState, o as EkycActor, t as EkycManager } from "./ekycManager-C4gkJ1w_.js";
25
25
  import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-Dy6omJVp.js";
26
26
  import { i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DREuBhXZ.js";
@@ -28,9 +28,9 @@ import { i as CaptureIdResponse } from "./types-BqlZSoZ-.js";
28
28
  import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-6nrJkvkG.js";
29
29
  import { a as WatchlistActor, i as createWatchlistManagerFromActor, n as WatchlistState, t as WatchlistManager } from "./watchlistManager-DJQOd8Pw.js";
30
30
  import { i as WatchlistForBusinessState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor } from "./watchlistForBusinessManager-DX2AyM4Y.js";
31
- import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-ooAbp6Kc.js";
31
+ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-B1birg5X.js";
32
32
  import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CUX4gza2.js";
33
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-CaoGpNjl.js";
33
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-_FkvjyE9.js";
34
34
  import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-BAf6O4OR.js";
35
35
  import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-Dm9ctRCC.js";
36
36
  import { a as createSignatureManagerFromActor, n as SignatureManager, o as SignatureActor, r as SignatureState } from "./signatureManager-BpVt_Jv7.js";
@@ -1,12 +1,12 @@
1
- import { u as BrowserStorageProvider } from "./setup-ClcKFJa2.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CgDSBcH-.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-E_cX5CfH.esm.js";
3
- import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-8-ZKd38L.esm.js";
3
+ import { x as getDeviceFingerprintInfo, y as getFingerprint } from "./sessionInitializer-CycXUh4e.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-B4rtjcqt.esm.js";
6
+ import { n as createElectronicSignatureManagerFromActor } from "./electronicSignatureManager-CDtznBxL.esm.js";
7
7
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-BWCVkSu2.esm.js";
8
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BrbHITyo.esm.js";
9
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-D9wPKaX-.esm.js";
8
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Bs0WQKzW.esm.js";
9
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CqCEnFTr.esm.js";
10
10
  import { n as createCertificateIssuanceManagerFromActor } from "./certificateIssuanceManager-CQ_jhm2m.esm.js";
11
11
  import { n as createConsentManagerFromActor } from "./consentManager-DFSKQTcR.esm.js";
12
12
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-D7ka2qOC.esm.js";
@@ -14,13 +14,13 @@ import { n as createCurpValidationManagerFromActor } from "./curpValidationManag
14
14
  import { n as createCustomFieldsManagerFromActor } from "./customFieldsManager-gbsq53p6.esm.js";
15
15
  import { n as createCustomWatchlistManagerFromActor } from "./customWatchlistManager-50APwk4Z.esm.js";
16
16
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-C06k0q05.esm.js";
17
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BKBS2L48.esm.js";
18
- import { n as createEkybManagerFromActor } from "./ekybManager-BJHXwjcn.esm.js";
19
- import { n as createEkycManagerFromActor } from "./ekycManager-DGAn__vq.esm.js";
20
- import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-D-cR3p13.esm.js";
17
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-h5MPWjin.esm.js";
18
+ import { n as createEkybManagerFromActor } from "./ekybManager-BmVqhhkU.esm.js";
19
+ import { n as createEkycManagerFromActor } from "./ekycManager-BwotHwyk.esm.js";
20
+ import { n as createEkycPrefillManagerFromActor } from "./ekycPrefillManager-CRYUIqlp.esm.js";
21
21
  import { n as createEmailManagerFromActor } from "./emailManager-CGmKbsBL.esm.js";
22
- import { n as createSelfieManagerFromActor } from "./selfieManager-m-yx-0D_.esm.js";
23
- import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-Ca8SMFRq.esm.js";
22
+ import { n as createSelfieManagerFromActor } from "./selfieManager-DJkhtKaQ.esm.js";
23
+ import { s as createIdCaptureManagerFromActor } from "./idCaptureManager-D5stn8N4.esm.js";
24
24
  import { n as createPhoneManagerFromActor } from "./phoneManager-C-qD3p3N.esm.js";
25
25
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-BpegtZbc.esm.js";
26
26
  import { n as createWatchlistForBusinessManagerFromActor } from "./watchlistForBusinessManager-C1S5y5yj.esm.js";
@@ -30,10 +30,10 @@ import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentM
30
30
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-DNbVTMIu.esm.js";
31
31
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-Plfc5twh.esm.js";
32
32
  import { n as createSignatureManagerFromActor } from "./signatureManager-M9vQBj19.esm.js";
33
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-DhkJMshi.esm.js";
33
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-DE1-SblN.esm.js";
34
34
  import { n as createGovernmentValidationManagerFromActor } from "./governmentValidationManager-BivVZNVe.esm.js";
35
35
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BEAkamNm.esm.js";
36
- import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-CRe7Nvm6.esm.js";
36
+ import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-BXC8qPiB.esm.js";
37
37
  import { n as createFiscalQrManagerFromActor } from "./fiscalQrManager-ji0qDaTW.esm.js";
38
- import { n as createKybChecksManagerFromActor } from "./kybChecksManager-CyJ0ZEb3.esm.js";
38
+ import { n as createKybChecksManagerFromActor } from "./kybChecksManager-CFvrGnjr.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 };
@@ -1,3 +1,3 @@
1
- import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-EX9QhxFE.esm.js";
2
- import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-CRe7Nvm6.esm.js";
1
+ import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-PADe6f6s.esm.js";
2
+ import { n as createFaceMatchManagerFromActor, t as createFaceMatchManager } from "./faceMatchManager-BXC8qPiB.esm.js";
3
3
  export { ID_FACE_EXTRACTION_SKIPPED_CODE, createFaceMatchManager, createFaceMatchManagerFromActor, faceMatchMachine, isFaceExtractionSkippedError };
@@ -2,7 +2,7 @@ import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScr
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
5
- import { r as concealmentToAvatar } from "./faceCaptureSetup-BrbHITyo.esm.js";
5
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-Bs0WQKzW.esm.js";
6
6
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-5NLoQaLV.esm.js";
7
7
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
8
8
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-DjgmqZ3B.esm.js";
@@ -1,14 +1,14 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { r as getToken } from "./api-BSnbg4HO.esm.js";
3
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CnYUBxv5.esm.js";
4
- import "./sessionInitializer-8-ZKd38L.esm.js";
3
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-BtAqGc7n.esm.js";
4
+ import "./sessionInitializer-CycXUh4e.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-C2sigf9p.esm.js";
6
6
  import { c as isIPhone14OrHigher } from "./platform-aPh7gTWh.esm.js";
7
7
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
9
9
  import { s as isCameraDenialErrorName } from "./camera-E_Kcre4O.esm.js";
10
10
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-DjgmqZ3B.esm.js";
11
- import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Buoj20ih.esm.js";
11
+ import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CgDGTjSP.esm.js";
12
12
  import { a as flagFaceManualReview, i as cameraCycleProvider, n as createCameraCycleOwnership, r as runProtectedAttempt, s as PROTECTED_CAPTURE_TARGET, t as electDesktopCameraDevice } from "./desktopCameraElection-wRaWOx9n.esm.js";
13
13
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
14
14
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as faceMatchMachine } from "./faceMatchStateMachine-EX9QhxFE.esm.js";
3
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-PADe6f6s.esm.js";
4
4
  //#region src/modules/face-match/faceMatchActor.ts
5
5
  function createFaceMatchActor(options) {
6
6
  return createActor(faceMatchMachine, { input: { config: options.config } }).start();
@@ -112,13 +112,25 @@ async function processFaceForMatch(matchingType, signal) {
112
112
  * Liveness comes only from `/omni/get/score`, so it is `null` whenever the
113
113
  * match result comes from `success`, `config.matched` or the saved selfie
114
114
  * result.
115
+ *
116
+ * With `disableFaceMatchAnimation`, no screen shows the images, so the images
117
+ * calls are skipped and every image is `null`.
118
+ *
119
+ * A failed images call also gives `null` images, and the screen shows the
120
+ * placeholders. Some session tokens cannot read images (status 4091), but the
121
+ * match result is still valid. Only a failed result call is an error.
115
122
  */
116
123
  async function fetchFaceMatchData(config, signal) {
117
124
  const isSecondId = config.matchingType === "secondId";
125
+ const showImages = config.disableFaceMatchAnimation !== true;
126
+ const noImages = {
127
+ idFace: null,
128
+ selfie: null
129
+ };
118
130
  const fromProcessFace = (isSecondId ? null : config.matched ?? getProcessFaceMatch()) ?? await processFaceForMatch(config.matchingType, signal);
119
131
  const [imagesRes, secondIdRes, result] = await Promise.all([
120
- fetchFaceMatchImages(signal),
121
- isSecondId ? fetchSecondIdImages(signal) : void 0,
132
+ showImages ? fetchFaceMatchImages(signal).catch(() => noImages) : noImages,
133
+ showImages && isSecondId ? fetchSecondIdImages(signal).catch(() => void 0) : void 0,
122
134
  fromProcessFace === null ? fetchScore(config.matchingType, signal) : {
123
135
  matched: fromProcessFace,
124
136
  liveness: null
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-C-SjpVpp.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-Bo7uHRx3.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-BFCeebwP.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-C_ytnikL.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
package/dist/flow.esm.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { y as addEvent } from "./events-C7h7oaTE.esm.js";
2
2
  import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
3
- import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, g as mergeDashboardConfig, h as applyModulesConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-Ds8LPFp9.esm.js";
3
+ import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, g as mergeDashboardConfig, h as applyModulesConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-DLJtphp_.esm.js";
4
4
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-BzmNKu31.esm.js";
7
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-Csr_t889.esm.js";
6
+ import { a as getTotalScoreStatus, i as getHandoffFinishStatus, n as classifyScoreStatus, r as getFinishStatus, t as HANDOFF_COMPLETION_TIMEOUT_MS } from "./flowCompletionService-Cekt5YpP.esm.js";
7
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-rdHx1biy.esm.js";
8
8
  import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
9
9
  //#region src/modules/flow/noOpFlowModuleMachine.ts
10
10
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-WM2sDbGQ.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-stfTw3jA.esm.js";
3
3
  //#region src/modules/flow/flowCompletionService.ts
4
4
  const getFinishStatus = async (flowId, signal) => {
5
5
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
1
  import { r as getWasmStatus } from "./warmup-BZOMg303.esm.js";
2
2
  import { r as getToken, t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
3
- import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-8-ZKd38L.esm.js";
4
- import { E as updateFeatureManagementUser } from "./feature-management-BFCeebwP.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-WM2sDbGQ.esm.js";
6
- import "./session-BQh3gWdj.esm.js";
3
+ import { a as initializeSession, f as whenSessionFingerprintSettled, i as getSessionFingerprintResult, p as getStandaloneFlowPolicy, t as endDeviceHashWait } from "./sessionInitializer-CycXUh4e.esm.js";
4
+ import { E as updateFeatureManagementUser } from "./feature-management-C_ytnikL.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-stfTw3jA.esm.js";
6
+ import "./session-DEB57Iqt.esm.js";
7
7
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
8
8
  import { a as prefetchStartInfo } from "./phoneServices-BdR1nmSO.esm.js";
9
9
  //#region src/modules/flow/dashboardConfig.ts
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-DhkJMshi.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-D1yBlyYP.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-DE1-SblN.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-Bm2U4p7Z.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-D1yBlyYP.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-Bm2U4p7Z.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,6 +1,6 @@
1
1
  import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
2
  import { a as isIOS, t as isAndroid } from "./platform-aPh7gTWh.esm.js";
3
- import { n as isConnectivityError } from "./apiError-WM2sDbGQ.esm.js";
3
+ import { n as isConnectivityError } from "./apiError-stfTw3jA.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
6
  import { t as carryAttempts } from "./attemptCarry-zQH85Elh.esm.js";