@incodetech/core 0.0.0-dev-20260414-56e3445 → 0.0.0-dev-20260414-db434be

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 (139) hide show
  1. package/dist/{OpenViduRecordingProvider-D5eKWCUZ.esm.js → OpenViduRecordingProvider-CCUuM9nV.esm.js} +1 -1
  2. package/dist/{WasmUtilProvider-BvXiqQSQ.esm.js → WasmUtilProvider-CYe0Xlh-.esm.js} +1 -1
  3. package/dist/{addressSearch-C_0wN5KN.esm.js → addressSearch-Ui2rQ1v-.esm.js} +4 -4
  4. package/dist/antifraud.d.ts +1 -1
  5. package/dist/antifraud.esm.js +4 -4
  6. package/dist/{antifraudStateMachine-WMyzW7FW.esm.js → antifraudStateMachine-ZNM45OSv.esm.js} +3 -3
  7. package/dist/authentication.d.ts +11 -11
  8. package/dist/authentication.esm.js +22 -22
  9. package/dist/{authenticationManager-DrsjKwg6.d.ts → authenticationManager-BuWdnIab.d.ts} +2 -2
  10. package/dist/{authenticationManager-k9cC-jvW.esm.js → authenticationManager-CwWzwxMp.esm.js} +6 -6
  11. package/dist/{authenticationStateMachine-DsePlR1o.esm.js → authenticationStateMachine-CAvcWS_b.esm.js} +6 -6
  12. package/dist/{backCameraStream-p9UjczGK.esm.js → backCameraStream-amVBjSd6.esm.js} +3 -3
  13. package/dist/camera.d.ts +1 -1
  14. package/dist/camera.esm.js +3 -3
  15. package/dist/consent.d.ts +55 -55
  16. package/dist/consent.esm.js +4 -4
  17. package/dist/{consentStateMachine-CKaVliKQ.esm.js → consentStateMachine-YbOlYveq.esm.js} +3 -3
  18. package/dist/cross-document-data-match.d.ts +1 -1
  19. package/dist/cross-document-data-match.esm.js +4 -4
  20. package/dist/curp-validation.d.ts +5 -5
  21. package/dist/curp-validation.esm.js +4 -4
  22. package/dist/{curpValidationStateMachine-TmFjYie1.esm.js → curpValidationStateMachine-D3NZ1SVG.esm.js} +3 -3
  23. package/dist/{deepsightLoader-B3DY23-5.esm.js → deepsightLoader-BqeQIeno.esm.js} +10 -10
  24. package/dist/{deepsightService-BgvhDdse.esm.js → deepsightService-B14izXzw.esm.js} +5 -5
  25. package/dist/{deepsightService-Clz07wkf.d.ts → deepsightService-CNR9-7As.d.ts} +2 -2
  26. package/dist/device.esm.js +3 -3
  27. package/dist/document-capture.d.ts +79 -79
  28. package/dist/document-capture.esm.js +8 -8
  29. package/dist/document-upload.d.ts +53 -53
  30. package/dist/document-upload.esm.js +7 -7
  31. package/dist/{documentCaptureStateMachine-CmUER_Il.esm.js → documentCaptureStateMachine-CFNsZHSs.esm.js} +5 -5
  32. package/dist/ekyb.d.ts +3 -3
  33. package/dist/ekyb.esm.js +10 -10
  34. package/dist/{ekybStateMachine-ENNR09OW.esm.js → ekybStateMachine-BJS8bjot.esm.js} +5 -5
  35. package/dist/ekyc.d.ts +3 -3
  36. package/dist/ekyc.esm.js +6 -6
  37. package/dist/{ekycStateMachine-BJTwbCcq.esm.js → ekycStateMachine-CYGpzMDd.esm.js} +4 -4
  38. package/dist/email.d.ts +3 -3
  39. package/dist/email.esm.js +6 -6
  40. package/dist/{emailManager-CeOaYSt0.esm.js → emailManager-BNmWTggA.esm.js} +3 -3
  41. package/dist/{emailManager-mkgZ1sR6.d.ts → emailManager-DT0plT1F.d.ts} +2 -2
  42. package/dist/{emailStateMachine-CQa3EMhA.esm.js → emailStateMachine-vD2VtYZM.esm.js} +4 -4
  43. package/dist/{events-BSP6Ksh5.esm.js → events-B3HfNWqp.esm.js} +1 -1
  44. package/dist/events.esm.js +2 -2
  45. package/dist/extensibility.d.ts +15 -15
  46. package/dist/extensibility.esm.js +33 -33
  47. package/dist/face-match.d.ts +1 -1
  48. package/dist/face-match.esm.js +4 -4
  49. package/dist/{faceCaptureManagerFactory-DhKU7cW9.d.ts → faceCaptureManagerFactory-BBwp70tn.d.ts} +8 -8
  50. package/dist/{faceCaptureManagerFactory-Dr5TSw6i.esm.js → faceCaptureManagerFactory-odfjA0d8.esm.js} +2 -2
  51. package/dist/{faceCaptureSetup-TT4s3AkW.esm.js → faceCaptureSetup-CdYYDgN6.esm.js} +4 -4
  52. package/dist/{faceMatchStateMachine-B_CXt9NM.esm.js → faceMatchStateMachine-DptHGpKT.esm.js} +3 -3
  53. package/dist/flow.d.ts +16 -11
  54. package/dist/flow.esm.js +9 -9
  55. package/dist/{flowCompletionService-CKpuKBHj.esm.js → flowCompletionService-BhzS182Y.esm.js} +2 -2
  56. package/dist/{flowServices-aa_WK5bT.esm.js → flowServices-D_yVNocO.esm.js} +16 -10
  57. package/dist/geolocation.d.ts +2 -2
  58. package/dist/geolocation.esm.js +5 -5
  59. package/dist/{geolocationStateMachine-_H3mSlsR.esm.js → geolocationStateMachine-DY8eWROq.esm.js} +4 -4
  60. package/dist/{getDeviceClass-B1VQriq2.esm.js → getDeviceClass-CkdEWjAM.esm.js} +1 -1
  61. package/dist/government-validation.d.ts +2 -2
  62. package/dist/government-validation.esm.js +5 -5
  63. package/dist/{governmentValidationStateMachine-C9DWKoT4.esm.js → governmentValidationStateMachine-DCqdkm8Z.esm.js} +4 -4
  64. package/dist/home.d.ts +129 -0
  65. package/dist/home.esm.js +73 -0
  66. package/dist/http.esm.js +1 -1
  67. package/dist/id.d.ts +10 -10
  68. package/dist/id.esm.js +22 -22
  69. package/dist/{idCaptureManager-4tf9GZ-h.d.ts → idCaptureManager-D1MiNNuR.d.ts} +7 -7
  70. package/dist/{idCaptureManager-C-zoK9OY.esm.js → idCaptureManager-_e78xuEM.esm.js} +4 -4
  71. package/dist/{idCaptureStateMachine-Boqx6C9c.esm.js → idCaptureStateMachine-CYPfS8iO.esm.js} +16 -16
  72. package/dist/identity-reuse.d.ts +46 -46
  73. package/dist/identity-reuse.esm.js +3 -3
  74. package/dist/index.d.ts +2 -2
  75. package/dist/index.esm.js +8 -8
  76. package/dist/{lib-twqShmWZ.esm.js → lib-BcTqNgYu.esm.js} +1 -1
  77. package/dist/mandatory-consent.d.ts +60 -60
  78. package/dist/mandatory-consent.esm.js +4 -4
  79. package/dist/{mandatoryConsentStateMachine-CaDUQVH2.esm.js → mandatoryConsentStateMachine-D0weA8Cn.esm.js} +3 -3
  80. package/dist/{openviduLazy-04FW2FLo.esm.js → openviduLazy-BiBkiXcn.esm.js} +2 -2
  81. package/dist/openviduLazy-CrjlHYIL.esm.js +3 -0
  82. package/dist/{permissionServices-DKkY9SGA.esm.js → permissionServices-ElKNJ-9J.esm.js} +2 -2
  83. package/dist/phone.d.ts +3 -3
  84. package/dist/phone.esm.js +6 -6
  85. package/dist/{phoneManager-OiAoV4_y.d.ts → phoneManager-BxWESUBK.d.ts} +2 -2
  86. package/dist/{phoneManager-DGBqKLwU.esm.js → phoneManager-CRVt9rvr.esm.js} +3 -3
  87. package/dist/{phoneStateMachine-BeOW6-sK.esm.js → phoneStateMachine-BMTT0tvu.esm.js} +4 -4
  88. package/dist/{recordingService-Chf_ClDh.esm.js → recordingService-BNOxJMAM.esm.js} +13 -13
  89. package/dist/redirect-to-mobile.d.ts +2 -2
  90. package/dist/redirect-to-mobile.esm.js +5 -5
  91. package/dist/{redirectToMobileStateMachine-BUmbZaow.esm.js → redirectToMobileStateMachine-8yOC9dnH.esm.js} +4 -4
  92. package/dist/{runChildModule-BplQ84Fu.esm.js → runChildModule-eBqC5Z25.esm.js} +1 -1
  93. package/dist/selfie.d.ts +11 -11
  94. package/dist/selfie.esm.js +22 -22
  95. package/dist/{selfieManager-DV5d7owu.d.ts → selfieManager-B7XmNptL.d.ts} +2 -2
  96. package/dist/{selfieManager-D3MbSLB7.esm.js → selfieManager-C6pl5f2B.esm.js} +6 -6
  97. package/dist/{selfieStateMachine-DrehcPoi.esm.js → selfieStateMachine-B88Q3SFX.esm.js} +3 -3
  98. package/dist/{session-C3psgB0o.esm.js → session-D2s2kUoa.esm.js} +4 -4
  99. package/dist/session.d.ts +1 -1
  100. package/dist/session.esm.js +6 -6
  101. package/dist/{setup-Dre4G5OX.d.ts → setup-DR4SBtyZ.d.ts} +1 -1
  102. package/dist/{setup-BqE0p_Cg.esm.js → setup-nE0hEkGl.esm.js} +5 -5
  103. package/dist/signature.d.ts +2 -2
  104. package/dist/signature.esm.js +4 -4
  105. package/dist/{signatureStateMachine-2FogXBZb.esm.js → signatureStateMachine-BOdPhzPM.esm.js} +3 -3
  106. package/dist/{stats-CdUiON-w.esm.js → stats-D0m-GAIR.esm.js} +1 -1
  107. package/dist/stats.esm.js +2 -2
  108. package/dist/{types-Dth4P_pY.d.ts → types-BoV6HZZE.d.ts} +1 -1
  109. package/dist/{types-C1lmcLat.d.ts → types-DR5Xxm-c.d.ts} +3 -2
  110. package/dist/{types-BPP_nJ2g.d.ts → types-vklwHgIM.d.ts} +1 -1
  111. package/dist/wasm.d.ts +2 -2
  112. package/dist/wasm.esm.js +8 -8
  113. package/dist/watchlist.d.ts +1 -1
  114. package/dist/watchlist.esm.js +3 -3
  115. package/dist/workflow.d.ts +116 -116
  116. package/dist/workflow.esm.js +41 -41
  117. package/package.json +5 -1
  118. package/dist/openviduLazy-B8dy_KsG.esm.js +0 -3
  119. /package/dist/{Actor-D5JNToUH.d.ts → Actor-iMyH_hBY.d.ts} +0 -0
  120. /package/dist/{BaseWasmProvider-ri-WB2II.esm.js → BaseWasmProvider-DFM6aa1Z.esm.js} +0 -0
  121. /package/dist/{BrowserEnvironmentProvider-DHMvtWIH.esm.js → BrowserEnvironmentProvider-4Vr7ceoW.esm.js} +0 -0
  122. /package/dist/{BrowserStorageProvider-B5M-3JVi.esm.js → BrowserStorageProvider-Dp9k9EzW.esm.js} +0 -0
  123. /package/dist/{BrowserTimerProvider-BRXIpp_U.esm.js → BrowserTimerProvider-BfL0cWbj.esm.js} +0 -0
  124. /package/dist/{ITimerCapability-CCVfd2zh.esm.js → ITimerCapability-_YySEUj7.esm.js} +0 -0
  125. /package/dist/{Manager-B6JdYK1C.d.ts → Manager-BzPNdMJn.d.ts} +0 -0
  126. /package/dist/{MotionSensorProvider-BROkQLhB.esm.js → MotionSensorProvider-Bi6DuLLP.esm.js} +0 -0
  127. /package/dist/{StateMachine-BBuIgsHT.d.ts → StateMachine-DIeoDJ7r.d.ts} +0 -0
  128. /package/dist/{api-DTKYcfzy.esm.js → api-CGdjmBzR.esm.js} +0 -0
  129. /package/dist/{browserSimulation-_EAOWiA1.esm.js → browserSimulation-D9FTZt0Z.esm.js} +0 -0
  130. /package/dist/{camera-BKFhs1qx.esm.js → camera-C4T2nh2F.esm.js} +0 -0
  131. /package/dist/{camera-BFs5UHwW.d.ts → camera-DdgjYGQh.d.ts} +0 -0
  132. /package/dist/{chunk-BlT4l8bL.esm.js → chunk-CT7w1OiQ.esm.js} +0 -0
  133. /package/dist/{displayErrors-ByrthsW3.d.ts → displayErrors-CGztf2Nk.d.ts} +0 -0
  134. /package/dist/{flowCompletionService-C9IqrsDT.d.ts → flowCompletionService-CNpeRlnP.d.ts} +0 -0
  135. /package/dist/{getBrowser-BBXR_Qw-.esm.js → getBrowser-DR_WEE3I.esm.js} +0 -0
  136. /package/dist/{platform-BP2TY6mD.esm.js → platform-B81QvKKx.esm.js} +0 -0
  137. /package/dist/{types-bi1Axaq2.d.ts → types-Bo7LR34d.d.ts} +0 -0
  138. /package/dist/{warmup-DhX_C6wK.d.ts → warmup-C5bT21Jo.d.ts} +0 -0
  139. /package/dist/{xstate.esm-BR_welYq.esm.js → xstate.esm-DW_uPCba.esm.js} +0 -0
package/dist/ekyb.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-B6JdYK1C.js";
2
- import "./Actor-D5JNToUH.js";
3
- import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-ByrthsW3.js";
1
+ import { t as Manager } from "./Manager-BzPNdMJn.js";
2
+ import "./Actor-iMyH_hBY.js";
3
+ import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-CGztf2Nk.js";
4
4
 
5
5
  //#region src/modules/ekyb/types.d.ts
6
6
  type UboEntry = {
package/dist/ekyb.esm.js CHANGED
@@ -1,13 +1,13 @@
1
- import "./api-DTKYcfzy.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BSP6Ksh5.esm.js";
3
- import "./session-C3psgB0o.esm.js";
4
- import "./BrowserEnvironmentProvider-DHMvtWIH.esm.js";
5
- import "./browserSimulation-_EAOWiA1.esm.js";
6
- import { a as createActor, o as createManager } from "./xstate.esm-BR_welYq.esm.js";
7
- import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-ENNR09OW.esm.js";
8
- import "./addressSearch-C_0wN5KN.esm.js";
9
- import "./flowServices-aa_WK5bT.esm.js";
10
- import "./BrowserTimerProvider-BRXIpp_U.esm.js";
1
+ import "./api-CGdjmBzR.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
3
+ import "./session-D2s2kUoa.esm.js";
4
+ import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
5
+ import "./browserSimulation-D9FTZt0Z.esm.js";
6
+ import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
7
+ import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as computeDisplayErrors, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-BJS8bjot.esm.js";
8
+ import "./addressSearch-Ui2rQ1v-.esm.js";
9
+ import "./flowServices-D_yVNocO.esm.js";
10
+ import "./BrowserTimerProvider-BfL0cWbj.esm.js";
11
11
 
12
12
  //#region src/modules/ekyb/ekybActor.ts
13
13
  /**
@@ -1,8 +1,8 @@
1
- import { t as api } from "./api-DTKYcfzy.esm.js";
2
- import { _ as endpoints } from "./events-BSP6Ksh5.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR_welYq.esm.js";
4
- import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-C_0wN5KN.esm.js";
5
- import { t as getFlow } from "./flowServices-aa_WK5bT.esm.js";
1
+ import { t as api } from "./api-CGdjmBzR.esm.js";
2
+ import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-Ui2rQ1v-.esm.js";
5
+ import { t as getFlow } from "./flowServices-D_yVNocO.esm.js";
6
6
 
7
7
  //#region src/modules/ekyb/ekybConstants.ts
8
8
  const UBO_INPUT_LIMIT = 8;
package/dist/ekyc.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-B6JdYK1C.js";
2
- import "./Actor-D5JNToUH.js";
3
- import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-ByrthsW3.js";
1
+ import { t as Manager } from "./Manager-BzPNdMJn.js";
2
+ import "./Actor-iMyH_hBY.js";
3
+ import { n as AddressSuggestion, r as FieldDef, t as DisplayErrorsResult } from "./displayErrors-CGztf2Nk.js";
4
4
 
5
5
  //#region src/modules/ekyc/types.d.ts
6
6
  type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
package/dist/ekyc.esm.js CHANGED
@@ -1,9 +1,9 @@
1
- import "./api-DTKYcfzy.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BSP6Ksh5.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-BR_welYq.esm.js";
4
- import "./addressSearch-C_0wN5KN.esm.js";
5
- import "./BrowserTimerProvider-BRXIpp_U.esm.js";
6
- import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-BJTwbCcq.esm.js";
1
+ import "./api-CGdjmBzR.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import "./addressSearch-Ui2rQ1v-.esm.js";
5
+ import "./BrowserTimerProvider-BfL0cWbj.esm.js";
6
+ import { n as computeDisplayErrors, t as ekycMachine } from "./ekycStateMachine-CYGpzMDd.esm.js";
7
7
 
8
8
  //#region src/modules/ekyc/ekycActor.ts
9
9
  /**
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-DTKYcfzy.esm.js";
2
- import { _ as endpoints } from "./events-BSP6Ksh5.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR_welYq.esm.js";
4
- import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-C_0wN5KN.esm.js";
1
+ import { t as api } from "./api-CGdjmBzR.esm.js";
2
+ import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-Ui2rQ1v-.esm.js";
5
5
 
6
6
  //#region src/modules/ekyc/ekycConsts.ts
7
7
  const COUNTRY_SELECTOR_DISABLED_SOURCES = ["UK_VOTER_REGISTER"];
package/dist/email.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import "./Manager-B6JdYK1C.js";
2
- import "./Actor-D5JNToUH.js";
3
- import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-mkgZ1sR6.js";
1
+ import "./Manager-BzPNdMJn.js";
2
+ import "./Actor-iMyH_hBY.js";
3
+ import { a as emailMachine, n as EmailState, o as EmailConfig, r as createEmailManager, t as EmailManager } from "./emailManager-DT0plT1F.js";
4
4
  export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
package/dist/email.esm.js CHANGED
@@ -1,8 +1,8 @@
1
- import "./api-DTKYcfzy.esm.js";
2
- import "./events-BSP6Ksh5.esm.js";
3
- import "./xstate.esm-BR_welYq.esm.js";
4
- import "./BrowserTimerProvider-BRXIpp_U.esm.js";
5
- import { t as emailMachine } from "./emailStateMachine-CQa3EMhA.esm.js";
6
- import { t as createEmailManager } from "./emailManager-CeOaYSt0.esm.js";
1
+ import "./api-CGdjmBzR.esm.js";
2
+ import "./events-B3HfNWqp.esm.js";
3
+ import "./xstate.esm-DW_uPCba.esm.js";
4
+ import "./BrowserTimerProvider-BfL0cWbj.esm.js";
5
+ import { t as emailMachine } from "./emailStateMachine-vD2VtYZM.esm.js";
6
+ import { t as createEmailManager } from "./emailManager-BNmWTggA.esm.js";
7
7
 
8
8
  export { createEmailManager, emailMachine };
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BSP6Ksh5.esm.js";
2
- import { a as createActor, o as createManager } from "./xstate.esm-BR_welYq.esm.js";
3
- import { t as emailMachine } from "./emailStateMachine-CQa3EMhA.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
2
+ import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
3
+ import { t as emailMachine } from "./emailStateMachine-vD2VtYZM.esm.js";
4
4
 
5
5
  //#region src/modules/email/emailActor.ts
6
6
  function createEmailActor(options) {
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-B6JdYK1C.js";
2
- import { t as ActorRefFrom } from "./Actor-D5JNToUH.js";
1
+ import { t as Manager } from "./Manager-BzPNdMJn.js";
2
+ import { t as ActorRefFrom } from "./Actor-iMyH_hBY.js";
3
3
 
4
4
  //#region src/modules/email/types.d.ts
5
5
 
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-DTKYcfzy.esm.js";
2
- import { _ as endpoints } from "./events-BSP6Ksh5.esm.js";
3
- import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR_welYq.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BRXIpp_U.esm.js";
1
+ import { t as api } from "./api-CGdjmBzR.esm.js";
2
+ import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
3
+ import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BfL0cWbj.esm.js";
5
5
 
6
6
  //#region src/modules/email/emailServices.ts
7
7
  async function fetchEmail(signal) {
@@ -1,4 +1,4 @@
1
- import { i as isApiConfigured, r as getToken, t as api } from "./api-DTKYcfzy.esm.js";
1
+ import { i as isApiConfigured, r as getToken, t as api } from "./api-CGdjmBzR.esm.js";
2
2
 
3
3
  //#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
4
4
  function getTimestamp() {
@@ -1,4 +1,4 @@
1
- import "./api-DTKYcfzy.esm.js";
2
- import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, g as subscribeEvent, h as flushEventQueue, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened } from "./events-BSP6Ksh5.esm.js";
1
+ import "./api-CGdjmBzR.esm.js";
2
+ import { a as videoSelfieEvents, c as elementClicked, d as screenClosed, f as screenEvent, g as subscribeEvent, h as flushEventQueue, i as tutorialScreenNamesMapper, l as moduleClosed, m as addEvent, n as eventModuleNames, p as screenOpened, r as eventScreenNames, s as captureAttemptFinished, t as cameraScreenNamesMapper, u as moduleOpened } from "./events-B3HfNWqp.esm.js";
3
3
 
4
4
  export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, flushEventQueue, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
@@ -1,18 +1,18 @@
1
- import "./warmup-DhX_C6wK.js";
2
- import "./Manager-B6JdYK1C.js";
3
- import { r as fromPromise } from "./StateMachine-BBuIgsHT.js";
4
- import { n as createActor } from "./Actor-D5JNToUH.js";
5
- import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-DhKU7cW9.js";
6
- import "./camera-BFs5UHwW.js";
7
- import "./types-BPP_nJ2g.js";
8
- import "./types-C1lmcLat.js";
9
- import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-Clz07wkf.js";
10
- import "./types-bi1Axaq2.js";
11
- import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-DV5d7owu.js";
12
- import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-DrsjKwg6.js";
13
- import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-mkgZ1sR6.js";
14
- import { C as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-4tf9GZ-h.js";
15
- import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-OiAoV4_y.js";
1
+ import "./warmup-C5bT21Jo.js";
2
+ import "./Manager-BzPNdMJn.js";
3
+ import { r as fromPromise } from "./StateMachine-DIeoDJ7r.js";
4
+ import { n as createActor } from "./Actor-iMyH_hBY.js";
5
+ import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-BBwp70tn.js";
6
+ import "./camera-DdgjYGQh.js";
7
+ import "./types-vklwHgIM.js";
8
+ import "./types-DR5Xxm-c.js";
9
+ import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-CNR9-7As.js";
10
+ import "./types-Bo7LR34d.js";
11
+ import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-B7XmNptL.js";
12
+ import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-BuWdnIab.js";
13
+ import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-DT0plT1F.js";
14
+ import { C as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-D1MiNNuR.js";
15
+ import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BxWESUBK.js";
16
16
 
17
17
  //#region src/modules/authentication/authenticationUploadService.d.ts
18
18
  type AuthenticationUploadResponse = {
@@ -1,36 +1,36 @@
1
- import "./BaseWasmProvider-ri-WB2II.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-BvXiqQSQ.esm.js";
3
- import "./api-DTKYcfzy.esm.js";
4
- import "./events-BSP6Ksh5.esm.js";
5
- import { a as IpifyProvider, o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-C3psgB0o.esm.js";
6
- import "./BrowserEnvironmentProvider-DHMvtWIH.esm.js";
7
- import "./browserSimulation-_EAOWiA1.esm.js";
8
- import { a as createActor, i as fromPromise } from "./xstate.esm-BR_welYq.esm.js";
9
- import "./faceCaptureManagerFactory-Dr5TSw6i.esm.js";
10
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-B5M-3JVi.esm.js";
11
- import "./recordingService-Chf_ClDh.esm.js";
12
- import "./deepsightService-BgvhDdse.esm.js";
13
- import "./camera-BKFhs1qx.esm.js";
14
- import "./getBrowser-BBXR_Qw-.esm.js";
15
- import "./stats-CdUiON-w.esm.js";
16
- import "./MotionSensorProvider-BROkQLhB.esm.js";
17
- import "./permissionServices-DKkY9SGA.esm.js";
18
- import "./platform-BP2TY6mD.esm.js";
19
- import "./ITimerCapability-CCVfd2zh.esm.js";
20
- import "./backCameraStream-p9UjczGK.esm.js";
21
- import "./getDeviceClass-B1VQriq2.esm.js";
22
- import { t as faceCaptureMachine } from "./faceCaptureSetup-TT4s3AkW.esm.js";
23
- import "./authenticationStateMachine-DsePlR1o.esm.js";
24
- import { n as createAuthenticationManagerFromActor } from "./authenticationManager-k9cC-jvW.esm.js";
25
- import "./BrowserTimerProvider-BRXIpp_U.esm.js";
26
- import "./emailStateMachine-CQa3EMhA.esm.js";
27
- import { n as createEmailManagerFromActor } from "./emailManager-CeOaYSt0.esm.js";
28
- import "./selfieStateMachine-DrehcPoi.esm.js";
29
- import { n as createSelfieManagerFromActor } from "./selfieManager-D3MbSLB7.esm.js";
30
- import "./idCaptureStateMachine-Boqx6C9c.esm.js";
31
- import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-C-zoK9OY.esm.js";
32
- import "./phoneStateMachine-BeOW6-sK.esm.js";
33
- import { n as createPhoneManagerFromActor } from "./phoneManager-DGBqKLwU.esm.js";
1
+ import "./BaseWasmProvider-DFM6aa1Z.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-CYe0Xlh-.esm.js";
3
+ import "./api-CGdjmBzR.esm.js";
4
+ import "./events-B3HfNWqp.esm.js";
5
+ import { a as IpifyProvider, o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-D2s2kUoa.esm.js";
6
+ import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
7
+ import "./browserSimulation-D9FTZt0Z.esm.js";
8
+ import { a as createActor, i as fromPromise } from "./xstate.esm-DW_uPCba.esm.js";
9
+ import "./faceCaptureManagerFactory-odfjA0d8.esm.js";
10
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Dp9k9EzW.esm.js";
11
+ import "./recordingService-BNOxJMAM.esm.js";
12
+ import "./deepsightService-B14izXzw.esm.js";
13
+ import "./camera-C4T2nh2F.esm.js";
14
+ import "./getBrowser-DR_WEE3I.esm.js";
15
+ import "./stats-D0m-GAIR.esm.js";
16
+ import "./MotionSensorProvider-Bi6DuLLP.esm.js";
17
+ import "./permissionServices-ElKNJ-9J.esm.js";
18
+ import "./platform-B81QvKKx.esm.js";
19
+ import "./ITimerCapability-_YySEUj7.esm.js";
20
+ import "./backCameraStream-amVBjSd6.esm.js";
21
+ import "./getDeviceClass-CkdEWjAM.esm.js";
22
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CdYYDgN6.esm.js";
23
+ import "./authenticationStateMachine-CAvcWS_b.esm.js";
24
+ import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CwWzwxMp.esm.js";
25
+ import "./BrowserTimerProvider-BfL0cWbj.esm.js";
26
+ import "./emailStateMachine-vD2VtYZM.esm.js";
27
+ import { n as createEmailManagerFromActor } from "./emailManager-BNmWTggA.esm.js";
28
+ import "./selfieStateMachine-B88Q3SFX.esm.js";
29
+ import { n as createSelfieManagerFromActor } from "./selfieManager-C6pl5f2B.esm.js";
30
+ import "./idCaptureStateMachine-CYPfS8iO.esm.js";
31
+ import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-_e78xuEM.esm.js";
32
+ import "./phoneStateMachine-BMTT0tvu.esm.js";
33
+ import { n as createPhoneManagerFromActor } from "./phoneManager-CRVt9rvr.esm.js";
34
34
 
35
35
  //#region src/internal/fingerprint/fingerprintApi.ts
36
36
  async function getFingerprint(disableIpify) {
@@ -1,4 +1,4 @@
1
- import { t as Manager } from "./Manager-B6JdYK1C.js";
1
+ import { t as Manager } from "./Manager-BzPNdMJn.js";
2
2
 
3
3
  //#region src/modules/face-match/types.d.ts
4
4
 
@@ -1,7 +1,7 @@
1
- import "./api-DTKYcfzy.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BSP6Ksh5.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-BR_welYq.esm.js";
4
- import { t as faceMatchMachine } from "./faceMatchStateMachine-B_CXt9NM.esm.js";
1
+ import "./api-CGdjmBzR.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-DptHGpKT.esm.js";
5
5
 
6
6
  //#region src/modules/face-match/faceMatchActor.ts
7
7
  function createFaceMatchActor(options) {
@@ -1,11 +1,11 @@
1
- import { n as WasmPipeline } from "./warmup-DhX_C6wK.js";
2
- import { t as Manager } from "./Manager-B6JdYK1C.js";
3
- import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BBuIgsHT.js";
4
- import { t as ActorRefFrom } from "./Actor-D5JNToUH.js";
5
- import { t as CameraStream } from "./camera-BFs5UHwW.js";
6
- import { r as FlowModuleConfig, t as Flow } from "./types-C1lmcLat.js";
7
- import { a as IWasmUtilCapability, c as IMLProviderCapability, d as IRecordingCapability, i as IncodeCanvas, l as MLProviderConfig, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-Clz07wkf.js";
8
- import { n as PermissionStatus, t as PermissionResult } from "./types-bi1Axaq2.js";
1
+ import { n as WasmPipeline } from "./warmup-C5bT21Jo.js";
2
+ import { t as Manager } from "./Manager-BzPNdMJn.js";
3
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-DIeoDJ7r.js";
4
+ import { t as ActorRefFrom } from "./Actor-iMyH_hBY.js";
5
+ import { t as CameraStream } from "./camera-DdgjYGQh.js";
6
+ import { i as FlowModuleConfig, n as Flow } from "./types-DR5Xxm-c.js";
7
+ import { a as IWasmUtilCapability, c as IMLProviderCapability, d as IRecordingCapability, i as IncodeCanvas, l as MLProviderConfig, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-CNR9-7As.js";
8
+ import { n as PermissionStatus, t as PermissionResult } from "./types-Bo7LR34d.js";
9
9
 
10
10
  //#region src/modules/authentication/authenticationStateMachine.d.ts
11
11
  declare const _authenticationMachine: AnyStateMachine;
@@ -1,5 +1,5 @@
1
- import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-BSP6Ksh5.esm.js";
2
- import { o as createManager } from "./xstate.esm-BR_welYq.esm.js";
1
+ import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-B3HfNWqp.esm.js";
2
+ import { o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
3
3
 
4
4
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
5
5
  function getPermissionStatus(snapshot) {
@@ -1,7 +1,7 @@
1
- import { r as getToken } from "./api-DTKYcfzy.esm.js";
2
- import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR_welYq.esm.js";
3
- import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-Chf_ClDh.esm.js";
4
- import { n as requestPermission, t as checkPermission } from "./permissionServices-DKkY9SGA.esm.js";
1
+ import { r as getToken } from "./api-CGdjmBzR.esm.js";
2
+ import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
3
+ import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-BNOxJMAM.esm.js";
4
+ import { n as requestPermission, t as checkPermission } from "./permissionServices-ElKNJ-9J.esm.js";
5
5
 
6
6
  //#region src/internal/faceCapture/faceCaptureSetup.ts
7
7
  const getAttemptsFromConfig = (config) => {
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-DTKYcfzy.esm.js";
2
- import { _ as endpoints } from "./events-BSP6Ksh5.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR_welYq.esm.js";
1
+ import { t as api } from "./api-CGdjmBzR.esm.js";
2
+ import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
4
4
 
5
5
  //#region src/modules/face-match/faceMatchServices.ts
6
6
  /**
package/dist/flow.d.ts CHANGED
@@ -1,14 +1,16 @@
1
- import { n as WasmPipeline } from "./warmup-DhX_C6wK.js";
2
- import { t as Manager } from "./Manager-B6JdYK1C.js";
3
- import { t as AnyStateMachine } from "./StateMachine-BBuIgsHT.js";
4
- import "./camera-BFs5UHwW.js";
5
- import "./types-BPP_nJ2g.js";
6
- import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-C1lmcLat.js";
7
- import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-C9IqrsDT.js";
8
- import { t as ModuleRegistry } from "./types-Dth4P_pY.js";
1
+ import { n as WasmPipeline } from "./warmup-C5bT21Jo.js";
2
+ import { t as Manager } from "./Manager-BzPNdMJn.js";
3
+ import { t as AnyStateMachine } from "./StateMachine-DIeoDJ7r.js";
4
+ import "./camera-DdgjYGQh.js";
5
+ import "./types-vklwHgIM.js";
6
+ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-DR5Xxm-c.js";
7
+ import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-CNpeRlnP.js";
8
+ import { t as ModuleRegistry } from "./types-BoV6HZZE.js";
9
9
 
10
10
  //#region src/modules/flow/flowUtils.d.ts
11
-
11
+ type NormalizeFlowModulesOptions = {
12
+ enableHome?: boolean;
13
+ };
12
14
  /**
13
15
  * Analyzes a flow configuration and returns the WASM pipelines needed.
14
16
  * Use this to conditionally warmup WASM only when required by the flow.
@@ -34,10 +36,13 @@ declare function getRequiredWasmPipelines(flow: Flow): WasmPipeline[];
34
36
  * - thirdId is deprecated and ignored; the flow continues to the next step
35
37
  * - Bare ID following TUTORIAL_ID is dropped (already merged)
36
38
  */
37
- declare function normalizeFlowModules(modules: FlowModule[]): FlowModule[];
39
+ declare function normalizeFlowModules(modules: FlowModule[], options?: NormalizeFlowModulesOptions): FlowModule[];
38
40
  //#endregion
39
41
  //#region src/modules/flow/flowServices.d.ts
40
- type GetFlow = (signal: AbortSignal) => Promise<Flow>;
42
+ type GetFlowOptions = {
43
+ enableHome?: boolean;
44
+ };
45
+ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
41
46
  declare const getFlow: GetFlow;
42
47
  //#endregion
43
48
  //#region src/modules/flow/flowActor.d.ts
package/dist/flow.esm.js CHANGED
@@ -1,12 +1,12 @@
1
- import "./api-DTKYcfzy.esm.js";
2
- import { o as createManagerInstrumentation } from "./events-BSP6Ksh5.esm.js";
3
- import "./session-C3psgB0o.esm.js";
4
- import "./BrowserEnvironmentProvider-DHMvtWIH.esm.js";
5
- import "./browserSimulation-_EAOWiA1.esm.js";
6
- import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-BR_welYq.esm.js";
7
- import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-aa_WK5bT.esm.js";
8
- import { t as getFinishStatus } from "./flowCompletionService-CKpuKBHj.esm.js";
9
- import { t as runChildModule } from "./runChildModule-BplQ84Fu.esm.js";
1
+ import "./api-CGdjmBzR.esm.js";
2
+ import { o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
3
+ import "./session-D2s2kUoa.esm.js";
4
+ import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
5
+ import "./browserSimulation-D9FTZt0Z.esm.js";
6
+ import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
7
+ import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-D_yVNocO.esm.js";
8
+ import { t as getFinishStatus } from "./flowCompletionService-BhzS182Y.esm.js";
9
+ import { t as runChildModule } from "./runChildModule-eBqC5Z25.esm.js";
10
10
 
11
11
  //#region src/modules/flow/flowStateMachine.ts
12
12
  const flowMachine = setup({
@@ -1,5 +1,5 @@
1
- import { t as api } from "./api-DTKYcfzy.esm.js";
2
- import { _ as endpoints } from "./events-BSP6Ksh5.esm.js";
1
+ import { t as api } from "./api-CGdjmBzR.esm.js";
2
+ import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
3
3
 
4
4
  //#region src/modules/flow/flowCompletionService.ts
5
5
  const getFinishStatus = async (flowId, signal) => {
@@ -1,6 +1,6 @@
1
- import { t as api } from "./api-DTKYcfzy.esm.js";
2
- import { _ as endpoints } from "./events-BSP6Ksh5.esm.js";
3
- import { n as getSessionFingerprintResult, r as initializeSession } from "./session-C3psgB0o.esm.js";
1
+ import { t as api } from "./api-CGdjmBzR.esm.js";
2
+ import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
3
+ import { n as getSessionFingerprintResult, r as initializeSession } from "./session-D2s2kUoa.esm.js";
4
4
 
5
5
  //#region src/modules/flow/flowUtils.ts
6
6
  const WASM_MODULE_PIPELINES = {
@@ -44,8 +44,8 @@ function getRequiredWasmPipelines(flow) {
44
44
  * - thirdId is deprecated and ignored; the flow continues to the next step
45
45
  * - Bare ID following TUTORIAL_ID is dropped (already merged)
46
46
  */
47
- function normalizeFlowModules(modules) {
48
- return modules.flatMap((module, idx, arr) => {
47
+ function normalizeFlowModules(modules, options = {}) {
48
+ const merged = modules.flatMap((module, idx, arr) => {
49
49
  if (module.key === "TUTORIAL_ID") {
50
50
  const idConfig = module.configuration;
51
51
  const result = [{
@@ -65,6 +65,11 @@ function normalizeFlowModules(modules) {
65
65
  if (module.key === "ID" && prev?.key === "TUTORIAL_ID") return [];
66
66
  return [module];
67
67
  });
68
+ if (options.enableHome !== true || merged.some((module) => module.key === "HOME")) return merged;
69
+ return [{
70
+ key: "HOME",
71
+ configuration: {}
72
+ }, ...merged];
68
73
  }
69
74
 
70
75
  //#endregion
@@ -111,16 +116,17 @@ function prependMandatoryConsent(flow) {
111
116
  flowModules: [mandatoryConsentModule, ...flow.flowModules]
112
117
  };
113
118
  }
114
- const getFlow = async (signal) => {
119
+ const getFlow = async (signal, options = {}) => {
115
120
  await initializeSession({ signal }).catch(() => void 0);
116
121
  const res = await api.get(endpoints.flow, { signal });
117
122
  if (!res.ok) throw new Error(`GET /flow failed: ${res.status} ${res.statusText}`);
118
123
  const data = res.data;
119
- const normalizedModules = normalizeFlowModules(data.flowModules ?? []);
120
- return prependMandatoryConsent({
121
- ...data,
124
+ const flow = prependMandatoryConsent(data);
125
+ const normalizedModules = normalizeFlowModules(flow.flowModules ?? [], options);
126
+ return {
127
+ ...flow,
122
128
  flowModules: normalizedModules
123
- });
129
+ };
124
130
  };
125
131
 
126
132
  //#endregion
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-B6JdYK1C.js";
2
- import "./Actor-D5JNToUH.js";
1
+ import { t as Manager } from "./Manager-BzPNdMJn.js";
2
+ import "./Actor-iMyH_hBY.js";
3
3
 
4
4
  //#region ../infra/src/capabilities/IGeolocationCapability.d.ts
5
5
  type GeolocationCoords = {
@@ -1,8 +1,8 @@
1
- import "./api-DTKYcfzy.esm.js";
2
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-BSP6Ksh5.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-BR_welYq.esm.js";
4
- import "./platform-BP2TY6mD.esm.js";
5
- import { t as geolocationMachine } from "./geolocationStateMachine-_H3mSlsR.esm.js";
1
+ import "./api-CGdjmBzR.esm.js";
2
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import "./platform-B81QvKKx.esm.js";
5
+ import { t as geolocationMachine } from "./geolocationStateMachine-DY8eWROq.esm.js";
6
6
 
7
7
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
8
8
  var BrowserGeolocationProvider = class {
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-DTKYcfzy.esm.js";
2
- import { _ as endpoints } from "./events-BSP6Ksh5.esm.js";
3
- import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR_welYq.esm.js";
4
- import { r as isIOS, t as isAndroid } from "./platform-BP2TY6mD.esm.js";
1
+ import { t as api } from "./api-CGdjmBzR.esm.js";
2
+ import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
3
+ import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import { r as isIOS, t as isAndroid } from "./platform-B81QvKKx.esm.js";
5
5
 
6
6
  //#region src/modules/geolocation/geolocationServices.ts
7
7
  async function addGeolocation(params, signal) {
@@ -1,4 +1,4 @@
1
- import { n as getDeviceInfo } from "./getBrowser-BBXR_Qw-.esm.js";
1
+ import { n as getDeviceInfo } from "./getBrowser-DR_WEE3I.esm.js";
2
2
 
3
3
  //#region src/internal/device/getDeviceClass.ts
4
4
  function getDeviceClass() {
@@ -1,5 +1,5 @@
1
- import { t as Manager } from "./Manager-B6JdYK1C.js";
2
- import "./Actor-D5JNToUH.js";
1
+ import { t as Manager } from "./Manager-BzPNdMJn.js";
2
+ import "./Actor-iMyH_hBY.js";
3
3
 
4
4
  //#region src/modules/government-validation/types.d.ts
5
5
  type GovernmentValidationConfig = {
@@ -1,8 +1,8 @@
1
- import "./api-DTKYcfzy.esm.js";
2
- import { o as createManagerInstrumentation } from "./events-BSP6Ksh5.esm.js";
3
- import { a as createActor, o as createManager } from "./xstate.esm-BR_welYq.esm.js";
4
- import "./BrowserTimerProvider-BRXIpp_U.esm.js";
5
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-C9DWKoT4.esm.js";
1
+ import "./api-CGdjmBzR.esm.js";
2
+ import { o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
3
+ import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import "./BrowserTimerProvider-BfL0cWbj.esm.js";
5
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DCqdkm8Z.esm.js";
6
6
 
7
7
  //#region src/modules/government-validation/governmentValidationActor.ts
8
8
  function createGovernmentValidationActor(options) {
@@ -1,7 +1,7 @@
1
- import { t as api } from "./api-DTKYcfzy.esm.js";
2
- import { _ as endpoints } from "./events-BSP6Ksh5.esm.js";
3
- import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR_welYq.esm.js";
4
- import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BRXIpp_U.esm.js";
1
+ import { t as api } from "./api-CGdjmBzR.esm.js";
2
+ import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
3
+ import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
4
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BfL0cWbj.esm.js";
5
5
 
6
6
  //#region src/modules/government-validation/governmentValidationServices.ts
7
7
  async function processGovernmentValidation(signal) {