@incodetech/core 2.4.0 → 2.4.1-agentic.1

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 (252) hide show
  1. package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
  2. package/dist/{multipartRecordingService-CLwrF5wD.esm.js → CameraCompositor-DN7NkJzV.esm.js} +7 -744
  3. package/dist/{FaceDetectionProvider-DcPOC2gS.esm.js → FaceDetectionProvider-CAY43vSI.esm.js} +28 -64
  4. package/dist/IBrowserEnvironmentCapability-D7JG7ML3.esm.js +16 -0
  5. package/dist/IGeolocationCapability-r49Qo7rR.d.ts +10 -0
  6. package/dist/{IWasmUtilCapability-GF2n7sfm.d.ts → IWasmUtilCapability-Cqiaxydi.d.ts} +31 -4
  7. package/dist/MultipartRecordingProvider-D9mauUdS.esm.js +146 -0
  8. package/dist/{PhoneValidationProvider-SZiOS0jB.esm.js → PhoneValidationProvider-Co4zk2en.esm.js} +7 -0
  9. package/dist/{StreamCanvasCapture-7JRf-2ck.d.ts → StreamCanvasCapture-C3xNfOsv.d.ts} +12 -3
  10. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  11. package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-Dp2V-Uct.esm.js} +75 -22
  12. package/dist/WorkerEncoderRecordingProvider-B1ODYtgN.esm.js +80 -0
  13. package/dist/addressSearch-DzbE9Ogt.esm.js +254 -0
  14. package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-k-U-cL5m.esm.js} +1 -2
  15. package/dist/ae-signature.esm.js +1 -1
  16. package/dist/antifraud.esm.js +2 -2
  17. package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-BObuHBjn.esm.js} +2 -2
  18. package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-Dfrd2-26.esm.js} +1 -1
  19. package/dist/{api-Cz90EHyu.esm.js → api-CpP4PS4S.esm.js} +8 -5
  20. package/dist/{apiError-DPwFas2f.esm.js → apiError-DH-CH4Nz.esm.js} +1 -1
  21. package/dist/attemptCarry-WOkfvFMw.esm.js +45 -0
  22. package/dist/authentication.d.ts +3 -3
  23. package/dist/authentication.esm.js +2 -2
  24. package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-CWmh7aSY.d.ts} +1 -1
  25. package/dist/{authenticationManager-2Lr5V_7p.esm.js → authenticationManager-DjX0XDyH.esm.js} +5 -5
  26. package/dist/{authenticationStateMachine-C99B0GFP.esm.js → authenticationStateMachine-BMbZL8wm.esm.js} +3 -3
  27. package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
  28. package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-DS1oDiUq.esm.js} +12 -107
  29. package/dist/{browser-DlFgHpoC-DnyrCR8r.esm.js → browser-pQZA35G2-DtkAf6sn.esm.js} +161 -150
  30. package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
  31. package/dist/camera.d.ts +2 -2
  32. package/dist/camera.esm.js +1 -1
  33. package/dist/certificate-issuance.esm.js +2 -2
  34. package/dist/{certificateIssuanceManager-BfeMv2PU.esm.js → certificateIssuanceManager-C1nETQos.esm.js} +2 -2
  35. package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-DThXMDqr.esm.js} +2 -2
  36. package/dist/cnpj-Co1ottYN.esm.js +77 -0
  37. package/dist/connectivity-BCuEoQ-n.esm.js +114 -0
  38. package/dist/consent.d.ts +1 -1
  39. package/dist/consent.esm.js +2 -2
  40. package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-DMlSL6Ax.esm.js} +4 -3
  41. package/dist/{consentManager-Cv_0QKLD.d.ts → consentManager-bjfVXO7p.d.ts} +9 -2
  42. package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-DIYSMxKQ.esm.js} +20 -7
  43. package/dist/cross-document-data-match.esm.js +1 -1
  44. package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-BFTdiEDB.esm.js} +2 -2
  45. package/dist/curp-validation.d.ts +1 -1
  46. package/dist/curp-validation.esm.js +2 -2
  47. package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-DNpC3wyf.esm.js} +3 -2
  48. package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-z8428oCM.d.ts} +1 -1
  49. package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-B3iVsDyt.esm.js} +28 -20
  50. package/dist/custom-fields.esm.js +1 -1
  51. package/dist/custom-watchlist.esm.js +2 -2
  52. package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-CvI-pDT3.esm.js} +2 -2
  53. package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-BuHtUb0y.esm.js} +2 -2
  54. package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-CiVD9wyF.esm.js} +1 -1
  55. package/dist/{deepsightService-CKTYDIXD.esm.js → deepsightLoader-B7DEYoyY.esm.js} +40 -74
  56. package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-BGMtYwk3.esm.js} +177 -40
  57. package/dist/device.esm.js +2 -2
  58. package/dist/document-capture.d.ts +3 -3
  59. package/dist/document-capture.esm.js +2 -2
  60. package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +37 -4
  61. package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-DLPqruXJ.esm.js} +27 -19
  62. package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-DCvWQhFG.esm.js} +105 -56
  63. package/dist/dynamic-forms.d.ts +2 -2
  64. package/dist/dynamic-forms.esm.js +2 -2
  65. package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-9kwY8Bf5.d.ts} +1 -1
  66. package/dist/{dynamicFormsManager-DiKYjcF3.esm.js → dynamicFormsManager-DfqCEPg9.esm.js} +2 -2
  67. package/dist/{dynamicFormsStateMachine-DEI45xYW.esm.js → dynamicFormsStateMachine-USQMB-uV.esm.js} +2 -2
  68. package/dist/ekyb.d.ts +4 -4
  69. package/dist/ekyb.esm.js +3 -3
  70. package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-BLOkwmWO.d.ts} +2 -2
  71. package/dist/{ekybManager-8WLkNcqg.esm.js → ekybManager-CR8YSYux.esm.js} +2 -2
  72. package/dist/{ekybStateMachine-BLRT45Ex.esm.js → ekybStateMachine-kHwdz6hm.esm.js} +28 -44
  73. package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
  74. package/dist/ekyc.d.ts +4 -3
  75. package/dist/ekyc.esm.js +3 -3
  76. package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-DlGIn9wA.d.ts} +2 -1
  77. package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-DymCvmVB.esm.js} +2 -2
  78. package/dist/ekycStateMachine-CoFCUJ2z.esm.js +7578 -0
  79. package/dist/ekycUtils-GRuMELYr.esm.js +1472 -0
  80. package/dist/electronic-signature.esm.js +1 -1
  81. package/dist/{electronicSignatureManager-CcIMOb_Y.esm.js → electronicSignatureManager-BCE3uA3z.esm.js} +4 -4
  82. package/dist/email.esm.js +2 -2
  83. package/dist/{emailManager-ButFktRm.esm.js → emailManager-CGoE3CUe.esm.js} +2 -2
  84. package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-KgHfDNvM.esm.js} +32 -20
  85. package/dist/{events-Du2A4-Qr.esm.js → events-ggpBBaZ8.esm.js} +2 -2
  86. package/dist/events.esm.js +1 -1
  87. package/dist/extensibility.d.ts +37 -22
  88. package/dist/extensibility.esm.js +36 -35
  89. package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
  90. package/dist/face-match.d.ts +1 -1
  91. package/dist/face-match.esm.js +2 -2
  92. package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-DV2ULUYS.d.ts} +71 -66
  93. package/dist/{faceCaptureManagerFactory-BlGvXzXA.esm.js → faceCaptureManagerFactory-Dp90bedH.esm.js} +4 -4
  94. package/dist/{faceCaptureSetup-TY8RXc2N.esm.js → faceCaptureSetup-ZfiWg0fo.esm.js} +84 -457
  95. package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-D2xKPjjQ.esm.js} +2 -2
  96. package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-Z4UDLwAv.d.ts} +16 -7
  97. package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-CUvwiQi9.esm.js} +40 -27
  98. package/dist/{feature-management-B5rR10uS.esm.js → feature-management-BbCIA4og.esm.js} +35 -21
  99. package/dist/feature-management.esm.js +1 -1
  100. package/dist/field-comparison.esm.js +1 -1
  101. package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-DgDbEeFZ.esm.js} +2 -2
  102. package/dist/fiscal-qr.esm.js +1 -1
  103. package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-BZeklojR.esm.js} +4 -4
  104. package/dist/flow-events.d.ts +1 -1
  105. package/dist/flow.d.ts +10 -10
  106. package/dist/flow.esm.js +10 -9
  107. package/dist/{flowCompletionService-BDI5QpfR.esm.js → flowCompletionService-CcCnPs_T.esm.js} +2 -2
  108. package/dist/{flowServices-roD0oIQL.esm.js → flowServices-Dmnc8Rye.esm.js} +69 -185
  109. package/dist/geolocation.d.ts +1 -1
  110. package/dist/geolocation.esm.js +2 -2
  111. package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-6e1i9UIR.d.ts} +15 -17
  112. package/dist/{geolocationManager-DnONzWL5.esm.js → geolocationManager-BJJ3m_I8.esm.js} +6 -8
  113. package/dist/{geolocationStateMachine-eWy_G4Os.esm.js → geolocationStateMachine-CTI3m4Ie.esm.js} +12 -8
  114. package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
  115. package/dist/government-validation.esm.js +2 -2
  116. package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-CjChjZ3C.esm.js} +2 -2
  117. package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-AEbn3Afi.esm.js} +1 -1
  118. package/dist/home.d.ts +1 -1
  119. package/dist/home.esm.js +1 -1
  120. package/dist/http.esm.js +1 -1
  121. package/dist/id-ocr.d.ts +1 -1
  122. package/dist/id-ocr.esm.js +2 -2
  123. package/dist/id-selfie-flow.d.ts +1 -1
  124. package/dist/id-selfie-flow.esm.js +10 -9
  125. package/dist/id-verification.esm.js +2 -2
  126. package/dist/id.d.ts +3 -16
  127. package/dist/id.esm.js +4 -4
  128. package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-Dszuq9ng.esm.js} +3 -3
  129. package/dist/{idCaptureManager-BrfYjCm_.esm.js → idCaptureManager-B3oR4RnA.esm.js} +64 -17
  130. package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-CCA2D1Ah.d.ts} +68 -5
  131. package/dist/{idCaptureServices-BSj6EH2l.esm.js → idCaptureServices-DK0QboqT.esm.js} +29 -198
  132. package/dist/{idCaptureStateMachine-dXKBYHQp.esm.js → idCaptureStateMachine-zzar9MPy.esm.js} +914 -536
  133. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-BTdHlJ9D.d.ts} +1 -1
  134. package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-xyEZNOBa.esm.js} +2 -2
  135. package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-DNKXh4Rn.esm.js} +2 -2
  136. package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-DdnvYfgN.esm.js} +2 -2
  137. package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DtIBCa32.esm.js} +1 -1
  138. package/dist/identity-reuse.esm.js +2 -2
  139. package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-CcpovlfD.esm.js} +2 -2
  140. package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-DxZFWy47.esm.js} +1 -1
  141. package/dist/{index-CKQ9QBZP.d.ts → index-DC0P2Vzw.d.ts} +1 -1
  142. package/dist/{index-BKOWUhxG.d.ts → index-DEfwds5y.d.ts} +55 -8
  143. package/dist/index.d.ts +1 -1
  144. package/dist/index.esm.js +1 -1
  145. package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-BJ0GVHGr.esm.js} +1 -1
  146. package/dist/kyb-checks.d.ts +3 -0
  147. package/dist/kyb-checks.esm.js +3 -0
  148. package/dist/kybChecksManager-CblEL97E.d.ts +95 -0
  149. package/dist/kybChecksManager-DpGOp4Su.esm.js +89 -0
  150. package/dist/kybChecksStateMachine-B43NAnv7.esm.js +718 -0
  151. package/dist/mandatory-consent.d.ts +2 -2
  152. package/dist/mandatory-consent.esm.js +2 -2
  153. package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-B4vCYslr.esm.js} +4 -3
  154. package/dist/{mandatoryConsentManager-BQ43yndC.d.ts → mandatoryConsentManager-B88Sm5nd.d.ts} +10 -3
  155. package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-DWslYPA3.esm.js} +20 -7
  156. package/dist/mediaRecorderOptions-B9-IEVtV.esm.js +70 -0
  157. package/dist/multipartRecordingService-BTqkHGG9.esm.js +407 -0
  158. package/dist/nationalIds-B91f_RuB.esm.js +99 -0
  159. package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-DFV-Ws0a.esm.js} +1 -1
  160. package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-D190ATGD.esm.js} +11 -9
  161. package/dist/phone-number.d.ts +7 -1
  162. package/dist/phone-number.esm.js +15 -2
  163. package/dist/phone.d.ts +1 -1
  164. package/dist/phone.esm.js +2 -2
  165. package/dist/phoneFormat-JJNaWthV.esm.js +75 -0
  166. package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-6nrJkvkG.d.ts} +5 -0
  167. package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-Dy5tODCU.esm.js} +3 -3
  168. package/dist/phoneServices-DJgyOzU2.esm.js +77 -0
  169. package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-DnlPhnw7.esm.js} +54 -82
  170. package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
  171. package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
  172. package/dist/processFaceMatch-Bst83HaS.esm.js +21 -0
  173. package/dist/qe-signature.esm.js +1 -1
  174. package/dist/recordingService-CTko6Cjn.esm.js +397 -0
  175. package/dist/redirect-to-mobile.d.ts +2 -2
  176. package/dist/redirect-to-mobile.esm.js +2 -2
  177. package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-CgGaT2NP.esm.js} +5 -4
  178. package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-Dm9ctRCC.d.ts} +3 -1
  179. package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-CbhN8uVN.esm.js} +65 -26
  180. package/dist/resolveForm-O7-r79VA.esm.js +351 -0
  181. package/dist/{runChildModule-BF_atgNx.esm.js → runChildModule-BffFArwl.esm.js} +3 -3
  182. package/dist/{sdkVersion-CsIbltJF.esm.js → sdkVersion-CDd_gaR7.esm.js} +1 -1
  183. package/dist/selfie.d.ts +4 -4
  184. package/dist/selfie.esm.js +10 -10
  185. package/dist/{selfieErrorUtils-BY0-YbPW.esm.js → selfieErrorUtils-f4MgAG2A.esm.js} +1 -1
  186. package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-DmZFzs1-.d.ts} +1 -1
  187. package/dist/{selfieManager-vAAwzsHk.esm.js → selfieManager-hopelYEk.esm.js} +5 -5
  188. package/dist/{selfieStateMachine-BFVp3ElQ.esm.js → selfieStateMachine-DaZIVv3Q.esm.js} +3 -3
  189. package/dist/{session-CpwfoVdH.esm.js → session-CdSX4wsZ.esm.js} +77 -9
  190. package/dist/session.d.ts +96 -10
  191. package/dist/session.esm.js +7 -6
  192. package/dist/{sessionInitializer-BTjYgE-V.esm.js → sessionInitializer-DsL7X2j9.esm.js} +465 -206
  193. package/dist/{setup-YPKTUCY5.d.ts → setup-D9qt8YVU.d.ts} +2 -2
  194. package/dist/{setup-BInNAvQw.esm.js → setup-DDahygZs.esm.js} +44 -30
  195. package/dist/signature.esm.js +2 -2
  196. package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-CwqjcxPg.esm.js} +2 -2
  197. package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-DBVDd1Eu.esm.js} +1 -1
  198. package/dist/{stats-BEvexnKC.esm.js → stats-CatA2dea.esm.js} +1 -1
  199. package/dist/stats.esm.js +1 -1
  200. package/dist/textRules-D4NRinKY.d.ts +41 -0
  201. package/dist/{tri-xzRLIIMN.esm.js → tri-DG6priFa.esm.js} +142 -8
  202. package/dist/tri.d.ts +1 -1
  203. package/dist/tri.esm-CzTNi5Q_.esm.js +3826 -0
  204. package/dist/tri.esm.js +1 -1
  205. package/dist/{trueSightService-BMT-TubT.esm.js → trueSightService-GuLthUVK.esm.js} +19 -10
  206. package/dist/trust-graph.esm.js +1 -1
  207. package/dist/types-B9C8W01q.d.ts +34 -0
  208. package/dist/{types-yPH8lAH-.d.ts → types-BEVHQbbC.d.ts} +2 -2
  209. package/dist/{types-BAxn7MpY.d.ts → types-BPm1JSu7.d.ts} +123 -48
  210. package/dist/{types-0L-eFDmr.d.ts → types-BgRHw-dR.d.ts} +1 -1
  211. package/dist/{types-B6HsSzpk.d.ts → types-CRaFu6wS.d.ts} +6 -3
  212. package/dist/types-CTaL0XJz.d.ts +80 -0
  213. package/dist/{types-Ckir_BEs.d.ts → types-Cd0J0F9D.d.ts} +1 -1
  214. package/dist/{types-CK8Jbjkp.d.ts → types-Csh8vzPo.d.ts} +1 -1
  215. package/dist/types-CuMJ2M7D.d.ts +210 -0
  216. package/dist/{types-DUnFZ08M.d.ts → types-CyNndVAT.d.ts} +16 -8
  217. package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
  218. package/dist/types-J6g6iKe_.d.ts +6 -0
  219. package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
  220. package/dist/video-selfie.d.ts +8 -8
  221. package/dist/video-selfie.esm.js +97 -22
  222. package/dist/{videoSelfieCameraWarmer-D1xA0u8y.esm.js → videoSelfieCameraWarmer-e3irGfcO.esm.js} +18 -21
  223. package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-Dv3Mgws-.d.ts} +9 -4
  224. package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
  225. package/dist/{warmup-BElYWRh7.esm.js → warmup-DtB0DJpl.esm.js} +198 -27
  226. package/dist/wasm.d.ts +2 -2
  227. package/dist/wasm.esm.js +3 -3
  228. package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-BtiR5pig.esm.js} +1 -1
  229. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
  230. package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-BDrax6Eu.esm.js} +55 -26
  231. package/dist/watchlist-for-business.d.ts +2 -1
  232. package/dist/watchlist-for-business.esm.js +2 -2
  233. package/dist/watchlist.esm.js +2 -2
  234. package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-DX2AyM4Y.d.ts} +54 -18
  235. package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-DqUpAEj_.esm.js} +37 -7
  236. package/dist/watchlistForBusinessStateMachine-DdaPl2PS.esm.js +166 -0
  237. package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-CdpXzT4B.esm.js} +2 -2
  238. package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-ofHW_lPk.esm.js} +1 -1
  239. package/dist/workflow.d.ts +5 -2
  240. package/dist/workflow.esm.js +60 -50
  241. package/package.json +12 -5
  242. package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
  243. package/dist/addressSearch-DPjIKJrX.esm.js +0 -563
  244. package/dist/deepsightLoader-DeNvGU3c.esm.js +0 -55
  245. package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
  246. package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
  247. package/dist/thumbmark.esm-CRc0cYvz.esm.js +0 -1242
  248. package/dist/tri.esm-BIjHhBJ2.esm.js +0 -2620
  249. package/dist/types-BvLo3U4u.d.ts +0 -134
  250. package/dist/types-zOgZqMni.d.ts +0 -6
  251. package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
  252. /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
2
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { t as faceMatchMachine } from "./faceMatchStateMachine-CUCvlydD.esm.js";
3
+ import { t as faceMatchMachine } from "./faceMatchStateMachine-CUvwiQi9.esm.js";
4
4
  //#region src/modules/face-match/faceMatchActor.ts
5
5
  function createFaceMatchActor(options) {
6
6
  return createActor(faceMatchMachine, { input: { config: options.config } }).start();
@@ -48,6 +48,13 @@ type FaceMatchConfig = {
48
48
  * @default false
49
49
  */
50
50
  skipFaceMatch?: boolean;
51
+ /**
52
+ * A match result you already have. When set, the module shows it and does
53
+ * not run the match. Use it when the SDK cannot keep the selfie result
54
+ * across steps, for example after a full page load. Ignored for
55
+ * `matchingType: 'secondId'`.
56
+ */
57
+ matched?: boolean;
51
58
  };
52
59
  /**
53
60
  * Cropped face images fetched from the backend.
@@ -67,16 +74,16 @@ type FaceMatchImages = {
67
74
  secondIdFace?: string | null;
68
75
  };
69
76
  /**
70
- * Face match result parsed from score response.
77
+ * Face match result: the `success` field of `/omni/process/face`, or the
78
+ * `faceRecognition` status of `/omni/get/score` when that field is absent.
71
79
  */
72
80
  type FaceMatchResult = {
73
81
  /**
74
- * Whether faces matched (OK = true, FAIL = false, null = unknown).
82
+ * Whether faces matched (true, false, or null when unknown, for example a
83
+ * `WARN` score).
75
84
  */
76
85
  matched: boolean | null;
77
- /**
78
- * Whether liveness check passed.
79
- */
86
+ /** @deprecated Always `null`. */
80
87
  liveness: boolean | null;
81
88
  };
82
89
  //#endregion
@@ -92,14 +99,14 @@ type FaceMatchActor = ReturnType<typeof createFaceMatchActor>;
92
99
  type FaceMatchIdleState = {
93
100
  status: 'idle';
94
101
  };
95
- /** Fetching images and score from backend */
102
+ /** Fetching images and the match result from backend */
96
103
  type FaceMatchLoadingState = {
97
104
  status: 'loading';
98
105
  };
99
106
  /**
100
107
  * Animation is playing - images are animating.
101
108
  * @property images - Cropped face images fetched from backend
102
- * @property result - Face match result (matched, liveness)
109
+ * @property result - Face match result
103
110
  */
104
111
  type FaceMatchAnimatingState = {
105
112
  status: 'animating';
@@ -110,6 +117,7 @@ type FaceMatchAnimatingState = {
110
117
  };
111
118
  result: {
112
119
  matched: boolean | null;
120
+ /** @deprecated Always `null`. */
113
121
  liveness: boolean | null;
114
122
  };
115
123
  };
@@ -128,6 +136,7 @@ type FaceMatchResultState = {
128
136
  };
129
137
  result: {
130
138
  matched: boolean | null;
139
+ /** @deprecated Always `null`. */
131
140
  liveness: boolean | null;
132
141
  };
133
142
  matched: boolean | null;
@@ -1,6 +1,7 @@
1
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
2
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
3
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
4
+ import { t as getProcessFaceMatch } from "./processFaceMatch-Bst83HaS.esm.js";
4
5
  //#region src/modules/face-match/constants.ts
5
6
  /**
6
7
  * Backend error code returned by face-match endpoints (e.g. `/omni/process/face`,
@@ -43,18 +44,6 @@ async function fetchFaceMatchImages(signal) {
43
44
  };
44
45
  }
45
46
  /**
46
- * Fetches face recognition score from the backend.
47
- */
48
- async function fetchScore(signal) {
49
- const res = await api.get(endpoints.getScore, { signal });
50
- if (!res.ok) throw new Error(`GET ${endpoints.getScore} failed: ${res.status} ${res.statusText}`);
51
- const data = res.data;
52
- return {
53
- matched: data.faceRecognition?.overall?.status === "OK" ? true : data.faceRecognition?.overall?.status === "FAIL" ? false : null,
54
- liveness: data.deepsight ? data.deepsight.multimodalIntelligence?.overall?.status === "OK" : data.liveness?.overall?.status === "OK"
55
- };
56
- }
57
- /**
58
47
  * Fetches second ID face images from the backend.
59
48
  */
60
49
  async function fetchSecondIdImages(signal) {
@@ -65,16 +54,24 @@ async function fetchSecondIdImages(signal) {
65
54
  return { secondIdFace: /^(?:data:|https?:\/\/|blob:)/i.test(image) ? image : `data:image/png;base64,${image}` };
66
55
  }
67
56
  /**
68
- * Triggers server-side face processing/matching for the captured selfie.
57
+ * Reads the face recognition result from `/omni/get/score`. Used only when
58
+ * `/omni/process/face` sent no `success`, which means the API key allows
59
+ * score retrieval.
60
+ */
61
+ async function fetchScoreMatched(signal) {
62
+ const res = await api.get(endpoints.getScore, { signal });
63
+ if (!res.ok) throw new Error(`GET ${endpoints.getScore} failed: ${res.status} ${res.statusText}`);
64
+ const status = res.data.faceRecognition?.overall?.status;
65
+ return status === "OK" ? true : status === "FAIL" ? false : null;
66
+ }
67
+ /**
68
+ * Runs server-side face matching for the captured selfie and returns the match
69
+ * result (the response's `success` field, `null` when absent).
69
70
  *
70
- * Always run by face-match before reading the score, mirroring SDK 1's FaceMatch module.
71
- * Some capture steps skip server-side face processing (e.g. AUTHENTICATION and the
72
- * capture-only selfie variant), so the match must be (re)triggered here before
73
- * `GET /omni/get/score` can reflect it. When the selfie was already processed upstream
74
- * (e.g. the regular selfie module) this is a harmless reprocess.
71
+ * Face-match runs it when no earlier step did. Some capture steps skip it
72
+ * (Workflow SELFIE, AUTHENTICATION, the capture-only selfie variant).
75
73
  *
76
- * The response body is intentionally ignored — face-match re-reads the result via
77
- * `fetchScore`. A non-ok response throws an Error carrying the backend `status`/`data` so
74
+ * A non-ok response throws an Error carrying the backend `status`/`data` so
78
75
  * the state machine's `onError` can both produce a readable message and detect the
79
76
  * "ID face extraction skipped" case (status 4084) via `isFaceExtractionSkippedError`.
80
77
  */
@@ -88,21 +85,37 @@ async function processFaceForMatch(matchingType, signal) {
88
85
  status: res.status,
89
86
  data: res.data
90
87
  });
88
+ const success = res.data?.success;
89
+ return typeof success === "boolean" ? success : null;
91
90
  }
92
91
  /**
93
- * Fetches all face match data in parallel (images, score, and optionally second ID images).
92
+ * Fetches the face match images and result.
93
+ *
94
+ * The result is the `success` field of `/omni/process/face`. The backend sends
95
+ * it only when the API key blocks score retrieval with the session token, and
96
+ * then `/omni/get/score` returns 403. Without `success`, the result comes from
97
+ * `/omni/get/score`. `config.matched`, or else the saved result of a selfie
98
+ * capture in this session, skips the call. The second ID
99
+ * always runs its own call, because the selfie matches only against the
100
+ * primary ID.
94
101
  */
95
102
  async function fetchFaceMatchData(config, signal) {
96
- await processFaceForMatch(config.matchingType, signal);
97
- const promises = [fetchFaceMatchImages(signal), fetchScore(signal)];
98
- if (config.matchingType === "secondId") promises.push(fetchSecondIdImages(signal));
99
- const [imagesRes, resultRes, secondIdRes] = await Promise.all(promises);
103
+ const isSecondId = config.matchingType === "secondId";
104
+ const fromProcessFace = (isSecondId ? null : config.matched ?? getProcessFaceMatch()) ?? await processFaceForMatch(config.matchingType, signal);
105
+ const [imagesRes, secondIdRes, matched] = await Promise.all([
106
+ fetchFaceMatchImages(signal),
107
+ isSecondId ? fetchSecondIdImages(signal) : void 0,
108
+ fromProcessFace ?? fetchScoreMatched(signal)
109
+ ]);
100
110
  return {
101
111
  images: {
102
112
  ...imagesRes,
103
113
  secondIdFace: secondIdRes?.secondIdFace ?? null
104
114
  },
105
- result: resultRes
115
+ result: {
116
+ matched,
117
+ liveness: null
118
+ }
106
119
  };
107
120
  }
108
121
  //#endregion
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-CsIbltJF.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-CDd_gaR7.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -94,35 +94,50 @@ var FeatureManagementProvider = class FeatureManagementProvider {
94
94
  get initialized() {
95
95
  return this._client !== void 0;
96
96
  }
97
- async initialize(config) {
97
+ initialize(config) {
98
+ this._redactedUserInfo = {
99
+ ...DEFAULT_REDACTED_USER_INFO,
100
+ ...config.redactedUserInfo
101
+ };
102
+ this._user = this._getAdjustedUser({
103
+ customIDs: config.customIDs,
104
+ custom: config.custom,
105
+ appVersion: config.appVersion
106
+ });
107
+ this._initialization = this._initialize(config);
108
+ return this._initialization;
109
+ }
110
+ async _initialize(config) {
98
111
  try {
99
112
  const module = await this._lazySdk.load();
100
113
  if (!module) return;
101
- this._redactedUserInfo = {
102
- ...DEFAULT_REDACTED_USER_INFO,
103
- ...config.redactedUserInfo
104
- };
105
- this._user = this._getAdjustedUser({
106
- customIDs: config.customIDs,
107
- custom: config.custom,
108
- appVersion: config.appVersion
109
- });
110
- const client = new module.StatsigClient(CLIENT_SDK_KEY, this._user, {
114
+ const user = this._user;
115
+ const client = new module.StatsigClient(CLIENT_SDK_KEY, user, {
111
116
  environment: { tier: config.environment },
112
117
  disableStableID: config.disableStableId,
113
118
  disableStorage: config.disablePersistence
114
119
  });
115
120
  await client.initializeAsync({ timeoutMs: FEATURE_MANAGEMENT_REQUEST_TIMEOUT_MS });
116
121
  this._client = client;
122
+ this._clientUser = user;
117
123
  } catch (error) {
118
124
  console.warn("[FeatureManagement] initialize() failed; gates/experiments/layers will be disabled for this session.", error);
119
125
  }
120
126
  }
127
+ /**
128
+ * During `initialize()`, merges into the user the client starts with and
129
+ * resolves once it is initialized; sends a request only when the client's
130
+ * user lacks the update.
131
+ */
121
132
  async updateUser(user) {
122
- if (!this._client) return;
133
+ if (!this._client && !this._initialization) return;
123
134
  this._user = this._getAdjustedUser(user);
135
+ await this._initialization;
136
+ if (!this._client || this._clientUser === this._user) return;
137
+ const next = this._user;
124
138
  try {
125
- await this._client.updateUserAsync(this._user, { timeoutMs: FEATURE_MANAGEMENT_REQUEST_TIMEOUT_MS });
139
+ await this._client.updateUserAsync(next, { timeoutMs: FEATURE_MANAGEMENT_REQUEST_TIMEOUT_MS });
140
+ this._clientUser = next;
126
141
  } catch (error) {
127
142
  console.warn("[FeatureManagement] updateUser() failed.", error);
128
143
  }
@@ -201,6 +216,8 @@ var FeatureManagementProvider = class FeatureManagementProvider {
201
216
  async reset() {
202
217
  const client = this._client;
203
218
  this._client = void 0;
219
+ this._clientUser = void 0;
220
+ this._initialization = void 0;
204
221
  this._user = {};
205
222
  this._redactedUserInfo = { ...DEFAULT_REDACTED_USER_INFO };
206
223
  return client?.shutdown().catch(() => {});
@@ -403,13 +420,10 @@ async function updateFeatureManagementUser(update) {
403
420
  const previousCustomIDs = {};
404
421
  for (const key of Object.keys(adaptedCustomIDs)) previousCustomIDs[key] = appliedCustomIDs[key];
405
422
  Object.assign(appliedCustomIDs, adaptedCustomIDs);
406
- const providerUpdate = (async () => {
407
- if (isFeatureManagementLocked) await readyPromise;
408
- await getProvider().updateUser({
409
- customIDs: adaptedCustomIDs,
410
- custom
411
- });
412
- })();
423
+ const providerUpdate = getProvider().updateUser({
424
+ customIDs: adaptedCustomIDs,
425
+ custom
426
+ });
413
427
  inFlightUserUpdate = providerUpdate;
414
428
  try {
415
429
  await providerUpdate;
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-B5rR10uS.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-BbCIA4og.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
@@ -1,2 +1,2 @@
1
- import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-v3knTYV_.esm.js";
1
+ import { n as createFieldComparisonManagerFromActor, r as fieldComparisonMachine, t as createFieldComparisonManager } from "./fieldComparisonManager-DgDbEeFZ.esm.js";
2
2
  export { createFieldComparisonManager, createFieldComparisonManagerFromActor, fieldComparisonMachine };
@@ -1,5 +1,5 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
2
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ggpBBaZ8.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
3
3
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
5
  //#region src/modules/field-comparison/fieldComparisonServices.ts
@@ -1,2 +1,2 @@
1
- import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-Dt9fHG7h.esm.js";
1
+ import { n as createFiscalQrManagerFromActor, r as fiscalQrMachine, t as createFiscalQrManager } from "./fiscalQrManager-BZeklojR.esm.js";
2
2
  export { createFiscalQrManager, createFiscalQrManagerFromActor, fiscalQrMachine };
@@ -1,10 +1,10 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-Du2A4-Qr.esm.js";
2
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
1
+ import { n as eventModuleNames, o as createManagerInstrumentation, y as addEvent } from "./events-ggpBBaZ8.esm.js";
2
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { o as stopCameraStream } from "./camera-sIa9ceW2.esm.js";
7
- import { n as getBackCameraStream } from "./backCameraStream-CMvXj4X4.esm.js";
6
+ import { a as stopCameraStream } from "./camera-E_Kcre4O.esm.js";
7
+ import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
8
8
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
9
9
  import "./http.esm.js";
10
10
  //#region src/modules/fiscal-qr/fiscalQrConstants.ts
@@ -1,2 +1,2 @@
1
- import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-CKQ9QBZP.js";
1
+ import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-DC0P2Vzw.js";
2
2
  export type { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
package/dist/flow.d.ts CHANGED
@@ -2,18 +2,18 @@ import { c as WasmPipeline } from "./warmup-BO57syF6.js";
2
2
  import { A as StateMachine, _ as MachineContext, c as AnyEventObject, l as AnyStateMachine, 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 { a as ElectronicSignatureConfig } from "./types-D0gekt4U.js";
5
- import { t as EkycConfig } from "./types-BvLo3U4u.js";
6
- import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-B6HsSzpk.js";
7
- import { t as AuthenticationConfig } from "./types-zOgZqMni.js";
8
- import { r as DocumentCaptureConfig } from "./types-DUnFZ08M.js";
9
- import { t as DynamicFormsConfig } from "./types-BSBzhHRH2.js";
10
- import { t as EkybConfig } from "./types-0L-eFDmr.js";
11
- import { u as IdCaptureConfig } from "./types-BAxn7MpY.js";
12
- import { r as MandatoryConsentConfig } from "./types-Ckir_BEs.js";
5
+ import { t as EkycConfig } from "./types-CuMJ2M7D.js";
6
+ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-CRaFu6wS.js";
7
+ import { t as AuthenticationConfig } from "./types-J6g6iKe_.js";
8
+ import { r as DocumentCaptureConfig } from "./types-CyNndVAT.js";
9
+ import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
10
+ import { t as EkybConfig } from "./types-BgRHw-dR.js";
11
+ import { u as IdCaptureConfig } from "./types-BPm1JSu7.js";
12
+ import { r as MandatoryConsentConfig } from "./types-Cd0J0F9D.js";
13
13
  import { t as IdOcrConfig } from "./types-CJ7Yl9K-.js";
14
- import { t as RedirectToMobileConfig } from "./types-DPIDuhut.js";
14
+ import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
15
15
  import { a as TotalScore, c as getTotalScoreStatus, n as FinishStatus, o as classifyScoreStatus, r as GetFinishStatusFn, t as FinishScreenVariant } from "./flowCompletionService-BlAHsKyv.js";
16
- import { o as FlowEventSubscribable } from "./index-CKQ9QBZP.js";
16
+ import { o as FlowEventSubscribable } from "./index-DC0P2Vzw.js";
17
17
  import { n as ModuleRegistry } from "./types-BQA7lRDV.js";
18
18
  //#region src/modules/flow/orchestratedFlowStateMachine.d.ts
19
19
  type GetFlowFn = (signal: AbortSignal) => Promise<Flow>;
package/dist/flow.esm.js CHANGED
@@ -1,10 +1,11 @@
1
- import { y as addEvent } from "./events-Du2A4-Qr.esm.js";
2
- import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, j as mergeDashboardConfig, l as normalizeFlowModules, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as resolveFlowModuleConfig } from "./flowServices-roD0oIQL.esm.js";
1
+ import { y as addEvent } from "./events-ggpBBaZ8.esm.js";
2
+ import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
3
+ import { a as resolveDashboardModuleConfig, c as getRequiredWasmPipelines, d as resolveFlowModuleConfig, h as mergeDashboardConfig, l as loadFlowConfigConverters, n as getFlow, o as enrichFlowModuleConfig, r as preloadDashboardFlow, s as getNextRequiredWasmPipelines, t as completeDeferredActivation, u as normalizeFlowModules } from "./flowServices-Dmnc8Rye.esm.js";
3
4
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
5
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BDI5QpfR.esm.js";
6
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BF_atgNx.esm.js";
7
- import { n as isAdvanceableError } from "./advanceableErrors-q_pfU3Cn.esm.js";
6
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-CcCnPs_T.esm.js";
7
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-BffFArwl.esm.js";
8
+ import { n as isAdvanceableError } from "./advanceableErrors-k-U-cL5m.esm.js";
8
9
  //#region src/modules/flow/noOpFlowModuleMachine.ts
9
10
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
10
11
  id: "noOpFlowModule",
@@ -412,11 +413,11 @@ const orchestratedFlowMachine = /* @__PURE__ */ (() => setup({
412
413
  },
413
414
  actors: {
414
415
  fetchFlow: fromPromise(async ({ input, signal }) => {
415
- return input.getFlow(signal);
416
- }),
417
- notifyBackend: fromPromise(async ({ input, signal }) => {
418
- return await input.getFinishStatus(input.flowId, signal);
416
+ const flow = await retryAfterReconnect(() => input.getFlow(signal), signal);
417
+ await loadFlowConfigConverters(flow);
418
+ return flow;
419
419
  }),
420
+ notifyBackend: fromPromise(({ input, signal }) => retryAfterReconnect(() => input.getFinishStatus(input.flowId, signal), signal)),
420
421
  runChildModule,
421
422
  resolveActivation: fromPromise(async ({ input, signal }) => {
422
423
  if (!input.flow) throw new Error("No flow loaded");
@@ -1,5 +1,5 @@
1
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-DPwFas2f.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CpP4PS4S.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-DH-CH4Nz.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}` : ""}`;