@incodetech/core 2.4.1 → 2.5.0-rc.0

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 (311) hide show
  1. package/dist/Actor-DqjOqDfU.d.ts +1 -0
  2. package/dist/{BaseWasmProvider-Bq3OHo7P.d.ts → BaseWasmProvider-bBNquvYn.d.ts} +2 -2
  3. package/dist/BrowserNetworkStatusProvider-BrDXBEDd.esm.js +21 -0
  4. package/dist/{multipartRecordingService-CLwrF5wD.esm.js → CameraCompositor-ppyMYVoY.esm.js} +7 -744
  5. package/dist/DateFormattingProvider-DPq9zco-.esm.js +25 -0
  6. package/dist/{FaceDetectionProvider-J_-1Cwck.esm.js → FaceDetectionProvider-n9u4dEn_.esm.js} +28 -64
  7. package/dist/IBrowserEnvironmentCapability-D7JG7ML3.esm.js +16 -0
  8. package/dist/IGeolocationCapability-r49Qo7rR.d.ts +10 -0
  9. package/dist/{IIdCaptureCapability-CGcEt2Cw.d.ts → IIdCaptureCapability-C-5M8pP1.d.ts} +2 -2
  10. package/dist/{IWasmUtilCapability-GF2n7sfm.d.ts → IWasmUtilCapability-BRn0wz8v.d.ts} +33 -6
  11. package/dist/Manager-BvXAwDv9.esm.js +125 -0
  12. package/dist/{Manager-C9T5amUN.d.ts → Manager-DufwKlav.d.ts} +1 -7
  13. package/dist/MultipartRecordingProvider-CduV32Qa.esm.js +151 -0
  14. package/dist/{PhoneValidationProvider-SZiOS0jB.esm.js → PhoneValidationProvider-Co4zk2en.esm.js} +7 -0
  15. package/dist/{StreamCanvasCapture-7JRf-2ck.d.ts → StreamCanvasCapture-ixfy84ys.d.ts} +13 -4
  16. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  17. package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-0xTxgP0R.esm.js} +114 -25
  18. package/dist/WorkerEncoderRecordingProvider-CsDED9UU.esm.js +80 -0
  19. package/dist/addressSearch-Rxm1K67A.esm.js +73 -0
  20. package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-CxZyPRyh.esm.js} +4 -2
  21. package/dist/ae-signature.d.ts +2 -2
  22. package/dist/ae-signature.esm.js +1 -1
  23. package/dist/antifraud.d.ts +1 -1
  24. package/dist/antifraud.esm.js +2 -2
  25. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  26. package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
  27. package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
  28. package/dist/{api-Cz90EHyu.esm.js → api-CZpuJuZl.esm.js} +11 -6
  29. package/dist/{apiError-9Yi8xMeB.esm.js → apiError-CtArBUt-.esm.js} +1 -1
  30. package/dist/attemptCarry-BecGGZK8.esm.js +45 -0
  31. package/dist/authentication.d.ts +3 -3
  32. package/dist/authentication.esm.js +2 -2
  33. package/dist/{authenticationManager-pKQS4fHT.esm.js → authenticationManager-9N3eg3Uh.esm.js} +7 -6
  34. package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-DRaugLgH.d.ts} +2 -2
  35. package/dist/{authenticationStateMachine-D_DygKtQ.esm.js → authenticationStateMachine-DoK5RKIS.esm.js} +50 -18
  36. package/dist/avatar.d.ts +1 -1
  37. package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
  38. package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-DS1oDiUq.esm.js} +12 -107
  39. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  40. package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
  41. package/dist/camera.d.ts +2 -2
  42. package/dist/camera.esm.js +1 -1
  43. package/dist/certificate-issuance.d.ts +1 -1
  44. package/dist/certificate-issuance.esm.js +2 -2
  45. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  46. package/dist/{certificateIssuanceManager-BfeMv2PU.esm.js → certificateIssuanceManager-DaUklfNj.esm.js} +5 -3
  47. package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-_EQcjGE3.esm.js} +4 -4
  48. package/dist/cnpj-Bl_olpdX.esm.js +79 -0
  49. package/dist/connectivity-BCuEoQ-n.esm.js +114 -0
  50. package/dist/consent.d.ts +1 -1
  51. package/dist/consent.esm.js +2 -2
  52. package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-BPocwpm2.esm.js} +7 -4
  53. package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-vI6QHkHU.d.ts} +16 -8
  54. package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-DgiIcT9q.esm.js} +22 -9
  55. package/dist/cpf-DDXMTLYr.esm.js +37 -0
  56. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  57. package/dist/cross-document-data-match.d.ts +1 -1
  58. package/dist/cross-document-data-match.esm.js +1 -1
  59. package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
  60. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  61. package/dist/curp-DZGvefg3.esm.js +14 -0
  62. package/dist/curp-validation.d.ts +1 -1
  63. package/dist/curp-validation.esm.js +2 -2
  64. package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -3
  65. package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
  66. package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +30 -22
  67. package/dist/custom-fields.d.ts +1 -1
  68. package/dist/custom-fields.esm.js +1 -1
  69. package/dist/custom-watchlist.d.ts +1 -1
  70. package/dist/custom-watchlist.esm.js +2 -2
  71. package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
  72. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  73. package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
  74. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  75. package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
  76. package/dist/{deepsightService-C3DVBOZd.esm.js → deepsightLoader-zG373VVx.esm.js} +39 -69
  77. package/dist/definitionSource-Nw0YCbpe.esm.js +221 -0
  78. package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-BKFjsQpO.esm.js} +178 -41
  79. package/dist/device.esm.js +2 -2
  80. package/dist/document-capture.d.ts +3 -3
  81. package/dist/document-capture.esm.js +2 -2
  82. package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-BKaJVQxg.esm.js} +30 -20
  83. package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-CoGcEiMK.d.ts} +42 -8
  84. package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-BYLb5Azk.esm.js} +107 -58
  85. package/dist/dynamic-forms.d.ts +2 -2
  86. package/dist/dynamic-forms.esm.js +2 -2
  87. package/dist/{dynamicFormsManager-DK_oc5Oy.esm.js → dynamicFormsManager-BfQKWG7a.esm.js} +5 -3
  88. package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-C45pTncO.d.ts} +4 -4
  89. package/dist/{dynamicFormsStateMachine-CGlIAWZ6.esm.js → dynamicFormsStateMachine-CRq01QNK.esm.js} +4 -4
  90. package/dist/ekyb.d.ts +5 -5
  91. package/dist/ekyb.esm.js +3 -3
  92. package/dist/{ekybManager-BLgkiWXw.esm.js → ekybManager-B489iXyO.esm.js} +5 -3
  93. package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-BflWuTe4.d.ts} +5 -5
  94. package/dist/{ekybStateMachine-BfgOUZMK.esm.js → ekybStateMachine-DZxg8T0H.esm.js} +40 -56
  95. package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
  96. package/dist/ekyc-prefill.d.ts +17 -0
  97. package/dist/ekyc-prefill.esm.js +3 -0
  98. package/dist/ekyc.d.ts +4 -3
  99. package/dist/ekyc.esm.js +3 -3
  100. package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-BKVQazAb.d.ts} +49 -7
  101. package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
  102. package/dist/ekycPrefillManager-BXWDF7vT.esm.js +103 -0
  103. package/dist/ekycPrefillManager-DOTl3Y2w.d.ts +566 -0
  104. package/dist/ekycPrefillStateMachine-CuWTVze1.esm.js +687 -0
  105. package/dist/ekycRules-DXP2hqVw.esm.js +479 -0
  106. package/dist/ekycStateMachine-nwJRel2s.esm.js +7897 -0
  107. package/dist/ekycUtils-FcqA6oU4.esm.js +1491 -0
  108. package/dist/electronic-signature.d.ts +1 -1
  109. package/dist/electronic-signature.esm.js +1 -1
  110. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  111. package/dist/{electronicSignatureManager-CjKvJ6E-.esm.js → electronicSignatureManager-BcE0XMrN.esm.js} +8 -6
  112. package/dist/email.d.ts +1 -1
  113. package/dist/email.esm.js +2 -2
  114. package/dist/{emailManager-ButFktRm.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
  115. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  116. package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-CTEaYncs.esm.js} +34 -22
  117. package/dist/events-CP3yOzAl.esm.js +299 -0
  118. package/dist/events.d.ts +3 -1
  119. package/dist/events.esm.js +2 -1
  120. package/dist/extensibility.d.ts +43 -41
  121. package/dist/extensibility.esm.js +39 -37
  122. package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
  123. package/dist/face-match.d.ts +1 -1
  124. package/dist/face-match.esm.js +2 -2
  125. package/dist/{faceCaptureManagerFactory-BDGhg24q.esm.js → faceCaptureManagerFactory-BBQzNrku.esm.js} +17 -6
  126. package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-CRGajjZ4.d.ts} +84 -72
  127. package/dist/{faceCaptureSetup-CvGYG4GZ.esm.js → faceCaptureSetup-D8_ilXFc.esm.js} +117 -482
  128. package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-C5b5WtcY.d.ts} +23 -7
  129. package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
  130. package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +68 -29
  131. package/dist/{feature-management-D4ne_hXW.esm.js → feature-management-SIBmKJs8.esm.js} +35 -21
  132. package/dist/feature-management.esm.js +1 -1
  133. package/dist/field-comparison.d.ts +1 -1
  134. package/dist/field-comparison.esm.js +1 -1
  135. package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
  136. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  137. package/dist/fiscal-qr.d.ts +1 -1
  138. package/dist/fiscal-qr.esm.js +1 -1
  139. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  140. package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-DOLq45ph.esm.js} +8 -6
  141. package/dist/flow-events.d.ts +1 -1
  142. package/dist/flow.d.ts +75 -24
  143. package/dist/flow.esm.js +288 -70
  144. package/dist/{flowCompletionService-Cemwaa5b.esm.js → flowCompletionService-BFCddN3G.esm.js} +24 -3
  145. package/dist/{flowServices-X6Rwf_7E.esm.js → flowServices-NX4ksmS5.esm.js} +447 -183
  146. package/dist/geolocation.d.ts +1 -1
  147. package/dist/geolocation.esm.js +2 -2
  148. package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-CENrvxpK.d.ts} +19 -20
  149. package/dist/{geolocationManager-B0dc5rW9.esm.js → geolocationManager-D1Ga7_lB.esm.js} +9 -9
  150. package/dist/{geolocationStateMachine-B3rcoODF.esm.js → geolocationStateMachine-oPgI5FIQ.esm.js} +14 -10
  151. package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
  152. package/dist/government-validation.d.ts +1 -1
  153. package/dist/government-validation.esm.js +2 -2
  154. package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
  155. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  156. package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
  157. package/dist/home.d.ts +4 -3
  158. package/dist/home.esm.js +4 -2
  159. package/dist/http.esm.js +1 -1
  160. package/dist/id-ocr.d.ts +2 -2
  161. package/dist/id-ocr.esm.js +3 -19
  162. package/dist/id-selfie-flow.d.ts +6 -5
  163. package/dist/id-selfie-flow.esm.js +13 -11
  164. package/dist/id-verification.d.ts +1 -1
  165. package/dist/id-verification.esm.js +2 -2
  166. package/dist/id.d.ts +4 -17
  167. package/dist/id.esm.js +4 -4
  168. package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-Drh207VJ.esm.js} +3 -3
  169. package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-Cqx2y_fC.d.ts} +76 -12
  170. package/dist/{idCaptureManager-IouAnrFm.esm.js → idCaptureManager-DjZyIbxc.esm.js} +68 -19
  171. package/dist/{idCaptureServices-VTKIPSpT.esm.js → idCaptureServices-DWs9Fb58.esm.js} +29 -198
  172. package/dist/{idCaptureStateMachine-_Pn2Xkpb.esm.js → idCaptureStateMachine-BGMkWF9t.esm.js} +961 -553
  173. package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +18 -0
  174. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-DflRx-_u.d.ts} +6 -5
  175. package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
  176. package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-B832arAl.esm.js} +11 -10
  177. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  178. package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
  179. package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
  180. package/dist/identity-reuse.d.ts +2 -2
  181. package/dist/identity-reuse.esm.js +2 -2
  182. package/dist/identity-search.d.ts +97 -0
  183. package/dist/identity-search.esm.js +97 -0
  184. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-C40ngKeM.d.ts} +86 -19
  185. package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
  186. package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
  187. package/dist/index-DHuAkTe0.d.ts +1 -0
  188. package/dist/{index-CKQ9QBZP.d.ts → index-DxYNO94y.d.ts} +2 -2
  189. package/dist/index.d.ts +1 -1
  190. package/dist/index.esm.js +1 -1
  191. package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
  192. package/dist/kyb-checks.d.ts +3 -0
  193. package/dist/kyb-checks.esm.js +3 -0
  194. package/dist/kybChecksManager-B7Di9auB.d.ts +95 -0
  195. package/dist/kybChecksManager-eRU3ht0m.esm.js +90 -0
  196. package/dist/kybChecksStateMachine-CU0oIYDR.esm.js +720 -0
  197. package/dist/mandatory-consent.d.ts +2 -2
  198. package/dist/mandatory-consent.esm.js +2 -2
  199. package/dist/{mandatoryConsentManager-qYojnZYg.d.ts → mandatoryConsentManager-C1B2ERZk.d.ts} +28 -11
  200. package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +7 -4
  201. package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +32 -13
  202. package/dist/mediaRecorderOptions-g1TwTlhd.esm.js +87 -0
  203. package/dist/multipartRecordingService-WgK8ieRI.esm.js +407 -0
  204. package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-pcrrqrPR.esm.js} +1 -1
  205. package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-DFJlH7K3.esm.js} +11 -9
  206. package/dist/phone-number.d.ts +7 -1
  207. package/dist/phone-number.esm.js +15 -2
  208. package/dist/phone.d.ts +1 -1
  209. package/dist/phone.esm.js +2 -2
  210. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  211. package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-VO1HEoUZ.d.ts} +8 -3
  212. package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-rA7updqF.esm.js} +6 -4
  213. package/dist/phoneServices-CFXcwCFr.esm.js +77 -0
  214. package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +56 -84
  215. package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
  216. package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
  217. package/dist/processFaceMatch-B_DkDTE5.esm.js +21 -0
  218. package/dist/qe-signature.d.ts +2 -2
  219. package/dist/qe-signature.esm.js +1 -1
  220. package/dist/recordingService-DxiwS8TV.esm.js +397 -0
  221. package/dist/redirect-to-mobile.d.ts +2 -2
  222. package/dist/redirect-to-mobile.esm.js +2 -2
  223. package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-DjsEtWLq.esm.js} +9 -6
  224. package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +6 -4
  225. package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-CMjjUXSu.esm.js} +67 -28
  226. package/dist/resolveForm-DaaQSVWp.esm.js +146 -0
  227. package/dist/{runChildModule-DSpP41Hl.esm.js → runChildModule-CJ_aQO92.esm.js} +9 -7
  228. package/dist/{sdkVersion-DKHwWEyH.esm.js → sdkVersion-C9kbIDeX.esm.js} +1 -1
  229. package/dist/selfie.d.ts +4 -4
  230. package/dist/selfie.esm.js +13 -12
  231. package/dist/{selfieErrorUtils-DoN1KFSQ.esm.js → selfieErrorUtils-DUokfsv4.esm.js} +1 -1
  232. package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-DihwheJ6.d.ts} +2 -2
  233. package/dist/{selfieManager-DtQegA6T.esm.js → selfieManager-uJtbzEp9.esm.js} +7 -6
  234. package/dist/{selfieStateMachine-CnCwJZuC.esm.js → selfieStateMachine-CKXAmNkA.esm.js} +5 -5
  235. package/dist/{session-CNUfjlRc.esm.js → session-Bk2K8TEv.esm.js} +77 -9
  236. package/dist/session.d.ts +96 -10
  237. package/dist/session.esm.js +7 -6
  238. package/dist/{sessionInitializer-JM_glXR2.esm.js → sessionInitializer-CUCBGZ_s.esm.js} +359 -115
  239. package/dist/{setup-C5tfWt6W.esm.js → setup-B3a5KQeI.esm.js} +36 -27
  240. package/dist/{setup-YPKTUCY5.d.ts → setup-DpOr8H_l.d.ts} +2 -2
  241. package/dist/signature.d.ts +1 -1
  242. package/dist/signature.esm.js +2 -2
  243. package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
  244. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  245. package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
  246. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  247. package/dist/{stats-BEvexnKC.esm.js → stats-DoByUnTa.esm.js} +1 -1
  248. package/dist/stats.esm.js +1 -1
  249. package/dist/textRules-D4NRinKY.d.ts +41 -0
  250. package/dist/{trueSightService-fLmL_cyg.esm.js → trueSightService-BnQDjqUu.esm.js} +22 -10
  251. package/dist/trust-graph.d.ts +4 -3
  252. package/dist/trust-graph.esm.js +5 -3
  253. package/dist/{types-yPH8lAH-.d.ts → types-9wlf1-GE.d.ts} +3 -3
  254. package/dist/types-B-PIc0en.d.ts +115 -0
  255. package/dist/types-B9C8W01q.d.ts +34 -0
  256. package/dist/{types-0L-eFDmr.d.ts → types-BgRHw-dR.d.ts} +1 -1
  257. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  258. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  259. package/dist/types-CE1jkHw3.d.ts +6 -0
  260. package/dist/types-CTaL0XJz.d.ts +80 -0
  261. package/dist/{types-BAxn7MpY.d.ts → types-Cpdum4vi.d.ts} +125 -50
  262. package/dist/{types-DUnFZ08M.d.ts → types-CyNndVAT.d.ts} +16 -8
  263. package/dist/types-DEa3taWc.d.ts +217 -0
  264. package/dist/{types-CK8Jbjkp.d.ts → types-DFP7eSle.d.ts} +1 -1
  265. package/dist/{types-Ckir_BEs.d.ts → types-DJPU3W2M.d.ts} +3 -2
  266. package/dist/{types-DPIDuhut.d.ts → types-DNVzoRvi.d.ts} +2 -1
  267. package/dist/{events-Du2A4-Qr.esm.js → types-DYYMdAGv.esm.js} +4 -299
  268. package/dist/{types-B6HsSzpk.d.ts → types-Ddc4Tr_f.d.ts} +42 -6
  269. package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
  270. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  271. package/dist/video-selfie.d.ts +16 -14
  272. package/dist/video-selfie.esm.js +100 -24
  273. package/dist/{videoSelfieCameraWarmer-BBNKiau1.esm.js → videoSelfieCameraWarmer-CgqaNI-W.esm.js} +26 -27
  274. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  275. package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +10 -5
  276. package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
  277. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  278. package/dist/{warmup-BElYWRh7.esm.js → warmup-BZOMg303.esm.js} +243 -30
  279. package/dist/wasm.d.ts +9 -3
  280. package/dist/wasm.esm.js +3 -3
  281. package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-DPK7qGgo.esm.js} +1 -1
  282. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
  283. package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-CyLCM31e.esm.js} +45 -26
  284. package/dist/watchlist-for-business.d.ts +2 -1
  285. package/dist/watchlist-for-business.esm.js +2 -2
  286. package/dist/watchlist.d.ts +1 -1
  287. package/dist/watchlist.esm.js +2 -2
  288. package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +40 -8
  289. package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +57 -21
  290. package/dist/watchlistForBusinessStateMachine-BMWm5mcP.esm.js +166 -0
  291. package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
  292. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  293. package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
  294. package/dist/workflow.d.ts +234 -45
  295. package/dist/workflow.esm.js +194 -80
  296. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  297. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  298. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  299. package/package.json +22 -5
  300. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  301. package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
  302. package/dist/addressSearch-DPjIKJrX.esm.js +0 -563
  303. package/dist/cpf-uAZTPUBy.esm.js +0 -61
  304. package/dist/deepsightLoader-sH7920zw.esm.js +0 -55
  305. package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
  306. package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
  307. package/dist/index-DpTj5PFb.d.ts +0 -1
  308. package/dist/types-BvLo3U4u.d.ts +0 -134
  309. package/dist/types-zOgZqMni.d.ts +0 -6
  310. package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
  311. /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
@@ -1,5 +1,7 @@
1
- import { A as buildModelVariantSources, C as isDefaultCdnWasmConfig, D as WASM_PIPELINE_MODELS, M as resolveWasmSource, N as reportWasmIntegritySummary, T as WASM_MODEL_FILES, f as rearmWasmCallDiagnostics, g as emitWasmDiagnostic, h as acquireWasmStorageFallback, j as missingWasmModelError, k as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, l as notePipelineStatePulled, m as loadWasmModule, n as createWebApiHostAdapter, p as resetWasmCallDiagnostics, v as SemaphoreProvider, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-BjZw_7OB.esm.js";
2
- import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
1
+ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
+ import { A as WASM_PIPELINE_OPTIONAL_MODEL_NAMES, E as WASM_MODEL_FILES, M as missingWasmModelError, N as resolveWasmSource, O as WASM_PIPELINE_MODELS, P as reportWasmIntegritySummary, _ as emitWasmDiagnostic, b as DEFAULT_WASM_VERSION, c as wasmCallWrapper, f as rearmWasmCallDiagnostics, g as acquireWasmStorageFallback, h as onWasmModuleReset, j as buildModelVariantSources, l as notePipelineStatePulled, m as loadWasmModule, n as createWebApiHostAdapter, p as resetWasmCallDiagnostics, w as isDefaultCdnWasmConfig, y as SemaphoreProvider } from "./wasmWebClient-CyLCM31e.esm.js";
3
+ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
4
+ import { t as bindWasmMetadataV2Applier } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
3
5
  //#region ../infra/src/wasm/wasmEnumMaps.ts
4
6
  function pipelineTypeToWasmEnum(wasmModule, type) {
5
7
  switch (type) {
@@ -63,11 +65,11 @@ function idCaptureModelTypeFromWasmEnum(wasmModule, type) {
63
65
  * The mode is a property of the binary, detected at install:
64
66
  * - `sink` — `setDiagnosticsSink` exists (v2.14.52+): batches are pushed,
65
67
  * and finalize drains the unsent tail via `drainDiagnostics`.
66
- * - `fallback` — only `getAppLogs` exists (the pinned v2.14.50-post1): the
68
+ * - `fallback` — only `getAppLogs` exists (binaries before v2.14.52): the
67
69
  * plain-text `ClientLogger::render()` grammar (optional leading
68
70
  * `... <k> dropped`, then `+<elapsedMs> <E|W|I> <tag>: <msg>[ (xN)]`) is
69
- * parsed at finalize. Nothing in v2.14.50-post1 writes that logger, so in
70
- * practice it is empty until the bump.
71
+ * parsed at finalize. Nothing before v2.14.52 writes that logger, so in
72
+ * practice it is empty on those binaries.
71
73
  * - `none` — neither binding.
72
74
  * No TrueSight change is needed when `DEFAULT_WASM_VERSION` moves past the
73
75
  * sensor release: the next install simply detects `sink`.
@@ -395,6 +397,45 @@ function deleteWasmHandle(firstFailure, handle) {
395
397
  function releaseCameraCycleResources(stream, cameraCycleApi) {
396
398
  return attemptCleanup(stopStreamTracks(stream), () => cameraCycleApi?.rcc());
397
399
  }
400
+ /**
401
+ * Wraps one host callback of the camera step. The kit calls the outcome
402
+ * callbacks from inside the `cst` binding and the frame callbacks from its own
403
+ * 16 ms frame timer. A JavaScript throw out of either cannot be caught in C++,
404
+ * so the host's error becomes a diagnostic instead. Only the first throw per
405
+ * callback per step is reported, so a failing frame callback cannot flood
406
+ * TrueSight. An absent optional callback becomes a no-op, because the binding
407
+ * expects four functions and logs `cc: bad callback` otherwise.
408
+ */
409
+ function guardCameraCycleCallback(name, callback) {
410
+ let reported = false;
411
+ return (...args) => {
412
+ if (callback === void 0) return;
413
+ try {
414
+ callback(...args);
415
+ } catch (error) {
416
+ if (reported) return;
417
+ reported = true;
418
+ emitWasmDiagnostic({
419
+ level: "warning",
420
+ subsystem: "camera",
421
+ category: "other",
422
+ message: `camera cycle ${name} host callback threw: ${error instanceof Error ? error.message : String(error)}`
423
+ });
424
+ }
425
+ };
426
+ }
427
+ /**
428
+ * The native release runs behind the ML lock, after the caller returned, so its
429
+ * failure can only be reported, never thrown.
430
+ */
431
+ function reportCameraCycleReleaseFailure(error) {
432
+ emitWasmDiagnostic({
433
+ level: "warning",
434
+ subsystem: "camera",
435
+ category: "other",
436
+ message: `camera cycle release failed: ${error instanceof Error ? error.message : String(error)}`
437
+ });
438
+ }
398
439
  function isWasmModelEntry(source) {
399
440
  return typeof source === "object" && !(source instanceof ArrayBuffer) && !(source instanceof Uint8Array) && "file" in source;
400
441
  }
@@ -408,12 +449,15 @@ var WasmRuntime = class WasmRuntime {
408
449
  this.wasmModule = null;
409
450
  this.workflowApiUtilities = null;
410
451
  this.utilityApi = null;
452
+ this.parkedUtilityApi = null;
411
453
  this.idCaptureWasmApi = null;
412
454
  this.faceProcessingWasmApi = null;
413
455
  this.cameraCycleApi = null;
414
456
  this.webApi = null;
457
+ this.metadataV2Enabled_ = false;
415
458
  this.storageFallbackLease = null;
416
459
  this.unprotectedStream = null;
460
+ this.queuedCameraSteps = /* @__PURE__ */ new Set();
417
461
  this.imageWidth_ = null;
418
462
  this.imageHeight_ = null;
419
463
  this.pipelines_ = null;
@@ -430,8 +474,9 @@ var WasmRuntime = class WasmRuntime {
430
474
  this.wasmModule = wasmModule;
431
475
  this.usedSimd_ = simdUsed;
432
476
  this.workflowApiUtilities = new this.wasmModule.WorkflowApiUtilities();
433
- this.utilityApi = new this.wasmModule.UtilityApi();
477
+ this.utilityApi = this.takeUtilityApi(this.wasmModule);
434
478
  this.utilityApi.setProductionMode(module.showLogs !== true);
479
+ this.utilityApi.smv(this.metadataV2Enabled_);
435
480
  installWasmDiagnosticsSink(this.utilityApi);
436
481
  this.idCaptureWasmApi = new this.wasmModule.IdCaptureApi();
437
482
  this.faceProcessingWasmApi = new this.wasmModule.FaceProcessingApi();
@@ -447,6 +492,43 @@ var WasmRuntime = class WasmRuntime {
447
492
  }
448
493
  }
449
494
  /**
495
+ * The UtilityApi for `wasmModule`: the parked one when it belongs to that
496
+ * module, else a new one. A parked handle of another module is deleted
497
+ * first; that module is gone, so a failure there must not stop this one.
498
+ */
499
+ takeUtilityApi(wasmModule) {
500
+ const parked = this.parkedUtilityApi;
501
+ this.parkedUtilityApi = null;
502
+ if (parked?.module === wasmModule) return parked.handle;
503
+ deleteWasmHandle(null, parked?.handle ?? null);
504
+ return new wasmModule.UtilityApi();
505
+ }
506
+ /**
507
+ * Parks the UtilityApi of the module being freed instead of deleting it (see
508
+ * `parkedUtilityApi`). Without a module to tie it to, it is deleted as
509
+ * before.
510
+ */
511
+ parkUtilityApi(firstFailure, wasmModule, handle) {
512
+ if (handle === null) return firstFailure;
513
+ if (wasmModule === null) return deleteWasmHandle(firstFailure, handle);
514
+ const previous = this.parkedUtilityApi;
515
+ this.parkedUtilityApi = {
516
+ module: wasmModule,
517
+ handle
518
+ };
519
+ return previous !== null && previous.handle !== handle ? deleteWasmHandle(firstFailure, previous.handle) : firstFailure;
520
+ }
521
+ /**
522
+ * Deletes the parked UtilityApi, if any. Runs when `resetWasmModule()` drops
523
+ * the memoized module: its handle can never be reused, and deleting it lets
524
+ * the module be garbage-collected. Never throws.
525
+ */
526
+ releaseParkedUtilityApi() {
527
+ const parked = this.parkedUtilityApi;
528
+ this.parkedUtilityApi = null;
529
+ deleteWasmHandle(null, parked?.handle ?? null);
530
+ }
531
+ /**
450
532
  * Returns initialization status
451
533
  * @returns
452
534
  */
@@ -488,12 +570,15 @@ var WasmRuntime = class WasmRuntime {
488
570
  this.requireWorkflowApiUtilities("Unable to update pipeline state, cpp API hasn't been initialized").handleDetectionCallAndUpdateState(this.pipelineTypeToWasmEnum(type));
489
571
  }
490
572
  /**
491
- * Free allocated memory
573
+ * Free allocated memory. The UtilityApi is parked for the next
574
+ * `initialize()` on the same module rather than deleted (see
575
+ * `parkedUtilityApi`).
492
576
  */
493
577
  async freeResources() {
494
578
  this.loadedModels.clear();
495
579
  const stream = this.unprotectedStream;
496
580
  const modelsBuffers = this.modelsBuffers;
581
+ const wasmModule = this.wasmModule;
497
582
  const workflowApiUtilities = this.workflowApiUtilities;
498
583
  const utilityApi = this.utilityApi;
499
584
  const idCaptureWasmApi = this.idCaptureWasmApi;
@@ -519,10 +604,11 @@ var WasmRuntime = class WasmRuntime {
519
604
  if (typeof window !== "undefined") window.wasmArrayBuffer = null;
520
605
  resetWasmCallDiagnostics();
521
606
  resetWasmDiagnosticsSink();
607
+ this.cancelQueuedCameraSteps();
522
608
  let firstFailure = releaseCameraCycleResources(stream, cameraCycleApi);
523
609
  firstFailure = deleteWasmHandle(firstFailure, modelsBuffers);
524
610
  firstFailure = deleteWasmHandle(firstFailure, workflowApiUtilities);
525
- firstFailure = deleteWasmHandle(firstFailure, utilityApi);
611
+ firstFailure = this.parkUtilityApi(firstFailure, wasmModule, utilityApi);
526
612
  firstFailure = deleteWasmHandle(firstFailure, idCaptureWasmApi);
527
613
  firstFailure = deleteWasmHandle(firstFailure, faceProcessingWasmApi);
528
614
  firstFailure = deleteWasmHandle(firstFailure, cameraCycleApi);
@@ -544,6 +630,21 @@ var WasmRuntime = class WasmRuntime {
544
630
  if (!this.isInitialized() || pipelines === null) throw new Error("Unable to reset pipelines, cpp API hasn't been initialized");
545
631
  for (const [type] of pipelines) this.resetPipeline(type);
546
632
  }
633
+ /**
634
+ * Selects the capture-metadata document the kit emits (`smv`, ADR 0009):
635
+ * `true` = v2, `false` = v1 (the default). Unguarded on purpose: the SDK
636
+ * resolves the provisioning flag at session initialization, which may run
637
+ * before WASM is up, so the value is latched here, applied at once when a
638
+ * module is live and replayed by every `initialize()`. The session sets it
639
+ * through `wasmMetadataVersionSync.ts`, which the singleton binds to when
640
+ * this module loads. Never toggle it mid-session — `getMetadata`,
641
+ * `postFaceResults` and the protected upload each read the selection when
642
+ * they run, so uploads would mix formats.
643
+ */
644
+ setMetadataV2Enabled(enabled) {
645
+ this.metadataV2Enabled_ = enabled;
646
+ this.utilityApi?.smv(enabled);
647
+ }
547
648
  async process(typeOrImage, imageOrType) {
548
649
  const legacyOrder = typeof typeOrImage !== "number";
549
650
  const type = legacyOrder ? typeof imageOrType === "number" ? imageOrType : void 0 : typeOrImage;
@@ -577,25 +678,32 @@ var WasmRuntime = class WasmRuntime {
577
678
  let cleanupFailure = null;
578
679
  try {
579
680
  if (pipelines === null) throw new Error(message);
580
- for (const [type, modelsPaths] of pipelines) {
681
+ const downloads = /* @__PURE__ */ new Map();
682
+ const loadModel = (path) => {
683
+ const resolvedSource = this.resolveModelSource(isWasmModelEntry(path) ? path.source : path);
684
+ const loaded = this.loadedModels.get(resolvedSource);
685
+ if (loaded) return Promise.resolve(loaded);
686
+ let download = downloads.get(resolvedSource);
687
+ if (!download) {
688
+ download = resolveWasmSource(resolvedSource, {
689
+ kind: "model",
690
+ file: isWasmModelEntry(path) ? path.file : void 0
691
+ }).then((model) => {
692
+ this.loadedModels.set(resolvedSource, model);
693
+ return model;
694
+ });
695
+ downloads.set(resolvedSource, download);
696
+ }
697
+ return download;
698
+ };
699
+ const pipelineModels = await Promise.all(Array.from(pipelines, async ([type, modelsPaths]) => {
700
+ return [type, await Promise.all(modelsPaths.map(loadModel))];
701
+ }));
702
+ for (const [type, pipelineBuffers] of pipelineModels) {
581
703
  const wasmType = this.pipelineTypeToWasmEnum(type);
582
- const pipelineBuffers = [];
583
704
  const sizes = new (this.requireWasmModule(message)).VectorInt();
584
705
  sizeVectors.push(sizes);
585
- for (const path of modelsPaths) {
586
- const file = isWasmModelEntry(path) ? path.file : void 0;
587
- const resolvedSource = this.resolveModelSource(isWasmModelEntry(path) ? path.source : path);
588
- let model = this.loadedModels.get(resolvedSource);
589
- if (!model) {
590
- model = await resolveWasmSource(resolvedSource, {
591
- kind: "model",
592
- file
593
- });
594
- this.loadedModels.set(resolvedSource, model);
595
- }
596
- sizes.push_back(model.byteLength);
597
- pipelineBuffers.push(model);
598
- }
706
+ for (const model of pipelineBuffers) sizes.push_back(model.byteLength);
599
707
  buffSizes.set(wasmType, sizes);
600
708
  modelData.set(wasmType, pipelineBuffers);
601
709
  }
@@ -641,8 +749,55 @@ var WasmRuntime = class WasmRuntime {
641
749
  return this.pipelineTypeFromWasmEnum(workflowApiUtilities.getCurrentWorkflow());
642
750
  }
643
751
  setOnDeviceMode(_enabled) {}
644
- adoptCameraStream(stream, constraints, options = {}) {
645
- return this.requireCameraCycleApi("Unable to adopt stream, cpp API hasn't been initialized").ads(stream, constraints, options);
752
+ /**
753
+ * Runs ml-wasm-kit's camera step: the kit acquires the camera (electing the
754
+ * lens from `options`), adopts the stream into the protected cycle, runs the
755
+ * pre-capture checks and reports through `callbacks`. Mirrors upstream
756
+ * `startCameraCycle` (`wasmApi.ts`): poll `cst` with a release token under
757
+ * the ML semaphore. The pre-capture IAD inside the step is the work `prc`
758
+ * used to do, and holding the lock keeps `poc`/`rsp` serialized behind it.
759
+ *
760
+ * Two differences from upstream serve the release rule of
761
+ * {@link releaseCameraCycle}. The token (`grt()`) is read on the first poll,
762
+ * inside the lock, rather than before queueing: a release queued ahead of
763
+ * this step has then already rotated it, so the step never polls with a
764
+ * token its predecessor's `rcc` voided. And a step released while it still
765
+ * waits for the lock ends without calling `cst`, so a released attempt never
766
+ * opens the camera.
767
+ *
768
+ * Resolves when the step is done: ready or failed through the callbacks, or
769
+ * skipped because the cycle was released before the step reached the kit,
770
+ * in which case neither callback fires. Rejects when the handle is freed
771
+ * mid-step, or when the kit throws outside its own state machine (`cst` is
772
+ * bound without the exception wrapper on purpose). A re-initialization
773
+ * between two polls can also end the step without an outcome, because the
774
+ * new handle refuses the old token.
775
+ */
776
+ async startCameraCycle(options, callbacks) {
777
+ const message = "Unable to start the camera cycle, cpp API hasn't been initialized";
778
+ this.requireCameraCycleApi(message);
779
+ const queued = { cancelled: false };
780
+ this.queuedCameraSteps.add(queued);
781
+ const onNewFrame = guardCameraCycleCallback("onNewFrame", callbacks.onNewFrame);
782
+ const onFirstFrame = guardCameraCycleCallback("onFirstFrame", callbacks.onFirstFrame);
783
+ const onCameraReady = guardCameraCycleCallback("onCameraReady", callbacks.onCameraReady);
784
+ const onCameraFailed = guardCameraCycleCallback("onCameraFailed", callbacks.onCameraFailed);
785
+ let releaseToken;
786
+ let reachedKit = false;
787
+ try {
788
+ await wasmCallWrapper(this.mlCallSemaphore, () => {
789
+ const api = this.requireCameraCycleApi(message);
790
+ if (!reachedKit) {
791
+ this.queuedCameraSteps.delete(queued);
792
+ if (queued.cancelled) return true;
793
+ reachedKit = true;
794
+ releaseToken = api.grt();
795
+ }
796
+ return api.cst(options, onNewFrame, onFirstFrame, onCameraReady, onCameraFailed, releaseToken);
797
+ }, true, { label: "cst" });
798
+ } finally {
799
+ this.queuedCameraSteps.delete(queued);
800
+ }
646
801
  }
647
802
  setWorkflowConsuming(type, consuming) {
648
803
  const accepted = this.requireWorkflowApiUtilities("Unable to set workflow consuming, cpp API hasn't been initialized").setWorkflowConsuming(this.pipelineTypeToWasmEnum(type), consuming);
@@ -676,11 +831,42 @@ var WasmRuntime = class WasmRuntime {
676
831
  const extras = "extras" in request ? request.extras : {};
677
832
  return this.requireWebApi("Unable to post protected request, cpp API hasn't been initialized").pse(request.target, extras, request.config ?? {});
678
833
  }
834
+ /**
835
+ * Releases the protected camera cycle. The cached display clone stops at
836
+ * once. The native release (`rcc`) queues behind the ML lock, so it lands
837
+ * only after whatever holds the lock settles: a camera step that already
838
+ * reached the kit, or a `poc`. Cancelling the kit inside its pre-capture
839
+ * checks leaves the realm unable to run another camera step (ml-wasm-kit
840
+ * known issue `active-iad-driver-teardown`), and SDK 1 runs `rcc` under the
841
+ * same lock. Steps still waiting for the lock are skipped and never reach
842
+ * the kit.
843
+ *
844
+ * The cost is that a release cannot cancel a step that is already inside the
845
+ * kit. A step parked on a permission prompt or a hidden tab keeps the camera
846
+ * cycle until it settles, and a release queued behind it for 30 s trips the
847
+ * semaphore's deadlock watchdog log.
848
+ *
849
+ * Stopping the display clone can throw synchronously. A failing `rcc` cannot
850
+ * reach the caller any more, so it is reported as a diagnostic.
851
+ */
679
852
  releaseCameraCycle() {
680
853
  const stream = this.unprotectedStream;
681
854
  this.unprotectedStream = null;
682
- const firstFailure = releaseCameraCycleResources(stream, this.cameraCycleApi);
683
- if (firstFailure) throw firstFailure.error;
855
+ this.cancelQueuedCameraSteps();
856
+ wasmCallWrapper(this.mlCallSemaphore, () => {
857
+ try {
858
+ this.cameraCycleApi?.rcc();
859
+ } catch (error) {
860
+ reportCameraCycleReleaseFailure(error);
861
+ }
862
+ return true;
863
+ }, true, { label: "rcc" }).catch(reportCameraCycleReleaseFailure);
864
+ const failure = stopStreamTracks(stream);
865
+ if (failure) throw failure.error;
866
+ }
867
+ cancelQueuedCameraSteps() {
868
+ for (const queued of this.queuedCameraSteps) queued.cancelled = true;
869
+ this.queuedCameraSteps.clear();
684
870
  }
685
871
  resolveModelSource(source) {
686
872
  if (typeof source === "object" && !(source instanceof ArrayBuffer) && !(source instanceof Uint8Array)) return this.usedSimd_ ? source.current : source.legacy;
@@ -750,8 +936,22 @@ var WasmRuntime = class WasmRuntime {
750
936
  WasmRuntime.UNINITIALIZED_ENUM_MAP_MESSAGE = "Unable to map pipeline type, cpp API hasn't been initialized";
751
937
  /** Process-wide runtime. One binary, one heap, one owner. */
752
938
  const wasmRuntime = new WasmRuntime();
939
+ bindWasmMetadataV2Applier((enabled) => wasmRuntime.setMetadataV2Enabled(enabled));
940
+ onWasmModuleReset(() => wasmRuntime.releaseParkedUtilityApi());
753
941
  //#endregion
754
942
  //#region ../infra/src/wasm/warmup.ts
943
+ var warmup_exports = /* @__PURE__ */ __exportAll({
944
+ WASM_PIPELINES: () => WASM_PIPELINES,
945
+ getResolvedModelSource: () => getResolvedModelSource,
946
+ getResolvedModelsBasePath: () => getResolvedModelsBasePath,
947
+ getWarmupFacts: () => getWarmupFacts,
948
+ getWasmStatus: () => getWasmStatus,
949
+ isWasmReady: () => isWasmReady,
950
+ setWasmOnDeviceMode: () => setWasmOnDeviceMode,
951
+ waitForWasm: () => waitForWasm,
952
+ warmupWasm: () => warmupWasm,
953
+ whenWasmRuntimeReady: () => whenWasmRuntimeReady
954
+ });
755
955
  /**
756
956
  * Pipelines preloaded when no explicit `pipelines` array is passed to
757
957
  * {@link warmupWasm}. The on-device selfie bundle is opt-in (loaded only when
@@ -767,6 +967,7 @@ let lastConfig = null;
767
967
  let lastModelVariant = null;
768
968
  let warmupFacts = null;
769
969
  let pipelinesInFlight = [];
970
+ let runtimeReadyPromise = null;
770
971
  function mapPipelineToWasmType(pipeline) {
771
972
  switch (pipeline) {
772
973
  case "selfie": return 4;
@@ -968,10 +1169,13 @@ async function warmupWasm(config) {
968
1169
  try {
969
1170
  const pipelinesMap = buildPipelinesMap(pipelines, config);
970
1171
  if (config.onDeviceMode !== void 0) wasmRuntime.setOnDeviceMode(config.onDeviceMode);
971
- const simdUsed = await wasmRuntime.initialize({
1172
+ const runtimeReady = wasmRuntime.initialize({
972
1173
  module: config,
973
1174
  pipelines: pipelinesMap
974
1175
  });
1176
+ runtimeReadyPromise = runtimeReady.then(() => void 0);
1177
+ runtimeReadyPromise.catch(() => void 0);
1178
+ const simdUsed = await runtimeReady;
975
1179
  await wasmRuntime.loadModels();
976
1180
  await wasmRuntime.initializePipelines();
977
1181
  state = "ready";
@@ -1045,6 +1249,15 @@ function waitForWasm() {
1045
1249
  return Promise.reject(/* @__PURE__ */ new Error("WASM warmup was not started. Call warmupWasm() first."));
1046
1250
  }
1047
1251
  /**
1252
+ * Resolves once the WASM runtime is up, before the models of the warmup that
1253
+ * started it finish loading: enough for the utility API (fingerprint signals).
1254
+ * Rejects when no warmup was started or the runtime failed to start.
1255
+ */
1256
+ function whenWasmRuntimeReady() {
1257
+ if (wasmRuntime.isInitialized()) return Promise.resolve();
1258
+ return runtimeReadyPromise ?? Promise.reject(/* @__PURE__ */ new Error("WASM warmup was not started. Call warmupWasm() first."));
1259
+ }
1260
+ /**
1048
1261
  * Retained compatibility surface for callers that used the removed native
1049
1262
  * on-device-mode setter. Both values are native-free no-ops for the pinned
1050
1263
  * runtime and do not alter initialization, capture, or fingerprint lifecycle.
@@ -1053,4 +1266,4 @@ function setWasmOnDeviceMode(enabled) {
1053
1266
  wasmRuntime.setOnDeviceMode(enabled);
1054
1267
  }
1055
1268
  //#endregion
1056
- export { setWasmOnDeviceMode as a, wasmRuntime as c, drainWasmDiagnostics as d, getWasmDiagnosticsMode as f, isWasmReady as i, CAMERA_CYCLE_OWNERSHIP_DOMAIN as l, getWarmupFacts as n, waitForWasm as o, rearmWasmDiagnostics as p, getWasmStatus as r, warmupWasm as s, getResolvedModelSource as t, getCameraCycleOwnershipDomain as u };
1269
+ export { setWasmOnDeviceMode as a, warmup_exports as c, getCameraCycleOwnershipDomain as d, drainWasmDiagnostics as f, isWasmReady as i, wasmRuntime as l, rearmWasmDiagnostics as m, getWarmupFacts as n, waitForWasm as o, getWasmDiagnosticsMode as p, getWasmStatus as r, warmupWasm as s, getResolvedModelSource as t, CAMERA_CYCLE_OWNERSHIP_DOMAIN as u };
package/dist/wasm.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BO57syF6.js";
2
- import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-YPKTUCY5.js";
1
+ import { a as WASM_MODEL_FILES, c as WasmPipeline, l as WasmSource, o as WasmGlueLoader, r as warmupWasm, s as WasmModelName, t as WarmupConfig } from "./warmup-BNhIuURi.js";
2
+ import { c as setWasmConfig, i as initializeWasmUtil, n as WasmConfig, r as ensureWasmPipelines, s as resolveWasmConfigForPipelines, u as upgradeToWasmHttpClient } from "./setup-DpOr8H_l.js";
3
3
  //#region ../infra/src/wasm/wasmDefaults.d.ts
4
4
  /** The WASM version bundled and tested with this SDK release. */
5
- declare const DEFAULT_WASM_VERSION = "v2.14.50-post1";
5
+ declare const DEFAULT_WASM_VERSION = "v2.14.54-post1";
6
6
  type UrlWasmConfig = WarmupConfig & {
7
7
  wasmPath: string;
8
8
  wasmSimdPath: string;
@@ -25,7 +25,13 @@ type DefineWasmOptions = {
25
25
  pipelines: readonly WasmPipeline[];
26
26
  wasm: WasmSource;
27
27
  wasmSimd?: WasmSource;
28
+ /**
29
+ * Imports the standard glue, e.g.
30
+ * `() => import('@incodetech/wasm-assets/webLib.js')`. Return the module
31
+ * unchanged; see {@link WasmGlueLoader}.
32
+ */
28
33
  glue: WasmGlueLoader;
34
+ /** Imports the SIMD glue. Return the module unchanged, like `glue`. */
29
35
  glueSimd?: WasmGlueLoader;
30
36
  models: Partial<Record<WasmModelName, WasmSource>>;
31
37
  /**
package/dist/wasm.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { E as WASM_PIPELINE_LAZY_MODEL_NAMES, O as WASM_PIPELINE_MODEL_NAMES, T as WASM_MODEL_FILES, b as buildDefaultWasmConfig, w as resolveWasmConfig, x as buildWasmConfigFromBasePath, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-BjZw_7OB.esm.js";
2
- import { s as warmupWasm } from "./warmup-BElYWRh7.esm.js";
3
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-C5tfWt6W.esm.js";
1
+ import { D as WASM_PIPELINE_LAZY_MODEL_NAMES, E as WASM_MODEL_FILES, S as buildWasmConfigFromBasePath, T as resolveWasmConfig, b as DEFAULT_WASM_VERSION, k as WASM_PIPELINE_MODEL_NAMES, x as buildDefaultWasmConfig } from "./wasmWebClient-CyLCM31e.esm.js";
2
+ import { s as warmupWasm } from "./warmup-BZOMg303.esm.js";
3
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-B3a5KQeI.esm.js";
4
4
  //#region src/defineWasm.ts
5
5
  function requiredModels(pipelines) {
6
6
  const models = /* @__PURE__ */ new Set();
@@ -1,4 +1,4 @@
1
- import { i as utilityWasmApi } from "./WasmUtilProvider-DtJuBdt-.esm.js";
1
+ import { i as utilityWasmApi } from "./WasmUtilProvider-0xTxgP0R.esm.js";
2
2
  //#region ../infra/src/wasm/wasmDsFlagSync.ts
3
3
  /**
4
4
  * Sets the Deepsight (ds) flag that the WASM utility API receives on every
@@ -0,0 +1,27 @@
1
+ //#region ../infra/src/wasm/wasmMetadataVersionSync.ts
2
+ let metadataV2Enabled = false;
3
+ let applyToRuntime;
4
+ /**
5
+ * Selects the capture-metadata document the kit emits (ml-wasm-kit `smv`,
6
+ * ADR 0009): `true` picks the v2 document Deepsight 2.0 scores, `false` (the
7
+ * default) the v1 document. Purely in-memory, like `setWasmDsFlagSync`: the
8
+ * value waits here until the WASM runtime loads, and from then on the runtime
9
+ * latches it, applies it at once when WASM is up and replays it after every
10
+ * `initialize()`, because the kit keeps the selector as realm state that a
11
+ * new module instance resets to v1. Resolve it before the first capture and
12
+ * never toggle it mid-session — the uploads would mix formats.
13
+ */
14
+ function setWasmMetadataV2Enabled(enabled) {
15
+ metadataV2Enabled = enabled;
16
+ applyToRuntime?.(enabled);
17
+ }
18
+ /**
19
+ * For the `WasmRuntime` singleton, once, when its module loads: replays the
20
+ * selection made before the runtime existed and forwards every later one.
21
+ */
22
+ function bindWasmMetadataV2Applier(apply) {
23
+ applyToRuntime = apply;
24
+ apply(metadataV2Enabled);
25
+ }
26
+ //#endregion
27
+ export { setWasmMetadataV2Enabled as n, bindWasmMetadataV2Applier as t };
@@ -1,8 +1,8 @@
1
- import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
1
+ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  //#region ../infra/src/wasm/wasmIntegrityManifest.ts
3
3
  /** SHA-256 digests of the official WASM release files this SDK loads. */
4
4
  const WASM_INTEGRITY_MANIFEST = {
5
- wasmVersion: "v2.14.50-post1",
5
+ wasmVersion: "v2.14.54-post1",
6
6
  files: {
7
7
  "models/current/age_estimation_v2_2_2_fp16.ortmodelv2": "70bd372b5e140ea8e9773a25d371cb65e5a9090651fdfe73ab6fc7ce25d59c83",
8
8
  "models/current/barcode_enhance_896x224_fp16.ortmodelv2": "bccecd74abf48181efb95bf020784b7e50d37ae255bf89c14c2c5186976279e0",
@@ -24,14 +24,14 @@ const WASM_INTEGRITY_MANIFEST = {
24
24
  "models/legacy/mls_regressor_4773007c657b4f05a460321456740d0f_fp16.ortmodelv2": "e41887f75b284ba1f973f2a26209bf365da8a587d266492b642e5b7c36716069",
25
25
  "models/legacy/ondevice_physical_liveness_v2_1_fp16.ortmodelv2": "405eee9fd961c48fff608246ef579dc8ce9f0b5ce51361e05dac7d9afcf9162d",
26
26
  "models/legacy/selfie_bf_angles_192x192_opset9_fp16.ortmodelv2": "1c8dda528d5111fa7b4272ffabca7cf0a59099f57258aaece7262974aebafc4a",
27
- "webLib.js": "2953d4da3b8eddf1ff48e113ac4ff11d69eb379e1ab091fec1dad34a17d23844",
28
- "webLib.wasm": "7616ea70cab3171ef376f9d0fa646548efc90beab49fdefa25d1b241ca704673",
29
- "webLibSimd.js": "51407ce3032dd330ae806d9aea1b43eb5c245e2b64780b4b62c9c62310a0bee1",
30
- "webLibSimd.wasm": "0575425989803e58ccb82fcd30d64508a7c7b52019564d8644b59d5cf11135ab"
27
+ "webLib.js": "9d31d54105461d31718176d5d6a69b1849d42f0afb73e192d77ebba207207bde",
28
+ "webLib.wasm": "5d3f99aacaabfabc31c4b0f73d4add5cdf6915704af1bca1edac48485a796717",
29
+ "webLibSimd.js": "13d23150b1c4f9aa7ec8ede40191a96c871f3ef43377dfc015bc059a6b70cad4",
30
+ "webLibSimd.wasm": "739459b359528125290e74dc0a560aeb3027000a53e5a3881b19303c1b897715"
31
31
  },
32
32
  dist: {
33
- "webLib.js": "6d7177b6e2e86a0d975b595ea546bf87fc11a194ad4cbdc0613fb3b2a2810e90",
34
- "webLibSimd.js": "4ac981fa15dd748ec1a312bd25408fb4af3449d8c1bb6ebb8fe436476049d446"
33
+ "webLib.js": "414f13bcc2edf21ca152e69ad75b24bde8132b8453cd9f1ded2eed89c40a0b09",
34
+ "webLibSimd.js": "68e135b90936732c251485fbaa7699e7528d5ed97a30b9ab4723644c9d3b0db9"
35
35
  }
36
36
  };
37
37
  //#endregion
@@ -314,7 +314,7 @@ function deriveSiblingJsPath(wasmPath) {
314
314
  //#region ../infra/src/wasm/wasmDefaults.ts
315
315
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
316
316
  /** The WASM version bundled and tested with this SDK release. */
317
- const DEFAULT_WASM_VERSION = "v2.14.50-post1";
317
+ const DEFAULT_WASM_VERSION = "v2.14.54-post1";
318
318
  const PATH_KEYS = [
319
319
  "wasmPath",
320
320
  "wasmSimdPath",
@@ -425,7 +425,7 @@ const BARCODE_ENHANCE_MODEL_FILE = WASM_MODEL_FILES.barcode;
425
425
  * NOT part of any warmup model bundle.
426
426
  */
427
427
  function getBarcodeEnhanceModelUrl(modelsBasePath, variant = "current") {
428
- const source = buildModelVariantSources(modelsBasePath ?? `${WASM_CDN_BASE_URL}/v2.14.50-post1/models`, BARCODE_ENHANCE_MODEL_FILE);
428
+ const source = buildModelVariantSources(modelsBasePath ?? `${WASM_CDN_BASE_URL}/v2.14.54-post1/models`, BARCODE_ENHANCE_MODEL_FILE);
429
429
  return typeof source === "string" ? source : source[variant];
430
430
  }
431
431
  /**
@@ -825,11 +825,8 @@ async function resolveGlue(loader, glueCodePath, slot) {
825
825
  if (!glueCodePath) throw new Error("WASM glue code is required");
826
826
  return await importGlueAt(glueCodePath, slot);
827
827
  }
828
- async function instantiate(factory, libPath, slot, showLogs = false) {
829
- window.wasmArrayBuffer = await resolveWasmSource(libPath, {
830
- kind: "binary",
831
- slot
832
- });
828
+ async function instantiate(factory, wasmBinary, showLogs = false) {
829
+ window.wasmArrayBuffer = wasmBinary;
833
830
  return await factory({
834
831
  wasmBinary: window.wasmArrayBuffer,
835
832
  print: (text) => {
@@ -872,10 +869,13 @@ async function loadWasmModule(config) {
872
869
  const wantSimd = config.useSimd !== false;
873
870
  const simdBinary = config.wasmSimdPath ?? config.wasmPath;
874
871
  if (wantSimd && simdBinary !== config.wasmPath) try {
875
- const simdFactory = await resolveGlue(config.loadGlueSimd, typeof simdBinary === "string" ? config.glueCodeSimdPath || deriveSiblingJsPath(simdBinary) : config.glueCodeSimdPath, "webLibSimd.js");
872
+ const [simdFactory, simdBytes] = await Promise.all([resolveGlue(config.loadGlueSimd, typeof simdBinary === "string" ? config.glueCodeSimdPath || deriveSiblingJsPath(simdBinary) : config.glueCodeSimdPath, "webLibSimd.js"), resolveWasmSource(simdBinary, {
873
+ kind: "binary",
874
+ slot: "webLibSimd.wasm"
875
+ })]);
876
876
  window.Module = simdFactory;
877
877
  const result = {
878
- wasmModule: await instantiate(simdFactory, simdBinary, "webLibSimd.wasm", config.showLogs),
878
+ wasmModule: await instantiate(simdFactory, simdBytes, config.showLogs),
879
879
  simdUsed: true
880
880
  };
881
881
  loadedResult = result;
@@ -896,10 +896,13 @@ async function loadWasmModule(config) {
896
896
  message: `simd load failed falling back ${describeLoadError(simdError)}`
897
897
  });
898
898
  }
899
- const nonSimdFactory = await resolveGlue(config.loadGlue, config.glueCodePath, "webLib.js");
899
+ const [nonSimdFactory, nonSimdBytes] = await Promise.all([resolveGlue(config.loadGlue, config.glueCodePath, "webLib.js"), resolveWasmSource(config.wasmPath, {
900
+ kind: "binary",
901
+ slot: "webLib.wasm"
902
+ })]);
900
903
  window.Module = nonSimdFactory;
901
904
  const result = {
902
- wasmModule: await instantiate(nonSimdFactory, config.wasmPath, "webLib.wasm", config.showLogs),
905
+ wasmModule: await instantiate(nonSimdFactory, nonSimdBytes, config.showLogs),
903
906
  simdUsed: false
904
907
  };
905
908
  loadedResult = result;
@@ -925,6 +928,18 @@ async function loadWasmModule(config) {
925
928
  })();
926
929
  return loadPromise;
927
930
  }
931
+ const moduleResetListeners = /* @__PURE__ */ new Set();
932
+ /**
933
+ * Runs `listener` every time {@link resetWasmModule} drops the memoized
934
+ * module. `WasmRuntime` uses it to delete the UtilityApi it keeps for that
935
+ * module. Returns the unsubscribe function.
936
+ */
937
+ function onWasmModuleReset(listener) {
938
+ moduleResetListeners.add(listener);
939
+ return () => {
940
+ moduleResetListeners.delete(listener);
941
+ };
942
+ }
928
943
  function emptyCounters() {
929
944
  return {
930
945
  analyzeFrameCount: 0,
@@ -1020,7 +1035,7 @@ function resetWasmCallDiagnostics() {
1020
1035
  //#endregion
1021
1036
  //#region ../infra/src/wasm/wasmCallUtils.ts
1022
1037
  /**
1023
- * Poll bound applied to the ML long-poll call sites (`prc` / `poc` / `rsp` in
1038
+ * Poll bound applied to the ML long-poll call sites (`poc` / `rsp` in
1024
1039
  * `utilityWasmApi.ts`).
1025
1040
  *
1026
1041
  * Count-based, not deadline-based: the poll loop yields with `setTimeout(0)`,
@@ -1028,11 +1043,15 @@ function resetWasmCallDiagnostics() {
1028
1043
  * would false-trip whenever the user backgrounds the page. A count bounds the
1029
1044
  * number of C++ invocations regardless of how slowly the event loop turns.
1030
1045
  *
1031
- * 3000 is deliberately generous. `prc` alone burns ~750 idle polls waiting on
1032
- * the ~3s of camera frames the C++ side needs before it reports done, so the
1033
- * bound sits well above the legitimate worst case. It exists to break a
1034
- * permanently stuck poll that would otherwise hold the ML semaphore forever and
1035
- * freeze detection — not to enforce a latency budget.
1046
+ * 3000 is deliberately generous. The pre-capture check (`prc`, until
1047
+ * ml-wasm-kit v2.14.52 moved it into the camera step) alone burned ~750 idle
1048
+ * polls waiting on the ~3s of camera frames the C++ side needs before it
1049
+ * reports done, so the bound sits well above the legitimate worst case. It
1050
+ * exists to break a permanently stuck poll that would otherwise hold the ML
1051
+ * semaphore forever and freeze detection — not to enforce a latency budget.
1052
+ * The camera step itself (`cst`) is deliberately unbounded: an open permission
1053
+ * prompt or a hidden tab parks it, and `rcc` is the only cancel — see
1054
+ * `WasmRuntime.startCameraCycle`.
1036
1055
  */
1037
1056
  const ML_CALL_MAX_POLLS = 3e3;
1038
1057
  /**
@@ -1271,4 +1290,4 @@ function ensureReady() {
1271
1290
  return webClientApi;
1272
1291
  }
1273
1292
  //#endregion
1274
- export { buildModelVariantSources as A, isDefaultCdnWasmConfig as C, WASM_PIPELINE_MODELS as D, WASM_PIPELINE_LAZY_MODEL_NAMES as E, resolveWasmSource as M, reportWasmIntegritySummary as N, WASM_PIPELINE_MODEL_NAMES as O, setWasmIntegrityObserver as P, getBarcodeEnhanceModelUrl as S, WASM_MODEL_FILES as T, setWasmDiagnosticsHandler as _, setWebApiHttpTransport as a, buildDefaultWasmConfig as b, wasmCallWrapper as c, noteUnlockedCallStart as d, rearmWasmCallDiagnostics as f, emitWasmDiagnostic as g, acquireWasmStorageFallback as h, initializeWasmWebClient as i, missingWasmModelError as j, WASM_PIPELINE_OPTIONAL_MODEL_NAMES as k, notePipelineStatePulled as l, loadWasmModule as m, createWebApiHostAdapter as n, setupWasmConnection as o, resetWasmCallDiagnostics as p, executeWasmRequest as r, ML_CALL_MAX_POLLS as s, WasmWebClientError as t, noteUnlockedCallEnd as u, SemaphoreProvider as v, resolveWasmConfig as w, buildWasmConfigFromBasePath as x, DEFAULT_WASM_VERSION as y };
1293
+ export { WASM_PIPELINE_OPTIONAL_MODEL_NAMES as A, getBarcodeEnhanceModelUrl as C, WASM_PIPELINE_LAZY_MODEL_NAMES as D, WASM_MODEL_FILES as E, setWasmIntegrityObserver as F, missingWasmModelError as M, resolveWasmSource as N, WASM_PIPELINE_MODELS as O, reportWasmIntegritySummary as P, buildWasmConfigFromBasePath as S, resolveWasmConfig as T, emitWasmDiagnostic as _, setWebApiHttpTransport as a, DEFAULT_WASM_VERSION as b, wasmCallWrapper as c, noteUnlockedCallStart as d, rearmWasmCallDiagnostics as f, acquireWasmStorageFallback as g, onWasmModuleReset as h, initializeWasmWebClient as i, buildModelVariantSources as j, WASM_PIPELINE_MODEL_NAMES as k, notePipelineStatePulled as l, loadWasmModule as m, createWebApiHostAdapter as n, setupWasmConnection as o, resetWasmCallDiagnostics as p, executeWasmRequest as r, ML_CALL_MAX_POLLS as s, WasmWebClientError as t, noteUnlockedCallEnd as u, setWasmDiagnosticsHandler as v, isDefaultCdnWasmConfig as w, buildDefaultWasmConfig as x, SemaphoreProvider as y };
@@ -1,2 +1,3 @@
1
- import { a as createWatchlistForBusinessManager, c as WatchlistForBusinessValidationErrors, i as WatchlistForBusinessState, l as WatchlistForBusinessActor, n as WatchlistForBusinessFormState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessConfig, t as WatchlistForBusinessFinishedState, u as watchlistForBusinessMachine } from "./watchlistForBusinessManager-B3GDPZrr.js";
1
+ import { n as WatchlistForBusinessValidationErrors, t as WatchlistForBusinessConfig } from "./types-B9C8W01q.js";
2
+ import { a as createWatchlistForBusinessManager, c as watchlistForBusinessMachine, i as WatchlistForBusinessState, n as WatchlistForBusinessFormState, o as createWatchlistForBusinessManagerFromActor, r as WatchlistForBusinessManager, s as WatchlistForBusinessActor, t as WatchlistForBusinessFinishedState } from "./watchlistForBusinessManager-l7ZERQcV.js";
2
3
  export { type WatchlistForBusinessActor, type WatchlistForBusinessConfig, type WatchlistForBusinessFinishedState, type WatchlistForBusinessFormState, type WatchlistForBusinessManager, type WatchlistForBusinessState, type WatchlistForBusinessValidationErrors, createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };
@@ -1,3 +1,3 @@
1
- import { t as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-B66E7jud.esm.js";
2
- import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-CZZOFkGl.esm.js";
1
+ import { n as watchlistForBusinessMachine } from "./watchlistForBusinessStateMachine-BMWm5mcP.esm.js";
2
+ import { n as createWatchlistForBusinessManagerFromActor, t as createWatchlistForBusinessManager } from "./watchlistForBusinessManager-BH6M4kqA.esm.js";
3
3
  export { createWatchlistForBusinessManager, createWatchlistForBusinessManagerFromActor, watchlistForBusinessMachine };