@incodetech/core 2.1.0-rc.2 → 2.1.0-rc.3

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 (259) hide show
  1. package/dist/3dAvatarProvider-ChciZmjE.esm.js +28214 -0
  2. package/dist/{BrowserStorageProvider-D5xc7Lqo.esm.js → BrowserStorageProvider-CrrN540a.esm.js} +1 -25
  3. package/dist/BrowserVisibilityObserverProvider-rim9Jrz-.esm.js +25 -0
  4. package/dist/Face2DProvider-BeLlYBbB.esm.js +824 -0
  5. package/dist/FaceDetectionProvider-B78455D4.d.ts +119 -0
  6. package/dist/IVisibilityObserverCapability-BbWjgpiF.d.ts +12 -0
  7. package/dist/IWasmUtilCapability-d2XvzaCk.d.ts +145 -0
  8. package/dist/IpifyProvider-BRW14_uo.esm.js +51 -0
  9. package/dist/{Manager-B2OEDYqf.d.ts → Manager-CJ3G2zqi.d.ts} +1 -4
  10. package/dist/{OpenViduRecordingProvider-DF7A4ZNJ.esm.js → OpenViduRecordingProvider-B_0GKkzc.esm.js} +1 -1
  11. package/dist/PrivacyLensProvider-hDzaDzZ6.esm.js +339 -0
  12. package/dist/StateMachine-C_AY4cs7.d.ts +2 -0
  13. package/dist/{StreamCanvasCapture-Dr5n_iK1.esm.js → StreamCanvasCapture-Bz17q4FP.esm.js} +1 -1
  14. package/dist/StreamCanvasCapture-DS1TOoiH.d.ts +42 -0
  15. package/dist/{WasmUtilProvider-CIu373BZ.esm.js → WasmUtilProvider-ADG54T6M.esm.js} +16 -1
  16. package/dist/{addressSearch-BH96a3fq.esm.js → addressSearch-DJyNTg5S.esm.js} +4 -4
  17. package/dist/{ae-signature-CDEN8y-w.esm.js → ae-signature-DlElqFrZ.esm.js} +1 -1
  18. package/dist/ae-signature.d.ts +4 -3
  19. package/dist/ae-signature.esm.js +10 -9
  20. package/dist/antifraud.d.ts +4 -3
  21. package/dist/antifraud.esm.js +7 -6
  22. package/dist/{antifraudManager-DZifA5zX.esm.js → antifraudManager-BKdQoMFf.esm.js} +4 -3
  23. package/dist/{antifraudManager-B7WQTIdu.d.ts → antifraudManager-DpIvbrZP.d.ts} +2 -2
  24. package/dist/{antifraudStateMachine-DlKrK2hL.esm.js → antifraudStateMachine-C0NGnP9W.esm.js} +3 -3
  25. package/dist/{api-DUZwyz0o.esm.js → api-DsbUi7TO.esm.js} +21 -2
  26. package/dist/authentication.d.ts +19 -12
  27. package/dist/authentication.esm.js +33 -27
  28. package/dist/{authenticationManager-Dve7mGLe.d.ts → authenticationManager-CdPbNS2H.d.ts} +3 -3
  29. package/dist/{authenticationManager-BM4LzyV7.esm.js → authenticationManager-Dtl1vcET.esm.js} +6 -6
  30. package/dist/{authenticationStateMachine-Chx3ySdT.esm.js → authenticationStateMachine-D-hOlg8p.esm.js} +8 -8
  31. package/dist/avatar.d.ts +3 -0
  32. package/dist/avatar.esm.js +3 -0
  33. package/dist/{backCameraStream-iftkf3rd.esm.js → backCameraStream-ZyqrFyjO.esm.js} +3 -3
  34. package/dist/{browser-DlFgHpoC-7tbRR1aR.esm.js → browser-DlFgHpoC-qLKs75Qp.esm.js} +1 -1
  35. package/dist/{browserSimulation-CGjpdNA1.esm.js → browserSimulation-TsSoavQv.esm.js} +153 -1216
  36. package/dist/camera-DUkgmYMo.esm.js +79 -0
  37. package/dist/camera.d.ts +7 -1
  38. package/dist/camera.esm.js +4 -4
  39. package/dist/{StreamCanvasCapture-Ctgyx-oD.d.ts → canvas-CJUmoXSD.d.ts} +1 -41
  40. package/dist/certificate-issuance.d.ts +31 -30
  41. package/dist/certificate-issuance.esm.js +8 -7
  42. package/dist/{certificateIssuanceStateMachine-CLNXtXaC.esm.js → certificateIssuanceStateMachine-C07m7qtP.esm.js} +4 -4
  43. package/dist/clientLifecycle-Ct7h9uxx.esm.js +534 -0
  44. package/dist/consent.d.ts +4 -3
  45. package/dist/consent.esm.js +7 -6
  46. package/dist/{consentManager-psDCeJ0E.esm.js → consentManager-BtnPZUW4.esm.js} +4 -3
  47. package/dist/{consentManager-BqUGU_YD.d.ts → consentManager-DufVo9D9.d.ts} +52 -52
  48. package/dist/{consentStateMachine-DRsFFSHE.esm.js → consentStateMachine-DO2JqoZW.esm.js} +3 -3
  49. package/dist/cpf-ocr.d.ts +4 -3
  50. package/dist/cpf-ocr.esm.js +7 -6
  51. package/dist/{cpfOcrManager-BxcgxvgO.esm.js → cpfOcrManager-C4rLgKsu.esm.js} +6 -5
  52. package/dist/{cpfOcrManager-B2u9hMzd.d.ts → cpfOcrManager-DqZZ94Gt.d.ts} +19 -19
  53. package/dist/createFaceAvatar-B8pFpy6o.d.ts +401 -0
  54. package/dist/createFaceAvatar-BOHDKQRq.esm.js +46 -0
  55. package/dist/cross-document-data-match.d.ts +2 -1
  56. package/dist/cross-document-data-match.esm.js +6 -5
  57. package/dist/curp-validation.d.ts +10 -7
  58. package/dist/curp-validation.esm.js +7 -6
  59. package/dist/{curpValidationManager-BgLDw0Ub.esm.js → curpValidationManager-BafobPXC.esm.js} +4 -3
  60. package/dist/{curpValidationManager-Bt6CVD8b.d.ts → curpValidationManager-Co6LZAHT.d.ts} +3 -3
  61. package/dist/{curpValidationStateMachine-BK_wJ48C.esm.js → curpValidationStateMachine-DXTPK6vI.esm.js} +3 -3
  62. package/dist/custom-fields.d.ts +3 -2
  63. package/dist/custom-fields.esm.js +6 -5
  64. package/dist/custom-watchlist.d.ts +2 -1
  65. package/dist/custom-watchlist.esm.js +6 -5
  66. package/dist/{customWatchlistStateMachine-Bi4P59HM.esm.js → customWatchlistStateMachine-B4G3Chkx.esm.js} +3 -3
  67. package/dist/{deepsightLoader-BMmvk0X6.esm.js → deepsightLoader-DHSVD776.esm.js} +14 -13
  68. package/dist/{deepsightService-CEZrdiW0.esm.js → deepsightService-CDahSjGP.esm.js} +9 -38
  69. package/dist/deepsightService-CMB9XjES.d.ts +69 -0
  70. package/dist/device.d.ts +9 -1
  71. package/dist/device.esm.js +5 -5
  72. package/dist/document-capture.d.ts +175 -174
  73. package/dist/document-capture.esm.js +14 -13
  74. package/dist/document-upload.d.ts +48 -47
  75. package/dist/document-upload.esm.js +9 -8
  76. package/dist/{documentCaptureStateMachine-MpwpJO7t.esm.js → documentCaptureStateMachine-DSOX2epf.esm.js} +7 -7
  77. package/dist/dynamic-forms.d.ts +4 -192
  78. package/dist/dynamic-forms.esm.js +8 -160
  79. package/dist/dynamicFormsManager-BOefZbyF.esm.js +168 -0
  80. package/dist/dynamicFormsManager-CUYLOj9g.d.ts +239 -0
  81. package/dist/{dynamicFormsStateMachine-Do84A4uU.esm.js → dynamicFormsStateMachine-BXHcaocI.esm.js} +4 -4
  82. package/dist/ekyb.d.ts +9 -6
  83. package/dist/ekyb.esm.js +20 -17
  84. package/dist/{ekybStateMachine-nsuPOw3f.esm.js → ekybStateMachine-CCSeqjCt.esm.js} +5 -5
  85. package/dist/ekyc.d.ts +4 -3
  86. package/dist/ekyc.esm.js +9 -8
  87. package/dist/{ekycStateMachine-DcynX0rj.esm.js → ekycStateMachine-DkLVTOyA.esm.js} +5 -5
  88. package/dist/electronic-signature.d.ts +4 -3
  89. package/dist/electronic-signature.esm.js +9 -8
  90. package/dist/{electronicSignatureManager-B63aAuI5.esm.js → electronicSignatureManager-DjzUzqZj.esm.js} +50 -87
  91. package/dist/email.d.ts +5 -4
  92. package/dist/email.esm.js +9 -8
  93. package/dist/{emailManager-DxHjAe5u.esm.js → emailManager-B_XzEsXH.esm.js} +5 -4
  94. package/dist/{emailManager-C6D2u4mQ.d.ts → emailManager-fHASH6uo.d.ts} +3 -3
  95. package/dist/{emailStateMachine-758f34gg.esm.js → emailStateMachine-fqJ42b19.esm.js} +5 -5
  96. package/dist/{endpoints-BM2_j_IE.esm.js → endpoints-BzMJFAPV.esm.js} +13 -0
  97. package/dist/{events-DN-u67gb.esm.js → events-CqGY1yMq.esm.js} +2 -188
  98. package/dist/events.d.ts +2 -0
  99. package/dist/events.esm.js +3 -2
  100. package/dist/extensibility.d.ts +37 -26
  101. package/dist/extensibility.esm.js +74 -59
  102. package/dist/{externalFetch-crimxkN9.esm.js → externalFetch-CyhBfD-n.esm.js} +1 -1
  103. package/dist/face-match.d.ts +2 -2
  104. package/dist/face-match.esm.js +6 -5
  105. package/dist/{faceCaptureManagerFactory-BNXZchWX.esm.js → faceCaptureManagerFactory-2brKTzMb.esm.js} +25 -16
  106. package/dist/faceCaptureManagerFactory-CGKbf7zt.d.ts +400 -0
  107. package/dist/{faceCaptureSetup-Dqb09D24.esm.js → faceCaptureSetup-CDUVU1nl.esm.js} +97 -13
  108. package/dist/{faceMatchStateMachine-FikRaUZH.esm.js → faceMatchStateMachine-DUeUjEPx.esm.js} +3 -3
  109. package/dist/field-comparison.d.ts +4 -3
  110. package/dist/field-comparison.esm.js +6 -5
  111. package/dist/{fieldComparisonManager-Dic0DVgl.esm.js → fieldComparisonManager-B9W0a9A5.esm.js} +5 -4
  112. package/dist/{fieldComparisonManager-BXc6-DJv.d.ts → fieldComparisonManager-DdLqDeB2.d.ts} +2 -2
  113. package/dist/fiscal-qr.d.ts +5 -3
  114. package/dist/fiscal-qr.esm.js +13 -12
  115. package/dist/flow-events.d.ts +8 -6
  116. package/dist/flow.d.ts +21 -13
  117. package/dist/flow.esm.js +28 -19
  118. package/dist/{flowCompletionService-CdGDKv0z.d.ts → flowCompletionService-BIqSTZcd.d.ts} +2 -1
  119. package/dist/{flowCompletionService-D_CsiDZM.esm.js → flowCompletionService-qEqh_g14.esm.js} +3 -3
  120. package/dist/{flowServices-ar5DXv71.esm.js → flowServices-C4piblgx.esm.js} +24 -9
  121. package/dist/geolocation.d.ts +4 -127
  122. package/dist/geolocation.esm.js +8 -115
  123. package/dist/geolocationManager-BP2Do9O-.esm.js +123 -0
  124. package/dist/geolocationManager-Cs50eRlC.d.ts +156 -0
  125. package/dist/{geolocationStateMachine-BWjrMGS_.esm.js → geolocationStateMachine-BYfOOOG0.esm.js} +4 -4
  126. package/dist/{getDeviceClass-rXKlXywy.esm.js → getDeviceClass-DGGzzfqm.esm.js} +1 -1
  127. package/dist/getDeviceData-TrKM8NPh.esm.js +101 -0
  128. package/dist/government-validation.d.ts +4 -3
  129. package/dist/government-validation.esm.js +8 -7
  130. package/dist/{governmentValidationStateMachine-BoF7U1of.esm.js → governmentValidationStateMachine-CwoPPO8b.esm.js} +5 -5
  131. package/dist/home.d.ts +18 -15
  132. package/dist/home.esm.js +4 -3
  133. package/dist/http.esm.js +2 -2
  134. package/dist/id-ocr.d.ts +4 -625
  135. package/dist/id-ocr.esm.js +8 -84
  136. package/dist/id-verification.d.ts +28 -27
  137. package/dist/id-verification.esm.js +6 -5
  138. package/dist/id.d.ts +16 -11
  139. package/dist/id.esm.js +39 -32
  140. package/dist/idCaptureDefaults-DNJON8Xo.esm.js +188 -0
  141. package/dist/{idCaptureManager-BvGUSN2e.d.ts → idCaptureManager-BVdvfJys.d.ts} +40 -10
  142. package/dist/{idCaptureManager-Bm6Wm6Qv.esm.js → idCaptureManager-Bo9DCQSU.esm.js} +14 -11
  143. package/dist/{idCaptureStateMachine-D1YhOj6n.esm.js → idCaptureStateMachine-BeDidMLU.esm.js} +395 -382
  144. package/dist/idOcrManager-BkRDrpZu.esm.js +92 -0
  145. package/dist/idOcrManager-CJzrmM91.d.ts +641 -0
  146. package/dist/{idOcrStateMachine-YMCDGplq.esm.js → idOcrStateMachine-DRZc4FBl.esm.js} +5 -5
  147. package/dist/{idVerificationStateMachine-Bo1IYuZH.esm.js → idVerificationStateMachine-oqiERKpg.esm.js} +3 -3
  148. package/dist/identity-reuse.d.ts +4 -3
  149. package/dist/identity-reuse.esm.js +7 -6
  150. package/dist/{identityReuseManager-D0knIrOy.esm.js → identityReuseManager-Bu62LToE.esm.js} +4 -3
  151. package/dist/{identityReuseManager-DcWSvC-A.d.ts → identityReuseManager-TWKbXuvY.d.ts} +33 -33
  152. package/dist/{identityReuseStateMachine-CSQfZOqD.esm.js → identityReuseStateMachine-BmONeF6B.esm.js} +3 -3
  153. package/dist/{index-BgxYUYuD.d.ts → index-DtUlD-bz.d.ts} +2 -2
  154. package/dist/{index-DV134v62.d.ts → index-Icld-cKW.d.ts} +175 -295
  155. package/dist/index.d.ts +3 -3
  156. package/dist/index.esm.js +16 -13
  157. package/dist/{invokeOnCaptureCallback-Dzemudhk.esm.js → invokeOnCaptureCallback-v_PV_IJz.esm.js} +1 -1
  158. package/dist/{lib-7ZQ9BdKH.esm.js → lib-B050WTth.esm.js} +1 -1
  159. package/dist/mandatory-consent.d.ts +10 -7
  160. package/dist/mandatory-consent.esm.js +7 -6
  161. package/dist/{mandatoryConsentManager-Tzl5Qd35.d.ts → mandatoryConsentManager-Bmdjo14S.d.ts} +50 -50
  162. package/dist/{mandatoryConsentManager-Lon46nPQ.esm.js → mandatoryConsentManager-CQ3jirlZ.esm.js} +4 -3
  163. package/dist/{mandatoryConsentStateMachine-D_dZ7IF6.esm.js → mandatoryConsentStateMachine-DkJJLHqC.esm.js} +3 -3
  164. package/dist/mediaRecorderOptions-C3NAkVgK.esm.js +42 -0
  165. package/dist/mediapipeShared-CRAKVElv.esm.js +67 -0
  166. package/dist/{recordingService-CxMJP4tQ.esm.js → onDeviceFaceResults-DVBggeq8.esm.js} +71 -389
  167. package/dist/{openviduLazy-oAXXI9w_.esm.js → openviduLazy-BTOIauGP.esm.js} +2 -2
  168. package/dist/openviduLazy-Dov8oKfL.esm.js +3 -0
  169. package/dist/{permissionGuards-D-Z-lgNj.esm.js → permissionGuards-BR2oN573.esm.js} +1 -1
  170. package/dist/{permissionServices-CPDboRoE.esm.js → permissionServices-BJhGL13R.esm.js} +7 -4
  171. package/dist/personhood.d.ts +534 -0
  172. package/dist/personhood.esm.js +1494 -0
  173. package/dist/phone.d.ts +5 -4
  174. package/dist/phone.esm.js +9 -8
  175. package/dist/{phoneManager-TSq1Ief6.d.ts → phoneManager-BOTcjXgs.d.ts} +3 -3
  176. package/dist/{phoneManager-Blt4Oc2P.esm.js → phoneManager-BWlxqbyD.esm.js} +5 -4
  177. package/dist/{phoneStateMachine-W3c6Z8sj.esm.js → phoneStateMachine-B_V9nODs.esm.js} +5 -5
  178. package/dist/{qe-signature-CQLK6LKE.esm.js → qe-signature-BhFnI9pT.esm.js} +1 -1
  179. package/dist/qe-signature.d.ts +4 -3
  180. package/dist/qe-signature.esm.js +10 -9
  181. package/dist/recordingService-m_1xCthr.esm.js +347 -0
  182. package/dist/redirect-to-mobile.d.ts +4 -3
  183. package/dist/redirect-to-mobile.esm.js +9 -8
  184. package/dist/{redirectToMobileManager-DCvpKdkD.esm.js → redirectToMobileManager-BaAo9rgi.esm.js} +5 -4
  185. package/dist/{redirectToMobileManager-yOHAmwg-.d.ts → redirectToMobileManager-Br0KZK1G.d.ts} +2 -2
  186. package/dist/{redirectToMobileStateMachine-DC9z4Vfu.esm.js → redirectToMobileStateMachine-DoAnf2ql.esm.js} +10 -12
  187. package/dist/{runChildModule-C9G0wfVC.esm.js → runChildModule-0nQfjVVo.esm.js} +3 -3
  188. package/dist/selfie.d.ts +19 -12
  189. package/dist/selfie.esm.js +34 -28
  190. package/dist/{selfieManager-BRL6c_Oc.esm.js → selfieManager-D_ZFERsE.esm.js} +6 -6
  191. package/dist/{selfieManager-imY2dAcH.d.ts → selfieManager-R0Jw5sjb.d.ts} +3 -3
  192. package/dist/{selfieStateMachine-D2Q0uwDK.esm.js → selfieStateMachine-CIgeeiN9.esm.js} +4 -4
  193. package/dist/{session-Be_IA1e0.esm.js → session-9jIfKFCc.esm.js} +3 -3
  194. package/dist/session.d.ts +7 -5
  195. package/dist/session.esm.js +16 -14
  196. package/dist/{sessionInitializer-CaiGA8GP.esm.js → sessionInitializer-C_TYIgyk.esm.js} +11 -107
  197. package/dist/{setup-BJZAkajt.d.ts → setup-CpRnXxn8.d.ts} +16 -3
  198. package/dist/setup-DHc6OaHm.esm.js +562 -0
  199. package/dist/signature.d.ts +3 -2
  200. package/dist/signature.esm.js +6 -5
  201. package/dist/{signatureStateMachine-DAxXmMrk.esm.js → signatureStateMachine-DtoiPzys.esm.js} +3 -3
  202. package/dist/{stats-DntyIiGr.esm.js → stats-CYcScXcO.esm.js} +2 -2
  203. package/dist/stats.esm.js +3 -3
  204. package/dist/thumbmarkAdapter-fHBUDlAP.esm.js +1194 -0
  205. package/dist/{tri-CtxWthxz.esm.js → tri-BG1iJsr4.esm.js} +12 -2
  206. package/dist/tri.d.ts +1 -1
  207. package/dist/{tri.esm-CrWAulDi.esm.js → tri.esm-DUC01NgO.esm.js} +27 -23
  208. package/dist/tri.esm.js +2 -2
  209. package/dist/trust-graph.d.ts +4 -3
  210. package/dist/trust-graph.esm.js +4 -3
  211. package/dist/{types-DpTWgfKY.d.ts → types-BklZ_Wne.d.ts} +1 -1
  212. package/dist/{types-Dv-9WPJX.d.ts → types-BsYXnC5s.d.ts} +39 -3
  213. package/dist/types-CxW2e0Ar.d.ts +132 -0
  214. package/dist/{types-Z9wv19v2.d.ts → types-DgGlgyZT.d.ts} +1 -1
  215. package/dist/types-ElOJAGaM.esm.js +189 -0
  216. package/dist/video-C2WIj6TS.esm.js +36 -0
  217. package/dist/video-selfie.d.ts +351 -0
  218. package/dist/video-selfie.esm.js +1509 -0
  219. package/dist/videoSelfieSteps-7M5vxKn-.esm.js +58 -0
  220. package/dist/{warmup--6HA3yUR.d.ts → warmup-BJZPQIiX.d.ts} +5 -1
  221. package/dist/wasm.d.ts +4 -4
  222. package/dist/wasm.esm.js +17 -14
  223. package/dist/watchlist-for-business.d.ts +2 -1
  224. package/dist/watchlist-for-business.esm.js +6 -5
  225. package/dist/watchlist.d.ts +2 -1
  226. package/dist/watchlist.esm.js +6 -5
  227. package/dist/{watchlistForBusinessStateMachine-DtefJb-D.esm.js → watchlistForBusinessStateMachine-DvEunDxs.esm.js} +3 -3
  228. package/dist/{watchlistStateMachine-B0aIS2_n.esm.js → watchlistStateMachine-AHXVf-TB.esm.js} +3 -3
  229. package/dist/workflow.d.ts +230 -98
  230. package/dist/workflow.esm.js +123 -79
  231. package/dist/{xstate.esm-Dkm1jy5u.esm.js → xstate.esm-Bomq1a0z.esm.js} +41 -1
  232. package/package.json +16 -1
  233. package/dist/IpifyProvider-oZf7Ke1O.esm.js +0 -167
  234. package/dist/camera-x4LjGTjZ.esm.js +0 -22
  235. package/dist/deepsightService-ByNKY5Jv.d.ts +0 -276
  236. package/dist/faceCaptureManagerFactory-CL-7T_vH.d.ts +0 -731
  237. package/dist/getBrowser-Dv8LZyHE.esm.js +0 -8
  238. package/dist/openviduLazy-B_s6jnEk.esm.js +0 -3
  239. package/dist/setup-C7tintPc.esm.js +0 -1064
  240. /package/dist/{Actor-fIPLXfoi.d.ts → Actor-CGEelYtQ.d.ts} +0 -0
  241. /package/dist/{BrowserTimerProvider-BVgutW_b.esm.js → BrowserTimerProvider-CHloo0eQ.esm.js} +0 -0
  242. /package/dist/{ITimerCapability-BvH0pDwp.esm.js → ITimerCapability-pltuG1E8.esm.js} +0 -0
  243. /package/dist/{MotionSensorProvider-C9fPAJdS.esm.js → MotionSensorProvider-DCbId4De.esm.js} +0 -0
  244. /package/dist/{apiError-D-GTvFrH.esm.js → apiError-DNS2OCEX.esm.js} +0 -0
  245. /package/dist/{camera-biGPWlmx.d.ts → camera-CNVUo-bC.d.ts} +0 -0
  246. /package/dist/{canvas-7uX2izHb.esm.js → canvas-_I95hkPg.esm.js} +0 -0
  247. /package/dist/{chunk-BK1xu56N.esm.js → chunk-CIKcdghV.esm.js} +0 -0
  248. /package/dist/{cpf-xBg-DFNn.esm.js → cpf-BKaho0j_.esm.js} +0 -0
  249. /package/dist/{dateUtils-8dCcuArE.esm.js → dateUtils-7-tQYRNN.esm.js} +0 -0
  250. /package/dist/{getDeviceClass-C0zrM97a.esm.js → getDeviceClass-DavNdcxh.esm.js} +0 -0
  251. /package/dist/{http-CfVTgMfU.esm.js → http-BkiUT7EB.esm.js} +0 -0
  252. /package/dist/{index-52_qi4bd.d.ts → index-XTtxaahe.d.ts} +0 -0
  253. /package/dist/{otp-D87RTwrx.esm.js → otp-Bfnzf7I3.esm.js} +0 -0
  254. /package/dist/{otp-BHJnjEEc.d.ts → otp-M4iy57XY.d.ts} +0 -0
  255. /package/dist/{platform-BfoqeM61.esm.js → platform-uIVQUnJP.esm.js} +0 -0
  256. /package/dist/{types-BdVOWGGW.esm.js → types-CMcxlSmH.esm.js} +0 -0
  257. /package/dist/{types-DYZja-k9.d.ts → types-D_IceWxT.d.ts} +0 -0
  258. /package/dist/{types-F0IXbaCB.d.ts → types-Duy2rDxF.d.ts} +0 -0
  259. /package/dist/{urlUtils-8RNHyW3x.esm.js → urlUtils-BZqFU9rR.esm.js} +0 -0
@@ -1,276 +0,0 @@
1
- import { n as WasmPipeline } from "./warmup--6HA3yUR.js";
2
-
3
- //#region ../infra/src/capabilities/IVisibilityObserverCapability.d.ts
4
- type IVisibilityObserverCapability = {
5
- /**
6
- * Whether the document is currently visible. Lets the orchestrator seed its
7
- * dedupe state and emit an initial `background` when a session starts while
8
- * the tab is already hidden (e.g. the SDK is opened in a background tab).
9
- */
10
- isVisible(): boolean;
11
- onVisibilityChange(listener: (visible: boolean) => void): () => void;
12
- };
13
- //#endregion
14
- //#region ../infra/src/capabilities/IRecordingCapability.d.ts
15
- type RecordingPublisher = {
16
- getStreamId: () => string | undefined;
17
- replaceVideoTrack: (track: MediaStreamTrack) => Promise<void>;
18
- destroy: () => void;
19
- };
20
- type RecordingConnection = {
21
- sessionId: string | undefined;
22
- publisher: RecordingPublisher;
23
- disconnect: () => Promise<void>;
24
- };
25
- type RecordingConnectionEvents = {
26
- onSessionConnected?: (sessionId: string | undefined) => void;
27
- onSessionDisconnected?: (sessionId: string | undefined) => void;
28
- onSessionException?: (params: {
29
- name?: string;
30
- message?: string;
31
- sessionId?: string;
32
- }) => void;
33
- onPublisherCreated?: (params: {
34
- streamId?: string;
35
- sessionId?: string;
36
- }) => void;
37
- onPublisherError?: (params: {
38
- message?: string;
39
- sessionId?: string;
40
- streamId?: string;
41
- }) => void;
42
- };
43
- type ConnectRecordingParams = {
44
- sessionToken: string;
45
- stream: MediaStream;
46
- events?: RecordingConnectionEvents;
47
- };
48
- type IRecordingCapability = {
49
- /**
50
- * Connects to a recording session and publishes the provided media stream.
51
- * Returns a connection handle that can be disconnected and used to manage the publisher.
52
- */
53
- connect: (params: ConnectRecordingParams) => Promise<RecordingConnection>;
54
- };
55
- //#endregion
56
- //#region ../infra/src/capabilities/IStorageCapability.d.ts
57
- /**
58
- * Storage capability interface for abstracting storage operations.
59
- * Enables swapping between browser localStorage and future WASM-based storage.
60
- */
61
- interface IStorageCapability {
62
- /**
63
- * Retrieves a value from storage.
64
- * @param key - The storage key
65
- * @returns The stored value or null if not found
66
- */
67
- get<T>(key: string): Promise<T | null>;
68
- /**
69
- * Stores a value in storage.
70
- * @param key - The storage key
71
- * @param value - The value to store (will be serialized)
72
- */
73
- set<T>(key: string, value: T): Promise<void>;
74
- /**
75
- * Removes a value from storage.
76
- * @param key - The storage key to remove
77
- */
78
- remove(key: string): Promise<void>;
79
- /**
80
- * Clears all values from storage.
81
- */
82
- clear(): Promise<void>;
83
- }
84
- //#endregion
85
- //#region ../infra/src/capabilities/IMLProviderCapability.d.ts
86
- /**
87
- * Base configuration shared by all ML provider capabilities.
88
- */
89
- interface MLProviderConfig {
90
- /** Path to the WASM binary */
91
- wasmPath?: string;
92
- /** Path to the SIMD-optimized WASM binary (optional) */
93
- wasmSimdPath?: string;
94
- /** Path to the WASM glue code (paired with `wasmPath`) */
95
- glueCodePath?: string;
96
- /**
97
- * Path to the SIMD-optimized WASM glue code (paired with `wasmSimdPath`).
98
- * If omitted, defaults to a sibling `.js` derived from `wasmSimdPath`.
99
- */
100
- glueCodeSimdPath?: string;
101
- /** Whether to use SIMD optimizations (default: true) */
102
- useSimd?: boolean;
103
- /**
104
- * Base path for ML model files. Models will be loaded from `${modelsBasePath}/${modelFileName}`.
105
- * If not provided, models are expected in a 'models' subdirectory relative to the WASM binary.
106
- */
107
- modelsBasePath?: string;
108
- }
109
- /**
110
- * Base interface for ML provider capabilities.
111
- * Provides common lifecycle and frame processing methods shared by
112
- * FaceDetectionCapability and IdCaptureCapability.
113
- */
114
- interface IMLProviderCapability<TConfig extends MLProviderConfig> {
115
- /**
116
- * Whether the provider has been initialized and is ready to process frames.
117
- */
118
- readonly initialized: boolean;
119
- /**
120
- * Initializes the provider with the given configuration.
121
- * If WASM was already warmed up via `setup()` or `warmupWasm()`, this returns almost instantly.
122
- * @param config - Provider configuration including WASM paths
123
- */
124
- initialize(config: TConfig): Promise<void>;
125
- /**
126
- * Processes a frame through the ML pipeline.
127
- * Callbacks set via `setCallbacks()` will be invoked based on the analysis results.
128
- * @param image - Image data to process
129
- * @throws Error if provider is not initialized
130
- */
131
- processFrame(image: ImageData): Promise<void>;
132
- /**
133
- * Resets the pipeline to its initial state.
134
- * Safe to call even if not initialized (no-op in that case).
135
- */
136
- reset(): void;
137
- /**
138
- * Disposes of resources and resets initialization state.
139
- * Safe to call even if not initialized.
140
- */
141
- dispose(): Promise<void>;
142
- }
143
- //#endregion
144
- //#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
145
- type WasmUtilConfig = MLProviderConfig & {
146
- pipelines?: WasmPipeline[];
147
- };
148
- type VirtualCameraCheckOutput = {
149
- canvas: HTMLCanvasElement | null;
150
- itr: boolean | null;
151
- skipped: boolean | null;
152
- };
153
- type IWasmUtilCapability = {
154
- /**
155
- * Whether the provider has been initialized and is ready to be used.
156
- */
157
- readonly initialized: boolean;
158
- /**
159
- * Initializes the provider with the given configuration.
160
- * If WASM was already warmed up via `warmupWasm()`, this returns almost instantly.
161
- * @param config - Provider configuration including WASM paths
162
- */
163
- initialize(config: WasmUtilConfig): Promise<void>;
164
- /**
165
- * Encrypts a base64 image using the WASM utility API.
166
- * @param image - Base64 image string (no data URL prefix)
167
- * @returns Encrypted string
168
- */
169
- encryptImage(image: string): string;
170
- setSdkVersion(version: string): void;
171
- setSdkPlatform(platform: string): void;
172
- setDeviceInfo(deviceInfo: object, overrideExisting?: boolean): void;
173
- setBrowserInfo(browserInfo: object, overrideExisting?: boolean): void;
174
- setCameraInfo(cameraInfo: object, overrideExisting?: boolean): void;
175
- setMotionStatus(status: string): void;
176
- setBackgroundMode(backgroundMode: boolean): void;
177
- setZc(zc: string): void;
178
- setInspectorOpened(opened: boolean): void;
179
- /**
180
- * Toggles the WASM module's production mode. When `true`, the native module
181
- * suppresses its verbose debug logging/console output.
182
- */
183
- setProductionMode(productionMode: boolean): Promise<void>;
184
- getMetadata(): string;
185
- analyzeFrame(image: ImageData): Promise<void>;
186
- getCheck(): string;
187
- /**
188
- * Gets the current pipeline state. Must be called before setMotionStatus(),
189
- * getCheck(), setBackgroundMode(), and getMetadata() for proper metadata generation.
190
- */
191
- getPipelineState(): string;
192
- estimatePerformance(): string;
193
- isVirtualCamera(label: string | null): boolean;
194
- prc(): Promise<void>;
195
- poc(output: VirtualCameraCheckOutput): Promise<void>;
196
- rsp(): Promise<void>;
197
- ssl(): void;
198
- stl(): void;
199
- osv(): void;
200
- oev(): void;
201
- ckvcks(data: ArrayBuffer): void;
202
- getVersions(): Promise<unknown>;
203
- /**
204
- * Disposes of resources and resets initialization state.
205
- */
206
- dispose(): Promise<void>;
207
- };
208
- //#endregion
209
- //#region ../infra/src/capabilities/IMotionSensorCapability.d.ts
210
- type MotionStatus = 'PASS' | 'FAIL' | 'UNCLEAR';
211
- type MotionPermissionState = 'granted' | 'denied' | 'not-required';
212
- //#endregion
213
- //#region src/internal/deepsight/metadataService.d.ts
214
- type MetadataService = {
215
- initialize(sdkVersion: string, disableIpify?: boolean): Promise<void>;
216
- updateCameraInfo(videoTrack: MediaStreamTrack): void;
217
- checkForVirtualCameraByLabel(videoTrack: MediaStreamTrack | null): Promise<boolean>;
218
- analyzeFrame(imageData: ImageData): Promise<void>;
219
- setMotionStatus(status: string): void;
220
- setBackgroundMode(backgroundMode: boolean): void;
221
- estimatePerformance(): string;
222
- getMetadata(): string;
223
- getCheck(): string;
224
- getPipelineState(): string;
225
- /**
226
- * Prepares pipeline state for metadata collection.
227
- * Must be called before setMotionStatus, getCheck, setBackgroundMode, and getMetadata.
228
- */
229
- preparePipelineState(): void;
230
- };
231
- //#endregion
232
- //#region src/internal/deepsight/motionStatusService.d.ts
233
- type MotionStatusService = {
234
- requestPermission(): Promise<MotionPermissionState>;
235
- start(): Promise<void>;
236
- stop(): void;
237
- check(): MotionStatus;
238
- readonly isRunning: boolean;
239
- readonly hasPermission: boolean;
240
- };
241
- //#endregion
242
- //#region src/internal/virtualCameraCheck.d.ts
243
- declare const frameSources: {
244
- readonly front: "FRONT_ID";
245
- readonly back: "BACK_ID";
246
- readonly selfie: "SELFIE";
247
- };
248
- type FrameSource = (typeof frameSources)[keyof typeof frameSources];
249
- //#endregion
250
- //#region src/internal/deepsight/deepsightService.d.ts
251
- type DeepsightService = {
252
- readonly metadata: MetadataService;
253
- readonly motion: MotionStatusService;
254
- initialize(disableIpify?: boolean): Promise<void>;
255
- requestMotionPermission(): Promise<'granted' | 'denied' | 'not-required'>;
256
- startMotionSensors(): Promise<void>;
257
- primeWasmMotionSensor(): Promise<void>;
258
- stopMotionSensors(): void;
259
- checkVirtualCamera(videoTrack: MediaStreamTrack): Promise<boolean>;
260
- performVirtualCameraCheck(sessionToken: string | null, source: FrameSource): Promise<void>;
261
- /**
262
- * Runs PRC warmup and stores DS flag using infrastructure providers.
263
- */
264
- performPrcCheck(params: DeepsightPrcCheckParams): Promise<void>;
265
- analyzeFrame(imageData: ImageData): Promise<void>;
266
- getMetadata(): string;
267
- getMotionStatus(): string;
268
- getAnalysisStatus(): string;
269
- getPipelineState(): string;
270
- cleanup(): void;
271
- };
272
- type DeepsightPrcCheckParams = {
273
- constraints: MediaStreamConstraints;
274
- };
275
- //#endregion
276
- export { IMLProviderCapability as a, IRecordingCapability as c, WasmUtilConfig as i, RecordingConnection as l, IWasmUtilCapability as n, MLProviderConfig as o, VirtualCameraCheckOutput as r, IStorageCapability as s, DeepsightService as t, IVisibilityObserverCapability as u };