@incodetech/core 0.0.0-dev-20261201-b41183a2 → 0.0.0-dev-20261201-e37652f8

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 (191) hide show
  1. package/dist/{FaceDetectionProvider-DILvXMxQ.esm.js → FaceDetectionProvider-DQYbHLxC.esm.js} +7 -7
  2. package/dist/{addressSearch-BJ711RHG.esm.js → addressSearch-gginelz3.esm.js} +29 -27
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/antifraud.esm.js +2 -2
  5. package/dist/{antifraudManager-DRMBLSh7.esm.js → antifraudManager-B673OXCo.esm.js} +2 -2
  6. package/dist/{antifraudStateMachine-Bi0m60oV.esm.js → antifraudStateMachine-C_d7-TUA.esm.js} +1 -1
  7. package/dist/{api-B58edv6M.esm.js → api-CsXnB7m6.esm.js} +1 -0
  8. package/dist/{apiError-B80OYJHb.esm.js → apiError-BRiJu_rv.esm.js} +1 -1
  9. package/dist/{attemptCarry-CxiYlUAO.esm.js → attemptCarry-8gUYc3pL.esm.js} +1 -1
  10. package/dist/authentication.d.ts +3 -3
  11. package/dist/authentication.esm.js +2 -2
  12. package/dist/{authenticationManager-CXDKsr-j.esm.js → authenticationManager-CrBlRkAd.esm.js} +4 -4
  13. package/dist/{authenticationManager-C_ttJLGU.d.ts → authenticationManager-Cv_jCMGJ.d.ts} +1 -1
  14. package/dist/{authenticationStateMachine-CjheAavc.esm.js → authenticationStateMachine-DLwEyCeH.esm.js} +3 -3
  15. package/dist/certificate-issuance.esm.js +2 -2
  16. package/dist/{certificateIssuanceManager-DGzHjp2j.esm.js → certificateIssuanceManager-D-Dm90F3.esm.js} +2 -2
  17. package/dist/{certificateIssuanceStateMachine-DpflnS6P.esm.js → certificateIssuanceStateMachine-CBNw9Niu.esm.js} +1 -1
  18. package/dist/consent.d.ts +1 -1
  19. package/dist/consent.esm.js +2 -2
  20. package/dist/{consentManager-Bx_osBME.d.ts → consentManager-Bow34QP_.d.ts} +13 -13
  21. package/dist/{consentManager-CyoeiABc.esm.js → consentManager-DQ1uiNhr.esm.js} +2 -2
  22. package/dist/{consentStateMachine-BTUrAslr.esm.js → consentStateMachine-Cb7dKk_1.esm.js} +1 -1
  23. package/dist/cross-document-data-match.esm.js +1 -1
  24. package/dist/{crossDocumentDataMatchManager-cmQmp7Bi.esm.js → crossDocumentDataMatchManager-CeeEmCV1.esm.js} +2 -2
  25. package/dist/curp-validation.d.ts +1 -1
  26. package/dist/curp-validation.esm.js +2 -2
  27. package/dist/{curpValidationManager-BFPZiliY.d.ts → curpValidationManager-DFWjZq3i.d.ts} +1 -1
  28. package/dist/{curpValidationManager-EW44fVpH.esm.js → curpValidationManager-vgHG8gob.esm.js} +2 -2
  29. package/dist/{curpValidationStateMachine-BFkt90Zs.esm.js → curpValidationStateMachine-DaSzh9OA.esm.js} +2 -2
  30. package/dist/custom-fields.esm.js +1 -1
  31. package/dist/custom-watchlist.esm.js +2 -2
  32. package/dist/{customFieldsManager-DPMBJrcH.esm.js → customFieldsManager-BuEt-nm4.esm.js} +2 -2
  33. package/dist/{customWatchlistManager-DiYpPjZx.esm.js → customWatchlistManager-C1z0B5NU.esm.js} +2 -2
  34. package/dist/{customWatchlistStateMachine-D7VxQggF.esm.js → customWatchlistStateMachine-DvwFHjkC.esm.js} +1 -1
  35. package/dist/{deepsightCaptureConfig-22yGNhzp.esm.js → deepsightCaptureConfig-BVJANeRn.esm.js} +2 -2
  36. package/dist/{deepsightLoader-DAvHxEmQ.esm.js → deepsightLoader-C6nKqY9Q.esm.js} +4 -4
  37. package/dist/{desktopCameraElection-DKHWoXIZ.esm.js → desktopCameraElection-BAq-Kaiq.esm.js} +5 -5
  38. package/dist/document-capture.d.ts +1 -1
  39. package/dist/document-capture.esm.js +2 -2
  40. package/dist/document-signature.esm.js +2 -2
  41. package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +4 -4
  42. package/dist/{documentCaptureManager-ytELw-yO.esm.js → documentCaptureManager-DoHy82WC.esm.js} +2 -2
  43. package/dist/{documentCaptureStateMachine-lKG1IVEM.esm.js → documentCaptureStateMachine-C_HQH7vA.esm.js} +2 -2
  44. package/dist/{documentSignatureStateMachine-BVv6yTDC.esm.js → documentSignatureStateMachine-Btlg3q7j.esm.js} +3 -3
  45. package/dist/dynamic-forms.esm.js +2 -2
  46. package/dist/{dynamicFormsManager-L9BCGhY3.esm.js → dynamicFormsManager-SbEUnFoF.esm.js} +2 -2
  47. package/dist/{dynamicFormsStateMachine-UeIgfIgO.esm.js → dynamicFormsStateMachine-Dxv36mAP.esm.js} +2 -2
  48. package/dist/ekyb.d.ts +1 -1
  49. package/dist/ekyb.esm.js +2 -2
  50. package/dist/{ekybManager-BNG13W2D.esm.js → ekybManager-xhoOX9O9.esm.js} +2 -2
  51. package/dist/{ekybStateMachine-qSw4IjCe.esm.js → ekybStateMachine-CCjUH0j3.esm.js} +184 -57
  52. package/dist/ekyc-prefill.d.ts +1 -1
  53. package/dist/ekyc-prefill.esm.js +2 -2
  54. package/dist/ekyc.d.ts +3 -0
  55. package/dist/ekyc.esm.js +3 -3
  56. package/dist/{ekycManager-Bt0FZlZO.esm.js → ekycManager-DrGuK0kT.esm.js} +2 -2
  57. package/dist/{ekycPrefillManager-C5DMDJEA.esm.js → ekycPrefillManager-C9kdwCC6.esm.js} +2 -2
  58. package/dist/{ekycPrefillManager-D-8VY48A.d.ts → ekycPrefillManager-Di6aMx68.d.ts} +8 -8
  59. package/dist/{ekycPrefillStateMachine-66IiDSxQ.esm.js → ekycPrefillStateMachine-DiQifkkd.esm.js} +9 -88
  60. package/dist/{ekycStateMachine-lo3GvfpV.esm.js → ekycStateMachine-BmMdLe2G.esm.js} +299 -126
  61. package/dist/{ekycUtils-BnTyeA-_.esm.js → ekycUtils-DfBNTcvX.esm.js} +41 -5
  62. package/dist/electronic-signature.esm.js +1 -1
  63. package/dist/{electronicSignatureManager-Dc0_ymIt.esm.js → electronicSignatureManager-C6liTNbu.esm.js} +3 -3
  64. package/dist/email.esm.js +2 -2
  65. package/dist/{emailManager-BBdRYLtH.esm.js → emailManager-CUX2saAB.esm.js} +2 -2
  66. package/dist/{emailStateMachine-DO7lWYvn.esm.js → emailStateMachine-BzWHKLtW.esm.js} +2 -2
  67. package/dist/{events-PUWyizJn.esm.js → events-Dlkhhx5O.esm.js} +1 -1
  68. package/dist/events.esm.js +1 -1
  69. package/dist/extensibility.d.ts +14 -14
  70. package/dist/extensibility.esm.js +35 -35
  71. package/dist/face-match.esm.js +2 -2
  72. package/dist/{faceCaptureManagerFactory-D0y15MK_.d.ts → faceCaptureManagerFactory-2oqROMSB.d.ts} +3 -3
  73. package/dist/{faceCaptureManagerFactory-DePLuBnT.esm.js → faceCaptureManagerFactory-OL8BWaIW.esm.js} +3 -3
  74. package/dist/{faceCaptureSetup-C8qfvh2x.esm.js → faceCaptureSetup-DQVtmb1q.esm.js} +10 -10
  75. package/dist/{faceMatchManager-nBvS9z0o.esm.js → faceMatchManager-BzaXiW4H.esm.js} +2 -2
  76. package/dist/{faceMatchStateMachine-48O8j_Lx.esm.js → faceMatchStateMachine-BItwQ_yA.esm.js} +2 -2
  77. package/dist/{feature-management-srznX8Iz.esm.js → feature-management-D_T-MG_i.esm.js} +1 -1
  78. package/dist/feature-management.esm.js +1 -1
  79. package/dist/field-comparison.esm.js +1 -1
  80. package/dist/{fieldComparisonManager-B1ipvtnp.esm.js → fieldComparisonManager-CzX6IhGd.esm.js} +2 -2
  81. package/dist/fiscal-qr.esm.js +1 -1
  82. package/dist/{fiscalQrManager-yecjuXV4.esm.js → fiscalQrManager-Dg6Mp58y.esm.js} +2 -2
  83. package/dist/flow-events.d.ts +1 -1
  84. package/dist/flow.d.ts +31 -9
  85. package/dist/flow.esm.js +11 -7
  86. package/dist/{flowCompletionService-Cba59yFV.esm.js → flowCompletionService-L0J63ui-.esm.js} +2 -2
  87. package/dist/{flowServices-B33MhjQM.esm.js → flowServices-3OXrEqDE.esm.js} +25 -21
  88. package/dist/formDefinitionsRollout-B-c4yO2z.esm.js +30 -0
  89. package/dist/{formErrors-lSfh7Y8J.esm.js → formErrors-kpskZLNT.esm.js} +39 -180
  90. package/dist/geolocation.d.ts +1 -1
  91. package/dist/geolocation.esm.js +2 -2
  92. package/dist/{geolocationManager-C7cHHTkd.esm.js → geolocationManager-CREfQNgO.esm.js} +2 -2
  93. package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
  94. package/dist/{geolocationStateMachine-QJqoWT7E.esm.js → geolocationStateMachine-D9_bBr19.esm.js} +3 -3
  95. package/dist/government-validation.esm.js +2 -2
  96. package/dist/{governmentValidationManager-0-L21hu6.esm.js → governmentValidationManager-B7lIuL4r.esm.js} +2 -2
  97. package/dist/{governmentValidationStateMachine-BFIcq3UB.esm.js → governmentValidationStateMachine-BuW6l3ah.esm.js} +1 -1
  98. package/dist/home.d.ts +1 -1
  99. package/dist/home.esm.js +1 -1
  100. package/dist/http.esm.js +1 -1
  101. package/dist/id-ocr.d.ts +1 -1
  102. package/dist/id-ocr.esm.js +2 -2
  103. package/dist/id-selfie-flow.d.ts +1 -1
  104. package/dist/id-selfie-flow.esm.js +6 -6
  105. package/dist/id-verification.esm.js +2 -2
  106. package/dist/id.d.ts +2 -2
  107. package/dist/id.esm.js +3 -3
  108. package/dist/{idCaptureManager-3YmXwvvY.esm.js → idCaptureManager-B5ZN7scK.esm.js} +6 -6
  109. package/dist/{idCaptureManager-B72fNOKa.d.ts → idCaptureManager-BMsGPjcf.d.ts} +2 -2
  110. package/dist/{idCaptureServices-j-hB9ROq.esm.js → idCaptureServices-7zZ457LW.esm.js} +4 -4
  111. package/dist/{idCaptureStateMachine-DcQQvjLv.esm.js → idCaptureStateMachine-FP4j-qeT.esm.js} +15 -15
  112. package/dist/{idOcrManager-CNGVEZ7B.d.ts → idOcrManager-C0C7lFGd.d.ts} +1 -1
  113. package/dist/{idOcrManager-bjBLjrEE.esm.js → idOcrManager-C9C8UaPr.esm.js} +2 -2
  114. package/dist/{idOcrStateMachine-D5ifJ1B8.esm.js → idOcrStateMachine-DANDVn-6.esm.js} +1 -1
  115. package/dist/{idVerificationManager-C8Ja-vKq.esm.js → idVerificationManager-B_6wwpeT.esm.js} +2 -2
  116. package/dist/{idVerificationStateMachine-BMnfZZli.esm.js → idVerificationStateMachine-MjQmD3yQ.esm.js} +1 -1
  117. package/dist/identity-reuse.d.ts +2 -2
  118. package/dist/identity-reuse.esm.js +2 -2
  119. package/dist/identity-search.esm.js +1 -1
  120. package/dist/{identityReuseManager-D_jiHp1n.d.ts → identityReuseManager-BE6LHcuP.d.ts} +157 -21
  121. package/dist/{identityReuseManager-B5BWAleT.esm.js → identityReuseManager-DWECWIiZ.esm.js} +7 -3
  122. package/dist/{identityReuseStateMachine-Cuggm1UP.esm.js → identityReuseStateMachine-nBv0KUJC.esm.js} +73 -5
  123. package/dist/{index-O5g5kKdI.d.ts → index-k1LUfkAo.d.ts} +1 -1
  124. package/dist/index.esm.js +1 -1
  125. package/dist/kyb-checks.esm.js +2 -2
  126. package/dist/{kybChecksManager-BorQeoKZ.esm.js → kybChecksManager-tUsFKBCN.esm.js} +1 -1
  127. package/dist/{kybChecksStateMachine-kuV8xPAu.esm.js → kybChecksStateMachine-D1q4K7Xr.esm.js} +4 -4
  128. package/dist/mandatory-consent.d.ts +2 -2
  129. package/dist/mandatory-consent.esm.js +2 -2
  130. package/dist/{mandatoryConsentManager-C6jjFptX.d.ts → mandatoryConsentManager-De9ZX6o4.d.ts} +10 -10
  131. package/dist/{mandatoryConsentManager-FfgHdPYw.esm.js → mandatoryConsentManager-S8rgqCld.esm.js} +2 -2
  132. package/dist/{mandatoryConsentStateMachine-CXuYC3qR.esm.js → mandatoryConsentStateMachine-BtE4heVc.esm.js} +1 -1
  133. package/dist/{multipartRecordingService-CFmOUGQt.esm.js → multipartRecordingService-C8v02l56.esm.js} +1 -1
  134. package/dist/phone.esm.js +2 -2
  135. package/dist/{phoneManager-oIMdbeLG.esm.js → phoneManager-uQEAWKlO.esm.js} +2 -2
  136. package/dist/{phoneServices-Dk4j3NhI.esm.js → phoneServices-XoT74eS0.esm.js} +1 -1
  137. package/dist/{phoneStateMachine-Cu3y7ewi.esm.js → phoneStateMachine-B4W4CSqf.esm.js} +2 -2
  138. package/dist/{processFaceMatch-CHeI0DEt.esm.js → processFaceMatch-CpQYLU-y.esm.js} +1 -1
  139. package/dist/qe-signature.esm.js +1 -1
  140. package/dist/{recordingService-RHW4CWxh.esm.js → recordingService-OcyZO_w6.esm.js} +3 -3
  141. package/dist/redirect-to-mobile.esm.js +2 -2
  142. package/dist/{redirectToMobileManager-DmrPLTLG.esm.js → redirectToMobileManager-UQZkhZFB.esm.js} +2 -2
  143. package/dist/{redirectToMobileStateMachine-OeQDdgsK.esm.js → redirectToMobileStateMachine-D1wp--wG.esm.js} +1 -1
  144. package/dist/{runChildModule-pJrB5rsq.esm.js → runChildModule-BuZFd3Df.esm.js} +1 -1
  145. package/dist/{sdkVersion-CiTnubuK.esm.js → sdkVersion-BY8g-EEL.esm.js} +1 -1
  146. package/dist/selfie.d.ts +3 -3
  147. package/dist/selfie.esm.js +8 -8
  148. package/dist/{selfieErrorUtils-UJWNVxvr.esm.js → selfieErrorUtils-DIVWh0ih.esm.js} +1 -1
  149. package/dist/{selfieManager-B9nn8qKH.esm.js → selfieManager-DQ5xB8y6.esm.js} +4 -4
  150. package/dist/{selfieManager-C44cA6cA.d.ts → selfieManager-RgcJwpHg.d.ts} +1 -1
  151. package/dist/{selfieStateMachine-7H38L53x.esm.js → selfieStateMachine-fyNh2r31.esm.js} +3 -3
  152. package/dist/{session-BLrEehWj.esm.js → session-DKnCv6zu.esm.js} +5 -5
  153. package/dist/session.d.ts +9 -1
  154. package/dist/session.esm.js +5 -5
  155. package/dist/{sessionInitializer-DAC3I8PG.esm.js → sessionInitializer-q5b8Qwr3.esm.js} +7 -7
  156. package/dist/{setup-BajT35bZ.esm.js → setup-JGwc0kgu.esm.js} +8 -8
  157. package/dist/signature.esm.js +2 -2
  158. package/dist/{signatureManager-DRUflksL.esm.js → signatureManager-3g4_cavt.esm.js} +2 -2
  159. package/dist/{signatureStateMachine-BQZenxel.esm.js → signatureStateMachine-CkES2vVv.esm.js} +1 -1
  160. package/dist/{stats-DHu3li6G.esm.js → stats-D_gJvsTS.esm.js} +1 -1
  161. package/dist/stats.esm.js +1 -1
  162. package/dist/trim-OmrUb6mG.esm.js +297 -0
  163. package/dist/trueSight-9VsfHXFt.esm.js +1 -0
  164. package/dist/{trueSightService-BLyfduve.esm.js → trueSightService-Dx8AqgKD.esm.js} +3 -3
  165. package/dist/trust-graph.esm.js +2 -2
  166. package/dist/{trustGraphStateMachine-0Ehwried.esm.js → trustGraphStateMachine-fuYq0Cxf.esm.js} +1 -1
  167. package/dist/{types-C57lH3a8.d.ts → types-BV2Tl1wE.d.ts} +1 -1
  168. package/dist/{types-CaQV2ksk.d.ts → types-BVgTvWOP.d.ts} +1 -1
  169. package/dist/{types-DDmU-yVM.d.ts → types-DAhpyjuI.d.ts} +1 -1
  170. package/dist/{types-ujAUlvvI.d.ts → types-DH4VaTRC.d.ts} +4 -4
  171. package/dist/types-RLVmm_Hf.d.ts +6 -0
  172. package/dist/{types-ByNCQYE9.d.ts → types-YS7g_P7z.d.ts} +1 -1
  173. package/dist/uppercase-CwlIuiwR.esm.js +115 -0
  174. package/dist/video-selfie.d.ts +1 -1
  175. package/dist/video-selfie.esm.js +6 -6
  176. package/dist/{videoSelfieCameraWarmer-D4nY62Xt.esm.js → videoSelfieCameraWarmer-AoMytGBD.esm.js} +4 -4
  177. package/dist/{videoSelfieStepDetector-DAEJDeL3.d.ts → videoSelfieStepDetector-DCOmz3yk.d.ts} +2 -2
  178. package/dist/wasm.esm.js +1 -1
  179. package/dist/watchlist-for-business.esm.js +2 -2
  180. package/dist/watchlist.esm.js +2 -2
  181. package/dist/{watchlistForBusinessManager-d8kdf35n.esm.js → watchlistForBusinessManager-VDu1ypVz.esm.js} +2 -2
  182. package/dist/{watchlistForBusinessStateMachine-Y9wFmuMH.esm.js → watchlistForBusinessStateMachine-Dr85bA22.esm.js} +1 -1
  183. package/dist/{watchlistManager-D1BVrd3H.esm.js → watchlistManager-Dc9sFwZx.esm.js} +2 -2
  184. package/dist/{watchlistStateMachine-Da4p0sTE.esm.js → watchlistStateMachine-BnKGh6Kk.esm.js} +1 -1
  185. package/dist/workflow.d.ts +5 -5
  186. package/dist/workflow.esm.js +40 -40
  187. package/package.json +1 -1
  188. package/dist/definitionSource-B9WTvQb9.esm.js +0 -30
  189. package/dist/resolveForm-DaaQSVWp.esm.js +0 -146
  190. package/dist/trueSight-BdWbgUnZ.esm.js +0 -1
  191. package/dist/types-B_THBzAh.d.ts +0 -6
package/dist/flow.esm.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-DLsivQsu.esm.js";
2
- import "./events-PUWyizJn.esm.js";
2
+ import "./events-Dlkhhx5O.esm.js";
3
3
  import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
4
- import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-B33MhjQM.esm.js";
4
+ import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-3OXrEqDE.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-Cba59yFV.esm.js";
9
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-pJrB5rsq.esm.js";
8
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-L0J63ui-.esm.js";
9
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BuZFd3Df.esm.js";
10
10
  import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
11
11
  //#region src/modules/flow/noOpFlowModuleMachine.ts
12
12
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
@@ -402,6 +402,7 @@ function createBaseContext(context, isHomeContinueLoading) {
402
402
  currentStep: void 0,
403
403
  config: void 0,
404
404
  getFlow: context.getFlow,
405
+ getIdentitySearchHintProvided: context.getIdentitySearchHintProvided,
405
406
  registeredModules: context.registeredModules,
406
407
  lazyRegisteredModules: context.lazyRegisteredModules,
407
408
  currentModuleMachine: void 0,
@@ -418,6 +419,7 @@ function createBaseContext(context, isHomeContinueLoading) {
418
419
  function createInitialContext(input) {
419
420
  return createBaseContext({
420
421
  getFlow: input.getFlow,
422
+ getIdentitySearchHintProvided: input.getIdentitySearchHintProvided,
421
423
  registeredModules: input.modules ?? {},
422
424
  lazyRegisteredModules: input.lazyModules ?? {},
423
425
  getFinishStatus: input.getFinishStatus ?? getFinishStatus,
@@ -479,7 +481,7 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
479
481
  actors: {
480
482
  fetchFlow: fromPromise(async ({ input, signal }) => {
481
483
  const served = prepareFlowOcrSteps(await retryAfterReconnect(() => input.getFlow(signal), signal));
482
- const arming = armFlowPresets(served, input.canResolve);
484
+ const arming = armFlowPresets(served, input.canResolve, { identitySearchHintProvided: input.identitySearchHintProvided });
483
485
  if (arming.status === "misconfigured") return {
484
486
  flow: served,
485
487
  arming
@@ -733,7 +735,8 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
733
735
  src: "fetchFlow",
734
736
  input: ({ context }) => ({
735
737
  getFlow: context.getFlow,
736
- canResolve: (key) => canResolveModule(context, key)
738
+ canResolve: (key) => canResolveModule(context, key),
739
+ identitySearchHintProvided: context.getIdentitySearchHintProvided?.() === true
737
740
  }),
738
741
  onDone: [
739
742
  {
@@ -1247,7 +1250,8 @@ function createOrchestratedFlowActor(options) {
1247
1250
  lazyModules: options.lazyModules,
1248
1251
  getFinishStatus: options.getFinishStatus,
1249
1252
  enableHome: options.enableHome,
1250
- deferActivation: options.deferActivation
1253
+ deferActivation: options.deferActivation,
1254
+ getIdentitySearchHintProvided: options.getIdentitySearchHintProvided
1251
1255
  } }).start();
1252
1256
  }
1253
1257
  function createOrchestratedFlowManager(options) {
@@ -1,5 +1,5 @@
1
- import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-B80OYJHb.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-BRiJu_rv.esm.js";
3
3
  //#region src/modules/flow/flowCompletionService.ts
4
4
  const getFinishStatus = async (flowId, signal) => {
5
5
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,12 +1,12 @@
1
1
  import { r as getWasmStatus } from "./warmup-O3rAoe1-.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
3
- import { r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
4
- import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-DAC3I8PG.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-srznX8Iz.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-B80OYJHb.esm.js";
7
- import "./session-BLrEehWj.esm.js";
3
+ import { r as getToken, t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
4
+ import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-q5b8Qwr3.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-D_T-MG_i.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-BRiJu_rv.esm.js";
7
+ import "./session-DKnCv6zu.esm.js";
8
8
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
9
- import { i as prefetchStartInfo } from "./phoneServices-Dk4j3NhI.esm.js";
9
+ import { i as prefetchStartInfo } from "./phoneServices-XoT74eS0.esm.js";
10
10
  //#region src/modules/flow/dashboardConfig.ts
11
11
  function isPlainObject(value) {
12
12
  if (value === null || typeof value !== "object" || Array.isArray(value)) return false;
@@ -102,7 +102,6 @@ function videoSelfieWasmPipelines(config, steps = resolveVideoSelfieSteps(config
102
102
  //#endregion
103
103
  //#region src/modules/flow/presets/identityReusePreset.ts
104
104
  const SHARED = "identityShared";
105
- const HINT_PROVIDED = "identitySearchHintProvided";
106
105
  const OUTCOMES = "identityReuseOutcomes";
107
106
  /** The modules that switch the preset on. Normalization reads them too. */
108
107
  const IDENTITY_REUSE_TRIGGERS = ["IDENTITY_SEARCH", "IDENTITY_REUSE"];
@@ -194,9 +193,9 @@ const identityReusePreset = {
194
193
  misconfiguredErrorCode: "IDENTITY_REUSE_FLOW_MISCONFIGURED",
195
194
  title: "Identity reuse",
196
195
  analyticsModule: eventModuleNames.identityReusePath,
197
- prepare(modules, flow) {
196
+ prepare(modules, context) {
198
197
  const groupStart = modules.findIndex((module) => isMember(module.key));
199
- const dropsContacts = flow[HINT_PROVIDED] === true;
198
+ const dropsContacts = context.identitySearchHintProvided;
200
199
  return modules.flatMap((module, index) => {
201
200
  if (dropsContacts && index < groupStart && CONTACTS.includes(module.key)) return [];
202
201
  if (module.key === "AUTHENTICATION") return [{
@@ -209,10 +208,10 @@ const identityReusePreset = {
209
208
  return [module];
210
209
  });
211
210
  },
212
- check(modules, flow) {
211
+ check(modules, context) {
213
212
  const keys = modules.map((module) => module.key);
214
213
  const missing = REQUIRED.filter((key) => !keys.includes(key)).map((key) => key === "ID_VALIDATION" ? ID_VALIDATION_LABEL : key);
215
- if (flow[HINT_PROVIDED] !== true) {
214
+ if (!context.identitySearchHintProvided) {
216
215
  const groupStart = keys.findIndex(isMember);
217
216
  if (!(groupStart === -1 ? [] : keys.slice(0, groupStart)).some((key) => CONTACTS.includes(key))) missing.push(CONTACT_BEFORE_GROUP);
218
217
  }
@@ -255,7 +254,7 @@ let configConverters;
255
254
  async function loadFlowConfigConverters(flow) {
256
255
  const needed = flow.flowModules.some((module) => module.key === "EXTERNAL_VERIFICATION" || module.key === "EKYB");
257
256
  if (configConverters || !needed) return;
258
- const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-BnTyeA-_.esm.js").then((n) => n.n), import("./ekybUtils-CX-dR5p9.esm.js").then((n) => n.t)]);
257
+ const [ekyc, ekyb] = await Promise.all([import("./ekycUtils-DfBNTcvX.esm.js").then((n) => n.n), import("./ekybUtils-CX-dR5p9.esm.js").then((n) => n.t)]);
259
258
  configConverters = {
260
259
  toEkycConfig: ekyc.toEkycConfig,
261
260
  toEkybConfig: ekyb.toEkybConfig
@@ -501,9 +500,11 @@ function isTriggered(modules, preset) {
501
500
  return modules.some((module) => preset.triggers.includes(module.key));
502
501
  }
503
502
  /** Runs the preset's `prepare`, then lays its group out. */
504
- function prepareAndLayOut(modules, flow, preset) {
505
- return layOut(preset.prepare?.(modules, flow) ?? modules, preset);
503
+ function prepareAndLayOut(modules, context, preset) {
504
+ return layOut(preset.prepare?.(modules, context) ?? modules, preset);
506
505
  }
506
+ /** A session without the identity search hint. */
507
+ const NO_SESSION_HINT = { identitySearchHintProvided: false };
507
508
  /**
508
509
  * Takes the preset's members out of the list and puts them back in run order,
509
510
  * at the position of the earliest one. Every other module keeps its served
@@ -543,14 +544,16 @@ function describeMisconfiguredPreset(preset, problems) {
543
544
  * @param canResolve - Whether a machine is registered for a module key. It is
544
545
  * read when arming runs, after `getFlow`, because `<incode-flow>` fills its
545
546
  * lazy registry inside `getFlow`.
547
+ * @param context - What the session start said, such as the identity search
548
+ * hint. Without it, the session has no hint.
546
549
  */
547
- function armFlowPresets(flow, canResolve) {
550
+ function armFlowPresets(flow, canResolve, context = NO_SESSION_HINT) {
548
551
  let laidOut = flow.flowModules ?? [];
549
552
  const armedPresets = [];
550
553
  for (const preset of FLOW_PRESETS) {
551
554
  if (!isTriggered(laidOut, preset)) continue;
552
- laidOut = prepareAndLayOut(laidOut, flow, preset);
553
- const { missing, unsupported } = preset.check(laidOut, flow);
555
+ laidOut = prepareAndLayOut(laidOut, context, preset);
556
+ const { missing, unsupported } = preset.check(laidOut, context);
554
557
  const unregistered = [...new Set(laidOut.map((module) => module.key).filter((key) => preset.members.includes(key) && !canResolve(key)))];
555
558
  if (missing.length + unsupported.length + unregistered.length > 0) {
556
559
  const problems = {
@@ -685,14 +688,15 @@ function stepsTheCurrentDecisionMaySkip({ armedPresets, steps, currentStepIndex
685
688
  * have prepared it and laid it out, for preloading before the flow loads. It
686
689
  * doesn't run the presets' checks, so it also answers for a raw dashboard
687
690
  * flow or one that will fail to load. With the identity search hint from
688
- * session start, for example, that is the module after the dropped contact
689
- * steps.
691
+ * session start (`options.identitySearchHintProvided`), for example, that is
692
+ * the module after the dropped contact steps.
690
693
  */
691
- function getFirstFlowModuleKey(flow) {
694
+ function getFirstFlowModuleKey(flow, options = {}) {
695
+ const context = { identitySearchHintProvided: options.identitySearchHintProvided === true };
692
696
  const served = flow.flowModules ?? [];
693
697
  if (!FLOW_PRESETS.some((preset) => isTriggered(served, preset))) return served[0]?.key;
694
698
  let modules = normalizeIdModules(served);
695
- for (const preset of FLOW_PRESETS) if (isTriggered(modules, preset)) modules = prepareAndLayOut(modules, flow, preset);
699
+ for (const preset of FLOW_PRESETS) if (isTriggered(modules, preset)) modules = prepareAndLayOut(modules, context, preset);
696
700
  return modules[0]?.key;
697
701
  }
698
702
  //#endregion
@@ -0,0 +1,30 @@
1
+ //#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
2
+ /**
3
+ * The rollout switch for form definitions (ENG-59781): one all-or-nothing
4
+ * answer to "do eKYC and eKYB build their forms from catalog definitions, or
5
+ * with today's builders?". The eKYC and eKYB machines read it once, when
6
+ * they're created, and pass the answer to the module adapters
7
+ * (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
8
+ * (`internal/forms`) knows nothing about it. eKYC's public `toEkycConfig`
9
+ * reads it too, for a raw config a flow or workflow converts before the
10
+ * machine exists; the machine converts its own input with its answer.
11
+ *
12
+ * On by default (ENG-63324), so every migrated eKYC source and every eKYB
13
+ * country builds its form from its definition. A catalog-only eKYC source,
14
+ * one today's builder never knew, uses its definition either way, since it
15
+ * has no old path to fall back to.
16
+ *
17
+ * `false` is the rollback: every source and country today's builders know
18
+ * goes back to them. The builders stay in Core until ENG-63328 removes them.
19
+ *
20
+ * This is Incode's rollout decision, not the integrator's: it is not a
21
+ * `setup()` option. It stays a constant, so a rollback is a code change in an
22
+ * SDK release.
23
+ */
24
+ const ENABLED_BY_DEFAULT = true;
25
+ /** Whether sources and countries with a form definition use it. */
26
+ function isFormDefinitionsEnabled() {
27
+ return ENABLED_BY_DEFAULT;
28
+ }
29
+ //#endregion
30
+ export { isFormDefinitionsEnabled as t };
@@ -1,35 +1,46 @@
1
1
  import { t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
2
2
  import { r as isCalendarDate, t as INVALID_DATE_ERROR_KEY } from "./calendarDate-D2zWfUlA.esm.js";
3
- import { r as DYNAMIC_REQUIRED_KEY } from "./resolveForm-DaaQSVWp.esm.js";
3
+ import { c as readValue, l as DYNAMIC_REQUIRED_KEY, o as blank, s as isEmptyValue } from "./trim-OmrUb6mG.esm.js";
4
4
  import { n as hasAllowedCharacters, t as CLASS_PATTERNS } from "./allowedCharacters-Bnir--CN.esm.js";
5
- //#region src/internal/forms/validateForm.ts
6
- const blank = (value) => value.trim() === "";
7
- /**
8
- * A value as the kernel reads it: text, a list of texts, or absent. A host
9
- * can set anything (`setField`), so `null` counts as absent and a number or
10
- * other scalar as its text.
11
- */
12
- function readValue(value) {
13
- if (value === void 0 || value === null) return void 0;
14
- if (typeof value === "string") return value;
15
- if (Array.isArray(value)) return value.map((entry) => entry === void 0 || entry === null ? "" : String(entry));
16
- return String(value);
5
+ //#region src/internal/forms/registry.ts
6
+ const byId = (items = []) => new Map(items.map((item) => [item.id, item]));
7
+ /** Builds a registry from lists, keyed by id. */
8
+ function createFormRegistry(input) {
9
+ return {
10
+ schemaVersions: [...input.schemaVersions],
11
+ vocabulary: input.vocabulary,
12
+ kinds: new Set(input.kinds),
13
+ groups: new Set(input.groups),
14
+ conditions: new Set(input.conditions ?? []),
15
+ prefillSources: new Set(input.prefillSources ?? []),
16
+ rules: byId(input.rules),
17
+ transforms: byId(input.transforms),
18
+ groupRules: byId(input.groupRules),
19
+ optionLists: new Map(Object.entries(input.optionLists ?? {})),
20
+ messages: new Map(Object.entries(input.messages ?? {})),
21
+ flags: new Set(input.flags ?? []),
22
+ required: input.required,
23
+ structure: input.structure
24
+ };
17
25
  }
18
- /**
19
- * Whether a value is empty (spec semantic 2): absent or only whitespace, or
20
- * a list with no entry that isn't.
21
- *
22
- * A phone with only its calling code is a value, not empty, as in every
23
- * module (CK1 decision K15): the kernel can't tell a calling code from a
24
- * number being typed (`+44` from `+441`) without calling-code data the phone
25
- * rules don't expose, and the UI never stores one (an untouched phone input
26
- * is `""`). ENG-63329 drops the spec's calling-code clause.
27
- */
28
- function isEmptyValue(_field, value) {
29
- const read = readValue(value);
30
- if (read === void 0) return true;
31
- return typeof read === "string" ? blank(read) : read.every(blank);
26
+ /** The ids a registry implements, for `checkSupport`. */
27
+ function supportedIds(registry) {
28
+ return {
29
+ schemaVersions: registry.schemaVersions,
30
+ vocabulary: registry.vocabulary,
31
+ kinds: registry.kinds,
32
+ groups: registry.groups,
33
+ rules: new Set(registry.rules.keys()),
34
+ transforms: new Set(registry.transforms.keys()),
35
+ groupRules: new Set(registry.groupRules.keys()),
36
+ optionLists: new Set(registry.optionLists.keys()),
37
+ conditions: registry.conditions,
38
+ prefillSources: registry.prefillSources,
39
+ flags: registry.flags
40
+ };
32
41
  }
42
+ //#endregion
43
+ //#region src/internal/forms/validateForm.ts
33
44
  function optionValues(field, registry) {
34
45
  if (field.options) return field.options.map((option) => option.value);
35
46
  if (field.optionsRef) return registry.optionLists.get(field.optionsRef);
@@ -200,138 +211,6 @@ function validateForm(form, values, registry, env, entries = {}) {
200
211
  return errors;
201
212
  }
202
213
  //#endregion
203
- //#region src/internal/forms/buildPayload.ts
204
- /** The request key a field writes, or nothing when it's never sent. */
205
- const keyOf = (field) => field.payload?.omit ? void 0 : field.payload?.key ?? field.name;
206
- const isBlank = (value) => (value ?? "").trim() === "";
207
- /** The ids of a field's request transforms the registry doesn't implement. */
208
- const unknownTransforms = (field, registry) => (field.payload?.transforms ?? []).map((ref) => ref.id).filter((id) => !registry.transforms.has(id));
209
- function transform(field, value, registry, env) {
210
- return (field.payload?.transforms ?? []).reduce((current, ref) => {
211
- const impl = registry.transforms.get(ref.id);
212
- return impl ? impl.apply(current, ref.params ?? {}, env) : current;
213
- }, value);
214
- }
215
- /**
216
- * A `submit.context` entry's runtime value, or nothing when it's empty: the
217
- * source module configuration names (it can be an alias of the definition's
218
- * source), else the definition's; the definition's country, so a form with
219
- * no fixed country leaves the key out; module configuration's risk add-ons.
220
- */
221
- function contextValue(name, definition, env) {
222
- switch (name) {
223
- case "source": return env.source || definition.source || void 0;
224
- case "country": return definition.country || void 0;
225
- case "riskAddons": return env.riskAddons?.length ? [...env.riskAddons] : void 0;
226
- default: return;
227
- }
228
- }
229
- /**
230
- * The request body a definition describes (spec semantic 5):
231
- *
232
- * 1. Every shown field with a non-empty value, under `payload.key` (default
233
- * its name), after its request transforms. Empty values are left out,
234
- * never sent as `""` or `null`, so `omitWhenEmpty` changes nothing here;
235
- * so is a value its transforms leave blank. A list sends its non-blank
236
- * entries, each transformed. A collection sends each entry with a value as
237
- * its `join` fields' values, trimmed and joined with a space.
238
- * 2. `submit.static` keys as written, then `submit.context` keys: the source
239
- * (`env.source`, else the definition's), the definition's country, or
240
- * `riskAddons`. An empty context value is left out.
241
- * 3. `submit.copies` in order: each replaces `to` with `from`'s value, when
242
- * `from` is in the body.
243
- *
244
- * Two writers of one key keep the first and report a problem.
245
- */
246
- function buildPayload(form, values, registry, env, entries = {}) {
247
- const { definition } = form;
248
- const body = {};
249
- const writers = /* @__PURE__ */ new Map();
250
- const problems = [];
251
- const write = (key, value, writer) => {
252
- const first = writers.get(key);
253
- if (first !== void 0) {
254
- problems.push({
255
- kind: "duplicateKey",
256
- key,
257
- writers: [first, writer]
258
- });
259
- return;
260
- }
261
- writers.set(key, writer);
262
- body[key] = value;
263
- };
264
- for (const { field } of form.fields) {
265
- const key = keyOf(field);
266
- const value = readValue(values[field.name]);
267
- if (key === void 0 || isEmptyValue(field, value)) continue;
268
- for (const id of unknownTransforms(field, registry)) problems.push({
269
- kind: "unknownTransform",
270
- field: field.name,
271
- transform: id
272
- });
273
- if (typeof value === "string") {
274
- const sent = transform(field, value, registry, env);
275
- if (!isBlank(sent)) write(key, sent, field.name);
276
- } else if (Array.isArray(value)) {
277
- const sent = value.filter((entry) => !isBlank(entry)).map((entry) => transform(field, entry, registry, env)).filter((entry) => !isBlank(entry));
278
- if (sent.length > 0) write(key, sent, field.name);
279
- }
280
- }
281
- for (const { collection } of form.collections) {
282
- const joined = (entries[collection.id] ?? []).map((entry) => collection.payload.join.map((name) => (entry[name] ?? "").trim()).filter((part) => part !== "").join(" ")).filter((value) => value !== "");
283
- if (joined.length > 0) write(collection.payload.key, joined, collection.id);
284
- }
285
- for (const [key, value] of Object.entries(definition.submit.static ?? {})) write(key, value, "static");
286
- for (const [key, name] of Object.entries(definition.submit.context ?? {})) {
287
- const value = contextValue(name, definition, env);
288
- if (value !== void 0) write(key, value, "context");
289
- }
290
- for (const { from, to } of definition.submit.copies ?? []) if (Object.prototype.hasOwnProperty.call(body, from)) body[to] = body[from];
291
- return {
292
- body,
293
- problems
294
- };
295
- }
296
- //#endregion
297
- //#region src/internal/forms/registry.ts
298
- const byId = (items = []) => new Map(items.map((item) => [item.id, item]));
299
- /** Builds a registry from lists, keyed by id. */
300
- function createFormRegistry(input) {
301
- return {
302
- schemaVersions: [...input.schemaVersions],
303
- vocabulary: input.vocabulary,
304
- kinds: new Set(input.kinds),
305
- groups: new Set(input.groups),
306
- conditions: new Set(input.conditions ?? []),
307
- prefillSources: new Set(input.prefillSources ?? []),
308
- rules: byId(input.rules),
309
- transforms: byId(input.transforms),
310
- groupRules: byId(input.groupRules),
311
- optionLists: new Map(Object.entries(input.optionLists ?? {})),
312
- messages: new Map(Object.entries(input.messages ?? {})),
313
- flags: new Set(input.flags ?? []),
314
- required: input.required,
315
- structure: input.structure
316
- };
317
- }
318
- /** The ids a registry implements, for `checkSupport`. */
319
- function supportedIds(registry) {
320
- return {
321
- schemaVersions: registry.schemaVersions,
322
- vocabulary: registry.vocabulary,
323
- kinds: registry.kinds,
324
- groups: registry.groups,
325
- rules: new Set(registry.rules.keys()),
326
- transforms: new Set(registry.transforms.keys()),
327
- groupRules: new Set(registry.groupRules.keys()),
328
- optionLists: new Set(registry.optionLists.keys()),
329
- conditions: registry.conditions,
330
- prefillSources: registry.prefillSources,
331
- flags: registry.flags
332
- };
333
- }
334
- //#endregion
335
214
  //#region src/shared/formFields.ts
336
215
  /**
337
216
  * Field state for a module on the form-definition kernel: the values, each
@@ -436,16 +315,6 @@ const allowedCharacters = {
436
315
  }
437
316
  };
438
317
  //#endregion
439
- //#region src/internal/forms/rules/e164.ts
440
- /**
441
- * `e164`: the phone as `+<country code><number>`. While the phone rules
442
- * aren't loaded, or the number isn't valid, it stays as typed.
443
- */
444
- const e164 = {
445
- id: "e164",
446
- apply: (value, _params, env) => env.deps.phone?.formatE164(value, env.country) ?? value
447
- };
448
- //#endregion
449
318
  //#region src/internal/forms/rules/oneOfRequired.ts
450
319
  /**
451
320
  * `oneOfRequired`: at least one of the rule's shown fields has a value. With
@@ -464,16 +333,6 @@ const oneOfRequired = {
464
333
  }
465
334
  };
466
335
  //#endregion
467
- //#region src/internal/forms/rules/trim.ts
468
- /**
469
- * `trim`: removes leading and trailing whitespace. On a list, the caller
470
- * applies it to each entry.
471
- */
472
- const trim = {
473
- id: "trim",
474
- apply: (value) => value.trim()
475
- };
476
- //#endregion
477
336
  //#region src/shared/formErrors.ts
478
337
  /**
479
338
  * The error for an empty required field, as eKYC, eKYB and Pre-fill show it
@@ -509,4 +368,4 @@ const STRUCTURE_MESSAGES = {
509
368
  })
510
369
  };
511
370
  //#endregion
512
- export { e164 as a, setFieldValue as c, createFormRegistry as d, supportedIds as f, oneOfRequired as i, validateAllValues as l, withMessage as m, requiredError as n, allowedCharacters as o, buildPayload as p, trim as r, phoneDeps as s, STRUCTURE_MESSAGES as t, validateFieldValue as u };
371
+ export { phoneDeps as a, validateFieldValue as c, supportedIds as d, allowedCharacters as i, withMessage as l, requiredError as n, setFieldValue as o, oneOfRequired as r, validateAllValues as s, STRUCTURE_MESSAGES as t, createFormRegistry as u };
@@ -1,2 +1,2 @@
1
- import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
1
+ import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
2
2
  export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-C7cHHTkd.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-QJqoWT7E.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-CREfQNgO.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-D9_bBr19.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,8 +1,8 @@
1
1
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as geolocationMachine } from "./geolocationStateMachine-QJqoWT7E.esm.js";
5
+ import { t as geolocationMachine } from "./geolocationStateMachine-D9_bBr19.esm.js";
6
6
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
7
7
  var BrowserGeolocationProvider = class {
8
8
  getCurrentPosition() {
@@ -117,7 +117,7 @@ declare const geolocationMachine: StateMachine<GeolocationContext, {
117
117
  type: "isPermissionDenied";
118
118
  params: unknown;
119
119
  };
120
- }>, never, "error" | "idle" | "closed" | "finished" | "requestingLocation" | "submitting" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
120
+ }>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "requestingLocation" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
121
121
  readonly id: "geolocation";
122
122
  readonly initial: "idle";
123
123
  readonly context: ({ input, self }: {
@@ -1,9 +1,9 @@
1
- import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
2
2
  import { i as isIOS, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
3
- import { n as isConnectivityError } from "./apiError-B80OYJHb.esm.js";
3
+ import { n as isConnectivityError } from "./apiError-BRiJu_rv.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
- import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
6
+ import { t as carryAttempts } from "./attemptCarry-8gUYc3pL.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
8
8
  async function addGeolocation(params, signal) {
9
9
  return (await api.post(endpoints.addGeolocation, {
@@ -1,3 +1,3 @@
1
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BFIcq3UB.esm.js";
2
- import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-0-L21hu6.esm.js";
1
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BuW6l3ah.esm.js";
2
+ import { n as createGovernmentValidationManagerFromActor, t as createGovernmentValidationManager } from "./governmentValidationManager-B7lIuL4r.esm.js";
3
3
  export { createGovernmentValidationManager, createGovernmentValidationManagerFromActor, governmentValidationMachine };
@@ -1,9 +1,9 @@
1
1
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
- import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BFIcq3UB.esm.js";
6
+ import { t as governmentValidationMachine } from "./governmentValidationStateMachine-BuW6l3ah.esm.js";
7
7
  //#region src/modules/government-validation/governmentValidationActor.ts
8
8
  function createGovernmentValidationActor(options) {
9
9
  return createActor(governmentValidationMachine, { input: { config: options.config } }).start();
@@ -1,4 +1,4 @@
1
- import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CsXnB7m6.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/government-validation/governmentValidationServices.ts
package/dist/home.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { b as NonReducibleUnknown, j as StateMachine, m as EventObject, y as MetaObject } from "./spawn-COZKetCS.js";
2
2
  import "./xstate.cjs-D6Ur0X1F.js";
3
3
  import { t as Manager } from "./Manager-DufwKlav.js";
4
- import { t as EmptyConfig } from "./types-ujAUlvvI.js";
4
+ import { t as EmptyConfig } from "./types-DH4VaTRC.js";
5
5
  //#region src/modules/home/types.d.ts
6
6
  type HomeConfig = EmptyConfig;
7
7
  //#endregion
package/dist/home.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
- import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-Dlkhhx5O.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  //#region src/modules/home/homeStateMachine.ts
package/dist/http.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { n as getApi, t as api } from "./api-B58edv6M.esm.js";
1
+ import { n as getApi, t as api } from "./api-CsXnB7m6.esm.js";
2
2
  export { api, getApi };
package/dist/id-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
2
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-CNGVEZ7B.js";
2
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-C0C7lFGd.js";
3
3
  //#region src/modules/id-ocr/idOcrFields.d.ts
4
4
  declare const OCR_FIELDS: OcrFieldConfig[];
5
5
  declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
@@ -1,6 +1,6 @@
1
1
  import { t as validateCPF } from "./cpf-DDXMTLYr.esm.js";
2
- import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-D5ifJ1B8.esm.js";
3
- import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-bjBLjrEE.esm.js";
2
+ import { a as MIN_AGE, i as CPFFlowIds, n as OCR_FIELDS, r as getOcrFields, t as idOcrStateMachine } from "./idOcrStateMachine-DANDVn-6.esm.js";
3
+ import { n as createIdOcrManagerFromActor, t as createIdOcrManager } from "./idOcrManager-C9C8UaPr.esm.js";
4
4
  //#region src/modules/id-ocr/idOcrCpfUtils.ts
5
5
  function formatCPF(value) {
6
6
  const digits = value.replace(/\D/g, "").slice(0, 11);
@@ -5,7 +5,7 @@ import "./Actor-DqjOqDfU.js";
5
5
  import { n as FacingMode, t as CameraStream } from "./camera-9yYDUOsO.js";
6
6
  import { t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
7
7
  import { n as FinishStatus } from "./flowCompletionService-BlAHsKyv.js";
8
- import { i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-DAEJDeL3.js";
8
+ import { i as CameraCompositor, n as VideoSelfieDetectionStatus, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-DCOmz3yk.js";
9
9
  //#region src/modules/id-selfie-flow/types.d.ts
10
10
  /**
11
11
  * The capture steps an ID + Selfie flow session can run, in flow order. A
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-BajT35bZ.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-JGwc0kgu.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-B33MhjQM.esm.js";
4
+ import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-3OXrEqDE.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-DILvXMxQ.esm.js";
9
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-DQYbHLxC.esm.js";
10
10
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CFyXIRuM.esm.js";
12
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-j-hB9ROq.esm.js";
12
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-7zZ457LW.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-Cba59yFV.esm.js";
15
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-D4nY62Xt.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-L0J63ui-.esm.js";
15
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-AoMytGBD.esm.js";
16
16
  import { t as CameraCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
17
17
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
18
18
  /** Default autocapture window for the selfie step. */
@@ -1,3 +1,3 @@
1
- import { t as idVerificationMachine } from "./idVerificationStateMachine-BMnfZZli.esm.js";
2
- import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-C8Ja-vKq.esm.js";
1
+ import { t as idVerificationMachine } from "./idVerificationStateMachine-MjQmD3yQ.esm.js";
2
+ import { n as createIdVerificationManagerFromActor, t as createIdVerificationManager } from "./idVerificationManager-B_6wwpeT.esm.js";
3
3
  export { createIdVerificationManager, createIdVerificationManagerFromActor, idVerificationMachine };