@incodetech/core 2.4.1-agentic.1 → 2.4.1-agentic.10

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 (220) hide show
  1. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  2. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  3. package/dist/{FaceDetectionProvider-CAY43vSI.esm.js → FaceDetectionProvider-BSLpXAGx.esm.js} +9 -9
  4. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
  5. package/dist/{IWasmUtilCapability-Cqiaxydi.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +2 -2
  6. package/dist/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-BfQPSgSO.esm.js} +5 -0
  7. package/dist/{StreamCanvasCapture-C3xNfOsv.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +2 -2
  8. package/dist/{WasmUtilProvider-Dp2V-Uct.esm.js → WasmUtilProvider-C_puwvVn.esm.js} +2 -2
  9. package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CyCrQnZR.esm.js} +1 -1
  10. package/dist/addressSearch-B_4JYKa-.esm.js +72 -0
  11. package/dist/ae-signature.esm.js +1 -1
  12. package/dist/antifraud.esm.js +2 -2
  13. package/dist/{antifraudManager-BObuHBjn.esm.js → antifraudManager-BWCVkSu2.esm.js} +2 -2
  14. package/dist/{antifraudStateMachine-Dfrd2-26.esm.js → antifraudStateMachine-CX9I2f3s.esm.js} +1 -1
  15. package/dist/{api-CpP4PS4S.esm.js → api-BSnbg4HO.esm.js} +2 -0
  16. package/dist/{apiError-DH-CH4Nz.esm.js → apiError-Bmwy1Fa7.esm.js} +1 -1
  17. package/dist/{attemptCarry-WOkfvFMw.esm.js → attemptCarry-zQH85Elh.esm.js} +1 -1
  18. package/dist/authentication.d.ts +3 -3
  19. package/dist/authentication.esm.js +2 -2
  20. package/dist/{authenticationManager-DjX0XDyH.esm.js → authenticationManager-BoiOaB0m.esm.js} +5 -5
  21. package/dist/{authenticationManager-CWmh7aSY.d.ts → authenticationManager-CISxaY6N.d.ts} +1 -1
  22. package/dist/{authenticationStateMachine-BMbZL8wm.esm.js → authenticationStateMachine-BMD1JLwr.esm.js} +3 -3
  23. package/dist/avatar.d.ts +1 -1
  24. package/dist/{browser-pQZA35G2-DtkAf6sn.esm.js → browser-pQZA35G2-PIj2uGBm.esm.js} +1 -1
  25. package/dist/camera.esm.js +1 -1
  26. package/dist/certificate-issuance.esm.js +2 -2
  27. package/dist/{certificateIssuanceManager-C1nETQos.esm.js → certificateIssuanceManager-DzDuQTsK.esm.js} +2 -2
  28. package/dist/{certificateIssuanceStateMachine-DThXMDqr.esm.js → certificateIssuanceStateMachine-BAOYLACb.esm.js} +2 -2
  29. package/dist/consent.d.ts +1 -1
  30. package/dist/consent.esm.js +2 -2
  31. package/dist/{consentManager-bjfVXO7p.d.ts → consentManager-7aHaehwF.d.ts} +6 -6
  32. package/dist/{consentManager-DMlSL6Ax.esm.js → consentManager-DFSKQTcR.esm.js} +2 -2
  33. package/dist/{consentStateMachine-DIYSMxKQ.esm.js → consentStateMachine-4nZIH2O8.esm.js} +1 -1
  34. package/dist/{cpf-uAZTPUBy.esm.js → cpf-BIADjddF.esm.js} +1 -25
  35. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  36. package/dist/cross-document-data-match.esm.js +1 -1
  37. package/dist/{crossDocumentDataMatchManager-BFTdiEDB.esm.js → crossDocumentDataMatchManager-D7ka2qOC.esm.js} +2 -2
  38. package/dist/curp-validation.d.ts +1 -1
  39. package/dist/curp-validation.esm.js +2 -2
  40. package/dist/{curpValidationManager-DNpC3wyf.esm.js → curpValidationManager-BVTt7IgC.esm.js} +2 -2
  41. package/dist/{curpValidationManager-z8428oCM.d.ts → curpValidationManager-DEqTUWdu.d.ts} +1 -1
  42. package/dist/{curpValidationStateMachine-B3iVsDyt.esm.js → curpValidationStateMachine-FB_MRbZQ.esm.js} +2 -2
  43. package/dist/custom-fields.esm.js +1 -1
  44. package/dist/custom-watchlist.esm.js +2 -2
  45. package/dist/{customFieldsManager-CvI-pDT3.esm.js → customFieldsManager-gbsq53p6.esm.js} +2 -2
  46. package/dist/{customWatchlistManager-BuHtUb0y.esm.js → customWatchlistManager-50APwk4Z.esm.js} +2 -2
  47. package/dist/{customWatchlistStateMachine-CiVD9wyF.esm.js → customWatchlistStateMachine-CpEVPzuT.esm.js} +1 -1
  48. package/dist/{deepsightLoader-B7DEYoyY.esm.js → deepsightLoader-BKCT8UT1.esm.js} +5 -5
  49. package/dist/{addressSearch-DzbE9Ogt.esm.js → definitionSource-BHNxbuiv.esm.js} +2 -72
  50. package/dist/{desktopCameraElection-BGMtYwk3.esm.js → desktopCameraElection-Dvvw7PRY.esm.js} +4 -4
  51. package/dist/document-capture.d.ts +1 -1
  52. package/dist/document-capture.esm.js +2 -2
  53. package/dist/{documentCaptureManager-DLPqruXJ.esm.js → documentCaptureManager-BG5TuqJz.esm.js} +2 -2
  54. package/dist/{documentCaptureManager-CD5iQiUI.d.ts → documentCaptureManager-DDfviFg0.d.ts} +1 -1
  55. package/dist/{documentCaptureStateMachine-DCvWQhFG.esm.js → documentCaptureStateMachine-C7PW_Ah9.esm.js} +4 -4
  56. package/dist/dynamic-forms.esm.js +2 -2
  57. package/dist/{dynamicFormsManager-DfqCEPg9.esm.js → dynamicFormsManager-B0bpHhhJ.esm.js} +2 -2
  58. package/dist/{dynamicFormsStateMachine-USQMB-uV.esm.js → dynamicFormsStateMachine-2ZHyejBc.esm.js} +2 -2
  59. package/dist/ekyb.d.ts +1 -1
  60. package/dist/ekyb.esm.js +2 -2
  61. package/dist/{ekybManager-CR8YSYux.esm.js → ekybManager-P9mC7W9J.esm.js} +2 -2
  62. package/dist/{ekybStateMachine-kHwdz6hm.esm.js → ekybStateMachine-C7HKaeVr.esm.js} +6 -4
  63. package/dist/ekyc-prefill.d.ts +17 -0
  64. package/dist/ekyc-prefill.esm.js +3 -0
  65. package/dist/ekyc.d.ts +2 -2
  66. package/dist/ekyc.esm.js +3 -3
  67. package/dist/{ekycManager-DymCvmVB.esm.js → ekycManager-CeeJoRFY.esm.js} +2 -2
  68. package/dist/{ekycManager-DlGIn9wA.d.ts → ekycManager-q1fos6IY.d.ts} +1 -1
  69. package/dist/ekycPrefillManager-C6BFFKxc.esm.js +102 -0
  70. package/dist/ekycPrefillManager-PPGVZbWk.d.ts +565 -0
  71. package/dist/ekycPrefillStateMachine-Dku90kZL.esm.js +686 -0
  72. package/dist/ekycRules-BLX7Elcb.esm.js +319 -0
  73. package/dist/{ekycStateMachine-CoFCUJ2z.esm.js → ekycStateMachine-DBTczgGE.esm.js} +584 -534
  74. package/dist/{ekycUtils-GRuMELYr.esm.js → ekycUtils-Dcff8BOD.esm.js} +24 -6
  75. package/dist/electronic-signature.esm.js +1 -1
  76. package/dist/{electronicSignatureManager-BCE3uA3z.esm.js → electronicSignatureManager-BKQuhJm_.esm.js} +4 -4
  77. package/dist/email.esm.js +2 -2
  78. package/dist/{emailManager-CGoE3CUe.esm.js → emailManager-CGmKbsBL.esm.js} +2 -2
  79. package/dist/{emailStateMachine-KgHfDNvM.esm.js → emailStateMachine-CGY1UGs2.esm.js} +2 -2
  80. package/dist/{events-ggpBBaZ8.esm.js → events-C7h7oaTE.esm.js} +1 -1
  81. package/dist/events.esm.js +1 -1
  82. package/dist/extensibility.d.ts +18 -17
  83. package/dist/extensibility.esm.js +37 -36
  84. package/dist/{externalFetch-CQY41QT1.esm.js → externalFetch-cUjJYyXj.esm.js} +1 -1
  85. package/dist/face-match.d.ts +1 -1
  86. package/dist/face-match.esm.js +2 -2
  87. package/dist/{faceCaptureManagerFactory-DV2ULUYS.d.ts → faceCaptureManagerFactory-BVwVGa3z.d.ts} +7 -7
  88. package/dist/{faceCaptureManagerFactory-Dp90bedH.esm.js → faceCaptureManagerFactory-ClFsByZc.esm.js} +4 -4
  89. package/dist/{faceCaptureSetup-ZfiWg0fo.esm.js → faceCaptureSetup-9hv5GC_H.esm.js} +11 -11
  90. package/dist/{faceMatchManager-Z4UDLwAv.d.ts → faceMatchManager-BZtEw6bB.d.ts} +9 -3
  91. package/dist/{faceMatchManager-D2xKPjjQ.esm.js → faceMatchManager-CRe7Nvm6.esm.js} +2 -2
  92. package/dist/{faceMatchStateMachine-CUvwiQi9.esm.js → faceMatchStateMachine-EX9QhxFE.esm.js} +28 -14
  93. package/dist/{feature-management-BbCIA4og.esm.js → feature-management-CmKTG_T5.esm.js} +1 -1
  94. package/dist/feature-management.esm.js +1 -1
  95. package/dist/field-comparison.esm.js +1 -1
  96. package/dist/{fieldComparisonManager-DgDbEeFZ.esm.js → fieldComparisonManager-DuosZJso.esm.js} +2 -2
  97. package/dist/fiscal-qr.esm.js +1 -1
  98. package/dist/{fiscalQrManager-BZeklojR.esm.js → fiscalQrManager-ji0qDaTW.esm.js} +2 -2
  99. package/dist/flow-events.d.ts +1 -1
  100. package/dist/flow.d.ts +31 -16
  101. package/dist/flow.esm.js +76 -15
  102. package/dist/{flowCompletionService-CcCnPs_T.esm.js → flowCompletionService-DvcH16XO.esm.js} +24 -3
  103. package/dist/{flowServices-Dmnc8Rye.esm.js → flowServices-Ca2vKNt2.esm.js} +29 -10
  104. package/dist/geolocation.esm.js +2 -2
  105. package/dist/{geolocationManager-BJJ3m_I8.esm.js → geolocationManager-CiG32lIm.esm.js} +2 -2
  106. package/dist/{geolocationStateMachine-CTI3m4Ie.esm.js → geolocationStateMachine-5rnTEOuw.esm.js} +3 -3
  107. package/dist/government-validation.esm.js +2 -2
  108. package/dist/{governmentValidationManager-CjChjZ3C.esm.js → governmentValidationManager-BivVZNVe.esm.js} +2 -2
  109. package/dist/{governmentValidationStateMachine-AEbn3Afi.esm.js → governmentValidationStateMachine-CeSDNgha.esm.js} +1 -1
  110. package/dist/home.d.ts +1 -1
  111. package/dist/home.esm.js +1 -1
  112. package/dist/http.esm.js +1 -1
  113. package/dist/id-ocr.d.ts +2 -2
  114. package/dist/id-ocr.esm.js +3 -19
  115. package/dist/id-selfie-flow.d.ts +3 -3
  116. package/dist/id-selfie-flow.esm.js +8 -8
  117. package/dist/id-verification.esm.js +2 -2
  118. package/dist/id.d.ts +3 -3
  119. package/dist/id.esm.js +3 -3
  120. package/dist/{idCaptureDefaults-Dszuq9ng.esm.js → idCaptureDefaults-DBnOC28H.esm.js} +3 -3
  121. package/dist/{idCaptureManager-B3oR4RnA.esm.js → idCaptureManager-B5xqok0L.esm.js} +8 -8
  122. package/dist/{idCaptureManager-CCA2D1Ah.d.ts → idCaptureManager-CG8zbAp0.d.ts} +7 -7
  123. package/dist/{idCaptureServices-DK0QboqT.esm.js → idCaptureServices-BIF_7rub.esm.js} +6 -6
  124. package/dist/{idCaptureStateMachine-zzar9MPy.esm.js → idCaptureStateMachine-B5cfgKvn.esm.js} +47 -19
  125. package/dist/idOcrCpfUtils-Nfln1Psb.esm.js +18 -0
  126. package/dist/{idOcrManager-BTdHlJ9D.d.ts → idOcrManager-B5xeI2lg.d.ts} +2 -2
  127. package/dist/{idOcrManager-xyEZNOBa.esm.js → idOcrManager-DNbVTMIu.esm.js} +2 -2
  128. package/dist/{idOcrStateMachine-DNKXh4Rn.esm.js → idOcrStateMachine-MAGnpWkb.esm.js} +8 -7
  129. package/dist/{idVerificationManager-DdnvYfgN.esm.js → idVerificationManager-BEAkamNm.esm.js} +2 -2
  130. package/dist/{idVerificationStateMachine-DtIBCa32.esm.js → idVerificationStateMachine-D5mBN2Ye.esm.js} +1 -1
  131. package/dist/identity-reuse.esm.js +2 -2
  132. package/dist/{identityReuseManager-CcpovlfD.esm.js → identityReuseManager-M8-BTjar.esm.js} +2 -2
  133. package/dist/{identityReuseStateMachine-DxZFWy47.esm.js → identityReuseStateMachine-D5bXgw9h.esm.js} +1 -1
  134. package/dist/{index-DEfwds5y.d.ts → index-Btj1EhiM.d.ts} +43 -19
  135. package/dist/{index-DC0P2Vzw.d.ts → index-CSPOoqah.d.ts} +1 -1
  136. package/dist/index.d.ts +1 -1
  137. package/dist/index.esm.js +1 -1
  138. package/dist/{invokeOnCaptureCallback-BJ0GVHGr.esm.js → invokeOnCaptureCallback-C1-j4fsq.esm.js} +1 -1
  139. package/dist/kyb-checks.esm.js +2 -2
  140. package/dist/{kybChecksManager-DpGOp4Su.esm.js → kybChecksManager-CnqwgKoV.esm.js} +1 -1
  141. package/dist/{kybChecksStateMachine-B43NAnv7.esm.js → kybChecksStateMachine-Be41K_NS.esm.js} +5 -4
  142. package/dist/mandatory-consent.d.ts +2 -2
  143. package/dist/mandatory-consent.esm.js +2 -2
  144. package/dist/{mandatoryConsentManager-B88Sm5nd.d.ts → mandatoryConsentManager-CYOJd_IZ.d.ts} +22 -13
  145. package/dist/{mandatoryConsentManager-B4vCYslr.esm.js → mandatoryConsentManager-LFhUlLvO.esm.js} +2 -2
  146. package/dist/{mandatoryConsentStateMachine-DWslYPA3.esm.js → mandatoryConsentStateMachine-DTSyDqQs.esm.js} +11 -5
  147. package/dist/{multipartRecordingService-BTqkHGG9.esm.js → multipartRecordingService-CCiRpByl.esm.js} +2 -2
  148. package/dist/{permissionGuards-DFV-Ws0a.esm.js → permissionGuards-DjQUR1du.esm.js} +1 -1
  149. package/dist/{permissionServices-D190ATGD.esm.js → permissionServices-CZpORUWY.esm.js} +1 -1
  150. package/dist/phone.esm.js +2 -2
  151. package/dist/{phoneFormat-JJNaWthV.esm.js → phoneFormat-DEpESpz2.esm.js} +13 -1
  152. package/dist/{phoneManager-Dy5tODCU.esm.js → phoneManager-C-qD3p3N.esm.js} +2 -2
  153. package/dist/{phoneServices-DJgyOzU2.esm.js → phoneServices-BdR1nmSO.esm.js} +1 -1
  154. package/dist/{phoneStateMachine-DnlPhnw7.esm.js → phoneStateMachine-2FMTdjtJ.esm.js} +2 -2
  155. package/dist/{processFaceMatch-Bst83HaS.esm.js → processFaceMatch-B1YnoBer.esm.js} +1 -1
  156. package/dist/qe-signature.esm.js +1 -1
  157. package/dist/{recordingService-CTko6Cjn.esm.js → recordingService-BVSCo0ac.esm.js} +3 -3
  158. package/dist/redirect-to-mobile.esm.js +2 -2
  159. package/dist/{redirectToMobileManager-CgGaT2NP.esm.js → redirectToMobileManager-CqyDfDxs.esm.js} +2 -2
  160. package/dist/{redirectToMobileStateMachine-CbhN8uVN.esm.js → redirectToMobileStateMachine-CXqfo2Gd.esm.js} +2 -2
  161. package/dist/{resolveForm-O7-r79VA.esm.js → resolveForm-f9PhUo9j.esm.js} +1 -209
  162. package/dist/{runChildModule-BffFArwl.esm.js → runChildModule-BmteMhR7.esm.js} +2 -2
  163. package/dist/{sdkVersion-CDd_gaR7.esm.js → sdkVersion-KZROt6l3.esm.js} +1 -1
  164. package/dist/selfie.d.ts +4 -4
  165. package/dist/selfie.esm.js +10 -10
  166. package/dist/{selfieErrorUtils-f4MgAG2A.esm.js → selfieErrorUtils-fqxp645p.esm.js} +1 -1
  167. package/dist/{selfieManager-hopelYEk.esm.js → selfieManager-A-n3k9Tu.esm.js} +5 -5
  168. package/dist/{selfieManager-DmZFzs1-.d.ts → selfieManager-DREuBhXZ.d.ts} +1 -1
  169. package/dist/{selfieStateMachine-DaZIVv3Q.esm.js → selfieStateMachine-48PKdKrw.esm.js} +3 -3
  170. package/dist/{session-CdSX4wsZ.esm.js → session-D0DWDKp9.esm.js} +4 -4
  171. package/dist/session.d.ts +2 -2
  172. package/dist/session.esm.js +5 -5
  173. package/dist/{sessionInitializer-DsL7X2j9.esm.js → sessionInitializer-I92b2dmL.esm.js} +20 -9
  174. package/dist/{setup-DDahygZs.esm.js → setup-BpjzWqR1.esm.js} +12 -15
  175. package/dist/{setup-D9qt8YVU.d.ts → setup-CG6oLkAa.d.ts} +2 -2
  176. package/dist/signature.esm.js +2 -2
  177. package/dist/{signatureManager-CwqjcxPg.esm.js → signatureManager-M9vQBj19.esm.js} +2 -2
  178. package/dist/{signatureStateMachine-DBVDd1Eu.esm.js → signatureStateMachine-0_frzAN5.esm.js} +1 -1
  179. package/dist/{stats-CatA2dea.esm.js → stats-C2sigf9p.esm.js} +1 -1
  180. package/dist/stats.esm.js +1 -1
  181. package/dist/step-up.d.ts +378 -0
  182. package/dist/step-up.esm.js +639 -0
  183. package/dist/{tri-DG6priFa.esm.js → tri-DaUNvo-o.esm.js} +29 -34
  184. package/dist/tri.d.ts +2 -2
  185. package/dist/tri.esm-Df5eKLsY.esm.js +2165 -0
  186. package/dist/tri.esm.js +2 -2
  187. package/dist/{trueSightService-GuLthUVK.esm.js → trueSightService-DHYTBCIn.esm.js} +4 -4
  188. package/dist/trust-graph.esm.js +1 -1
  189. package/dist/types-B-PIc0en.d.ts +115 -0
  190. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  191. package/dist/{types-BPm1JSu7.d.ts → types-BqlZSoZ-.d.ts} +5 -5
  192. package/dist/{types-Csh8vzPo.d.ts → types-Cbm9J2yF.d.ts} +1 -1
  193. package/dist/{types-BEVHQbbC.d.ts → types-CgihAhT_.d.ts} +3 -3
  194. package/dist/{types-CuMJ2M7D.d.ts → types-DEa3taWc.d.ts} +8 -1
  195. package/dist/{types-Cd0J0F9D.d.ts → types-P9LzsfRo.d.ts} +3 -2
  196. package/dist/{types-CRaFu6wS.d.ts → types-TisHEbBg.d.ts} +9 -3
  197. package/dist/types-kLsU6Jkt.d.ts +6 -0
  198. package/dist/{urlUtils-eYiyWjh0.esm.js → urlUtils-B2wagB5v.esm.js} +14 -1
  199. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  200. package/dist/video-selfie.d.ts +5 -4
  201. package/dist/video-selfie.esm.js +8 -8
  202. package/dist/{videoSelfieCameraWarmer-e3irGfcO.esm.js → videoSelfieCameraWarmer-CTOpqhov.esm.js} +14 -12
  203. package/dist/{videoSelfieStepDetector-Dv3Mgws-.d.ts → videoSelfieStepDetector-4XE2QI5q.d.ts} +4 -4
  204. package/dist/{warmup-DtB0DJpl.esm.js → warmup-9iKKNNuW.esm.js} +46 -4
  205. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  206. package/dist/wasm.d.ts +9 -3
  207. package/dist/wasm.esm.js +3 -3
  208. package/dist/{wasmDsFlagSync-BtiR5pig.esm.js → wasmDsFlagSync-lRIgn5Ic.esm.js} +1 -1
  209. package/dist/{wasmWebClient-BDrax6Eu.esm.js → wasmWebClient-C3v3s_4H.esm.js} +22 -10
  210. package/dist/watchlist-for-business.esm.js +2 -2
  211. package/dist/watchlist.esm.js +2 -2
  212. package/dist/{watchlistForBusinessManager-DqUpAEj_.esm.js → watchlistForBusinessManager-C1S5y5yj.esm.js} +2 -2
  213. package/dist/{watchlistForBusinessStateMachine-DdaPl2PS.esm.js → watchlistForBusinessStateMachine-Bj_hnoK5.esm.js} +1 -1
  214. package/dist/{watchlistManager-CdpXzT4B.esm.js → watchlistManager-BpegtZbc.esm.js} +2 -2
  215. package/dist/{watchlistStateMachine-ofHW_lPk.esm.js → watchlistStateMachine-Bgkh1gra.esm.js} +1 -1
  216. package/dist/workflow.d.ts +226 -41
  217. package/dist/workflow.esm.js +157 -61
  218. package/package.json +11 -1
  219. package/dist/tri.esm-CzTNi5Q_.esm.js +0 -3826
  220. package/dist/types-J6g6iKe_.d.ts +0 -6
package/dist/tri.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { c as resetTRI, d as stopTRI, i as isTRIStarted, l as setupTRI, n as createTRISession, u as startTRI } from "./tri-DG6priFa.esm.js";
2
- export { createTRISession, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
1
+ import { a as isTRIStarted, d as startTRI, f as stopTRI, l as resetTRI, n as createTRISession, r as getTRIActivityId, u as setupTRI } from "./tri-DaUNvo-o.esm.js";
2
+ export { createTRISession, getTRIActivityId, isTRIStarted, resetTRI, setupTRI, startTRI, stopTRI };
@@ -1,8 +1,8 @@
1
- import { T as resolveWasmConfig, _ as emitWasmDiagnostic, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError } from "./wasmWebClient-BDrax6Eu.esm.js";
1
+ import { E as resolveWasmConfig, a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWasmConnection, r as executeWasmRequest, t as WasmWebClientError, v as emitWasmDiagnostic } from "./wasmWebClient-C3v3s_4H.esm.js";
2
2
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
3
- import { C as subscribeEvent, n as eventModuleNames } from "./events-ggpBBaZ8.esm.js";
4
- import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-CDd_gaR7.esm.js";
3
+ import { C as subscribeEvent, n as eventModuleNames } from "./events-C7h7oaTE.esm.js";
4
+ import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-KZROt6l3.esm.js";
6
6
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
7
7
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
8
8
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -1,4 +1,4 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-C7h7oaTE.esm.js";
2
2
  import { s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  //#region src/modules/trust-graph/trustGraphStateMachine.ts
4
4
  /**
@@ -0,0 +1,115 @@
1
+ import { r as FieldDef } from "./textRules-D4NRinKY.js";
2
+ import { a as EkycFormValues, c as EkycValidationErrors, l as EkycValidationRule } from "./types-DEa3taWc.js";
3
+ //#region src/modules/ekyc-prefill/types.d.ts
4
+ /** One input of the served configuration. */
5
+ type EkycPrefillServedField = {
6
+ /** The request key, e.g. `phone`, `dateOfBirth`, `ssn`, `surName`, `taxIdNumber`. */
7
+ field: string;
8
+ /** Render the input. Anything but `true` hides it. */
9
+ check?: boolean | null;
10
+ /** Require a value. Ignored unless `check` is `true`. */
11
+ mandatory?: boolean | null;
12
+ /** Where the value comes from. Not read yet: field value prefill is not supported. */
13
+ source?: string | null;
14
+ /** How the value shows. Not read yet: every field is editable. */
15
+ displayMode?: string | null;
16
+ };
17
+ /**
18
+ * The `EKYC_PREFILL` module configuration, as the onboarding flow serves it
19
+ * (`GET /omni/onboarding/flow`). The flat dashboard shape that
20
+ * `GET /omni/flow/onboarding/configuration` serves has no `fields` and is
21
+ * not supported.
22
+ */
23
+ type EkycPrefillModuleConfig = {
24
+ country?: string | null;
25
+ source?: string | null;
26
+ fields?: EkycPrefillServedField[] | null;
27
+ /** Rendered inputs of which at least one must be filled. */
28
+ requireAnyOf?: string[] | null;
29
+ /** The backend runs the lookup itself, so the module shows no screen. */
30
+ autoExecution?: boolean | null;
31
+ };
32
+ /** One input of the normalized configuration. */
33
+ type EkycPrefillConfigField = {
34
+ field: string;
35
+ check: boolean;
36
+ mandatory: boolean;
37
+ };
38
+ /** Manager configuration: the served configuration, normalized by `toEkycPrefillConfig`. */
39
+ type EkycPrefillConfig = {
40
+ country: string | undefined;
41
+ source: string | undefined;
42
+ /** `undefined` when the served configuration has no `fields` array. */
43
+ fields: EkycPrefillConfigField[] | undefined;
44
+ requireAnyOf: string[];
45
+ autoExecution: boolean;
46
+ };
47
+ type EkycPrefillFieldDef = FieldDef & {
48
+ /** Validation run by `validateEkycField`, in order; the first failing rule wins. */
49
+ validation: EkycValidationRule[];
50
+ /** Show the value masked, with a show/hide toggle (the SSN). */
51
+ masked?: boolean;
52
+ /** Ask for the numeric keyboard. */
53
+ numeric?: boolean;
54
+ /** The `autocomplete` token. */
55
+ autoComplete?: string;
56
+ /** How the value is formatted while it is typed. */
57
+ formatAs?: EkycPrefillInputFormat;
58
+ };
59
+ /** `cpf`: `XXX.XXX.XXX-XX`; `ssn`: `XXX-XX-XXXX`; `name`: drops characters a name can't hold. */
60
+ type EkycPrefillInputFormat = 'cpf' | 'ssn' | 'name';
61
+ /** Fields of which at least one must be filled, with the message shown under them. */
62
+ type EkycPrefillAnyOfGroup = {
63
+ fields: string[];
64
+ message: string;
65
+ };
66
+ /** A request-body field: where its value goes and how it is transformed first. */
67
+ type EkycPrefillSubmitField = {
68
+ name: string;
69
+ key: string;
70
+ transforms: {
71
+ id: string;
72
+ chars?: string;
73
+ }[];
74
+ };
75
+ type EkycPrefillSubmitPlan = {
76
+ static: Record<string, unknown>;
77
+ fields: EkycPrefillSubmitField[];
78
+ country: string;
79
+ };
80
+ /** The served configuration on the forms kernel: what the form renders and sends. */
81
+ type EkycPrefillPreparedForm = {
82
+ country: string;
83
+ fields: EkycPrefillFieldDef[];
84
+ anyOf: EkycPrefillAnyOfGroup | undefined;
85
+ submit: EkycPrefillSubmitPlan;
86
+ };
87
+ /** `POST /omni/externalVerification/ekyc-prefill` response. Not read: the result is reviewed in the dashboard. */
88
+ type EkycPrefillSubmitResponse = Record<string, unknown>;
89
+ type EkycPrefillErrorKind = 'unavailable' | 'busy';
90
+ type EkycPrefillContext = {
91
+ config: EkycPrefillConfig;
92
+ prepared: EkycPrefillPreparedForm | undefined;
93
+ values: EkycFormValues;
94
+ errors: EkycValidationErrors;
95
+ /** Fields whose input reports an invalid format (the phone). */
96
+ invalidFormats: Record<string, true>;
97
+ /**
98
+ * The any-of group's message shows as an error rather than a hint: a member
99
+ * lost focus, or a submit was tried, while every member was empty.
100
+ */
101
+ anyOfError: boolean;
102
+ /** The phone rules finished loading, so phones validate. */
103
+ phoneRulesLoaded: boolean;
104
+ /** The phone rules failed to load; a retry reloads them before the form. */
105
+ phoneRulesFailed: boolean;
106
+ /** A 400 the form can't pin on one field. */
107
+ submitError: string | undefined;
108
+ errorKind: EkycPrefillErrorKind | undefined;
109
+ errorMessage: string | undefined;
110
+ };
111
+ type EkycPrefillInput = {
112
+ config?: EkycPrefillModuleConfig | EkycPrefillConfig;
113
+ };
114
+ //#endregion
115
+ export { EkycPrefillFieldDef as a, EkycPrefillModuleConfig as c, EkycPrefillSubmitResponse as d, EkycPrefillErrorKind as i, EkycPrefillServedField as l, EkycPrefillConfigField as n, EkycPrefillInput as o, EkycPrefillContext as r, EkycPrefillInputFormat as s, EkycPrefillConfig as t, EkycPrefillSubmitPlan as u };
@@ -4,10 +4,12 @@ type IdOcrConfig = {
4
4
  editableOcr?: boolean;
5
5
  cpfOnly?: boolean;
6
6
  /**
7
- * When true (from flow/onboarding), after the first ID OCR step completes the
8
- * machine loads and optionally edits OCR for the second captured ID.
7
+ * Legacy combined review. When true and ocrDocument is omitted, review the
8
+ * first ID and then the second ID. Flow selects each document explicitly.
9
9
  */
10
10
  secondId?: boolean;
11
+ /** Review only this document. Takes precedence over the legacy secondId sequence. */
12
+ ocrDocument?: 'first' | 'second';
11
13
  /**
12
14
  * Session flow id (injected by orchestrated flow UI). When listed in `CPFFlowIds`
13
15
  * (`idOcrConsts`), only the CPF field is shown and validated; it maps to `documentNumber` on OCR.
@@ -1,10 +1,10 @@
1
- import { y as IncodeCanvas } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-CRaFu6wS.js";
3
- import { a as IStorageCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
1
+ import { y as IncodeCanvas } from "./createFaceAvatar-BimBTONm.js";
2
+ import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-TisHEbBg.js";
3
+ import { a as IStorageCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
4
4
  import { t as PermissionResult } from "./types-BEwVKkLJ.js";
5
- import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-C3xNfOsv.js";
5
+ import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-ixfy84ys.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
7
+ import { i as Pdf417DecodeResult, n as IIdCaptureCapability, r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
8
8
  import { n as IGeolocationCapability, t as GeolocationCoords } from "./IGeolocationCapability-r49Qo7rR.js";
9
9
  //#region ../infra/src/capabilities/IDigitalCredentialsCapability.d.ts
10
10
  /**
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-CRaFu6wS.js";
1
+ import { a as RegulationTypes } from "./types-TisHEbBg.js";
2
2
  //#region src/internal/fingerprint/types.d.ts
3
3
  type DeviceFingerprintResult = {
4
4
  success: boolean;
@@ -1,6 +1,6 @@
1
- import { a as AvatarAssetsOverrides } from "./createFaceAvatar-lYX0VTYs.js";
2
- import { n as Flow, s as SelfieConcealmentOption } from "./types-CRaFu6wS.js";
3
- import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-Cqiaxydi.js";
1
+ import { a as AvatarAssetsOverrides } from "./createFaceAvatar-BimBTONm.js";
2
+ import { n as Flow, s as SelfieConcealmentOption } from "./types-TisHEbBg.js";
3
+ import { a as IStorageCapability, n as IWasmUtilCapability } from "./IWasmUtilCapability-BRn0wz8v.js";
4
4
  //#region src/internal/faceCapture/types.d.ts
5
5
  type CameraResolution = {
6
6
  width?: number;
@@ -29,6 +29,8 @@ type EkycDisplayModes = Partial<Record<keyof EkycVerificationFields, EkycFieldDi
29
29
  type EkycModuleConfig = {
30
30
  source: string;
31
31
  enablePhoneRisk?: boolean;
32
+ /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
33
+ autoExecution?: boolean;
32
34
  checkName?: boolean;
33
35
  nameSource?: string;
34
36
  checkEmail?: boolean;
@@ -93,6 +95,8 @@ type EkycConfig = {
93
95
  source?: string;
94
96
  fieldsCountry?: string;
95
97
  enablePhoneRisk?: boolean;
98
+ /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
99
+ autoExecution?: boolean;
96
100
  /** Each group's display mode; a group that is absent is editable. */
97
101
  displayModes?: EkycDisplayModes;
98
102
  };
@@ -128,6 +132,9 @@ type EkycValidationRule = ({
128
132
  type: 'nameCharacters';
129
133
  } | {
130
134
  type: 'notFuture';
135
+ } | {
136
+ type: 'maxAge';
137
+ years: number;
131
138
  } | {
132
139
  type: 'phoneDigits';
133
140
  country: string;
@@ -207,4 +214,4 @@ type EkycFieldDef = FieldDef & {
207
214
  type EkycInputFormat = 'uppercase' | 'stripSeparators';
208
215
  type RiskAddon = 'phoneCheck' | 'advancedPhoneCheck' | 'emailCheck' | 'phoneProfile';
209
216
  //#endregion
210
- export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, RiskAddon as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t };
217
+ export { EkycFormValues as a, EkycValidationErrors as c, EkycFieldDisplayMode as i, EkycValidationRule as l, EkycDisplayModes as n, EkycModuleConfig as o, EkycFieldDef as r, EkycValidationError as s, EkycConfig as t, RiskAddon as u };
@@ -1,4 +1,4 @@
1
- import { a as RegulationTypes } from "./types-CRaFu6wS.js";
1
+ import { a as RegulationTypes } from "./types-TisHEbBg.js";
2
2
  //#region src/modules/mandatory-consent/types.d.ts
3
3
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
4
4
  type MandatoryConsentConfig = {
@@ -15,7 +15,8 @@ type MandatoryConsent = {
15
15
  consentType: string;
16
16
  };
17
17
  type FetchMandatoryConsentResponse = {
18
- consents: MandatoryConsent[];
18
+ /** Can be empty or missing when there is no consent for the regulation type. */
19
+ consents?: MandatoryConsent[];
19
20
  };
20
21
  //#endregion
21
22
  export { MandatoryConsent as n, MandatoryConsentConfig as r, FetchMandatoryConsentResponse as t };
@@ -1,7 +1,8 @@
1
- import { l as RiskAddon } from "./types-CuMJ2M7D.js";
2
- import "./createFaceAvatar-lYX0VTYs.js";
1
+ import { u as RiskAddon } from "./types-DEa3taWc.js";
2
+ import "./createFaceAvatar-BimBTONm.js";
3
3
  import { t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
4
4
  import { n as KybChecksConfig } from "./types-CTaL0XJz.js";
5
+ import { c as EkycPrefillModuleConfig } from "./types-B-PIc0en.js";
5
6
  //#region src/internal/avatar/concealment.d.ts
6
7
  /**
7
8
  * Backend-aligned selfie/auth face-concealment options. The backend returns a
@@ -128,8 +129,11 @@ type FlowModuleConfig = {
128
129
  uniqueBeneficialOwnerSource: 'userInput';
129
130
  };
130
131
  EKYB_CHECKS: KybChecksConfig;
132
+ EKYC_PREFILL: EkycPrefillModuleConfig;
131
133
  EXTERNAL_VERIFICATION: {
132
134
  source: 'US_DRIVERS_LICENSE_1' | 'US_TELCO_1' | 'US_TELCO_2' | 'US_CONSUMER_1' | 'US_CREDIT_BUREAU_1' | 'US_CREDIT_TELCO' | 'MX_CONSUMER_1' | 'BR_GOVT_1' | 'CA_RES_CREDIT' | 'UK_CREDIT_BUREAU_1' | 'ES_1' | 'CL_1' | 'AR_1' | 'GR_1' | 'GT_1' | 'BR_CPF_1' | 'RISK_ADDONS_ONLY';
135
+ /** The backend runs the checks from earlier modules' data; the SDK skips the step. */
136
+ autoExecution?: boolean;
133
137
  checkName: boolean;
134
138
  nameSource: 'userInput' | 'document' | 'poa' | 'phoneModuleInput' | 'emailModuleInput';
135
139
  checkEmail: boolean;
@@ -207,8 +211,10 @@ type FlowModuleConfig = {
207
211
  ID_OCR: {
208
212
  editableOcr: boolean;
209
213
  cpfOnly?: boolean;
210
- /** When true, OCR is collected for the second captured ID after the first. */
214
+ /** Legacy combined review when ocrDocument is omitted. False disables second-ID review. */
211
215
  secondId?: boolean;
216
+ /** Review only this document instead of the combined first/second sequence. */
217
+ ocrDocument?: 'first' | 'second';
212
218
  /** Set by orchestrated flow UI from the active session (`flow.flowId`). */
213
219
  flowId?: string;
214
220
  };
@@ -0,0 +1,6 @@
1
+ import { i as FlowModuleConfig } from "./types-TisHEbBg.js";
2
+ import { t as BaseFaceCaptureConfig } from "./types-CgihAhT_.js";
3
+ //#region src/modules/authentication/types.d.ts
4
+ type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
5
+ //#endregion
6
+ export { AuthenticationConfig as t };
@@ -22,5 +22,18 @@ function stripUrlQueryAndFragment(url) {
22
22
  return url.split(/[?#]/, 1)[0];
23
23
  }
24
24
  }
25
+ /**
26
+ * Exact origin (`scheme://host[:port]`) of an absolute `http:` or `https:`
27
+ * URL, or `undefined` for anything else (relative, unparsable, other schemes).
28
+ */
29
+ function getHttpUrlOrigin(url) {
30
+ try {
31
+ const parsed = new URL(url);
32
+ if (parsed.protocol !== "https:" && parsed.protocol !== "http:") return;
33
+ return parsed.origin;
34
+ } catch {
35
+ return;
36
+ }
37
+ }
25
38
  //#endregion
26
- export { stripUrlQueryAndFragment as i, getUrlSearchParam as n, resolveAgainstPageOrigin as r, buildUrlWithSearchParams as t };
39
+ export { stripUrlQueryAndFragment as a, resolveAgainstPageOrigin as i, getHttpUrlOrigin as n, getUrlSearchParam as r, buildUrlWithSearchParams as t };
@@ -0,0 +1,209 @@
1
+ //#region src/shared/usStates.ts
2
+ const usStates = {
3
+ AL: {
4
+ code: "AL",
5
+ name: "Alabama"
6
+ },
7
+ AK: {
8
+ code: "AK",
9
+ name: "Alaska"
10
+ },
11
+ AZ: {
12
+ code: "AZ",
13
+ name: "Arizona"
14
+ },
15
+ AR: {
16
+ code: "AR",
17
+ name: "Arkansas"
18
+ },
19
+ CA: {
20
+ code: "CA",
21
+ name: "California"
22
+ },
23
+ CO: {
24
+ code: "CO",
25
+ name: "Colorado"
26
+ },
27
+ CT: {
28
+ code: "CT",
29
+ name: "Connecticut"
30
+ },
31
+ DE: {
32
+ code: "DE",
33
+ name: "Delaware"
34
+ },
35
+ FL: {
36
+ code: "FL",
37
+ name: "Florida"
38
+ },
39
+ GA: {
40
+ code: "GA",
41
+ name: "Georgia"
42
+ },
43
+ HI: {
44
+ code: "HI",
45
+ name: "Hawaii"
46
+ },
47
+ ID: {
48
+ code: "ID",
49
+ name: "Idaho"
50
+ },
51
+ IL: {
52
+ code: "IL",
53
+ name: "Illinois"
54
+ },
55
+ IN: {
56
+ code: "IN",
57
+ name: "Indiana"
58
+ },
59
+ IA: {
60
+ code: "IA",
61
+ name: "Iowa"
62
+ },
63
+ KS: {
64
+ code: "KS",
65
+ name: "Kansas"
66
+ },
67
+ KY: {
68
+ code: "KY",
69
+ name: "Kentucky"
70
+ },
71
+ LA: {
72
+ code: "LA",
73
+ name: "Louisiana"
74
+ },
75
+ ME: {
76
+ code: "ME",
77
+ name: "Maine"
78
+ },
79
+ MD: {
80
+ code: "MD",
81
+ name: "Maryland"
82
+ },
83
+ MA: {
84
+ code: "MA",
85
+ name: "Massachusetts"
86
+ },
87
+ MI: {
88
+ code: "MI",
89
+ name: "Michigan"
90
+ },
91
+ MN: {
92
+ code: "MN",
93
+ name: "Minnesota"
94
+ },
95
+ MS: {
96
+ code: "MS",
97
+ name: "Mississippi"
98
+ },
99
+ MO: {
100
+ code: "MO",
101
+ name: "Missouri"
102
+ },
103
+ MT: {
104
+ code: "MT",
105
+ name: "Montana"
106
+ },
107
+ NE: {
108
+ code: "NE",
109
+ name: "Nebraska"
110
+ },
111
+ NV: {
112
+ code: "NV",
113
+ name: "Nevada"
114
+ },
115
+ NH: {
116
+ code: "NH",
117
+ name: "New Hampshire"
118
+ },
119
+ NJ: {
120
+ code: "NJ",
121
+ name: "New Jersey"
122
+ },
123
+ NM: {
124
+ code: "NM",
125
+ name: "New Mexico"
126
+ },
127
+ NY: {
128
+ code: "NY",
129
+ name: "New York"
130
+ },
131
+ NC: {
132
+ code: "NC",
133
+ name: "North Carolina"
134
+ },
135
+ ND: {
136
+ code: "ND",
137
+ name: "North Dakota"
138
+ },
139
+ OH: {
140
+ code: "OH",
141
+ name: "Ohio"
142
+ },
143
+ OK: {
144
+ code: "OK",
145
+ name: "Oklahoma"
146
+ },
147
+ OR: {
148
+ code: "OR",
149
+ name: "Oregon"
150
+ },
151
+ PA: {
152
+ code: "PA",
153
+ name: "Pennsylvania"
154
+ },
155
+ RI: {
156
+ code: "RI",
157
+ name: "Rhode Island"
158
+ },
159
+ SC: {
160
+ code: "SC",
161
+ name: "South Carolina"
162
+ },
163
+ SD: {
164
+ code: "SD",
165
+ name: "South Dakota"
166
+ },
167
+ TN: {
168
+ code: "TN",
169
+ name: "Tennessee"
170
+ },
171
+ TX: {
172
+ code: "TX",
173
+ name: "Texas"
174
+ },
175
+ UT: {
176
+ code: "UT",
177
+ name: "Utah"
178
+ },
179
+ VT: {
180
+ code: "VT",
181
+ name: "Vermont"
182
+ },
183
+ VA: {
184
+ code: "VA",
185
+ name: "Virginia"
186
+ },
187
+ WA: {
188
+ code: "WA",
189
+ name: "Washington"
190
+ },
191
+ WV: {
192
+ code: "WV",
193
+ name: "West Virginia"
194
+ },
195
+ WI: {
196
+ code: "WI",
197
+ name: "Wisconsin"
198
+ },
199
+ WY: {
200
+ code: "WY",
201
+ name: "Wyoming"
202
+ }
203
+ };
204
+ const usStateOptions = Object.values(usStates).map((state) => ({
205
+ value: state.code,
206
+ label: state.name
207
+ }));
208
+ //#endregion
209
+ export { usStates as n, usStateOptions as t };
@@ -1,11 +1,11 @@
1
- import { c as WasmPipeline } from "./warmup-BO57syF6.js";
1
+ import { c as WasmPipeline } from "./warmup-BNhIuURi.js";
2
2
  import { A as StateMachine, _ as MachineContext, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
3
3
  import { t as Manager } from "./Manager-C9T5amUN.js";
4
4
  import "./Actor-DpTj5PFb.js";
5
5
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
6
6
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
7
- import { t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
8
- import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-Dv3Mgws-.js";
7
+ import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
8
+ import { a as FacingMode, c as VideoSelfieStep, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieSpeechResult, t as StepDetector } from "./videoSelfieStepDetector-4XE2QI5q.js";
9
9
  //#region ../infra/src/capabilities/ITimerCapability.d.ts
10
10
  type TimerHandle = ReturnType<typeof setTimeout>;
11
11
  type ITimerCapability = {
@@ -299,7 +299,8 @@ type VideoSelfieCameraWarmer = {
299
299
  /**
300
300
  * Stop a warmed-but-unused stream. Call on unmount when capture never started
301
301
  * so the camera light doesn't stay on. No-op once the stream has been consumed
302
- * by the recording machine.
302
+ * by the recording machine. After `dispose()`, `warm()` does nothing and
303
+ * `acquireCamera` always acquires a fresh stream.
303
304
  */
304
305
  dispose(): void;
305
306
  };
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-DDahygZs.esm.js";
2
- import { t as WasmUtilProvider } from "./WasmUtilProvider-Dp2V-Uct.esm.js";
3
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BpjzWqR1.esm.js";
2
+ import { t as WasmUtilProvider } from "./WasmUtilProvider-C_puwvVn.esm.js";
3
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
5
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
6
- import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-Dmnc8Rye.esm.js";
6
+ import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-Ca2vKNt2.esm.js";
7
7
  import { i as assign, l as raise, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
- import { t as carryAttempts } from "./attemptCarry-WOkfvFMw.esm.js";
10
+ import { t as carryAttempts } from "./attemptCarry-zQH85Elh.esm.js";
11
11
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
12
- import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-e3irGfcO.esm.js";
12
+ import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CTOpqhov.esm.js";
13
13
  import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
14
- import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js";
15
- import { t as MultipartRecordingService } from "./multipartRecordingService-BTqkHGG9.esm.js";
14
+ import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js";
15
+ import { t as MultipartRecordingService } from "./multipartRecordingService-CCiRpByl.esm.js";
16
16
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
17
17
  //#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
18
18
  var wave_encoder_default = () => {
@@ -1,14 +1,14 @@
1
- import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
1
+ import { t as api, u as endpoints } from "./api-BSnbg4HO.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-Dmnc8Rye.esm.js";
3
+ import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-Ca2vKNt2.esm.js";
4
4
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
5
- import { t as checkPermission } from "./permissionServices-D190ATGD.esm.js";
6
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-CAY43vSI.esm.js";
5
+ import { t as checkPermission } from "./permissionServices-CZpORUWY.esm.js";
6
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-BSLpXAGx.esm.js";
7
7
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-f4MgAG2A.esm.js";
11
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-Dszuq9ng.esm.js";
10
+ import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-fqxp645p.esm.js";
11
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DBnOC28H.esm.js";
12
12
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
13
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
14
14
  async function postVideoSelfieCompare(endpoint, base64Image) {
@@ -470,10 +470,10 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
470
470
  const firstFacing = facingModeForStep(steps[0] ?? "selfie");
471
471
  let warming = null;
472
472
  let warmed = null;
473
- let consumed = false;
473
+ let handedOff = null;
474
474
  return {
475
475
  warm() {
476
- if (warming) return;
476
+ if (warming || handedOff) return;
477
477
  warming = (async () => {
478
478
  try {
479
479
  if (await checkPermission() !== "granted") return null;
@@ -485,8 +485,8 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
485
485
  })();
486
486
  },
487
487
  async acquireCamera(facingMode, withAudio) {
488
- if (!consumed && facingMode === firstFacing && withAudio) {
489
- consumed = true;
488
+ if (!handedOff && facingMode === firstFacing && withAudio) {
489
+ handedOff = "consumed";
490
490
  const stream = warmed ?? (warming ? await warming : null);
491
491
  warmed = null;
492
492
  if (stream) return stream;
@@ -494,12 +494,14 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
494
494
  return defaultAcquireCamera(facingMode, withAudio);
495
495
  },
496
496
  dispose() {
497
- if (consumed) return;
497
+ if (handedOff) return;
498
+ handedOff = "disposed";
498
499
  if (warmed) {
499
500
  stopStream(warmed);
500
501
  warmed = null;
501
502
  } else if (warming) warming.then((stream) => {
502
- if (!consumed) stopStream(stream);
503
+ stopStream(stream);
504
+ warmed = null;
503
505
  });
504
506
  }
505
507
  };
@@ -1,8 +1,8 @@
1
- import { i as FlowModuleConfig } from "./types-CRaFu6wS.js";
2
- import "./IWasmUtilCapability-Cqiaxydi.js";
3
- import { n as DetectionStatus } from "./types-BEVHQbbC.js";
1
+ import { i as FlowModuleConfig } from "./types-TisHEbBg.js";
2
+ import "./IWasmUtilCapability-BRn0wz8v.js";
3
+ import { n as DetectionStatus } from "./types-CgihAhT_.js";
4
4
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
5
- import { t as DetectionOrientation } from "./IIdCaptureCapability-CGcEt2Cw.js";
5
+ import { t as DetectionOrientation } from "./IIdCaptureCapability-C-5M8pP1.js";
6
6
  //#region src/modules/video-selfie/types.d.ts
7
7
  /**
8
8
  * The capture steps a Video Selfie session can run, in flow order. Which steps