@incodetech/core 0.0.0-dev-20260730-d1d17c2d → 0.0.0-dev-20260731-a5e61761

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 (50) hide show
  1. package/dist/ae-signature.esm.js +1 -1
  2. package/dist/{apiError-Bs99SapK.esm.js → apiError-DSLsv-yj.esm.js} +1 -1
  3. package/dist/authentication.esm.js +2 -2
  4. package/dist/{authenticationManager-Chc8X18r.esm.js → authenticationManager-DTs6Js9X.esm.js} +2 -2
  5. package/dist/{authenticationStateMachine-B2vUn2L-.esm.js → authenticationStateMachine-ueAuFvlu.esm.js} +2 -2
  6. package/dist/{deepsightLoader-BTjaIOc0.esm.js → deepsightLoader-BBw5JScM.esm.js} +3 -3
  7. package/dist/dynamic-forms.esm.js +2 -2
  8. package/dist/{dynamicFormsManager-DP7uqsBK.esm.js → dynamicFormsManager-BBxqRSQz.esm.js} +1 -1
  9. package/dist/{dynamicFormsStateMachine-C-QSGOv3.esm.js → dynamicFormsStateMachine-CzWWd9-_.esm.js} +1 -1
  10. package/dist/ekyb.esm.js +3 -3
  11. package/dist/{ekybManager-D0Kvwaf4.esm.js → ekybManager-CI6KqIxb.esm.js} +1 -1
  12. package/dist/{ekybStateMachine-CC0MfcUR.esm.js → ekybStateMachine-BY9eTA1L.esm.js} +1 -1
  13. package/dist/electronic-signature.esm.js +1 -1
  14. package/dist/{electronicSignatureManager-DW3ooXST.esm.js → electronicSignatureManager-BWigPcqh.esm.js} +1 -1
  15. package/dist/extensibility.esm.js +8 -8
  16. package/dist/{faceCaptureManagerFactory-C0U5b7yy.esm.js → faceCaptureManagerFactory-BgvJL98v.esm.js} +1 -1
  17. package/dist/{faceCaptureSetup-Ccv4lkS8.esm.js → faceCaptureSetup-Ibz3F0DY.esm.js} +2 -2
  18. package/dist/flow.esm.js +3 -3
  19. package/dist/{flowCompletionService-DeUkvymq.esm.js → flowCompletionService-B6bpUGBC.esm.js} +1 -1
  20. package/dist/{flowServices-BKKVvBfO.esm.js → flowServices-CU7t-P17.esm.js} +3 -3
  21. package/dist/geolocation.esm.js +2 -2
  22. package/dist/{geolocationManager-B6Kss4eL.esm.js → geolocationManager-Bxa-QDV5.esm.js} +1 -1
  23. package/dist/{geolocationStateMachine-Dl9wfwjz.esm.js → geolocationStateMachine-CDnBLlas.esm.js} +1 -1
  24. package/dist/id-selfie-flow.esm.js +6 -6
  25. package/dist/id.esm.js +3 -3
  26. package/dist/{idCaptureManager-B4JP-99h.esm.js → idCaptureManager-B-Fo7AKZ.esm.js} +1 -1
  27. package/dist/{idCaptureServices-C5f-vu5K.esm.js → idCaptureServices-lTEb0LYS.esm.js} +2 -2
  28. package/dist/{idCaptureStateMachine-9IUuFAvE.esm.js → idCaptureStateMachine-oihkV1HS.esm.js} +7 -7
  29. package/dist/index.esm.js +1 -1
  30. package/dist/{onDeviceFaceResults-BzxnlkbM.esm.js → onDeviceFaceResults-DaEmAhEJ.esm.js} +3 -3
  31. package/dist/personhood.esm.js +3 -3
  32. package/dist/qe-signature.esm.js +1 -1
  33. package/dist/{recordingService-upo9iXaY.esm.js → recordingService-B-CWzTng.esm.js} +1 -1
  34. package/dist/{runChildModule-CsyijefT.esm.js → runChildModule-dAsmTwzg.esm.js} +1 -1
  35. package/dist/selfie.esm.js +4 -4
  36. package/dist/{selfieManager-CbeS3UOY.esm.js → selfieManager-C57jxQOm.esm.js} +2 -2
  37. package/dist/{selfieStateMachine-CBVPGnee.esm.js → selfieStateMachine-UNvxEoPL.esm.js} +2 -2
  38. package/dist/{session-BurG-JN_.esm.js → session-D_rEkgcd.esm.js} +4 -4
  39. package/dist/session.esm.js +4 -4
  40. package/dist/{sessionInitializer-Da0gXIvY.esm.js → sessionInitializer-DH0UDUdK.esm.js} +2 -2
  41. package/dist/{setup-CqqDwS6y.esm.js → setup-Ds7V78Ab.esm.js} +4 -4
  42. package/dist/trueSight-DN0otAlj.esm.js +1 -0
  43. package/dist/{trueSightService-B4-TkMXY.esm.js → trueSightService-DruzSqpJ.esm.js} +1 -1
  44. package/dist/video-selfie.esm.js +3 -3
  45. package/dist/{videoSelfieCameraWarmer-BcbSVVfR.esm.js → videoSelfieCameraWarmer-Ctep05Mj.esm.js} +2 -2
  46. package/dist/wasm.esm.js +1 -1
  47. package/dist/workflow.d.ts +15 -0
  48. package/dist/workflow.esm.js +37 -20
  49. package/package.json +1 -1
  50. package/dist/trueSight-Cm13OYBp.esm.js +0 -1
@@ -1,4 +1,4 @@
1
- import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DW3ooXST.esm.js";
1
+ import { a as areAllConsented, n as electronicSignatureMachine, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-BWigPcqh.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 { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-B4-TkMXY.esm.js";
1
+ import { l as trueSightLog, u as categoryForEndpoint } from "./trueSightService-DruzSqpJ.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-B2vUn2L-.esm.js";
2
- import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-Chc8X18r.esm.js";
1
+ import { t as authenticationMachine } from "./authenticationStateMachine-ueAuFvlu.esm.js";
2
+ import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DTs6Js9X.esm.js";
3
3
  export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C0U5b7yy.esm.js";
6
- import { t as authenticationMachine } from "./authenticationStateMachine-B2vUn2L-.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BgvJL98v.esm.js";
6
+ import { t as authenticationMachine } from "./authenticationStateMachine-ueAuFvlu.esm.js";
7
7
  //#region src/modules/authentication/authenticationActor.ts
8
8
  function createAuthenticationActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
4
4
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Ccv4lkS8.esm.js";
7
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Ibz3F0DY.esm.js";
7
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
8
8
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
9
9
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
10
10
  //#region src/modules/authentication/authenticationErrorUtils.ts
@@ -1,8 +1,8 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-B4-TkMXY.esm.js";
4
- import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-Da0gXIvY.esm.js";
5
- import "./trueSight-Cm13OYBp.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-DruzSqpJ.esm.js";
4
+ import { g as getThumbmarkId, h as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-DH0UDUdK.esm.js";
5
+ import "./trueSight-DN0otAlj.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
8
  import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
@@ -1,3 +1,3 @@
1
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C-QSGOv3.esm.js";
2
- import { t as createDynamicFormsManager } from "./dynamicFormsManager-DP7uqsBK.esm.js";
1
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CzWWd9-_.esm.js";
2
+ import { t as createDynamicFormsManager } from "./dynamicFormsManager-BBxqRSQz.esm.js";
3
3
  export { createDynamicFormsManager, dynamicFormsMachine };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C-QSGOv3.esm.js";
4
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CzWWd9-_.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,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-Bs99SapK.esm.js";
3
+ import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-DSLsv-yj.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { t as isoDateToMs } from "./dateUtils-CvG0FvK8.esm.js";
package/dist/ekyb.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-BKKVvBfO.esm.js";
2
- import { t as ekybMachine } from "./ekybStateMachine-CC0MfcUR.esm.js";
3
- import { t as createEkybManager } from "./ekybManager-D0Kvwaf4.esm.js";
1
+ import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-CU7t-P17.esm.js";
2
+ import { t as ekybMachine } from "./ekybStateMachine-BY9eTA1L.esm.js";
3
+ import { t as createEkybManager } from "./ekybManager-CI6KqIxb.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-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { t as ekybMachine } from "./ekybStateMachine-CC0MfcUR.esm.js";
4
+ import { t as ekybMachine } from "./ekybStateMachine-BY9eTA1L.esm.js";
5
5
  //#region src/modules/ekyb/ekybActor.ts
6
6
  /**
7
7
  * Creates and starts an eKYB actor.
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-BKKVvBfO.esm.js";
3
+ import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-CU7t-P17.esm.js";
4
4
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DQyrvDQj.esm.js";
@@ -1,2 +1,2 @@
1
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DW3ooXST.esm.js";
1
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, o as getConsentKeys, r as AE_CONSENT_KEYS, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-BWigPcqh.esm.js";
2
2
  export { AE_CONSENT_KEYS, QE_CONSENT_KEYS, areAllConsented, createElectronicSignatureManager, electronicSignatureMachine, getConsentKeys, getDefaultConsentChecks };
@@ -2,7 +2,7 @@ import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-Bs99SapK.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-DSLsv-yj.esm.js";
6
6
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
8
8
  import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
@@ -1,21 +1,21 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
- import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-Da0gXIvY.esm.js";
3
+ import { _ as getDeviceFingerprintInfo, m as getFingerprint } from "./sessionInitializer-DH0UDUdK.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
6
  import { n as createAntifraudManagerFromActor } from "./antifraudManager-C4_d-1a0.esm.js";
7
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Ccv4lkS8.esm.js";
8
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-Chc8X18r.esm.js";
7
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Ibz3F0DY.esm.js";
8
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-DTs6Js9X.esm.js";
9
9
  import { n as createConsentManagerFromActor } from "./consentManager-lG6fCXOk.esm.js";
10
10
  import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-B5bnUpSo.esm.js";
11
11
  import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-CYkSBXCF.esm.js";
12
12
  import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-5shMxTaf.esm.js";
13
- import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DP7uqsBK.esm.js";
14
- import { n as createEkybManagerFromActor } from "./ekybManager-D0Kvwaf4.esm.js";
13
+ import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-BBxqRSQz.esm.js";
14
+ import { n as createEkybManagerFromActor } from "./ekybManager-CI6KqIxb.esm.js";
15
15
  import { n as createEkycManagerFromActor } from "./ekycManager-BnPKaiV_.esm.js";
16
16
  import { n as createEmailManagerFromActor } from "./emailManager-D-3pYOas.esm.js";
17
- import { n as createSelfieManagerFromActor } from "./selfieManager-CbeS3UOY.esm.js";
18
- import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-B4JP-99h.esm.js";
17
+ import { n as createSelfieManagerFromActor } from "./selfieManager-C57jxQOm.esm.js";
18
+ import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-B-Fo7AKZ.esm.js";
19
19
  import { n as createPhoneManagerFromActor } from "./phoneManager-SONkmpec.esm.js";
20
20
  import { n as createWatchlistManagerFromActor } from "./watchlistManager-QakKGrF0.esm.js";
21
21
  import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-CUVKNTFa.esm.js";
@@ -23,7 +23,7 @@ import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonMan
23
23
  import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-CFd276xc.esm.js";
24
24
  import { n as createIdOcrManagerFromActor } from "./idOcrManager-DWGed-91.esm.js";
25
25
  import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-B7EYFwY_.esm.js";
26
- import { n as createGeolocationManagerFromActor } from "./geolocationManager-B6Kss4eL.esm.js";
26
+ import { n as createGeolocationManagerFromActor } from "./geolocationManager-Bxa-QDV5.esm.js";
27
27
  import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-W8v-boCx.esm.js";
28
28
  import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-Dnp-edw5.esm.js";
29
29
  export { BrowserStorageProvider, WasmUtilProvider, createActor, createAntifraudManagerFromActor, createAuthenticationManagerFromActor, createConsentManagerFromActor, createCrossDocumentDataMatchManagerFromActor, createCurpValidationManagerFromActor, createDocumentCaptureManagerFromActor, createDynamicFormsManagerFromActor, createEkybManagerFromActor, createEkycManagerFromActor, createEmailManagerFromActor, createFaceMatchManagerFromActor, createFieldComparisonManagerFromActor, createGeolocationManagerFromActor, createIdCaptureManagerFromActor, createIdOcrManagerFromActor, createIdVerificationManagerFromActor, createIdentityReuseManagerFromActor, createMandatoryConsentManagerFromActor, createPhoneManagerFromActor, createRedirectToMobileManagerFromActor, createSelfieManagerFromActor, createWatchlistManagerFromActor, faceCaptureMachine, fromCallback, fromPromise, getDeviceFingerprintInfo, getFingerprint };
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-ethtfu2b.esm.js";
2
2
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
3
  import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
- import { n as concealmentToAvatar } from "./faceCaptureSetup-Ccv4lkS8.esm.js";
4
+ import { n as concealmentToAvatar } from "./faceCaptureSetup-Ibz3F0DY.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-3UAjhmjw.esm.js";
@@ -2,13 +2,13 @@ import { r as getToken } from "./api-Bx3gKW_y.esm.js";
2
2
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
3
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
4
4
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
5
- import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
5
+ import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
6
6
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
7
7
  import { t as createFaceAvatar } from "./createFaceAvatar-x5aaJwVM.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
9
9
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
10
10
  import { t as flagFaceManualReview } from "./manualReviewService-D4IkipnN.esm.js";
11
- import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-upo9iXaY.esm.js";
11
+ import { n as preloadOpenViduProvider, t as createRecordingService } from "./recordingService-B-CWzTng.esm.js";
12
12
  //#region src/internal/avatar/concealment.ts
13
13
  /**
14
14
  * Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
package/dist/flow.esm.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { v as addEvent } from "./events-ethtfu2b.esm.js";
2
- import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-BKKVvBfO.esm.js";
2
+ import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-CU7t-P17.esm.js";
3
3
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DeUkvymq.esm.js";
6
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CsyijefT.esm.js";
5
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-B6bpUGBC.esm.js";
6
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-dAsmTwzg.esm.js";
7
7
  //#region src/modules/flow/noOpFlowModuleMachine.ts
8
8
  const noOpFlowModuleMachine = setup({}).createMachine({
9
9
  id: "noOpFlowModule",
@@ -1,6 +1,6 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
- import { r as toIncodeApiError } from "./apiError-Bs99SapK.esm.js";
3
+ import { r as toIncodeApiError } from "./apiError-DSLsv-yj.esm.js";
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
6
6
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,9 +1,9 @@
1
1
  import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Da0gXIvY.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DH0UDUdK.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-Bs99SapK.esm.js";
6
- import "./session-BurG-JN_.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-DSLsv-yj.esm.js";
6
+ import "./session-D_rEkgcd.esm.js";
7
7
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-B6Kss4eL.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-Dl9wfwjz.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-Bxa-QDV5.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-CDnBLlas.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-Dl9wfwjz.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-CDnBLlas.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
4
- import { n as isConnectivityError } from "./apiError-Bs99SapK.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-DSLsv-yj.esm.js";
5
5
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,17 +1,17 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-CqqDwS6y.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-Ds7V78Ab.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-BKKVvBfO.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-CU7t-P17.esm.js";
5
5
  import { c as createManager, n as sendTo, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
9
  import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
10
10
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DrQe0hWr.esm.js";
12
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-C5f-vu5K.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-DeUkvymq.esm.js";
14
- import { a as delay, n as defaultAcquireCamera, o as isSelfieValidationError, r as CameraCompositor, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BcbSVVfR.esm.js";
12
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-lTEb0LYS.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-B6bpUGBC.esm.js";
14
+ import { a as delay, n as defaultAcquireCamera, o as isSelfieValidationError, r as CameraCompositor, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-Ctep05Mj.esm.js";
15
15
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
16
  /** Default autocapture window for the selfie step. */
17
17
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -2,9 +2,9 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
2
2
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
3
3
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-9IUuFAvE.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B4JP-99h.esm.js";
7
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-C5f-vu5K.esm.js";
5
+ import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-oihkV1HS.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B-Fo7AKZ.esm.js";
7
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-lTEb0LYS.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
@@ -5,7 +5,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-3UAjhmjw.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-9IUuFAvE.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-oihkV1HS.esm.js";
9
9
  //#region src/modules/id/digitalUpload/instrumentation.ts
10
10
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
11
11
  function isHoldingState(value) {
@@ -1,10 +1,10 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
4
- import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
4
+ import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
5
5
  import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
7
- import { n as preloadOpenViduProvider } from "./recordingService-upo9iXaY.esm.js";
7
+ import { n as preloadOpenViduProvider } from "./recordingService-B-CWzTng.esm.js";
8
8
  import { r as IdCaptureProvider } from "./idCaptureDefaults-DrQe0hWr.esm.js";
9
9
  //#region src/modules/id/idCameraStream.ts
10
10
  async function getIdCameraStream(deviceId) {
@@ -1,16 +1,16 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-B4-TkMXY.esm.js";
5
- import { t as getDisableIpify } from "./sessionInitializer-Da0gXIvY.esm.js";
6
- import "./trueSight-Cm13OYBp.esm.js";
4
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-DruzSqpJ.esm.js";
5
+ import { t as getDisableIpify } from "./sessionInitializer-DH0UDUdK.esm.js";
6
+ import "./trueSight-DN0otAlj.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
8
8
  import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
9
- import "./session-BurG-JN_.esm.js";
9
+ import "./session-D_rEkgcd.esm.js";
10
10
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
11
11
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
12
12
  import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
13
- import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
13
+ import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
16
16
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
@@ -19,7 +19,7 @@ import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js"
19
19
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
20
20
  import { n as flagIdManualReview } from "./manualReviewService-D4IkipnN.esm.js";
21
21
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-DrQe0hWr.esm.js";
22
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, o as startRecordingSession, p as getIdCameraStream, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-C5f-vu5K.esm.js";
22
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, o as startRecordingSession, p as getIdCameraStream, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-lTEb0LYS.esm.js";
23
23
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
24
24
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
25
25
  function isKnownFailReason(reason) {
@@ -1316,7 +1316,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1316
1316
  });
1317
1317
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1318
1318
  if (!input.dependencies) return;
1319
- const { loadDeepsightSession } = await import("./deepsightLoader-BTjaIOc0.esm.js");
1319
+ const { loadDeepsightSession } = await import("./deepsightLoader-BBw5JScM.esm.js");
1320
1320
  return loadDeepsightSession({
1321
1321
  ds: input.ds,
1322
1322
  storage: input.dependencies.storage,
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-CqqDwS6y.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-Ds7V78Ab.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,8 +1,8 @@
1
1
  import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-B4-TkMXY.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-DruzSqpJ.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-Cm13OYBp.esm.js";
5
+ import "./trueSight-DN0otAlj.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
8
8
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
@@ -521,7 +521,7 @@ async function stopRecording(session) {
521
521
  }
522
522
  }
523
523
  async function initializeDeepsightSession(options) {
524
- const { loadDeepsightSession } = await import("./deepsightLoader-BTjaIOc0.esm.js");
524
+ const { loadDeepsightSession } = await import("./deepsightLoader-BBw5JScM.esm.js");
525
525
  return loadDeepsightSession({
526
526
  ds: options.ds,
527
527
  storage: options.storage
@@ -2,15 +2,15 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-B4-TkMXY.esm.js";
5
+ import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-DruzSqpJ.esm.js";
6
6
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-Da0gXIvY.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-DH0UDUdK.esm.js";
8
8
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
9
9
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
11
11
  import { i as requestPermission, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
12
12
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region src/modules/personhood/personhoodServices.ts
@@ -1,4 +1,4 @@
1
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DW3ooXST.esm.js";
1
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-BWigPcqh.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,5 +1,5 @@
1
1
  import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
2
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
2
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
3
3
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
4
4
  //#region ../infra/src/media/VideoTrimmer.ts
5
5
  async function getDurationBySeek(videoBlob) {
@@ -1,5 +1,5 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-B4-TkMXY.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-DruzSqpJ.esm.js";
3
3
  import { C as createEventBus } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
@@ -3,11 +3,11 @@ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.e
3
3
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Ccv4lkS8.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C0U5b7yy.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Ibz3F0DY.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BgvJL98v.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-CBVPGnee.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CbeS3UOY.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-UNvxEoPL.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-C57jxQOm.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -2,8 +2,8 @@ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C0U5b7yy.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-CBVPGnee.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BgvJL98v.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-UNvxEoPL.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Ccv4lkS8.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-Ibz3F0DY.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
7
7
  /**
@@ -1,9 +1,9 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-B4-TkMXY.esm.js";
3
- import "./sessionInitializer-Da0gXIvY.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-DruzSqpJ.esm.js";
3
+ import "./sessionInitializer-DH0UDUdK.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-Cm13OYBp.esm.js";
6
- import { r as toIncodeApiError } from "./apiError-Bs99SapK.esm.js";
5
+ import "./trueSight-DN0otAlj.esm.js";
6
+ import { r as toIncodeApiError } from "./apiError-DSLsv-yj.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
9
9
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,5 +1,5 @@
1
- import { i as initializeSession } from "./sessionInitializer-Da0gXIvY.esm.js";
2
- import { t as IncodeApiError } from "./apiError-Bs99SapK.esm.js";
3
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-BurG-JN_.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-DeUkvymq.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-DH0UDUdK.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-DSLsv-yj.esm.js";
3
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-D_rEkgcd.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-B6bpUGBC.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,9 +1,9 @@
1
1
  import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
2
2
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-B4-TkMXY.esm.js";
3
+ import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-DruzSqpJ.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-ethtfu2b.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
6
- import "./trueSight-Cm13OYBp.esm.js";
6
+ import "./trueSight-DN0otAlj.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-B0nFKawG.esm.js";
8
8
  import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
9
9
  import { r as isIOS } from "./platform-Cd_yWGNG.esm.js";
@@ -5,14 +5,14 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
5
5
  import { b as resetEnvironment, d as initializeFeatureManagement, h as resetFeatureManagementProviderInstance, l as getIsFeatureManagementLocked, m as resetFeatureManagement, p as optOutFeatureManagement, v as applyEnvironment, y as getEnvironment } from "./feature-management-CFRmD8Nr.esm.js";
6
6
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
7
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
8
- import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-B4-TkMXY.esm.js";
8
+ import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-DruzSqpJ.esm.js";
9
9
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ethtfu2b.esm.js";
10
- import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-Da0gXIvY.esm.js";
10
+ import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-DH0UDUdK.esm.js";
11
11
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
12
- import "./trueSight-Cm13OYBp.esm.js";
12
+ import "./trueSight-DN0otAlj.esm.js";
13
13
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
14
14
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
15
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-BKKVvBfO.esm.js";
15
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-CU7t-P17.esm.js";
16
16
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
17
17
  var BrowserPageLifecycleProvider = class {
18
18
  sendBeacon(url, body, contentType = "application/json") {
@@ -0,0 +1 @@
1
+ import "./trueSightService-DruzSqpJ.esm.js";
@@ -724,7 +724,7 @@ function epochMsToIsoString(epochMs) {
724
724
  }
725
725
  //#endregion
726
726
  //#region src/internal/version/sdkVersion.ts
727
- const SDK_VERSION = "0.0.0-dev-20260730-d1d17c2d";
727
+ const SDK_VERSION = "0.0.0-dev-20260731-a5e61761";
728
728
  //#endregion
729
729
  //#region src/internal/trueSight/recordBuilder.ts
730
730
  /**
@@ -1,13 +1,13 @@
1
1
  import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
- import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-CqqDwS6y.esm.js";
2
+ import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-Ds7V78Ab.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-BKKVvBfO.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-CU7t-P17.esm.js";
7
7
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
9
9
  import { n as getSupportedMediaRecorderMimeType } from "./mediaRecorderOptions-CUsftWlH.esm.js";
10
- import { i as createDefaultStepDetector, n as defaultAcquireCamera, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BcbSVVfR.esm.js";
10
+ import { i as createDefaultStepDetector, n as defaultAcquireCamera, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-Ctep05Mj.esm.js";
11
11
  //#region ../infra/src/providers/browser/MultipartRecordingProvider.ts
12
12
  /**
13
13
  * S3 multipart requires every part except the last to be at least 5 MB, so we
@@ -1,10 +1,10 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
4
- import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-BKKVvBfO.esm.js";
4
+ import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-CU7t-P17.esm.js";
5
5
  import { t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
6
6
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
7
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-BzxnlkbM.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-DaEmAhEJ.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
package/dist/wasm.esm.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-DTUrftxR.esm.js";
2
2
  import { s as warmupWasm } from "./safeStorage-Ep56I-f_.esm.js";
3
- import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-CqqDwS6y.esm.js";
3
+ import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-Ds7V78Ab.esm.js";
4
4
  export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
@@ -246,6 +246,7 @@ type WorkflowContext = {
246
246
  isDesktop: boolean;
247
247
  isInjectedNode: boolean;
248
248
  isHomeContinueLoading: boolean;
249
+ hasShownHome: boolean;
249
250
  getFinishStatus: GetFinishStatusFn;
250
251
  getTotalScoreStatus: GetTotalScoreStatusFn;
251
252
  };
@@ -393,6 +394,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
393
394
  type: "clearHomeContinueLoading";
394
395
  params: NonReducibleUnknown;
395
396
  };
397
+ markHomeShown: {
398
+ type: "markHomeShown";
399
+ params: NonReducibleUnknown;
400
+ };
396
401
  }>, Values<{
397
402
  isModuleNode: {
398
403
  type: "isModuleNode";
@@ -430,6 +435,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
430
435
  type: "shouldEnterHome";
431
436
  params: unknown;
432
437
  };
438
+ shouldEnterHomeAfterRedirect: {
439
+ type: "shouldEnterHomeAfterRedirect";
440
+ params: unknown;
441
+ };
433
442
  }>, never, "error" | "idle" | "closed" | "finished" | "home" | "loading" | "resolvingModule" | "completing" | "asyncResolution" | "handlingCustomModule" | "runningModule" | "resolvingScore" | "processingNode", string, WorkflowInput, NonReducibleUnknown, EventObject, MetaObject, {
434
443
  readonly id: "workflow";
435
444
  readonly initial: "idle";
@@ -649,6 +658,7 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
649
658
  isDesktop: boolean;
650
659
  isInjectedNode: false;
651
660
  isHomeContinueLoading: false;
661
+ hasShownHome: false;
652
662
  getFinishStatus: GetFinishStatusFn;
653
663
  getTotalScoreStatus: GetTotalScoreStatusFn;
654
664
  };
@@ -738,6 +748,7 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
738
748
  };
739
749
  };
740
750
  readonly home: {
751
+ readonly entry: "markHomeShown";
741
752
  readonly on: {
742
753
  readonly HOME_CONTINUE: {
743
754
  readonly target: "resolvingModule";
@@ -998,6 +1009,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
998
1009
  isDesktop: boolean;
999
1010
  };
1000
1011
  readonly onDone: readonly [{
1012
+ readonly target: "home";
1013
+ readonly guard: "shouldEnterHomeAfterRedirect";
1014
+ readonly actions: readonly ["setNextNode", "trackNodeTransition"];
1015
+ }, {
1001
1016
  readonly target: "resolvingModule";
1002
1017
  readonly guard: "isModuleNode";
1003
1018
  readonly actions: readonly ["setNextNode", "trackNodeTransition"];
@@ -1,41 +1,41 @@
1
1
  import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { l as trueSightLog } from "./trueSightService-B4-TkMXY.esm.js";
3
+ import { l as trueSightLog } from "./trueSightService-DruzSqpJ.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, v as addEvent } from "./events-ethtfu2b.esm.js";
5
- import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Da0gXIvY.esm.js";
5
+ import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DH0UDUdK.esm.js";
6
6
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
7
- import "./trueSight-Cm13OYBp.esm.js";
8
- import { r as toIncodeApiError } from "./apiError-Bs99SapK.esm.js";
9
- import { g as toEkybConfig } from "./flowServices-BKKVvBfO.esm.js";
7
+ import "./trueSight-DN0otAlj.esm.js";
8
+ import { r as toIncodeApiError } from "./apiError-DSLsv-yj.esm.js";
9
+ import { g as toEkybConfig } from "./flowServices-CU7t-P17.esm.js";
10
10
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
11
11
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
12
12
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
13
- import { n as electronicSignatureMachine } from "./electronicSignatureManager-DW3ooXST.esm.js";
13
+ import { n as electronicSignatureMachine } from "./electronicSignatureManager-BWigPcqh.esm.js";
14
14
  import "./ae-signature.esm.js";
15
15
  import { t as antifraudMachine } from "./antifraudStateMachine-r4VxSBS4.esm.js";
16
- import { t as authenticationMachine } from "./authenticationStateMachine-B2vUn2L-.esm.js";
16
+ import { t as authenticationMachine } from "./authenticationStateMachine-ueAuFvlu.esm.js";
17
17
  import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-COd7_l2T.esm.js";
18
18
  import { t as consentMachine } from "./consentStateMachine-WD-S-Yhs.esm.js";
19
19
  import { t as curpValidationMachine } from "./curpValidationStateMachine-9KwnqeoB.esm.js";
20
20
  import { t as customWatchlistMachine } from "./customWatchlistStateMachine-B_ey3TFj.esm.js";
21
21
  import { t as documentCaptureMachine } from "./documentCaptureStateMachine-LFVoDSmH.esm.js";
22
- import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-C-QSGOv3.esm.js";
23
- import { t as ekybMachine } from "./ekybStateMachine-CC0MfcUR.esm.js";
22
+ import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-CzWWd9-_.esm.js";
23
+ import { t as ekybMachine } from "./ekybStateMachine-BY9eTA1L.esm.js";
24
24
  import { t as ekycMachine } from "./ekycStateMachine-DHvksnrr.esm.js";
25
25
  import { t as emailMachine } from "./emailStateMachine-Bm894MHB.esm.js";
26
- import { t as selfieMachine } from "./selfieStateMachine-CBVPGnee.esm.js";
27
- import { t as idCaptureMachine } from "./idCaptureStateMachine-9IUuFAvE.esm.js";
26
+ import { t as selfieMachine } from "./selfieStateMachine-UNvxEoPL.esm.js";
27
+ import { t as idCaptureMachine } from "./idCaptureStateMachine-oihkV1HS.esm.js";
28
28
  import { t as phoneMachine } from "./phoneStateMachine-E1fUUcNM.esm.js";
29
29
  import { t as watchlistMachine } from "./watchlistStateMachine-Bl7Wy9Cm.esm.js";
30
30
  import { n as identityReuseMachine } from "./identityReuseStateMachine-AubRPhIi.esm.js";
31
31
  import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-zroQGzwb.esm.js";
32
32
  import { t as idOcrStateMachine } from "./idOcrStateMachine-Bq_e3l4E.esm.js";
33
33
  import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-C9SYCJcH.esm.js";
34
- import { t as geolocationMachine } from "./geolocationStateMachine-Dl9wfwjz.esm.js";
34
+ import { t as geolocationMachine } from "./geolocationStateMachine-CDnBLlas.esm.js";
35
35
  import { t as idVerificationMachine } from "./idVerificationStateMachine-GEQWUPU2.esm.js";
36
36
  import { t as faceMatchMachine } from "./faceMatchStateMachine-CJiO2yLO.esm.js";
37
- import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-DeUkvymq.esm.js";
38
- import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CsyijefT.esm.js";
37
+ import { n as getFinishStatus, r as getTotalScoreStatus } from "./flowCompletionService-B6bpUGBC.esm.js";
38
+ import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-dAsmTwzg.esm.js";
39
39
  import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BYKYUdza.esm.js";
40
40
  import "./qe-signature.esm.js";
41
41
  import { t as signatureMachine } from "./signatureStateMachine-Cf73DGWO.esm.js";
@@ -375,7 +375,8 @@ const workflowMachine = setup({
375
375
  trueSightLog("info", "workflow", "orchestration", `processNode transition nodeType=${node?.nodeType ?? "unknown"}${node?.moduleKey !== void 0 ? ` module=${node.moduleKey}` : ""}`);
376
376
  },
377
377
  setHomeContinueLoading: assign({ isHomeContinueLoading: true }),
378
- clearHomeContinueLoading: assign({ isHomeContinueLoading: false })
378
+ clearHomeContinueLoading: assign({ isHomeContinueLoading: false }),
379
+ markHomeShown: assign({ hasShownHome: true })
379
380
  },
380
381
  guards: {
381
382
  isModuleNode: ({ event }) => {
@@ -397,12 +398,19 @@ const workflowMachine = setup({
397
398
  isAdvanceableModuleError: ({ event }) => isAdvanceableError(event.moduleErrorCode),
398
399
  shouldResolveScore: ({ context }) => context.workflowConfig?.showFinishScreenBySessionStatus === true,
399
400
  isOnboardingFinishedWithStatusScreen: ({ context, event }) => event.output?.action === "onboardingFinished" && context.workflowConfig?.showFinishScreenBySessionStatus === true,
400
- shouldEnterHome: ({ event }) => {
401
+ shouldEnterHome: ({ context, event }) => {
402
+ if (context.hasShownHome) return false;
401
403
  const result = event.output;
402
404
  if (!result || result.currentNode.nodeType !== "MODULE") return false;
403
405
  if (result.workflowConfig.disableLaunchScreen === true) return false;
404
406
  if (result.currentNode.moduleKey === "REDIRECT_TO_MOBILE") return false;
405
407
  return true;
408
+ },
409
+ shouldEnterHomeAfterRedirect: ({ context, event }) => {
410
+ if (context.hasShownHome) return false;
411
+ if (context.currentNode?.moduleKey !== "REDIRECT_TO_MOBILE") return false;
412
+ if (context.workflowConfig?.disableLaunchScreen === true) return false;
413
+ return event.output?.nextNode.nodeType === "MODULE";
406
414
  }
407
415
  }
408
416
  }).createMachine({
@@ -426,6 +434,7 @@ const workflowMachine = setup({
426
434
  isDesktop: input.isDesktop ?? true,
427
435
  isInjectedNode: false,
428
436
  isHomeContinueLoading: false,
437
+ hasShownHome: false,
429
438
  getFinishStatus: input.getFinishStatus ?? getFinishStatus,
430
439
  getTotalScoreStatus: input.getTotalScoreStatus ?? getTotalScoreStatus
431
440
  }),
@@ -462,10 +471,13 @@ const workflowMachine = setup({
462
471
  actions: "setError"
463
472
  }
464
473
  } },
465
- home: { on: { HOME_CONTINUE: {
466
- target: "resolvingModule",
467
- actions: "setHomeContinueLoading"
468
- } } },
474
+ home: {
475
+ entry: "markHomeShown",
476
+ on: { HOME_CONTINUE: {
477
+ target: "resolvingModule",
478
+ actions: "setHomeContinueLoading"
479
+ } }
480
+ },
469
481
  resolvingModule: {
470
482
  always: [{
471
483
  target: "handlingCustomModule",
@@ -583,6 +595,11 @@ const workflowMachine = setup({
583
595
  isDesktop: context.isDesktop
584
596
  }),
585
597
  onDone: [
598
+ {
599
+ target: "home",
600
+ guard: "shouldEnterHomeAfterRedirect",
601
+ actions: ["setNextNode", "trackNodeTransition"]
602
+ },
586
603
  {
587
604
  target: "resolvingModule",
588
605
  guard: "isModuleNode",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260730-d1d17c2d",
3
+ "version": "0.0.0-dev-20260731-a5e61761",
4
4
  "license": "ISC",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +0,0 @@
1
- import "./trueSightService-B4-TkMXY.esm.js";