@incodetech/core 2.4.1 → 2.5.0-rc.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 (312) 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-D0DbKUKC.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-BOwciHDC.d.ts} +20 -4
  16. package/dist/{StreamCanvasCapture-C9jtgBdT.esm.js → StreamCanvasCapture-CXd87trH.esm.js} +18 -3
  17. package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
  18. package/dist/{WasmUtilProvider-DtJuBdt-.esm.js → WasmUtilProvider-0xTxgP0R.esm.js} +114 -25
  19. package/dist/WorkerEncoderRecordingProvider-CsDED9UU.esm.js +80 -0
  20. package/dist/addressSearch-Rxm1K67A.esm.js +73 -0
  21. package/dist/{advanceableErrors-q_pfU3Cn.esm.js → advanceableErrors-CxZyPRyh.esm.js} +4 -2
  22. package/dist/ae-signature.d.ts +2 -2
  23. package/dist/ae-signature.esm.js +1 -1
  24. package/dist/antifraud.d.ts +1 -1
  25. package/dist/antifraud.esm.js +2 -2
  26. package/dist/{antifraudManager-DbGCvlJs.d.ts → antifraudManager-BxfCsyA7.d.ts} +3 -3
  27. package/dist/{antifraudManager-CaweCYnY.esm.js → antifraudManager-DKNOi9-z.esm.js} +5 -3
  28. package/dist/{antifraudStateMachine-DRl0UVyA.esm.js → antifraudStateMachine-BJ6PmCsw.esm.js} +3 -3
  29. package/dist/{api-Cz90EHyu.esm.js → api-CZpuJuZl.esm.js} +11 -6
  30. package/dist/{apiError-9Yi8xMeB.esm.js → apiError-DJHHF70K.esm.js} +1 -1
  31. package/dist/attemptCarry-BecGGZK8.esm.js +45 -0
  32. package/dist/authentication.d.ts +3 -3
  33. package/dist/authentication.esm.js +2 -2
  34. package/dist/{authenticationManager-BIZC55Bi.d.ts → authenticationManager-B0WPJjvz.d.ts} +2 -2
  35. package/dist/{authenticationManager-pKQS4fHT.esm.js → authenticationManager-CkjV81NT.esm.js} +7 -6
  36. package/dist/{authenticationStateMachine-D_DygKtQ.esm.js → authenticationStateMachine-BoPwxHAI.esm.js} +50 -18
  37. package/dist/avatar.d.ts +1 -1
  38. package/dist/backCameraLabel-yda5ugE4.esm.js +67 -0
  39. package/dist/{backCameraStream-CMvXj4X4.esm.js → backCameraStream-DS1oDiUq.esm.js} +12 -107
  40. package/dist/{callback-645_omgz.d.ts → callback-BmjJ1G-5.d.ts} +1 -1
  41. package/dist/{camera-sIa9ceW2.esm.js → camera-E_Kcre4O.esm.js} +15 -23
  42. package/dist/camera.d.ts +2 -2
  43. package/dist/camera.esm.js +1 -1
  44. package/dist/certificate-issuance.d.ts +1 -1
  45. package/dist/certificate-issuance.esm.js +2 -2
  46. package/dist/{certificateIssuanceManager-Dr8A4Lgr.d.ts → certificateIssuanceManager-BcYhxO63.d.ts} +4 -3
  47. package/dist/{certificateIssuanceManager-BfeMv2PU.esm.js → certificateIssuanceManager-DaUklfNj.esm.js} +5 -3
  48. package/dist/{certificateIssuanceStateMachine-Frgjbjw8.esm.js → certificateIssuanceStateMachine-_EQcjGE3.esm.js} +4 -4
  49. package/dist/cnpj-Bl_olpdX.esm.js +79 -0
  50. package/dist/connectivity-BCuEoQ-n.esm.js +114 -0
  51. package/dist/consent.d.ts +1 -1
  52. package/dist/consent.esm.js +2 -2
  53. package/dist/{consentManager-Ca8FHlC4.d.ts → consentManager-B2F_VeAo.d.ts} +13 -5
  54. package/dist/{consentManager-CvEu8h_W.esm.js → consentManager-BPocwpm2.esm.js} +7 -4
  55. package/dist/{consentStateMachine-DJTgN_-1.esm.js → consentStateMachine-DgiIcT9q.esm.js} +22 -9
  56. package/dist/cpf-DDXMTLYr.esm.js +37 -0
  57. package/dist/{createFaceAvatar-lYX0VTYs.d.ts → createFaceAvatar-BimBTONm.d.ts} +1 -1
  58. package/dist/cross-document-data-match.d.ts +1 -1
  59. package/dist/cross-document-data-match.esm.js +1 -1
  60. package/dist/{crossDocumentDataMatchManager-Cu141CE8.esm.js → crossDocumentDataMatchManager-BfA29Aji.esm.js} +6 -4
  61. package/dist/{crossDocumentDataMatchManager-yCWCOzcU.d.ts → crossDocumentDataMatchManager-crZcIUSY.d.ts} +3 -3
  62. package/dist/curp-DZGvefg3.esm.js +14 -0
  63. package/dist/curp-validation.d.ts +1 -1
  64. package/dist/curp-validation.esm.js +2 -2
  65. package/dist/{curpValidationManager-B-z9q5V3.esm.js → curpValidationManager-CbvBDoE1.esm.js} +6 -3
  66. package/dist/{curpValidationManager-C9sqoh9n.d.ts → curpValidationManager-Ci2iVuog.d.ts} +4 -4
  67. package/dist/{curpValidationStateMachine-vDEFLMPw.esm.js → curpValidationStateMachine-BQ8XK2Y3.esm.js} +30 -22
  68. package/dist/custom-fields.d.ts +1 -1
  69. package/dist/custom-fields.esm.js +1 -1
  70. package/dist/custom-watchlist.d.ts +1 -1
  71. package/dist/custom-watchlist.esm.js +2 -2
  72. package/dist/{customFieldsManager-D1ex2cFM.esm.js → customFieldsManager-BRqSCR9R.esm.js} +6 -4
  73. package/dist/{customFieldsManager-CF-cO8ap.d.ts → customFieldsManager-CdWTbsew.d.ts} +3 -3
  74. package/dist/{customWatchlistManager-CTI-SGk0.esm.js → customWatchlistManager-Bd1ooIDB.esm.js} +5 -3
  75. package/dist/{customWatchlistManager-DolUswyR.d.ts → customWatchlistManager-lJrveDS4.d.ts} +3 -3
  76. package/dist/{customWatchlistStateMachine-hmRd0f2I.esm.js → customWatchlistStateMachine-r8nGhyo1.esm.js} +3 -3
  77. package/dist/{deepsightService-C3DVBOZd.esm.js → deepsightLoader-ngnhyO6B.esm.js} +39 -69
  78. package/dist/definitionSource-Nw0YCbpe.esm.js +221 -0
  79. package/dist/{createCameraCycleOwnership-Dj_LHUvN.esm.js → desktopCameraElection-BKFjsQpO.esm.js} +178 -41
  80. package/dist/device.esm.js +2 -2
  81. package/dist/document-capture.d.ts +3 -3
  82. package/dist/document-capture.esm.js +2 -2
  83. package/dist/{documentCaptureManager-DUJwpKC5.esm.js → documentCaptureManager-BKaJVQxg.esm.js} +30 -20
  84. package/dist/{documentCaptureManager-DkyDtm3Y.d.ts → documentCaptureManager-BZBmcOKI.d.ts} +41 -7
  85. package/dist/{documentCaptureStateMachine-B8i7GnLh.esm.js → documentCaptureStateMachine-BYLb5Azk.esm.js} +107 -58
  86. package/dist/dynamic-forms.d.ts +2 -2
  87. package/dist/dynamic-forms.esm.js +2 -2
  88. package/dist/{dynamicFormsManager-C0dHs1ty.d.ts → dynamicFormsManager-C45pTncO.d.ts} +4 -4
  89. package/dist/{dynamicFormsManager-DK_oc5Oy.esm.js → dynamicFormsManager-CC3t8bqX.esm.js} +5 -3
  90. package/dist/{dynamicFormsStateMachine-CGlIAWZ6.esm.js → dynamicFormsStateMachine-Vsn6kszV.esm.js} +4 -4
  91. package/dist/ekyb.d.ts +5 -5
  92. package/dist/ekyb.esm.js +3 -3
  93. package/dist/{ekybManager-BaZ_7CEu.d.ts → ekybManager-BflWuTe4.d.ts} +5 -5
  94. package/dist/{ekybManager-BLgkiWXw.esm.js → ekybManager-DgNO6c0e.esm.js} +5 -3
  95. package/dist/{ekybStateMachine-BfgOUZMK.esm.js → ekybStateMachine-DHybwePr.esm.js} +40 -56
  96. package/dist/ekybUtils-Cw8Ta9Qi.esm.js +140 -0
  97. package/dist/ekyc-prefill.d.ts +17 -0
  98. package/dist/ekyc-prefill.esm.js +3 -0
  99. package/dist/ekyc.d.ts +4 -3
  100. package/dist/ekyc.esm.js +3 -3
  101. package/dist/{ekycManager-DW-ynodd.d.ts → ekycManager-BKVQazAb.d.ts} +49 -7
  102. package/dist/{ekycManager-BO-Lui3t.esm.js → ekycManager-nRT0rxei.esm.js} +39 -16
  103. package/dist/ekycPrefillManager-DOTl3Y2w.d.ts +566 -0
  104. package/dist/ekycPrefillManager-Drq_nYJ3.esm.js +103 -0
  105. package/dist/ekycPrefillStateMachine-CycO-K3B.esm.js +687 -0
  106. package/dist/ekycRules-DXP2hqVw.esm.js +479 -0
  107. package/dist/ekycStateMachine-nwJRel2s.esm.js +7897 -0
  108. package/dist/ekycUtils-FcqA6oU4.esm.js +1491 -0
  109. package/dist/electronic-signature.d.ts +1 -1
  110. package/dist/electronic-signature.esm.js +1 -1
  111. package/dist/{electronicSignatureManager-DTSLOvKR.d.ts → electronicSignatureManager-5tYz-a4o.d.ts} +4 -3
  112. package/dist/{electronicSignatureManager-CjKvJ6E-.esm.js → electronicSignatureManager-hn-_ADP5.esm.js} +8 -6
  113. package/dist/email.d.ts +1 -1
  114. package/dist/email.esm.js +2 -2
  115. package/dist/{emailManager-ButFktRm.esm.js → emailManager-Co4jarT1.esm.js} +5 -3
  116. package/dist/{emailManager-Dy6omJVp.d.ts → emailManager-pM7ZPuMa.d.ts} +3 -3
  117. package/dist/{emailStateMachine-BXtlC0NV.esm.js → emailStateMachine-CTEaYncs.esm.js} +34 -22
  118. package/dist/events-CP3yOzAl.esm.js +299 -0
  119. package/dist/events.d.ts +3 -1
  120. package/dist/events.esm.js +2 -1
  121. package/dist/extensibility.d.ts +43 -41
  122. package/dist/extensibility.esm.js +39 -37
  123. package/dist/{externalFetch-DrR9xshk.esm.js → externalFetch-CQY41QT1.esm.js} +4 -1
  124. package/dist/face-match.d.ts +1 -1
  125. package/dist/face-match.esm.js +2 -2
  126. package/dist/{faceCaptureManagerFactory-BDGhg24q.esm.js → faceCaptureManagerFactory-B2POCGth.esm.js} +17 -6
  127. package/dist/{faceCaptureManagerFactory-1hzeS_rB.d.ts → faceCaptureManagerFactory-BZjGT392.d.ts} +84 -72
  128. package/dist/{faceCaptureSetup-CvGYG4GZ.esm.js → faceCaptureSetup-DCBK1osx.esm.js} +117 -482
  129. package/dist/{faceMatchManager-DIgG-UFS.d.ts → faceMatchManager-C5b5WtcY.d.ts} +23 -7
  130. package/dist/{faceMatchManager-DWFUQjMQ.esm.js → faceMatchManager-CGmNGbov.esm.js} +5 -3
  131. package/dist/{faceMatchStateMachine-CUCvlydD.esm.js → faceMatchStateMachine-BuHt7kec.esm.js} +68 -29
  132. package/dist/{feature-management-D4ne_hXW.esm.js → feature-management-BFfuXr1M.esm.js} +35 -21
  133. package/dist/feature-management.esm.js +1 -1
  134. package/dist/field-comparison.d.ts +1 -1
  135. package/dist/field-comparison.esm.js +1 -1
  136. package/dist/{fieldComparisonManager-v3knTYV_.esm.js → fieldComparisonManager-VgCU4X96.esm.js} +6 -4
  137. package/dist/{fieldComparisonManager-CUX4gza2.d.ts → fieldComparisonManager-mFOHRhVd.d.ts} +3 -3
  138. package/dist/fiscal-qr.d.ts +1 -1
  139. package/dist/fiscal-qr.esm.js +1 -1
  140. package/dist/{fiscalQrManager-Dt9fHG7h.esm.js → fiscalQrManager-D4G-4xKE.esm.js} +9 -7
  141. package/dist/{fiscalQrManager-D0Iy7EKR.d.ts → fiscalQrManager-DFnFVpP9.d.ts} +3 -3
  142. package/dist/flow-events.d.ts +1 -1
  143. package/dist/flow.d.ts +75 -24
  144. package/dist/flow.esm.js +288 -70
  145. package/dist/{flowCompletionService-Cemwaa5b.esm.js → flowCompletionService-Crry_GxY.esm.js} +24 -3
  146. package/dist/{flowServices-X6Rwf_7E.esm.js → flowServices-Cj8SQjQT.esm.js} +447 -183
  147. package/dist/geolocation.d.ts +1 -1
  148. package/dist/geolocation.esm.js +2 -2
  149. package/dist/{geolocationManager-Dn24g1fl.d.ts → geolocationManager-CENrvxpK.d.ts} +19 -20
  150. package/dist/{geolocationManager-B0dc5rW9.esm.js → geolocationManager-qpTiVlc6.esm.js} +9 -9
  151. package/dist/{geolocationStateMachine-B3rcoODF.esm.js → geolocationStateMachine-Dk10UW9G.esm.js} +14 -10
  152. package/dist/{getDeviceClass-bsWdEDxP.esm.js → getDeviceClass-DoIWuKI8.esm.js} +1 -1
  153. package/dist/government-validation.d.ts +1 -1
  154. package/dist/government-validation.esm.js +2 -2
  155. package/dist/{governmentValidationManager-BtXWHICu.esm.js → governmentValidationManager-6JQQkzha.esm.js} +5 -3
  156. package/dist/{governmentValidationManager-B82zOut8.d.ts → governmentValidationManager-De_vU7bm.d.ts} +4 -4
  157. package/dist/{governmentValidationStateMachine-COL-Vs48.esm.js → governmentValidationStateMachine-wBunpfQ9.esm.js} +3 -3
  158. package/dist/home.d.ts +4 -3
  159. package/dist/home.esm.js +4 -2
  160. package/dist/http.esm.js +1 -1
  161. package/dist/id-ocr.d.ts +2 -2
  162. package/dist/id-ocr.esm.js +3 -19
  163. package/dist/id-selfie-flow.d.ts +6 -5
  164. package/dist/id-selfie-flow.esm.js +14 -12
  165. package/dist/id-verification.d.ts +1 -1
  166. package/dist/id-verification.esm.js +2 -2
  167. package/dist/id.d.ts +4 -17
  168. package/dist/id.esm.js +4 -4
  169. package/dist/{idCaptureDefaults-BGsG2OAs.esm.js → idCaptureDefaults-Drh207VJ.esm.js} +3 -3
  170. package/dist/{idCaptureManager-0M02hSuC.d.ts → idCaptureManager-C4Xk02cS.d.ts} +76 -12
  171. package/dist/{idCaptureManager-IouAnrFm.esm.js → idCaptureManager-RrDMn2tS.esm.js} +68 -19
  172. package/dist/{idCaptureServices-VTKIPSpT.esm.js → idCaptureServices-BqDlOnzD.esm.js} +29 -198
  173. package/dist/{idCaptureStateMachine-_Pn2Xkpb.esm.js → idCaptureStateMachine-DFa1GOap.esm.js} +962 -554
  174. package/dist/idOcrCpfUtils-D5Gwskxu.esm.js +18 -0
  175. package/dist/{idOcrManager-DT3kPIB3.d.ts → idOcrManager-C0C7lFGd.d.ts} +7 -6
  176. package/dist/{idOcrManager-D3-HNMXP.esm.js → idOcrManager-im7VfJQi.esm.js} +5 -3
  177. package/dist/{idOcrStateMachine-DyENX6Ki.esm.js → idOcrStateMachine-B832arAl.esm.js} +11 -10
  178. package/dist/{idVerificationManager-BJapZfpy.d.ts → idVerificationManager-B6R8xNZq.d.ts} +4 -3
  179. package/dist/{idVerificationManager-iWz7Avkr.esm.js → idVerificationManager-PMGM4hXY.esm.js} +5 -3
  180. package/dist/{idVerificationStateMachine-CL1kUdBe.esm.js → idVerificationStateMachine-DeeugC00.esm.js} +3 -3
  181. package/dist/identity-reuse.d.ts +2 -2
  182. package/dist/identity-reuse.esm.js +2 -2
  183. package/dist/identity-search.d.ts +97 -0
  184. package/dist/identity-search.esm.js +97 -0
  185. package/dist/{identityReuseManager-ooAbp6Kc.d.ts → identityReuseManager-CZ-qJ_Aa.d.ts} +82 -15
  186. package/dist/{identityReuseManager-CD1ucp1d.esm.js → identityReuseManager-CjFZ7WRa.esm.js} +9 -4
  187. package/dist/{identityReuseStateMachine-DfV81wQC.esm.js → identityReuseStateMachine-CLFjPp13.esm.js} +22 -25
  188. package/dist/index-DHuAkTe0.d.ts +1 -0
  189. package/dist/{index-CKQ9QBZP.d.ts → index-DxYNO94y.d.ts} +2 -2
  190. package/dist/index.d.ts +1 -1
  191. package/dist/index.esm.js +1 -1
  192. package/dist/{invokeOnCaptureCallback-DYrkOXO6.esm.js → invokeOnCaptureCallback-lXP41N7b.esm.js} +1 -1
  193. package/dist/kyb-checks.d.ts +3 -0
  194. package/dist/kyb-checks.esm.js +3 -0
  195. package/dist/kybChecksManager-B7Di9auB.d.ts +95 -0
  196. package/dist/kybChecksManager-CcEXyOlg.esm.js +90 -0
  197. package/dist/kybChecksStateMachine-DEKqDA2G.esm.js +720 -0
  198. package/dist/mandatory-consent.d.ts +2 -2
  199. package/dist/mandatory-consent.esm.js +2 -2
  200. package/dist/{mandatoryConsentManager-qYojnZYg.d.ts → mandatoryConsentManager-Bh1asNJh.d.ts} +28 -11
  201. package/dist/{mandatoryConsentManager-Cwqx1nK7.esm.js → mandatoryConsentManager-Dh3pBhOe.esm.js} +7 -4
  202. package/dist/{mandatoryConsentStateMachine-pXWqAHo_.esm.js → mandatoryConsentStateMachine-BjuI72HZ.esm.js} +32 -13
  203. package/dist/mediaRecorderOptions-g1TwTlhd.esm.js +87 -0
  204. package/dist/multipartRecordingService-WgK8ieRI.esm.js +407 -0
  205. package/dist/{permissionGuards-gcy3U0SL.esm.js → permissionGuards-pcrrqrPR.esm.js} +1 -1
  206. package/dist/{permissionServices-Ca-tSNhT.esm.js → permissionServices-DFJlH7K3.esm.js} +11 -9
  207. package/dist/phone-number.d.ts +7 -1
  208. package/dist/phone-number.esm.js +15 -2
  209. package/dist/phone.d.ts +1 -1
  210. package/dist/phone.esm.js +2 -2
  211. package/dist/phoneFormat-C3q0Ukh4.esm.js +27 -0
  212. package/dist/{phoneManager-BO-LTih5.d.ts → phoneManager-VO1HEoUZ.d.ts} +8 -3
  213. package/dist/{phoneManager-KKUq-Vgo.esm.js → phoneManager-rA7updqF.esm.js} +6 -4
  214. package/dist/phoneServices-CFXcwCFr.esm.js +77 -0
  215. package/dist/{phoneStateMachine-D2QWS2cu.esm.js → phoneStateMachine-DKdY2Scx.esm.js} +56 -84
  216. package/dist/{phoneValidation-DnBcNUNh.esm.js → phoneValidation-OggtfjRt.esm.js} +1 -2
  217. package/dist/{platform-DkcRc9JV.esm.js → platform-aPh7gTWh.esm.js} +15 -1
  218. package/dist/processFaceMatch-B_DkDTE5.esm.js +21 -0
  219. package/dist/qe-signature.d.ts +2 -2
  220. package/dist/qe-signature.esm.js +1 -1
  221. package/dist/recordingService-DxiwS8TV.esm.js +397 -0
  222. package/dist/redirect-to-mobile.d.ts +2 -2
  223. package/dist/redirect-to-mobile.esm.js +2 -2
  224. package/dist/{redirectToMobileManager-uHW3dyuQ.esm.js → redirectToMobileManager-DjsEtWLq.esm.js} +9 -6
  225. package/dist/{redirectToMobileManager-CVsvpVbQ.d.ts → redirectToMobileManager-pT6FiPE7.d.ts} +6 -4
  226. package/dist/{redirectToMobileStateMachine-b-H-ipGM.esm.js → redirectToMobileStateMachine-CMjjUXSu.esm.js} +67 -28
  227. package/dist/resolveForm-DaaQSVWp.esm.js +146 -0
  228. package/dist/{runChildModule-DSpP41Hl.esm.js → runChildModule-CJzb91Cf.esm.js} +9 -7
  229. package/dist/{sdkVersion-DKHwWEyH.esm.js → sdkVersion-k-QlBWlU.esm.js} +1 -1
  230. package/dist/selfie.d.ts +4 -4
  231. package/dist/selfie.esm.js +13 -12
  232. package/dist/{selfieErrorUtils-DoN1KFSQ.esm.js → selfieErrorUtils-F449y_PI.esm.js} +1 -1
  233. package/dist/{selfieManager-DtQegA6T.esm.js → selfieManager-Ba2YqjfY.esm.js} +7 -6
  234. package/dist/{selfieManager-BJdNu_nd.d.ts → selfieManager-aPdwxSFt.d.ts} +2 -2
  235. package/dist/{selfieStateMachine-CnCwJZuC.esm.js → selfieStateMachine-CTjb-Qr4.esm.js} +5 -5
  236. package/dist/{session-CNUfjlRc.esm.js → session-DPL5QWRx.esm.js} +77 -9
  237. package/dist/session.d.ts +96 -10
  238. package/dist/session.esm.js +7 -6
  239. package/dist/{sessionInitializer-JM_glXR2.esm.js → sessionInitializer-43LQITNU.esm.js} +359 -115
  240. package/dist/{setup-YPKTUCY5.d.ts → setup-DpOr8H_l.d.ts} +2 -2
  241. package/dist/{setup-C5tfWt6W.esm.js → setup-lcBOfaNE.esm.js} +36 -27
  242. package/dist/signature.d.ts +1 -1
  243. package/dist/signature.esm.js +2 -2
  244. package/dist/{signatureManager-f_dPAGXn.esm.js → signatureManager-BgAja97K.esm.js} +5 -3
  245. package/dist/{signatureManager-BpVt_Jv7.d.ts → signatureManager-daT_8fj_.d.ts} +3 -3
  246. package/dist/{signatureStateMachine-C-nUq_oq.esm.js → signatureStateMachine-CVPmvU2p.esm.js} +3 -3
  247. package/dist/{spawn-D9jgw9pW.d.ts → spawn-COZKetCS.d.ts} +1 -1
  248. package/dist/{stats-BEvexnKC.esm.js → stats-DoByUnTa.esm.js} +1 -1
  249. package/dist/stats.esm.js +1 -1
  250. package/dist/textRules-D4NRinKY.d.ts +41 -0
  251. package/dist/{trueSightService-fLmL_cyg.esm.js → trueSightService-Bs6xqUXD.esm.js} +22 -10
  252. package/dist/trust-graph.d.ts +4 -3
  253. package/dist/trust-graph.esm.js +5 -3
  254. package/dist/{types-yPH8lAH-.d.ts → types-9wlf1-GE.d.ts} +3 -3
  255. package/dist/types-B-PIc0en.d.ts +115 -0
  256. package/dist/types-B9C8W01q.d.ts +34 -0
  257. package/dist/{types-0L-eFDmr.d.ts → types-BgRHw-dR.d.ts} +1 -1
  258. package/dist/{types-CJ7Yl9K-.d.ts → types-Bpo97EOh.d.ts} +4 -2
  259. package/dist/{types-BQA7lRDV.d.ts → types-C3rfDzgE.d.ts} +4 -2
  260. package/dist/types-CE1jkHw3.d.ts +6 -0
  261. package/dist/types-CTaL0XJz.d.ts +80 -0
  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/{types-BAxn7MpY.d.ts → types-YA7ieDOx.d.ts} +125 -50
  270. package/dist/{urlUtils-6jsE6rKp.esm.js → urlUtils-eYiyWjh0.esm.js} +4 -1
  271. package/dist/usStates-CwOQ2kAx.esm.js +209 -0
  272. package/dist/video-selfie.d.ts +16 -14
  273. package/dist/video-selfie.esm.js +100 -24
  274. package/dist/{videoSelfieCameraWarmer-BBNKiau1.esm.js → videoSelfieCameraWarmer-a7GBfmEZ.esm.js} +27 -28
  275. package/dist/{videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js → videoSelfieFlowModuleMachine-IWdxw1TW.esm.js} +1 -1
  276. package/dist/{videoSelfieStepDetector-CGsTltqB.d.ts → videoSelfieStepDetector-DRrh4P0A.d.ts} +10 -5
  277. package/dist/virtualCameraCheck-eFOm2C9q.esm.js +27 -0
  278. package/dist/{warmup-BO57syF6.d.ts → warmup-BNhIuURi.d.ts} +18 -2
  279. package/dist/{warmup-BElYWRh7.esm.js → warmup-BZOMg303.esm.js} +243 -30
  280. package/dist/wasm.d.ts +9 -3
  281. package/dist/wasm.esm.js +3 -3
  282. package/dist/{wasmDsFlagSync-CYj5LL9z.esm.js → wasmDsFlagSync-DPK7qGgo.esm.js} +1 -1
  283. package/dist/wasmMetadataVersionSync-U8EFUr1T.esm.js +27 -0
  284. package/dist/{wasmWebClient-BjZw_7OB.esm.js → wasmWebClient-CyLCM31e.esm.js} +45 -26
  285. package/dist/watchlist-for-business.d.ts +2 -1
  286. package/dist/watchlist-for-business.esm.js +2 -2
  287. package/dist/watchlist.d.ts +1 -1
  288. package/dist/watchlist.esm.js +2 -2
  289. package/dist/{watchlistForBusinessManager-CZZOFkGl.esm.js → watchlistForBusinessManager-BH6M4kqA.esm.js} +40 -8
  290. package/dist/{watchlistForBusinessManager-B3GDPZrr.d.ts → watchlistForBusinessManager-l7ZERQcV.d.ts} +57 -21
  291. package/dist/watchlistForBusinessStateMachine-BMWm5mcP.esm.js +166 -0
  292. package/dist/{watchlistManager-DXtX94SN.esm.js → watchlistManager-BDaVjzLW.esm.js} +5 -3
  293. package/dist/{watchlistManager-DJQOd8Pw.d.ts → watchlistManager-DQq4GxBO.d.ts} +3 -3
  294. package/dist/{watchlistStateMachine-McALifag.esm.js → watchlistStateMachine-Cx-6QAvu.esm.js} +3 -3
  295. package/dist/workflow.d.ts +234 -45
  296. package/dist/workflow.esm.js +194 -80
  297. package/dist/{xstate-actors.esm-8Gzepa_A.esm.js → xstate-actors.esm-BCcwgosu.esm.js} +1 -1
  298. package/dist/xstate.cjs-D6Ur0X1F.d.ts +7 -0
  299. package/dist/{xstate.esm-DSajW7CJ.esm.js → xstate.esm-CIqUf_i6.esm.js} +1 -125
  300. package/package.json +24 -7
  301. package/dist/Actor-DpTj5PFb.d.ts +0 -1
  302. package/dist/IBrowserEnvironmentCapability-DEaRRk-R.esm.js +0 -9
  303. package/dist/addressSearch-DPjIKJrX.esm.js +0 -563
  304. package/dist/cpf-uAZTPUBy.esm.js +0 -61
  305. package/dist/deepsightLoader-sH7920zw.esm.js +0 -55
  306. package/dist/ekycStateMachine-CDnI_NRq.esm.js +0 -1443
  307. package/dist/ekycUtils-zY8CdKJL.esm.js +0 -300
  308. package/dist/index-DpTj5PFb.d.ts +0 -1
  309. package/dist/types-BvLo3U4u.d.ts +0 -134
  310. package/dist/types-zOgZqMni.d.ts +0 -6
  311. package/dist/watchlistForBusinessStateMachine-B66E7jud.esm.js +0 -78
  312. /package/dist/{types-BSBzhHRH2.d.ts → types-BSBzhHRH.d.ts} +0 -0
@@ -1,5 +1,7 @@
1
1
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
2
2
  //#region ../infra/src/media/StreamCanvasCapture.ts
3
+ /** How often a paused capture video asks to play again. */
4
+ const PLAY_RETRY_INTERVAL_MS = 500;
3
5
  var StreamCanvasCapture = class {
4
6
  constructor(stream, options) {
5
7
  this.hasFrame = false;
@@ -24,10 +26,9 @@ var StreamCanvasCapture = class {
24
26
  this.canvas.width = this.video.videoWidth;
25
27
  this.canvas.height = this.video.videoHeight;
26
28
  }
29
+ this.ensurePlaying();
27
30
  });
28
- try {
29
- this.video.play();
30
- } catch {}
31
+ this.ensurePlaying();
31
32
  if (options?.continuous !== false) this.rafLoop(intervalMs);
32
33
  }
33
34
  addEventListener(type, listener, options) {
@@ -94,8 +95,22 @@ var StreamCanvasCapture = class {
94
95
  };
95
96
  this.rafId = window.requestAnimationFrame(loop);
96
97
  }
98
+ /**
99
+ * Starts (or restarts) playback of the hidden video. Rejections are expected
100
+ * on Safari 17 and earlier and are retried from {@link tick}, at most every
101
+ * {@link PLAY_RETRY_INTERVAL_MS}, while the video stays paused.
102
+ */
103
+ ensurePlaying() {
104
+ if (this.disposed || !this.video.paused) return;
105
+ this.lastPlayAttemptMs = Date.now();
106
+ try {
107
+ const result = this.video.play();
108
+ if (result && typeof result.catch === "function") result.catch(() => {});
109
+ } catch {}
110
+ }
97
111
  tick() {
98
112
  if (!this.ctx) return;
113
+ if (this.video.paused && this.video.readyState >= HTMLMediaElement.HAVE_METADATA && (this.lastPlayAttemptMs === void 0 || Date.now() - this.lastPlayAttemptMs >= PLAY_RETRY_INTERVAL_MS)) this.ensurePlaying();
99
114
  if (this.video.readyState < HTMLMediaElement.HAVE_CURRENT_DATA) return;
100
115
  const videoWidth = this.video.videoWidth;
101
116
  const videoHeight = this.video.videoHeight;
@@ -0,0 +1,42 @@
1
+ //#region ../infra/src/media/StreamCanvasProcessingSession.ts
2
+ var StreamCanvasProcessingSession = class {
3
+ /**
4
+ * Creates a processing session that reacts to `StreamCanvasCapture` frame events
5
+ * and drives a provider's `processFrame()` method with backpressure.
6
+ */
7
+ constructor(params) {
8
+ this.disposed = false;
9
+ this.isProcessing = false;
10
+ this.onFrameEvent = () => {
11
+ if (this.disposed || this.isProcessing) return;
12
+ const frame = this.capturer.getLatestFrame();
13
+ if (!frame) return;
14
+ this.onFrame?.(frame);
15
+ this.isProcessing = true;
16
+ this.provider.processFrame(frame).catch(() => {}).finally(() => {
17
+ this.isProcessing = false;
18
+ });
19
+ };
20
+ this.capturer = params.capturer;
21
+ this.provider = params.provider;
22
+ this.onFrame = params.onFrame;
23
+ this.capturer.addEventListener("frame", this.onFrameEvent);
24
+ }
25
+ /**
26
+ * Unsubscribes from frame events and resets the provider.
27
+ */
28
+ dispose() {
29
+ if (this.disposed) return;
30
+ this.disposed = true;
31
+ this.capturer.removeEventListener("frame", this.onFrameEvent);
32
+ this.provider.reset();
33
+ }
34
+ /**
35
+ * Returns whether the session has been disposed.
36
+ */
37
+ isDisposed() {
38
+ return this.disposed;
39
+ }
40
+ };
41
+ //#endregion
42
+ export { StreamCanvasProcessingSession as t };
@@ -1,6 +1,6 @@
1
1
  import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-BjZw_7OB.esm.js";
3
- import { c as wasmRuntime, i as isWasmReady, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-BElYWRh7.esm.js";
2
+ import { c as wasmCallWrapper, d as noteUnlockedCallStart, s as ML_CALL_MAX_POLLS, u as noteUnlockedCallEnd } from "./wasmWebClient-CyLCM31e.esm.js";
3
+ import { i as isWasmReady, l as wasmRuntime, o as waitForWasm, r as getWasmStatus, s as warmupWasm } from "./warmup-BZOMg303.esm.js";
4
4
  //#region ../infra/src/wasm/utilityWasmApi.ts
5
5
  /**
6
6
  * Utility / metadata domain facade over {@link WasmRuntime}.
@@ -10,7 +10,8 @@ import { c as wasmRuntime, i as isWasmReady, o as waitForWasm, r as getWasmStatu
10
10
  * persist and that must be replayed into it at call time —
11
11
  *
12
12
  * - `dsEnabled_` (deepsight) is passed as an argument on every
13
- * `prc`/`poc`/`rsp`/`ssl` call;
13
+ * `poc`/`rsp`/`ssl` call, and read back through {@link getDsEnabled} by
14
+ * `CameraCycleProvider` for the camera step's `ds` option;
14
15
  * - `inspectorOpened_` is pushed into C++ inside {@link getMetadata}, right
15
16
  * before reading the metadata, because `setInspectorOpened` may legitimately be
16
17
  * called before WASM is initialized.
@@ -20,11 +21,27 @@ import { c as wasmRuntime, i as isWasmReady, o as waitForWasm, r as getWasmStatu
20
21
  *
21
22
  * `fpPrefetch_` is a third, derived piece of JS state: the memoized `ppf` poll
22
23
  * that `getFPData` awaits, keyed by the embind handle it was started on.
24
+ * `pidReady_` is a fourth: the memoized `ppi` poll that a PID read races
25
+ * against that prefetch, keyed by the prefetch run it watches.
23
26
  *
24
- * `prc`/`poc`/`rsp` are the only methods here that hold the ML semaphore.
25
- * `ssl`/`stl`/`osv`/`oev`/`ckvcks`/`sbc`/`ppf` and everything else are unlocked **by design**
27
+ * `poc`/`rsp` are the only methods here that hold the ML semaphore (the camera
28
+ * step's `cst` holds it from `WasmRuntime`).
29
+ * `ssl`/`stl`/`osv`/`oev`/`ckvcks`/`sbc`/`ppf`/`ppi` and everything else are unlocked **by design**
26
30
  * (decision D6) — never add locking.
27
31
  *
32
+ * Three members are deprecated native-free shims for bindings ml-wasm-kit
33
+ * deleted: `prc` (v2.14.52) rejects with a fixed error; `setZc` and
34
+ * `setBackgroundMode` (v2.14.54) are no-ops. `WasmUtilProvider` is public
35
+ * (`@incodetech/core/extensibility`) and `major` changesets are forbidden, so
36
+ * they follow the `isVirtualCamera` / `processPhoto` precedent until 3.0.0.
37
+ *
38
+ * `smv` (restored in ml-wasm-kit v2.14.54-pre5; `true` selects v2 since pre6)
39
+ * is guarded like upstream but routes through `WasmRuntime.setMetadataV2Enabled`,
40
+ * which latches the
41
+ * selection and replays it after every `initialize()` — the kit keeps it as
42
+ * realm state (ADR 0009 §6). The SDK-facing unguarded entry is
43
+ * `wasmMetadataVersionSync.ts`.
44
+ *
28
45
  * Method names, argument order and the pre-initialization error strings are
29
46
  * copied verbatim from the mirrored upstream `wasmApi.ts` so a WASM version bump
30
47
  * stays a diff against upstream (`docs/processes/WASM_VERSION_MIGRATION.md`).
@@ -40,7 +57,8 @@ const SignalDataType = {
40
57
  Pid: 3
41
58
  };
42
59
  /**
43
- * Poll bound for the `ppf` fingerprint prefetch. Larger than
60
+ * Poll bound for the `ppf` fingerprint prefetch, and for the `ppi` poll a PID
61
+ * read races against it. Larger than
44
62
  * {@link ML_CALL_MAX_POLLS} because the prefetch waits on async browser APIs
45
63
  * (storage estimate, persistent ID) rather than camera frames, and it is
46
64
  * unlocked, so a stuck poll cannot freeze detection — it only delays signals.
@@ -51,6 +69,7 @@ var UtilityWasmApi = class {
51
69
  this.runtime = runtime;
52
70
  this.inspectorOpened_ = false;
53
71
  this.fpPrefetch_ = null;
72
+ this.pidReady_ = null;
54
73
  this.dsEnabled_ = false;
55
74
  }
56
75
  ens(image) {
@@ -58,8 +77,9 @@ var UtilityWasmApi = class {
58
77
  }
59
78
  /**
60
79
  * @deprecated Native label inspection has been unavailable since
61
- * v2.14.49-post1; scheduled for removal in 3.0.0. Protected PRC/POC owns
62
- * the authoritative decision: use `prc()` followed by `poc()` instead.
80
+ * v2.14.49-post1; scheduled for removal in 3.0.0. The protected camera step
81
+ * (`ICameraCycleCapability.startCameraCycle`) runs the pre-capture checks
82
+ * and the signed capture metadata carries the verdicts.
63
83
  */
64
84
  isVirtualCamera(_label) {
65
85
  return false;
@@ -105,9 +125,12 @@ var UtilityWasmApi = class {
105
125
  setCameraInfo(cameraInfo, overrideExisting = true) {
106
126
  this.runtime.requireUtilityApi("Unable to set camera info, cpp API hasn't been initialized").setCameraInfo(cameraInfo, overrideExisting);
107
127
  }
108
- setZc(zc) {
109
- this.runtime.requireUtilityApi("Unable to set zc, cpp API hasn't been initialized").setZc(zc);
110
- }
128
+ /**
129
+ * @deprecated Native-free no-op. ml-wasm-kit v2.14.54 removed `setZc`: the
130
+ * zoom check is gone and `iad.zc` is the constant `PASS` in the capture
131
+ * metadata. Scheduled for removal in 3.0.0.
132
+ */
133
+ setZc(_zc) {}
111
134
  setMotionStatus(motionStatus) {
112
135
  this.runtime.requireUtilityApi("Unable to set motion status, cpp API hasn't been initialized").setMotionStatus(motionStatus);
113
136
  }
@@ -117,12 +140,19 @@ var UtilityWasmApi = class {
117
140
  getInspectorOpened() {
118
141
  return this.inspectorOpened_;
119
142
  }
120
- setBackgroundMode(backgroundMode) {
121
- this.runtime.requireUtilityApi("Unable to set background mode, cpp API hasn't been initialized").setBackgroundMode(backgroundMode);
122
- }
143
+ /**
144
+ * @deprecated Native-free no-op. ml-wasm-kit v2.14.54 removed
145
+ * `setBackgroundMode`: the kit's own visibility observers record background
146
+ * time. Scheduled for removal in 3.0.0.
147
+ */
148
+ setBackgroundMode(_backgroundMode) {}
123
149
  setDsEnabled(enabled) {
124
150
  this.dsEnabled_ = enabled;
125
151
  }
152
+ /** The JS-side deepsight flag, for callers that replay it into the kit themselves. */
153
+ getDsEnabled() {
154
+ return this.dsEnabled_;
155
+ }
126
156
  getCheck() {
127
157
  const utilityApi = this.runtime.requireUtilityApi("Unable to get check, cpp API hasn't been initialized");
128
158
  noteUnlockedCallStart("getCheck");
@@ -146,8 +176,23 @@ var UtilityWasmApi = class {
146
176
  this.runtime.requireUtilityApi("Unable to sbc, cpp API hasn't been initialized").sbc(enabled);
147
177
  }
148
178
  /**
179
+ * Capture-metadata format selector (`smv`, ml-wasm-kit v2.14.54-pre6):
180
+ * `true` selects the v2 document, `false` the v1 document (the module
181
+ * default). Guarded like upstream; the selection is latched on the runtime
182
+ * so it survives re-initialization (ADR 0009 §6).
183
+ */
184
+ smv(enabled) {
185
+ this.runtime.requireUtilityApi("Unable to smv, cpp API hasn't been initialized");
186
+ this.runtime.setMetadataV2Enabled(enabled);
187
+ }
188
+ /**
149
189
  * Reads one fingerprint signal bucket (see {@link SignalDataType}), encrypted
150
- * by the native module. Waits for the one-time async prefetch (`ppf`) first.
190
+ * by the native module. Device and Behaviour wait for the one-time async
191
+ * prefetch (`ppf`) first. Pid waits only until the persistent-id resolver is
192
+ * done (`ppi`), or the prefetch settles, whichever is first: the prefetch
193
+ * still drives the resolver, and its failure still rejects the read. On a
194
+ * build without `ppi` (the pinned release included) Pid waits for the
195
+ * prefetch like the other buckets.
151
196
  * An empty string means the bucket has no data.
152
197
  *
153
198
  * @throws If the WASM C++ API has not been initialized yet.
@@ -155,7 +200,8 @@ var UtilityWasmApi = class {
155
200
  async getFPData(signalsType = SignalDataType.Device) {
156
201
  const message = "Unable to get fingerprint data, cpp API hasn't been initialized";
157
202
  const handle = this.runtime.requireUtilityApi(message);
158
- await this.prefetchFingerprintData(handle, message);
203
+ const prefetch = this.prefetchFingerprintData(handle, message);
204
+ await (signalsType === SignalDataType.Pid && handle.ppi ? Promise.race([this.persistentIdReady(prefetch, message), prefetch]) : prefetch);
159
205
  return this.runtime.requireUtilityApi(message).getFPData(signalsType);
160
206
  }
161
207
  /**
@@ -184,13 +230,41 @@ var UtilityWasmApi = class {
184
230
  });
185
231
  return promise;
186
232
  }
187
- async prc() {
188
- const message = "Unable to prc, cpp API hasn't been initialized";
189
- this.runtime.requireUtilityApi(message);
190
- await wasmCallWrapper(this.runtime.mlCallSemaphore, () => this.runtime.requireUtilityApi(message).prc(this.dsEnabled_, false), true, {
191
- maxPolls: ML_CALL_MAX_POLLS,
192
- label: "prc"
233
+ /**
234
+ * Polls `ppi` (the persistent-id resolver finished) for one prefetch run.
235
+ * `ppi` only reads the resolver; the `ppf` poll is what moves it, so this poll
236
+ * also stops as soon as that run settles, success or failure.
237
+ */
238
+ persistentIdReady(prefetch, message) {
239
+ if (this.pidReady_?.prefetch === prefetch) return this.pidReady_.promise;
240
+ let prefetchSettled = false;
241
+ const markSettled = () => {
242
+ prefetchSettled = true;
243
+ };
244
+ prefetch.then(markSettled, markSettled);
245
+ const promise = wasmCallWrapper(this.runtime.mlCallSemaphore, () => prefetchSettled || (this.runtime.requireUtilityApi(message).ppi?.() ?? false), false, {
246
+ maxPolls: FP_PREFETCH_MAX_POLLS,
247
+ label: "ppi"
248
+ });
249
+ const entry = {
250
+ prefetch,
251
+ promise
252
+ };
253
+ this.pidReady_ = entry;
254
+ promise.catch(() => {
255
+ if (this.pidReady_ === entry) this.pidReady_ = null;
193
256
  });
257
+ return promise;
258
+ }
259
+ /**
260
+ * @deprecated Resolves without doing anything. ml-wasm-kit v2.14.52 removed
261
+ * `prc`: the pre-capture check runs inside the protected camera step
262
+ * (`ICameraCycleCapability.startCameraCycle`), which holds the ML semaphore
263
+ * for it, so a caller that still awaits `prc()` before `poc()` loses
264
+ * nothing. Scheduled for removal in 3.0.0.
265
+ */
266
+ prc() {
267
+ return Promise.resolve();
194
268
  }
195
269
  async poc(output) {
196
270
  const message = "Unable to poc, cpp API hasn't been initialized";
@@ -272,6 +346,10 @@ var BaseWasmProvider = class {
272
346
  */
273
347
  async initializeBase(config, pipeline) {
274
348
  if (this._isInitialized) return;
349
+ if (this.pipelineType === void 0 && wasmRuntime.isInitialized()) {
350
+ this._isInitialized = true;
351
+ return;
352
+ }
275
353
  const status = getWasmStatus();
276
354
  if (status.isLoading || isWasmReady() || status.error) {
277
355
  if (!(status.isLoading && status.loadedPipelines.includes(pipeline))) await waitForWasm();
@@ -385,15 +463,21 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
385
463
  this.ensureInitialized();
386
464
  utilityWasmApi.setMotionStatus(status);
387
465
  }
466
+ /**
467
+ * @deprecated Native-free no-op since ml-wasm-kit v2.14.54; scheduled for
468
+ * removal in 3.0.0. Like the other shims it never requires initialization.
469
+ */
388
470
  setBackgroundMode(backgroundMode) {
389
- this.ensureInitialized();
390
471
  utilityWasmApi.setBackgroundMode(backgroundMode);
391
472
  }
392
473
  setOnDeviceMode(enabled) {
393
474
  wasmRuntime.setOnDeviceMode(enabled);
394
475
  }
476
+ /**
477
+ * @deprecated Native-free no-op since ml-wasm-kit v2.14.54; scheduled for
478
+ * removal in 3.0.0. Like the other shims it never requires initialization.
479
+ */
395
480
  setZc(zc) {
396
- this.ensureInitialized();
397
481
  utilityWasmApi.setZc(zc);
398
482
  }
399
483
  setInspectorOpened(opened) {
@@ -448,8 +532,13 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
448
532
  isVirtualCamera(label) {
449
533
  return utilityWasmApi.isVirtualCamera(label);
450
534
  }
535
+ /**
536
+ * @deprecated Resolves without doing anything since ml-wasm-kit v2.14.52:
537
+ * the pre-capture check runs inside the protected camera step, so existing
538
+ * `prc()` then `poc()` call sites keep working. Scheduled for removal in
539
+ * 3.0.0.
540
+ */
451
541
  async prc() {
452
- this.ensureInitialized();
453
542
  await utilityWasmApi.prc();
454
543
  }
455
544
  async poc(output) {
@@ -0,0 +1,80 @@
1
+ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
+ import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-CduV32Qa.esm.js";
3
+ //#region ../infra/src/providers/browser/WorkerEncoderRecordingProvider.ts
4
+ var WorkerEncoderRecordingProvider_exports = /* @__PURE__ */ __exportAll({ WorkerEncoderRecordingProvider: () => WorkerEncoderRecordingProvider });
5
+ /**
6
+ * Multipart recorder for a `CameraCompositor` that encodes inside its worker
7
+ * (ENG-55397): emits the worker's WebM clusters as parts, in order. When the
8
+ * compositor could not start in-worker encoding (no insertable streams or
9
+ * WebCodecs, strict CSP), it records the composite stream with
10
+ * `MediaRecorder` instead, so callers wire it unconditionally.
11
+ *
12
+ * Why not always `MediaRecorder`: Chrome hands every recorded frame through
13
+ * the page main thread and drops frames while it is blocked. On a Galaxy A01
14
+ * Core the ID flow blocks it for 3–5 s (WASM + 1080p readbacks); a
15
+ * `MediaRecorder` fed by the worker kept 74 of 149 frames under 1.5 s
16
+ * freezes, the in-worker encoder 150 of 151.
17
+ */
18
+ var WorkerEncoderRecordingProvider = class {
19
+ constructor(compositor) {
20
+ this.compositor = compositor;
21
+ this._isRecording = false;
22
+ this._error = null;
23
+ this.partNumber = 0;
24
+ this.fallback = null;
25
+ }
26
+ get isRecording() {
27
+ return this.fallback ? this.fallback.isRecording : this._isRecording;
28
+ }
29
+ get hasError() {
30
+ return this.error !== null;
31
+ }
32
+ get error() {
33
+ if (this.fallback) return this.fallback.error;
34
+ return this._error ?? this.compositor.workerRecordingErrorMessage;
35
+ }
36
+ startRecording(stream, onPart) {
37
+ this.reset();
38
+ if (!this.compositor.encodesInWorker) {
39
+ this.fallback = new MultipartRecordingProvider();
40
+ this.fallback.startRecording(stream, onPart);
41
+ return;
42
+ }
43
+ this.partNumber = 0;
44
+ const started = this.compositor.startWorkerRecording((chunk) => {
45
+ this.partNumber += 1;
46
+ onPart({
47
+ chunk,
48
+ partNumber: this.partNumber
49
+ });
50
+ });
51
+ this._isRecording = started;
52
+ this._error = started ? null : "Failed to start recording: no encoder";
53
+ }
54
+ pauseRecording() {
55
+ if (this.fallback) return this.fallback.pauseRecording();
56
+ return this._isRecording && this.compositor.pauseWorkerRecording();
57
+ }
58
+ resumeRecording() {
59
+ if (this.fallback) return this.fallback.resumeRecording();
60
+ return this._isRecording && this.compositor.resumeWorkerRecording();
61
+ }
62
+ async stopRecording() {
63
+ if (this.fallback) {
64
+ await this.fallback.stopRecording();
65
+ return;
66
+ }
67
+ if (!this._isRecording) return;
68
+ this._isRecording = false;
69
+ await this.compositor.stopWorkerRecording();
70
+ }
71
+ reset() {
72
+ this.fallback?.reset();
73
+ this.fallback = null;
74
+ this.compositor.cancelWorkerRecording();
75
+ this._isRecording = false;
76
+ this._error = null;
77
+ }
78
+ };
79
+ //#endregion
80
+ export { WorkerEncoderRecordingProvider_exports as n, WorkerEncoderRecordingProvider as t };
@@ -0,0 +1,73 @@
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
+ import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
+ //#region src/internal/formDefinitionsRollout/formDefinitionsRollout.ts
5
+ /**
6
+ * The rollout switch for form definitions (ENG-59781): one all-or-nothing
7
+ * answer to "do eKYC and eKYB build their forms from catalog definitions, or
8
+ * with today's builders?". The eKYC and eKYB machines read it once, when
9
+ * they're created, and pass the answer to the module adapters
10
+ * (`selectEkycDefinition`, `selectEkybForm`); the forms kernel
11
+ * (`internal/forms`) knows nothing about it.
12
+ *
13
+ * Off by default, so every source and country keeps today's builder. A
14
+ * catalog-only eKYC source, one today's builder never knew, uses its
15
+ * definition either way, since it has no old path to fall back to.
16
+ *
17
+ * This is Incode's rollout decision, not the integrator's: it is not a
18
+ * `setup()` option. It stays a constant: customers move to definitions only
19
+ * once the migration is done, so it is turned on in code at that point.
20
+ */
21
+ const ENABLED_BY_DEFAULT = false;
22
+ /** Whether sources and countries with a form definition use it. */
23
+ function isFormDefinitionsEnabled() {
24
+ return ENABLED_BY_DEFAULT;
25
+ }
26
+ //#endregion
27
+ //#region src/shared/addressSearch.ts
28
+ /** Searches for address suggestions via the address autocomplete API. */
29
+ async function searchAddress(query, signal) {
30
+ const res = await api.post(endpoints.addressAutocomplete, { search: query }, { signal });
31
+ if (!res.ok) throw new Error(`POST ${endpoints.addressAutocomplete} failed: ${res.status} ${res.statusText}`);
32
+ return { apiResponse: { items: (res.data.apiResponse?.items ?? []).map((item, i) => {
33
+ const addr = item.address ?? item;
34
+ return {
35
+ id: item.id ?? i,
36
+ label: addr.label ?? item.title ?? "",
37
+ street: addr.street,
38
+ city: addr.city,
39
+ stateCode: addr.stateCode ?? addr.state,
40
+ postalCode: addr.postalCode,
41
+ houseNumber: addr.houseNumber,
42
+ countryCode: addr.countryCode
43
+ };
44
+ }) } };
45
+ }
46
+ const DEBOUNCE_MS = 300;
47
+ /**
48
+ * XState callback actor that debounces address search requests.
49
+ * Cancels in-flight HTTP requests when the actor is stopped.
50
+ */
51
+ const debounceSearchActor = fromCallback(({ input, sendBack }) => {
52
+ const timerProvider = BrowserTimerProvider.getInstance();
53
+ const controller = new AbortController();
54
+ const handle = timerProvider.setTimeout(async () => {
55
+ try {
56
+ sendBack({
57
+ type: "RESULTS",
58
+ suggestions: (await searchAddress(input.query, controller.signal)).apiResponse?.items ?? []
59
+ });
60
+ } catch {
61
+ if (!controller.signal.aborted) sendBack({
62
+ type: "RESULTS",
63
+ suggestions: []
64
+ });
65
+ }
66
+ }, DEBOUNCE_MS);
67
+ return () => {
68
+ timerProvider.clearTimeout(handle);
69
+ controller.abort();
70
+ };
71
+ });
72
+ //#endregion
73
+ export { searchAddress as n, isFormDefinitionsEnabled as r, debounceSearchActor as t };
@@ -7,14 +7,16 @@ const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION
7
7
  * "retryable" (the module's own concern): it only decides what the flow does
8
8
  * *after* a terminal error. Note `NO_MORE_ATTEMPTS` subsumes the former
9
9
  * `USER_IS_NOT_RECOGNIZED` entry — see the contract test for the full matrix.
10
+ * In a Flow with identity reuse, face authentication ends with
11
+ * `NO_MORE_ATTEMPTS` only after a not-recognized attempt, and with a code that
12
+ * isn't listed here otherwise, so the flow fails.
10
13
  * The face codes are literals (checked against `FaceErrorCode`), so modules
11
14
  * without face capture do not bundle `FACE_ERROR_CODES`.
12
15
  */
13
16
  const ADVANCEABLE_ERROR_CODES = [
14
17
  "NONEXISTENT_CUSTOMER",
15
18
  "HINT_NOT_PROVIDED",
16
- "NO_MORE_ATTEMPTS",
17
- VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE
19
+ "NO_MORE_ATTEMPTS"
18
20
  ];
19
21
  /** True when the given code is a module terminal error the flow should advance past rather than fail on. */
20
22
  const isAdvanceableError = (moduleErrorCode) => moduleErrorCode !== void 0 && ADVANCEABLE_ERROR_CODES.includes(moduleErrorCode);
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-C9T5amUN.js";
1
+ import { t as Manager } from "./Manager-DufwKlav.js";
2
2
  import { S as getDefaultConsentChecks, a as ElectronicSignatureConfig, b as areAllConsented, i as ConsentKey, r as ConsentChecks, s as ElectronicSignatureDocument, t as AE_CONSENT_KEYS } from "./types-D0gekt4U.js";
3
- import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-DTSLOvKR.js";
3
+ import { n as ElectronicSignatureState, o as electronicSignatureMachine } from "./electronicSignatureManager-5tYz-a4o.js";
4
4
  import "./electronic-signature.js";
5
5
  //#region src/modules/ae-signature/index.d.ts
6
6
  type AeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
@@ -1,4 +1,4 @@
1
- import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-CjKvJ6E-.esm.js";
1
+ import { c as areAllConsented, i as AE_CONSENT_KEYS, r as electronicSignatureMachine, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-hn-_ADP5.esm.js";
2
2
  //#region src/modules/ae-signature/index.ts
3
3
  function createAeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,4 +1,4 @@
1
- import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-DbGCvlJs.js";
1
+ import { i as createAntifraudManagerFromActor, n as AntifraudState, o as antifraudMachine, r as createAntifraudManager, t as AntifraudManager } from "./antifraudManager-BxfCsyA7.js";
2
2
  //#region src/modules/antifraud/types.d.ts
3
3
  /**
4
4
  * Configuration options for the antifraud module.
@@ -1,3 +1,3 @@
1
- import { t as antifraudMachine } from "./antifraudStateMachine-DRl0UVyA.esm.js";
2
- import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-CaweCYnY.esm.js";
1
+ import { t as antifraudMachine } from "./antifraudStateMachine-BJ6PmCsw.esm.js";
2
+ import { n as createAntifraudManagerFromActor, t as createAntifraudManager } from "./antifraudManager-DKNOi9-z.esm.js";
3
3
  export { antifraudMachine, createAntifraudManager, createAntifraudManagerFromActor };
@@ -1,6 +1,6 @@
1
- import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
2
- import { t as Manager } from "./Manager-C9T5amUN.js";
3
- import "./Actor-DpTj5PFb.js";
1
+ import { i as ActorRefFrom } from "./spawn-COZKetCS.js";
2
+ import { t as Manager } from "./Manager-DufwKlav.js";
3
+ import "./Actor-DqjOqDfU.js";
4
4
  //#region src/modules/antifraud/antifraudStateMachine.d.ts
5
5
  declare const antifraudMachine: any;
6
6
  type AntifraudMachine = typeof antifraudMachine;
@@ -1,7 +1,9 @@
1
- import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Du2A4-Qr.esm.js";
1
+ import { n as eventModuleNames } from "./types-DYYMdAGv.esm.js";
2
+ import { t as createManagerInstrumentation } from "./events-CP3yOzAl.esm.js";
2
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
- import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
4
- import { t as antifraudMachine } from "./antifraudStateMachine-DRl0UVyA.esm.js";
4
+ import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
+ import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
6
+ import { t as antifraudMachine } from "./antifraudStateMachine-BJ6PmCsw.esm.js";
5
7
  //#region src/modules/antifraud/antifraudActor.ts
6
8
  function createAntifraudActor() {
7
9
  return createActor(antifraudMachine).start();
@@ -1,6 +1,6 @@
1
- import { t as api, u as endpoints } from "./api-Cz90EHyu.esm.js";
2
- import { t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
3
- import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
1
+ import { t as api, u as endpoints } from "./api-CZpuJuZl.esm.js";
2
+ import { t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
3
+ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
4
4
  //#region src/modules/antifraud/antifraudServices.ts
5
5
  async function processAntifraud(signal) {
6
6
  const res = await api.get(endpoints.processAntifraud, { signal });
@@ -1,7 +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 src/internal/http/endpoints.ts
3
3
  const endpoints = {
4
4
  createSession: "/omni/start",
5
+ sessionContinue: "/omni/session/continue",
5
6
  flow: "/omni/onboarding/flow",
6
7
  events: "/omni/interview-events",
7
8
  selfie: "/omni/add/face",
@@ -63,6 +64,9 @@ const endpoints = {
63
64
  addGeolocation: "/omni/add/geolocation",
64
65
  ekycSubmit: "/omni/externalVerification/ekyc",
65
66
  ekybSubmit: "/omni/externalVerification/ekyb",
67
+ ekycPrefillSubmit: "/omni/externalVerification/ekyc-prefill",
68
+ kybForm: "/omni/kyb/form",
69
+ kybSubmit: "/omni/kyb",
66
70
  getCombinedConsent: "/omni/get/combined-consent",
67
71
  signCombinedConsent: "/omni/sign-combined-consent",
68
72
  getConsents: "/omni/consents",
@@ -77,6 +81,7 @@ const endpoints = {
77
81
  documentLegacy: "/omni/add/document",
78
82
  cfdi: "/omni/process/cfdi",
79
83
  finishStatus: "/omni/finish-status",
84
+ redirectionUrl: "/omni/redirection-url",
80
85
  sessionTotalScoreStatus: "/omni/session/total-score-status",
81
86
  updateSession: "/omni/update",
82
87
  onboardingUrl: "/omni/onboarding-url",
@@ -85,9 +90,9 @@ const endpoints = {
85
90
  qrValidateUuid: "/omni/qr/validate",
86
91
  addSignature: "/omni/add/signature",
87
92
  addSignatureV2: "/omni/add/signature/v2",
88
- identityReuseCandidates: "/omni/identity-reuse/candidates",
89
93
  identityReuseDocuments: "/omni/identity-reuse/documents",
90
94
  identityReuseSubmit: "/omni/identity-reuse/submit",
95
+ identitySearch: "/omni/identity-search",
91
96
  processAntifraud: "/omni/process/antifraud",
92
97
  processGlobalWatchlist: "/omni/process/global-watchlist",
93
98
  processWatchlist: "/omni/process/watchlist",
@@ -270,10 +275,10 @@ async function withTiming(method, url, call) {
270
275
  * (later keys overwrite earlier ones in object spread).
271
276
  *
272
277
  * Existing call sites that already pass an explicit
273
- * `X-Incode-Hardware-Id` header (`recordingsRepository.uploadDeepsightVideo`,
274
- * `internal/virtualCameraCheck.logFrame`) now use the value they
275
- * passed in unconditionally — previously the auto-injection silently
276
- * clobbered them. Both call sites pass tokens that are already
278
+ * `X-Incode-Hardware-Id` header (`recordingsRepository.uploadDeepsightVideo`;
279
+ * the retired `internal/virtualCameraCheck.logFrame` did too) now use the
280
+ * value they passed in unconditionally — previously the auto-injection
281
+ * silently clobbered them. Those call sites pass tokens that are already
277
282
  * supposed to be the active session token, so behaviour is
278
283
  * unchanged in practice; the change unblocks personhood (which
279
284
  * needs to attach its own slot's token) without bypassing the
@@ -1,4 +1,4 @@
1
- import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-fLmL_cyg.esm.js";
1
+ import { d as categoryForEndpoint, u as trueSightLog } from "./trueSightService-Bs6xqUXD.esm.js";
2
2
  //#region src/internal/http/apiError.ts
3
3
  /**
4
4
  * Incode API error.