@incodetech/core 2.1.1-rc.2 → 2.1.1-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 (223) hide show
  1. package/dist/{3dAvatarProvider-BwOmTMOy.esm.js → 3dAvatarProvider-9zb-7MLE.esm.js} +2 -2
  2. package/dist/{Face2DProvider-CZU11g6r.esm.js → Face2DProvider-DqFSo9Ls.esm.js} +2 -2
  3. package/dist/{FaceDetectionProvider-CPWg-PAH.d.ts → FaceDetectionProvider-ZFnJ8ebm.d.ts} +2 -2
  4. package/dist/{IWasmUtilCapability-DaSNxgA8.d.ts → IWasmUtilCapability-Bo5y6BGA.d.ts} +2 -2
  5. package/dist/{OpenViduRecordingProvider-CK6A5kiU.esm.js → OpenViduRecordingProvider-DmA__QfK.esm.js} +1 -1
  6. package/dist/{PrivacyLensProvider-B_zrV25p.esm.js → PrivacyLensProvider-CfmaSQy3.esm.js} +1 -1
  7. package/dist/{StreamCanvasCapture-CAqUdVkM.esm.js → StreamCanvasCapture-CRk7c7u7.esm.js} +1 -1
  8. package/dist/{StreamCanvasCapture-DHaWferF.d.ts → StreamCanvasCapture-DHDxv6hH.d.ts} +2 -2
  9. package/dist/ae-signature.d.ts +4 -4
  10. package/dist/antifraud.d.ts +4 -4
  11. package/dist/{antifraudManager-DCiNI6np.d.ts → antifraudManager-D-nGY1T9.d.ts} +2 -2
  12. package/dist/authentication.d.ts +19 -19
  13. package/dist/authentication.esm.js +23 -24
  14. package/dist/{authenticationManager-CoN9Qrs3.esm.js → authenticationManager-BYOqf17_.esm.js} +3 -3
  15. package/dist/{authenticationManager-BeT6tNZm.d.ts → authenticationManager-Bz11dMMx.d.ts} +3 -3
  16. package/dist/{authenticationStateMachine-S_y15DH-.esm.js → authenticationStateMachine-C5-MnTtO.esm.js} +4 -4
  17. package/dist/avatar.d.ts +2 -2
  18. package/dist/avatar.esm.js +1 -1
  19. package/dist/{backCameraStream-ChrMTJv-.esm.js → backCameraStream-Cz2EvzSR.esm.js} +2 -2
  20. package/dist/camera.d.ts +1 -1
  21. package/dist/camera.esm.js +3 -3
  22. package/dist/certificate-issuance.d.ts +31 -31
  23. package/dist/certificate-issuance.esm.js +1 -1
  24. package/dist/consent.d.ts +4 -4
  25. package/dist/consent.esm.js +2 -2
  26. package/dist/{consentManager-CQqaIPg9.d.ts → consentManager-D-u7zzJs.d.ts} +49 -49
  27. package/dist/{consentManager-BwNu-uC-.esm.js → consentManager-DL93cPSU.esm.js} +1 -1
  28. package/dist/cpf-ocr.d.ts +4 -4
  29. package/dist/cpf-ocr.esm.js +2 -2
  30. package/dist/{cpfOcrManager-9eM4z4o7.esm.js → cpfOcrManager-BW8wlEU_.esm.js} +1 -1
  31. package/dist/{cpfOcrManager-flj_VHTf.d.ts → cpfOcrManager-bRKGv0Gu.d.ts} +19 -19
  32. package/dist/{createFaceAvatar-BZSg2MNo.esm.js → createFaceAvatar-CpmQJA8E.esm.js} +3 -3
  33. package/dist/{createFaceAvatar-CpdYp9Iy.d.ts → createFaceAvatar-DNMSIcRb.d.ts} +1 -1
  34. package/dist/cross-document-data-match.d.ts +2 -2
  35. package/dist/cross-document-data-match.esm.js +1 -1
  36. package/dist/curp-validation.d.ts +10 -10
  37. package/dist/curp-validation.esm.js +2 -2
  38. package/dist/{curpValidationManager-CoqODZx5.d.ts → curpValidationManager-CJdVrCex.d.ts} +3 -3
  39. package/dist/{curpValidationManager-Cbji2inV.esm.js → curpValidationManager-u2FkvveY.esm.js} +1 -1
  40. package/dist/custom-fields.d.ts +3 -3
  41. package/dist/custom-fields.esm.js +1 -1
  42. package/dist/custom-watchlist.d.ts +2 -2
  43. package/dist/custom-watchlist.esm.js +1 -1
  44. package/dist/{deepsightLoader-jX2tqKLf.esm.js → deepsightLoader-DyECVkoj.esm.js} +20 -10
  45. package/dist/{deepsightService-CkZqM1Q2.esm.js → deepsightService-DU9yBWg_.esm.js} +4 -4
  46. package/dist/device.esm.js +2 -2
  47. package/dist/document-capture.d.ts +254 -254
  48. package/dist/document-capture.esm.js +7 -7
  49. package/dist/document-upload.d.ts +48 -48
  50. package/dist/document-upload.esm.js +3 -3
  51. package/dist/{documentCaptureStateMachine-BHIYPUEu.esm.js → documentCaptureStateMachine-CteYwf1y.esm.js} +4 -4
  52. package/dist/dynamic-forms.d.ts +4 -4
  53. package/dist/dynamic-forms.esm.js +3 -3
  54. package/dist/{dynamicFormsManager-CKZkE7Wo.d.ts → dynamicFormsManager-B_4qA_CB.d.ts} +2 -2
  55. package/dist/{dynamicFormsManager-CHXUBNs4.esm.js → dynamicFormsManager-CNg60mlv.esm.js} +1 -1
  56. package/dist/{dynamicFormsStateMachine-DJ1HGZff.esm.js → dynamicFormsStateMachine-BfLLcxua.esm.js} +1 -1
  57. package/dist/ekyb.d.ts +9 -9
  58. package/dist/ekyb.esm.js +7 -7
  59. package/dist/{ekybStateMachine-DgXSlCgg.esm.js → ekybStateMachine-D_cRrsi8.esm.js} +2 -2
  60. package/dist/ekyc.d.ts +4 -4
  61. package/dist/ekyc.esm.js +3 -3
  62. package/dist/{ekycStateMachine-DnVRiu3s.esm.js → ekycStateMachine-BcPEEqMA.esm.js} +2 -2
  63. package/dist/electronic-signature.d.ts +4 -4
  64. package/dist/email.d.ts +5 -5
  65. package/dist/email.esm.js +3 -3
  66. package/dist/{emailManager-B9Vrv3Ma.esm.js → emailManager-C9O7k0-m.esm.js} +2 -2
  67. package/dist/{emailManager-CMS4q_r6.d.ts → emailManager-CTOXMlVd.d.ts} +3 -3
  68. package/dist/{emailStateMachine-CbmKFVSi.esm.js → emailStateMachine-Bk4pkysV.esm.js} +1 -1
  69. package/dist/extensibility.d.ts +35 -35
  70. package/dist/extensibility.esm.js +56 -57
  71. package/dist/face-match.d.ts +2 -2
  72. package/dist/face-match.esm.js +1 -1
  73. package/dist/{faceCaptureManagerFactory-DiJ64oem.d.ts → faceCaptureManagerFactory-C3vBl6Fp.d.ts} +14 -14
  74. package/dist/{faceCaptureManagerFactory-e07bKys2.esm.js → faceCaptureManagerFactory-CWnrasW3.esm.js} +3 -6
  75. package/dist/{faceCaptureSetup-DMTtkWFT.esm.js → faceCaptureSetup-BKPSJ0lw.esm.js} +7 -7
  76. package/dist/field-comparison.d.ts +4 -4
  77. package/dist/field-comparison.esm.js +1 -1
  78. package/dist/{fieldComparisonManager-OLKVsG2Z.d.ts → fieldComparisonManager-BOEgiOw_.d.ts} +2 -2
  79. package/dist/fiscal-qr.d.ts +5 -5
  80. package/dist/fiscal-qr.esm.js +6 -6
  81. package/dist/flow-events.d.ts +8 -8
  82. package/dist/flow.d.ts +30 -14
  83. package/dist/flow.esm.js +20 -29
  84. package/dist/{flowServices-C1J_gLLK.esm.js → flowServices-HZECmDUc.esm.js} +29 -3
  85. package/dist/geolocation.d.ts +4 -4
  86. package/dist/geolocation.esm.js +2 -2
  87. package/dist/{geolocationManager-DaHYFkVO.d.ts → geolocationManager-B3lahU1a.d.ts} +2 -2
  88. package/dist/{geolocationManager-CF6-NizA.esm.js → geolocationManager-Dmbh6TXA.esm.js} +1 -1
  89. package/dist/{getDeviceClass-DIjnTPjR.esm.js → getDeviceClass-QxbJwsOO.esm.js} +1 -1
  90. package/dist/government-validation.d.ts +4 -4
  91. package/dist/government-validation.esm.js +2 -2
  92. package/dist/{governmentValidationStateMachine-BE5wiQ7Y.esm.js → governmentValidationStateMachine-CjCs0_fG.esm.js} +1 -1
  93. package/dist/home.d.ts +18 -18
  94. package/dist/http.esm.js +1 -1
  95. package/dist/id-ocr.d.ts +4 -4
  96. package/dist/id-ocr.esm.js +3 -3
  97. package/dist/id-verification.d.ts +28 -28
  98. package/dist/id-verification.esm.js +1 -1
  99. package/dist/id.d.ts +16 -16
  100. package/dist/id.esm.js +25 -26
  101. package/dist/{idCaptureDefaults-CZajItdO.esm.js → idCaptureDefaults-BaPDKms3.esm.js} +1 -1
  102. package/dist/{idCaptureManager-BUB8sEr0.esm.js → idCaptureManager-1VQHQJl5.esm.js} +4 -7
  103. package/dist/{idCaptureManager-CwuXtVu6.d.ts → idCaptureManager-mX-A6LVq.d.ts} +13 -13
  104. package/dist/{idCaptureStateMachine-B-xj8GBZ.esm.js → idCaptureStateMachine-BXhL_IKZ.esm.js} +13 -13
  105. package/dist/{idOcrManager-d_rlJiol.d.ts → idOcrManager-B7HXKHAk.d.ts} +57 -57
  106. package/dist/{idOcrManager-Tm4LzKR0.esm.js → idOcrManager-CiEzYor8.esm.js} +1 -1
  107. package/dist/{idOcrStateMachine-BJxZCxwS.esm.js → idOcrStateMachine-CGeY01rX.esm.js} +1 -1
  108. package/dist/identity-reuse.d.ts +4 -4
  109. package/dist/identity-reuse.esm.js +2 -2
  110. package/dist/{identityReuseManager-D_nfdUP9.d.ts → identityReuseManager-BbmyL7_3.d.ts} +33 -33
  111. package/dist/{identityReuseManager-LjkPvSQN.esm.js → identityReuseManager-CrbjKac7.esm.js} +1 -1
  112. package/dist/{index-Bp9Z53ca.d.ts → index-BO3dlVd5.d.ts} +151 -151
  113. package/dist/{index-DrpWp15Z.d.ts → index-CVgIGwUy.d.ts} +2 -2
  114. package/dist/index.d.ts +3 -3
  115. package/dist/index.esm.js +3 -3
  116. package/dist/mandatory-consent.d.ts +10 -10
  117. package/dist/mandatory-consent.esm.js +2 -2
  118. package/dist/{mandatoryConsentManager-8xnX3oo5.d.ts → mandatoryConsentManager-BA4GDdTC.d.ts} +50 -50
  119. package/dist/{mandatoryConsentManager-DZ26sg4B.esm.js → mandatoryConsentManager-b1QKgIKi.esm.js} +1 -1
  120. package/dist/{onDeviceFaceResults-Dyf7XrQL.esm.js → onDeviceFaceResults-6nBUTkSq.esm.js} +8 -8
  121. package/dist/{openviduLazy-wEojM41w.esm.js → openviduLazy-BXDnVFe2.esm.js} +1 -1
  122. package/dist/openviduLazy-lAZzee_g.esm.js +3 -0
  123. package/dist/{permissionGuards-BPZGWaL4.esm.js → permissionGuards-jvARexN9.esm.js} +1 -1
  124. package/dist/{permissionServices-BElIOcoJ.esm.js → permissionServices-BTNLDsub.esm.js} +2 -2
  125. package/dist/personhood.d.ts +27 -16
  126. package/dist/personhood.esm.js +31 -21
  127. package/dist/phone.d.ts +5 -5
  128. package/dist/phone.esm.js +3 -3
  129. package/dist/{phoneManager-_KtitbUA.d.ts → phoneManager-CG1vTJiG.d.ts} +3 -3
  130. package/dist/{phoneManager-CRblfdcI.esm.js → phoneManager-DNTrIq-D.esm.js} +2 -2
  131. package/dist/{phoneStateMachine-DjFGWMjQ.esm.js → phoneStateMachine-MqNDf1Nh.esm.js} +1 -1
  132. package/dist/qe-signature.d.ts +4 -4
  133. package/dist/qe-signature.esm.js +1 -1
  134. package/dist/{recordingService-CpOcPhvE.esm.js → recordingService-CDZHWq_z.esm.js} +4 -4
  135. package/dist/redirect-to-mobile.d.ts +4 -4
  136. package/dist/redirect-to-mobile.esm.js +2 -2
  137. package/dist/{redirectToMobileManager-dv29o_LS.d.ts → redirectToMobileManager-D7U9k-Xs.d.ts} +2 -2
  138. package/dist/{redirectToMobileManager-DbuNUlru.esm.js → redirectToMobileManager-DuD03ggR.esm.js} +1 -1
  139. package/dist/{runChildModule-kojSv3MH.esm.js → runChildModule-XHWWqs39.esm.js} +1 -1
  140. package/dist/selfie.d.ts +19 -19
  141. package/dist/selfie.esm.js +24 -26
  142. package/dist/{selfieManager-pQxiZgKc.esm.js → selfieManager-BTplRdKZ.esm.js} +3 -3
  143. package/dist/{selfieManager-4juKfrHG.d.ts → selfieManager-DVhF0jHn.d.ts} +3 -3
  144. package/dist/{selfieStateMachine-BsWk2zUJ.esm.js → selfieStateMachine-CvhjDaWQ.esm.js} +3 -3
  145. package/dist/session.d.ts +7 -7
  146. package/dist/session.esm.js +4 -4
  147. package/dist/{sessionInitializer-CNplP7aj.esm.js → sessionInitializer-CrJTBMQE.esm.js} +2 -2
  148. package/dist/{setup-rMaZNElx.esm.js → setup-0QMvgc69.esm.js} +2 -2
  149. package/dist/{setup-CmA2apmN.d.ts → setup-sxZLfgvF.d.ts} +2 -2
  150. package/dist/signature.d.ts +3 -3
  151. package/dist/signature.esm.js +1 -1
  152. package/dist/{tri-CFAPtAUM.esm.js → tri-CFBjqf5E.esm.js} +1 -1
  153. package/dist/tri.d.ts +1 -1
  154. package/dist/{tri.esm-DDJ1zOqG.esm.js → tri.esm-BzYyqlPa.esm.js} +1 -1
  155. package/dist/tri.esm.js +1 -1
  156. package/dist/trust-graph.d.ts +4 -4
  157. package/dist/{types-DV3wkhQ4.d.ts → types-B_YCuHZx.d.ts} +1 -1
  158. package/dist/{types-D8Cl1N2Z.d.ts → types-CRPns2d9.d.ts} +1 -1
  159. package/dist/{types-fO6KIdol.d.ts → types-Cf0Ry6ff.d.ts} +3 -3
  160. package/dist/{types-BUgeB2X6.d.ts → types-Cyi3gwPK.d.ts} +2 -2
  161. package/dist/video-selfie.d.ts +14 -14
  162. package/dist/video-selfie.esm.js +19 -19
  163. package/dist/wasm.d.ts +3 -3
  164. package/dist/wasm.esm.js +3 -3
  165. package/dist/watchlist-for-business.d.ts +2 -2
  166. package/dist/watchlist-for-business.esm.js +1 -1
  167. package/dist/watchlist.d.ts +2 -2
  168. package/dist/watchlist.esm.js +1 -1
  169. package/dist/workflow.d.ts +117 -117
  170. package/dist/workflow.esm.js +55 -55
  171. package/package.json +3 -3
  172. package/dist/openviduLazy-jPgABwrt.esm.js +0 -3
  173. package/dist/wasmDsFlagSync-Ch0mFJNT.esm.js +0 -14
  174. /package/dist/{Actor-BwgmOPkb.d.ts → Actor-DYjXVMQm.d.ts} +0 -0
  175. /package/dist/{BrowserStorageProvider-fZsibQTR.esm.js → BrowserStorageProvider-CBXGCHnK.esm.js} +0 -0
  176. /package/dist/{BrowserVisibilityObserverProvider-GBS6XSii.esm.js → BrowserVisibilityObserverProvider-C71KNDM2.esm.js} +0 -0
  177. /package/dist/{ITimerCapability-DJ73P4RK.esm.js → ITimerCapability-G7lQg-be.esm.js} +0 -0
  178. /package/dist/{IVisibilityObserverCapability-BZ1rE7ly.d.ts → IVisibilityObserverCapability-BxPj7hsu.d.ts} +0 -0
  179. /package/dist/{Manager-goNPc_h_.d.ts → Manager-BfBOhrjh.d.ts} +0 -0
  180. /package/dist/{MotionSensorProvider-D95kOKVK.esm.js → MotionSensorProvider-BkHKMCPE.esm.js} +0 -0
  181. /package/dist/{StateMachine-D5WO6lHS.d.ts → StateMachine-20ahmASR.d.ts} +0 -0
  182. /package/dist/{addressSearch-D7msRieq.esm.js → addressSearch-B9iJdbn8.esm.js} +0 -0
  183. /package/dist/{browser-DlFgHpoC-Br3G10gw.esm.js → browser-DlFgHpoC-CR6x7ypG.esm.js} +0 -0
  184. /package/dist/{camera-CxxXV0VN.esm.js → camera-B0yWS33x.esm.js} +0 -0
  185. /package/dist/{camera-CKU96nwJ.d.ts → camera-CWO06Lu5.d.ts} +0 -0
  186. /package/dist/{canvas-Pi10hG_l.esm.js → canvas-DsJa51yU.esm.js} +0 -0
  187. /package/dist/{canvas-90BqS0NF.d.ts → canvas-pLrXU1id.d.ts} +0 -0
  188. /package/dist/{certificateIssuanceStateMachine-DlZQT1_u.esm.js → certificateIssuanceStateMachine-CpewPqas.esm.js} +0 -0
  189. /package/dist/{consentStateMachine-BOkVFiU7.esm.js → consentStateMachine-DnqwsZ7o.esm.js} +0 -0
  190. /package/dist/{cpf-16m_cGAM.esm.js → cpf-B9htWzDt.esm.js} +0 -0
  191. /package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-CeqDh2V5.esm.js} +0 -0
  192. /package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-dovMwTLv.esm.js} +0 -0
  193. /package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-PXB_WRYL.esm.js} +0 -0
  194. /package/dist/{deepsightService-BuTOFTr8.d.ts → deepsightService-CbaqT7bP.d.ts} +0 -0
  195. /package/dist/{faceMatchStateMachine-MDb30gCm.esm.js → faceMatchStateMachine-C6J09ygk.esm.js} +0 -0
  196. /package/dist/{fieldComparisonManager-Cw4uzD7S.esm.js → fieldComparisonManager-kk2RkWeb.esm.js} +0 -0
  197. /package/dist/{flowCompletionService-B6P6_EF3.esm.js → flowCompletionService-BDcDfyoA.esm.js} +0 -0
  198. /package/dist/{flowCompletionService-BOSTlAWo.d.ts → flowCompletionService-nF7e8At0.d.ts} +0 -0
  199. /package/dist/{geolocationStateMachine-CD2XJs1b.esm.js → geolocationStateMachine-BRLIXR1x.esm.js} +0 -0
  200. /package/dist/{getDeviceClass-C-Dg6IsJ.esm.js → getDeviceClass-BdgmyOOu.esm.js} +0 -0
  201. /package/dist/{http-CnsKEaJY.esm.js → http-CBbBcnBa.esm.js} +0 -0
  202. /package/dist/{idVerificationStateMachine-DXN9WcdM.esm.js → idVerificationStateMachine-B6Ccvut4.esm.js} +0 -0
  203. /package/dist/{identityReuseStateMachine-Bp-zONoV.esm.js → identityReuseStateMachine-Do_M-z6z.esm.js} +0 -0
  204. /package/dist/{index-BAyZ8_iI.d.ts → index-CCG6MnCO.d.ts} +0 -0
  205. /package/dist/{invokeOnCaptureCallback-CCS2Ruzi.esm.js → invokeOnCaptureCallback-gKRaO24Q.esm.js} +0 -0
  206. /package/dist/{lib-Bjd6nOLG.esm.js → lib-TRTXfron.esm.js} +0 -0
  207. /package/dist/{mandatoryConsentStateMachine-_44ZoDSh.esm.js → mandatoryConsentStateMachine-VPbrLLfo.esm.js} +0 -0
  208. /package/dist/{mediaRecorderOptions-CClCKAiF.esm.js → mediaRecorderOptions-DuYelylE.esm.js} +0 -0
  209. /package/dist/{mediapipeShared-Bcmkzs3x.esm.js → mediapipeShared-yKDdOf_V.esm.js} +0 -0
  210. /package/dist/{otp-B1YeyRXu.d.ts → otp-CETbFjXH.d.ts} +0 -0
  211. /package/dist/{otp-uaXiKt_R.esm.js → otp-DepQPUIA.esm.js} +0 -0
  212. /package/dist/{qe-signature-BnWIpR-O.esm.js → qe-signature-CVnJ4RaW.esm.js} +0 -0
  213. /package/dist/{redirectToMobileStateMachine-BRaIJWOM.esm.js → redirectToMobileStateMachine-WVg-n2is.esm.js} +0 -0
  214. /package/dist/{session-CLsU2Jnb.esm.js → session-BWCjVIr6.esm.js} +0 -0
  215. /package/dist/{signatureStateMachine-CdhlMih-.esm.js → signatureStateMachine-iT9BhNUf.esm.js} +0 -0
  216. /package/dist/{types-BcF-fii5.d.ts → types-BOiKESZY.d.ts} +0 -0
  217. /package/dist/{types-BgjMAEXl.d.ts → types-CTnn7kUK.d.ts} +0 -0
  218. /package/dist/{types-BKLb3C42.esm.js → types-Db2ooXIu.esm.js} +0 -0
  219. /package/dist/{video-ZY92rkel.esm.js → video-DXf5H9rY.esm.js} +0 -0
  220. /package/dist/{videoSelfieSteps-Djpv7cjb.esm.js → videoSelfieSteps-C6E7mKFt.esm.js} +0 -0
  221. /package/dist/{warmup-Dd0iq6KF.d.ts → warmup-Bq8ivhlI.d.ts} +0 -0
  222. /package/dist/{watchlistForBusinessStateMachine-R1Yp1g5A.esm.js → watchlistForBusinessStateMachine-CyhTEi3N.esm.js} +0 -0
  223. /package/dist/{watchlistStateMachine-D07UVq1m.esm.js → watchlistStateMachine-CgKG-KSf.esm.js} +0 -0
@@ -1,5 +1,5 @@
1
- import { n as Flow } from "./types-BUgeB2X6.js";
2
- import { n as FinishStatus } from "./flowCompletionService-BOSTlAWo.js";
1
+ import { n as Flow } from "./types-Cyi3gwPK.js";
2
+ import { n as FinishStatus } from "./flowCompletionService-nF7e8At0.js";
3
3
 
4
4
  //#region src/internal/flow-events/flowEvents.d.ts
5
5
  type FlowStartedEvent = {
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import "./warmup-Dd0iq6KF.js";
2
- import "./index-BAyZ8_iI.js";
3
- import { a as isConfigured, c as setup, o as reset, t as SetupOptions } from "./setup-CmA2apmN.js";
1
+ import "./warmup-Bq8ivhlI.js";
2
+ import "./index-CCG6MnCO.js";
3
+ import { a as isConfigured, c as setup, o as reset, t as SetupOptions } from "./setup-sxZLfgvF.js";
4
4
  export { type SetupOptions, isConfigured, reset, setup };
package/dist/index.esm.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import "./WasmUtilProvider-BgzcXBdl.esm.js";
2
- import { i as reset, o as setup, r as isConfigured } from "./setup-rMaZNElx.esm.js";
2
+ import { i as reset, o as setup, r as isConfigured } from "./setup-0QMvgc69.esm.js";
3
3
  import "./BrowserTimerProvider-CHloo0eQ.esm.js";
4
4
  import "./api-DsbUi7TO.esm.js";
5
5
  import "./clientLifecycle-VyzRfALg.esm.js";
6
6
  import "./events-1wxZ97yf.esm.js";
7
7
  import "./endpoints-CwrFQfW7.esm.js";
8
8
  import "./stats-BVy52wLy.esm.js";
9
- import "./sessionInitializer-CNplP7aj.esm.js";
9
+ import "./sessionInitializer-CrJTBMQE.esm.js";
10
10
  import "./browserSimulation-CWJhFPZ2.esm.js";
11
11
  import "./platform-0Ot-bF_a.esm.js";
12
12
  import "./getBrowser-1yNcfFZR.esm.js";
13
- import "./tri-CFAPtAUM.esm.js";
13
+ import "./tri-CFBjqf5E.esm.js";
14
14
 
15
15
  export { isConfigured, reset, setup };
@@ -1,11 +1,11 @@
1
- import "./StateMachine-D5WO6lHS.js";
2
- import "./Manager-goNPc_h_.js";
3
- import "./Actor-BwgmOPkb.js";
4
- import "./camera-CKU96nwJ.js";
5
- import "./types-DV3wkhQ4.js";
6
- import "./types-BgjMAEXl.js";
7
- import "./canvas-90BqS0NF.js";
8
- import "./createFaceAvatar-CpdYp9Iy.js";
9
- import "./types-BUgeB2X6.js";
10
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-8xnX3oo5.js";
1
+ import "./StateMachine-20ahmASR.js";
2
+ import "./Manager-BfBOhrjh.js";
3
+ import "./Actor-DYjXVMQm.js";
4
+ import "./camera-CWO06Lu5.js";
5
+ import "./types-B_YCuHZx.js";
6
+ import "./types-CTnn7kUK.js";
7
+ import "./canvas-pLrXU1id.js";
8
+ import "./createFaceAvatar-DNMSIcRb.js";
9
+ import "./types-Cyi3gwPK.js";
10
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-BA4GDdTC.js";
11
11
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -2,7 +2,7 @@ import "./api-DsbUi7TO.esm.js";
2
2
  import "./events-1wxZ97yf.esm.js";
3
3
  import "./endpoints-CwrFQfW7.esm.js";
4
4
  import "./xstate.esm-nY3M5UYm.esm.js";
5
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-_44ZoDSh.esm.js";
6
- import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-DZ26sg4B.esm.js";
5
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-VPbrLLfo.esm.js";
6
+ import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-b1QKgIKi.esm.js";
7
7
 
8
8
  export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -1,7 +1,7 @@
1
- import { t as Manager } from "./Manager-goNPc_h_.js";
2
- import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
3
- import { a as RegulationTypes } from "./types-BUgeB2X6.js";
4
- import * as xstate1286 from "xstate";
1
+ import { t as Manager } from "./Manager-BfBOhrjh.js";
2
+ import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
3
+ import { a as RegulationTypes } from "./types-Cyi3gwPK.js";
4
+ import * as xstate1503 from "xstate";
5
5
 
6
6
  //#region src/modules/mandatory-consent/types.d.ts
7
7
  type RegulatoryConsentType = 'MANDATORY' | 'ML';
@@ -32,7 +32,7 @@ type MandatoryConsentContext = {
32
32
  type MandatoryConsentInput = {
33
33
  config: MandatoryConsentConfig;
34
34
  };
35
- declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentContext, {
35
+ declare const mandatoryConsentMachine: xstate1503.StateMachine<MandatoryConsentContext, {
36
36
  type: "LOAD";
37
37
  } | {
38
38
  type: "TOGGLE";
@@ -45,53 +45,53 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
45
45
  } | {
46
46
  type: "RESET";
47
47
  }, {
48
- [x: string]: xstate1286.ActorRefFromLogic<xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
48
+ [x: string]: xstate1503.ActorRefFromLogic<xstate1503.PromiseActorLogic<FetchMandatoryConsentResponse, {
49
49
  config: MandatoryConsentConfig;
50
- }, xstate1286.EventObject>> | xstate1286.ActorRefFromLogic<xstate1286.PromiseActorLogic<void, {
50
+ }, xstate1503.EventObject>> | xstate1503.ActorRefFromLogic<xstate1503.PromiseActorLogic<void, {
51
51
  consentId: string;
52
52
  isSigned: boolean;
53
- }, xstate1286.EventObject>> | undefined;
54
- }, xstate1286.Values<{
53
+ }, xstate1503.EventObject>> | undefined;
54
+ }, xstate1503.Values<{
55
55
  fetchConsent: {
56
56
  src: "fetchConsent";
57
- logic: xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
57
+ logic: xstate1503.PromiseActorLogic<FetchMandatoryConsentResponse, {
58
58
  config: MandatoryConsentConfig;
59
- }, xstate1286.EventObject>;
59
+ }, xstate1503.EventObject>;
60
60
  id: string | undefined;
61
61
  };
62
62
  submitConsent: {
63
63
  src: "submitConsent";
64
- logic: xstate1286.PromiseActorLogic<void, {
64
+ logic: xstate1503.PromiseActorLogic<void, {
65
65
  consentId: string;
66
66
  isSigned: boolean;
67
- }, xstate1286.EventObject>;
67
+ }, xstate1503.EventObject>;
68
68
  id: string | undefined;
69
69
  };
70
- }>, xstate1286.Values<{
70
+ }>, xstate1503.Values<{
71
71
  setConsent: {
72
72
  type: "setConsent";
73
- params: xstate1286.NonReducibleUnknown;
73
+ params: xstate1503.NonReducibleUnknown;
74
74
  };
75
75
  setError: {
76
76
  type: "setError";
77
- params: xstate1286.NonReducibleUnknown;
77
+ params: xstate1503.NonReducibleUnknown;
78
78
  };
79
79
  clearError: {
80
80
  type: "clearError";
81
- params: xstate1286.NonReducibleUnknown;
81
+ params: xstate1503.NonReducibleUnknown;
82
82
  };
83
83
  resetContext: {
84
84
  type: "resetContext";
85
- params: xstate1286.NonReducibleUnknown;
85
+ params: xstate1503.NonReducibleUnknown;
86
86
  };
87
87
  toggleSigned: {
88
88
  type: "toggleSigned";
89
- params: xstate1286.NonReducibleUnknown;
89
+ params: xstate1503.NonReducibleUnknown;
90
90
  };
91
91
  }>, {
92
92
  type: "canSubmit";
93
93
  params: unknown;
94
- }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1286.NonReducibleUnknown, xstate1286.EventObject, xstate1286.MetaObject, {
94
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1503.NonReducibleUnknown, xstate1503.EventObject, xstate1503.MetaObject, {
95
95
  readonly id: "mandatoryConsent";
96
96
  readonly initial: "idle";
97
97
  readonly context: ({
@@ -100,70 +100,70 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
100
100
  spawn: {
101
101
  <TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
102
102
  src: "fetchConsent";
103
- logic: xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
103
+ logic: xstate1503.PromiseActorLogic<FetchMandatoryConsentResponse, {
104
104
  config: MandatoryConsentConfig;
105
- }, xstate1286.EventObject>;
105
+ }, xstate1503.EventObject>;
106
106
  id: string | undefined;
107
107
  } extends infer T ? T extends {
108
108
  src: "fetchConsent";
109
- logic: xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
109
+ logic: xstate1503.PromiseActorLogic<FetchMandatoryConsentResponse, {
110
110
  config: MandatoryConsentConfig;
111
- }, xstate1286.EventObject>;
111
+ }, xstate1503.EventObject>;
112
112
  id: string | undefined;
113
113
  } ? T extends {
114
114
  src: TSrc;
115
- } ? xstate1286.ConditionalRequired<[options?: ({
115
+ } ? xstate1503.ConditionalRequired<[options?: ({
116
116
  id?: T["id"] | undefined;
117
117
  systemId?: string;
118
- input?: xstate1286.InputFrom<T["logic"]> | undefined;
118
+ input?: xstate1503.InputFrom<T["logic"]> | undefined;
119
119
  syncSnapshot?: boolean;
120
- } & { [K in xstate1286.RequiredActorOptions<T>]: unknown }) | undefined], xstate1286.IsNotNever<xstate1286.RequiredActorOptions<T>>> : never : never : never) | ({
120
+ } & { [K in xstate1503.RequiredActorOptions<T>]: unknown }) | undefined], xstate1503.IsNotNever<xstate1503.RequiredActorOptions<T>>> : never : never : never) | ({
121
121
  src: "submitConsent";
122
- logic: xstate1286.PromiseActorLogic<void, {
122
+ logic: xstate1503.PromiseActorLogic<void, {
123
123
  consentId: string;
124
124
  isSigned: boolean;
125
- }, xstate1286.EventObject>;
125
+ }, xstate1503.EventObject>;
126
126
  id: string | undefined;
127
127
  } extends infer T_1 ? T_1 extends {
128
128
  src: "submitConsent";
129
- logic: xstate1286.PromiseActorLogic<void, {
129
+ logic: xstate1503.PromiseActorLogic<void, {
130
130
  consentId: string;
131
131
  isSigned: boolean;
132
- }, xstate1286.EventObject>;
132
+ }, xstate1503.EventObject>;
133
133
  id: string | undefined;
134
134
  } ? T_1 extends {
135
135
  src: TSrc;
136
- } ? xstate1286.ConditionalRequired<[options?: ({
136
+ } ? xstate1503.ConditionalRequired<[options?: ({
137
137
  id?: T_1["id"] | undefined;
138
138
  systemId?: string;
139
- input?: xstate1286.InputFrom<T_1["logic"]> | undefined;
139
+ input?: xstate1503.InputFrom<T_1["logic"]> | undefined;
140
140
  syncSnapshot?: boolean;
141
- } & { [K_1 in xstate1286.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1286.IsNotNever<xstate1286.RequiredActorOptions<T_1>>> : never : never : never)): xstate1286.ActorRefFromLogic<xstate1286.GetConcreteByKey<xstate1286.Values<{
141
+ } & { [K_1 in xstate1503.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1503.IsNotNever<xstate1503.RequiredActorOptions<T_1>>> : never : never : never)): xstate1503.ActorRefFromLogic<xstate1503.GetConcreteByKey<xstate1503.Values<{
142
142
  fetchConsent: {
143
143
  src: "fetchConsent";
144
- logic: xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
144
+ logic: xstate1503.PromiseActorLogic<FetchMandatoryConsentResponse, {
145
145
  config: MandatoryConsentConfig;
146
- }, xstate1286.EventObject>;
146
+ }, xstate1503.EventObject>;
147
147
  id: string | undefined;
148
148
  };
149
149
  submitConsent: {
150
150
  src: "submitConsent";
151
- logic: xstate1286.PromiseActorLogic<void, {
151
+ logic: xstate1503.PromiseActorLogic<void, {
152
152
  consentId: string;
153
153
  isSigned: boolean;
154
- }, xstate1286.EventObject>;
154
+ }, xstate1503.EventObject>;
155
155
  id: string | undefined;
156
156
  };
157
157
  }>, "src", TSrc>["logic"]>;
158
- <TLogic extends xstate1286.AnyActorLogic>(src: TLogic, ...[options]: xstate1286.ConditionalRequired<[options?: ({
158
+ <TLogic extends xstate1503.AnyActorLogic>(src: TLogic, ...[options]: xstate1503.ConditionalRequired<[options?: ({
159
159
  id?: never;
160
160
  systemId?: string;
161
- input?: xstate1286.InputFrom<TLogic> | undefined;
161
+ input?: xstate1503.InputFrom<TLogic> | undefined;
162
162
  syncSnapshot?: boolean;
163
- } & { [K in xstate1286.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1286.IsNotNever<xstate1286.RequiredLogicInput<TLogic>>>): xstate1286.ActorRefFromLogic<TLogic>;
163
+ } & { [K in xstate1503.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1503.IsNotNever<xstate1503.RequiredLogicInput<TLogic>>>): xstate1503.ActorRefFromLogic<TLogic>;
164
164
  };
165
165
  input: MandatoryConsentInput;
166
- self: xstate1286.ActorRef<xstate1286.MachineSnapshot<MandatoryConsentContext, {
166
+ self: xstate1503.ActorRef<xstate1503.MachineSnapshot<MandatoryConsentContext, {
167
167
  type: "LOAD";
168
168
  } | {
169
169
  type: "TOGGLE";
@@ -175,7 +175,7 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
175
175
  type: "RETRY";
176
176
  } | {
177
177
  type: "RESET";
178
- }, Record<string, xstate1286.AnyActorRef | undefined>, xstate1286.StateValue, string, unknown, any, any>, {
178
+ }, Record<string, xstate1503.AnyActorRef | undefined>, xstate1503.StateValue, string, unknown, any, any>, {
179
179
  type: "LOAD";
180
180
  } | {
181
181
  type: "TOGGLE";
@@ -187,7 +187,7 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
187
187
  type: "RETRY";
188
188
  } | {
189
189
  type: "RESET";
190
- }, xstate1286.AnyEventObject>;
190
+ }, xstate1503.AnyEventObject>;
191
191
  }) => {
192
192
  config: MandatoryConsentConfig;
193
193
  consent: undefined;
@@ -224,7 +224,7 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
224
224
  } | {
225
225
  type: "RESET";
226
226
  };
227
- self: xstate1286.ActorRef<xstate1286.MachineSnapshot<MandatoryConsentContext, {
227
+ self: xstate1503.ActorRef<xstate1503.MachineSnapshot<MandatoryConsentContext, {
228
228
  type: "LOAD";
229
229
  } | {
230
230
  type: "TOGGLE";
@@ -236,7 +236,7 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
236
236
  type: "RETRY";
237
237
  } | {
238
238
  type: "RESET";
239
- }, Record<string, xstate1286.AnyActorRef>, xstate1286.StateValue, string, unknown, any, any>, {
239
+ }, Record<string, xstate1503.AnyActorRef>, xstate1503.StateValue, string, unknown, any, any>, {
240
240
  type: "LOAD";
241
241
  } | {
242
242
  type: "TOGGLE";
@@ -248,7 +248,7 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
248
248
  type: "RETRY";
249
249
  } | {
250
250
  type: "RESET";
251
- }, xstate1286.AnyEventObject>;
251
+ }, xstate1503.AnyEventObject>;
252
252
  }) => {
253
253
  config: MandatoryConsentConfig;
254
254
  };
@@ -301,7 +301,7 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
301
301
  } | {
302
302
  type: "RESET";
303
303
  };
304
- self: xstate1286.ActorRef<xstate1286.MachineSnapshot<MandatoryConsentContext, {
304
+ self: xstate1503.ActorRef<xstate1503.MachineSnapshot<MandatoryConsentContext, {
305
305
  type: "LOAD";
306
306
  } | {
307
307
  type: "TOGGLE";
@@ -313,7 +313,7 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
313
313
  type: "RETRY";
314
314
  } | {
315
315
  type: "RESET";
316
- }, Record<string, xstate1286.AnyActorRef>, xstate1286.StateValue, string, unknown, any, any>, {
316
+ }, Record<string, xstate1503.AnyActorRef>, xstate1503.StateValue, string, unknown, any, any>, {
317
317
  type: "LOAD";
318
318
  } | {
319
319
  type: "TOGGLE";
@@ -325,7 +325,7 @@ declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentC
325
325
  type: "RETRY";
326
326
  } | {
327
327
  type: "RESET";
328
- }, xstate1286.AnyEventObject>;
328
+ }, xstate1503.AnyEventObject>;
329
329
  }) => {
330
330
  consentId: string;
331
331
  isSigned: boolean;
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
2
2
  import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
3
- import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-_44ZoDSh.esm.js";
3
+ import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-VPbrLLfo.esm.js";
4
4
 
5
5
  //#region src/modules/mandatory-consent/mandatoryConsentActor.ts
6
6
  function createMandatoryConsentActor(options) {
@@ -3,12 +3,12 @@ import { r as getToken, t as api } from "./api-DsbUi7TO.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
4
4
  import { t as addDeviceStats } from "./stats-BVy52wLy.esm.js";
5
5
  import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-0Ot-bF_a.esm.js";
6
- import { a as stopCameraStream, r as requestCameraAccess } from "./camera-CxxXV0VN.esm.js";
7
- import { t as sleep } from "./ITimerCapability-DJ73P4RK.esm.js";
8
- import { t as IncodeCanvas } from "./canvas-Pi10hG_l.esm.js";
9
- import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-ChrMTJv-.esm.js";
10
- import { t as getDeviceClass } from "./getDeviceClass-DIjnTPjR.esm.js";
11
- import { t as FACE_ERROR_CODES } from "./types-BKLb3C42.esm.js";
6
+ import { a as stopCameraStream, r as requestCameraAccess } from "./camera-B0yWS33x.esm.js";
7
+ import { t as sleep } from "./ITimerCapability-G7lQg-be.esm.js";
8
+ import { t as IncodeCanvas } from "./canvas-DsJa51yU.esm.js";
9
+ import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-Cz2EvzSR.esm.js";
10
+ import { t as getDeviceClass } from "./getDeviceClass-QxbJwsOO.esm.js";
11
+ import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
12
12
 
13
13
  //#region ../infra/src/scheduling/yieldUntilNextPaint.ts
14
14
  /**
@@ -540,7 +540,7 @@ function buildResolutionFromStream(stream) {
540
540
  if (typeof width === "number" && typeof height === "number") return `${width}x${height}`;
541
541
  }
542
542
  async function createOpenViduRecordingProvider() {
543
- const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-CK6A5kiU.esm.js");
543
+ const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-DmA__QfK.esm.js");
544
544
  return new OpenViduRecordingProvider();
545
545
  }
546
546
  async function startRecordingSession(params) {
@@ -580,7 +580,7 @@ async function stopRecording$1(session) {
580
580
  }
581
581
  }
582
582
  async function initializeDeepsightSession(options) {
583
- const { loadDeepsightSession } = await import("./deepsightLoader-jX2tqKLf.esm.js");
583
+ const { loadDeepsightSession } = await import("./deepsightLoader-DyECVkoj.esm.js");
584
584
  return loadDeepsightSession({
585
585
  ds: options.ds,
586
586
  storage: options.storage
@@ -4,7 +4,7 @@ import { a as __toDynamicImportESM } from "./chunk-CIKcdghV.esm.js";
4
4
  let openViduImport;
5
5
  async function loadOpenVidu() {
6
6
  if (openViduImport) return openViduImport;
7
- openViduImport = import("./lib-Bjd6nOLG.esm.js").then(__toDynamicImportESM(1));
7
+ openViduImport = import("./lib-TRTXfron.esm.js").then(__toDynamicImportESM(1));
8
8
  return openViduImport;
9
9
  }
10
10
 
@@ -0,0 +1,3 @@
1
+ import { t as loadOpenVidu } from "./openviduLazy-BXDnVFe2.esm.js";
2
+
3
+ export { loadOpenVidu };
@@ -1,4 +1,4 @@
1
- import { a as isWasmMotionPrimedForModule } from "./permissionServices-BElIOcoJ.esm.js";
1
+ import { a as isWasmMotionPrimedForModule } from "./permissionServices-BTNLDsub.esm.js";
2
2
 
3
3
  //#region src/internal/permissions/permissionGuards.ts
4
4
  function resolveStoredPermissionResult(fromEvent, fromContext) {
@@ -1,6 +1,6 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BgzcXBdl.esm.js";
2
- import { t as MotionSensorProvider } from "./MotionSensorProvider-D95kOKVK.esm.js";
3
- import { a as stopCameraStream, r as requestCameraAccess } from "./camera-CxxXV0VN.esm.js";
2
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-BkHKMCPE.esm.js";
3
+ import { a as stopCameraStream, r as requestCameraAccess } from "./camera-B0yWS33x.esm.js";
4
4
 
5
5
  //#region ../infra/src/media/cameraPermissionSession.ts
6
6
  const CAMERA_PERMISSIONS_GRANTED_KEY = "cameraPermissionsGranted";
@@ -1,19 +1,19 @@
1
- import "./warmup-Dd0iq6KF.js";
2
- import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-D5WO6lHS.js";
3
- import { t as Manager } from "./Manager-goNPc_h_.js";
4
- import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
5
- import { t as CameraStream } from "./camera-CKU96nwJ.js";
6
- import "./types-DV3wkhQ4.js";
7
- import "./types-BgjMAEXl.js";
8
- import { t as IncodeCanvas } from "./canvas-90BqS0NF.js";
9
- import "./createFaceAvatar-CpdYp9Iy.js";
10
- import "./types-BUgeB2X6.js";
11
- import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-DaSNxgA8.js";
12
- import { n as PermissionStatus, t as PermissionResult } from "./types-BcF-fii5.js";
13
- import { n as DetectionStatus } from "./types-fO6KIdol.js";
14
- import { t as FaceDetectionProvider } from "./FaceDetectionProvider-CPWg-PAH.js";
15
- import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DHaWferF.js";
16
- import { t as DeepsightService } from "./deepsightService-BuTOFTr8.js";
1
+ import "./warmup-Bq8ivhlI.js";
2
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-20ahmASR.js";
3
+ import { t as Manager } from "./Manager-BfBOhrjh.js";
4
+ import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
5
+ import { t as CameraStream } from "./camera-CWO06Lu5.js";
6
+ import "./types-B_YCuHZx.js";
7
+ import "./types-CTnn7kUK.js";
8
+ import { t as IncodeCanvas } from "./canvas-pLrXU1id.js";
9
+ import "./createFaceAvatar-DNMSIcRb.js";
10
+ import "./types-Cyi3gwPK.js";
11
+ import { i as IStorageCapability, t as IWasmUtilCapability } from "./IWasmUtilCapability-Bo5y6BGA.js";
12
+ import { n as PermissionStatus, t as PermissionResult } from "./types-BOiKESZY.js";
13
+ import { n as DetectionStatus } from "./types-Cf0Ry6ff.js";
14
+ import { t as FaceDetectionProvider } from "./FaceDetectionProvider-ZFnJ8ebm.js";
15
+ import { t as StreamCanvasCapture } from "./StreamCanvasCapture-DHDxv6hH.js";
16
+ import { t as DeepsightService } from "./deepsightService-CbaqT7bP.js";
17
17
 
18
18
  //#region src/modules/personhood/types.d.ts
19
19
 
@@ -238,6 +238,17 @@ type PersonhoodConfig = {
238
238
  * Default: `false`.
239
239
  */
240
240
  autoComplete?: boolean;
241
+ /**
242
+ * Deepsight (injection-attack detection) enabled. Read from the flow /
243
+ * workflow config by an orchestrator; standalone integrations must pass it
244
+ * themselves. Defaults to off.
245
+ *
246
+ * When enabled the IAD challenges run during capture and the flag is echoed
247
+ * to the backend as `iad.ds`. Leaving it unset is safe, but it must never be
248
+ * hardcoded `false` for an org that has Deepsight on — the WASM latches
249
+ * `iad.ds` page-wide, so that would break later captures' metadata check.
250
+ */
251
+ ds?: boolean;
241
252
  };
242
253
  type PersonhoodDependencies = {
243
254
  storage: IStorageCapability;
@@ -5,26 +5,26 @@ import { a as createApi_default, t as getStoredHttpConfig } from "./clientLifecy
5
5
  import { n as eventModuleNames } from "./events-1wxZ97yf.esm.js";
6
6
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
7
7
  import "./stats-BVy52wLy.esm.js";
8
- import { d as BrowserEnvironmentProvider, n as getFingerprintEnabled, u as getDeviceFingerprintInfo } from "./sessionInitializer-CNplP7aj.esm.js";
8
+ import { d as BrowserEnvironmentProvider, n as getFingerprintEnabled, u as getDeviceFingerprintInfo } from "./sessionInitializer-CrJTBMQE.esm.js";
9
9
  import { n as getThumbmarkId, t as isBrowserSimulation } from "./browserSimulation-CWJhFPZ2.esm.js";
10
10
  import "./platform-0Ot-bF_a.esm.js";
11
11
  import "./getBrowser-1yNcfFZR.esm.js";
12
- import "./tri-CFAPtAUM.esm.js";
12
+ import "./tri-CFBjqf5E.esm.js";
13
13
  import { a as fromPromise, i as fromCallback, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
14
- import "./MotionSensorProvider-D95kOKVK.esm.js";
15
- import { i as requestPermission, t as checkPermission } from "./permissionServices-BElIOcoJ.esm.js";
16
- import { a as stopCameraStream, r as requestCameraAccess } from "./camera-CxxXV0VN.esm.js";
17
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-fZsibQTR.esm.js";
18
- import { b as FaceDetectionProvider, f as stopStream, l as startDetection, s as initializeDeepsightSession } from "./onDeviceFaceResults-Dyf7XrQL.esm.js";
19
- import { t as sleep } from "./ITimerCapability-DJ73P4RK.esm.js";
20
- import "./canvas-Pi10hG_l.esm.js";
21
- import "./backCameraStream-ChrMTJv-.esm.js";
22
- import "./video-ZY92rkel.esm.js";
23
- import "./getDeviceClass-C-Dg6IsJ.esm.js";
24
- import "./deepsightService-CkZqM1Q2.esm.js";
25
- import "./getDeviceClass-DIjnTPjR.esm.js";
26
- import "./types-BKLb3C42.esm.js";
27
- import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CAqUdVkM.esm.js";
14
+ import "./MotionSensorProvider-BkHKMCPE.esm.js";
15
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-BTNLDsub.esm.js";
16
+ import { a as stopCameraStream, r as requestCameraAccess } from "./camera-B0yWS33x.esm.js";
17
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-CBXGCHnK.esm.js";
18
+ import { b as FaceDetectionProvider, f as stopStream, l as startDetection, s as initializeDeepsightSession } from "./onDeviceFaceResults-6nBUTkSq.esm.js";
19
+ import { t as sleep } from "./ITimerCapability-G7lQg-be.esm.js";
20
+ import "./canvas-DsJa51yU.esm.js";
21
+ import "./backCameraStream-Cz2EvzSR.esm.js";
22
+ import "./video-DXf5H9rY.esm.js";
23
+ import "./getDeviceClass-BdgmyOOu.esm.js";
24
+ import "./deepsightService-DU9yBWg_.esm.js";
25
+ import "./getDeviceClass-QxbJwsOO.esm.js";
26
+ import "./types-Db2ooXIu.esm.js";
27
+ import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CRk7c7u7.esm.js";
28
28
 
29
29
  //#region ../infra/src/crypto/randomUUID.ts
30
30
  /**
@@ -58,8 +58,7 @@ const PERSONHOOD_FACE_CAPTURE_CONFIG = {
58
58
  validateHeadCover: false,
59
59
  validateClosedEyes: false,
60
60
  validateBrightness: false,
61
- deepsightLiveness: "SINGLE_FRAME",
62
- ds: false
61
+ deepsightLiveness: "SINGLE_FRAME"
63
62
  };
64
63
  const PERSONHOOD_CAMERA_CONSTRAINTS = {
65
64
  video: {
@@ -73,11 +72,16 @@ const PERSONHOOD_CAMERA_CONSTRAINTS = {
73
72
  * Boots the Deepsight session used to back-stop the on-device liveness check.
74
73
  * Independent of `initializePersonhoodCamera` so the two can proceed in
75
74
  * parallel during the permission / collect-signals phase.
75
+ *
76
+ * `ds` comes from config like every other module. It must not be forced here:
77
+ * the WASM latches `iad.ds` to `false` for the whole page on any call carrying
78
+ * `false`, so a hardcoded `false` would make later Deepsight-enabled captures
79
+ * fail their backend metadata cross-check.
76
80
  */
77
81
  async function initializePersonhoodDeepsight(params) {
78
82
  return initializeDeepsightSession({
79
83
  storage: params.storage,
80
- ds: false
84
+ ds: params.ds
81
85
  });
82
86
  }
83
87
  /**
@@ -806,7 +810,10 @@ const _personhoodMachine = setup({
806
810
  return initializePersonhoodCamera({ deepsightService: input.deepsightService });
807
811
  }),
808
812
  initializeDeepsight: fromPromise(async ({ input }) => {
809
- return initializePersonhoodDeepsight({ storage: input.dependencies.storage });
813
+ return initializePersonhoodDeepsight({
814
+ storage: input.dependencies.storage,
815
+ ds: input.ds
816
+ });
810
817
  }),
811
818
  collectSignals: fromPromise(async () => {
812
819
  return collectDeviceBehavioralSignals();
@@ -1038,7 +1045,10 @@ const _personhoodMachine = setup({
1038
1045
  running: { invoke: {
1039
1046
  id: "initializeDeepsight",
1040
1047
  src: "initializeDeepsight",
1041
- input: ({ context }) => ({ dependencies: context.dependencies }),
1048
+ input: ({ context }) => ({
1049
+ dependencies: context.dependencies,
1050
+ ds: context.config.ds
1051
+ }),
1042
1052
  onDone: {
1043
1053
  target: "done",
1044
1054
  actions: "setDeepsightServiceFromEvent"
package/dist/phone.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import "./StateMachine-D5WO6lHS.js";
2
- import "./Manager-goNPc_h_.js";
3
- import "./Actor-BwgmOPkb.js";
4
- import "./otp-B1YeyRXu.js";
5
- import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-_KtitbUA.js";
1
+ import "./StateMachine-20ahmASR.js";
2
+ import "./Manager-BfBOhrjh.js";
3
+ import "./Actor-DYjXVMQm.js";
4
+ import "./otp-CETbFjXH.js";
5
+ import { n as PhoneState, o as phoneMachine, r as createPhoneManager, s as PhoneConfig, t as PhoneManager } from "./phoneManager-CG1vTJiG.js";
6
6
  export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
package/dist/phone.esm.js CHANGED
@@ -3,8 +3,8 @@ import "./api-DsbUi7TO.esm.js";
3
3
  import "./events-1wxZ97yf.esm.js";
4
4
  import "./endpoints-CwrFQfW7.esm.js";
5
5
  import "./xstate.esm-nY3M5UYm.esm.js";
6
- import "./otp-uaXiKt_R.esm.js";
7
- import { t as phoneMachine } from "./phoneStateMachine-DjFGWMjQ.esm.js";
8
- import { t as createPhoneManager } from "./phoneManager-CRblfdcI.esm.js";
6
+ import "./otp-DepQPUIA.esm.js";
7
+ import { t as phoneMachine } from "./phoneStateMachine-MqNDf1Nh.esm.js";
8
+ import { t as createPhoneManager } from "./phoneManager-DNTrIq-D.esm.js";
9
9
 
10
10
  export { createPhoneManager, phoneMachine };
@@ -1,6 +1,6 @@
1
- import { t as Manager } from "./Manager-goNPc_h_.js";
2
- import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
3
- import { t as OtpValidationErrors } from "./otp-B1YeyRXu.js";
1
+ import { t as Manager } from "./Manager-BfBOhrjh.js";
2
+ import { t as ActorRefFrom } from "./Actor-DYjXVMQm.js";
3
+ import { t as OtpValidationErrors } from "./otp-CETbFjXH.js";
4
4
 
5
5
  //#region src/modules/phone/types.d.ts
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
2
2
  import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
3
- import { t as OTP_CODE_LENGTH } from "./otp-uaXiKt_R.esm.js";
4
- import { t as phoneMachine } from "./phoneStateMachine-DjFGWMjQ.esm.js";
3
+ import { t as OTP_CODE_LENGTH } from "./otp-DepQPUIA.esm.js";
4
+ import { t as phoneMachine } from "./phoneStateMachine-MqNDf1Nh.esm.js";
5
5
 
6
6
  //#region src/modules/phone/phoneActor.ts
7
7
  function createPhoneActor(options) {
@@ -2,7 +2,7 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.j
2
2
  import { t as api } from "./api-DsbUi7TO.esm.js";
3
3
  import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
4
4
  import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
5
- import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-uaXiKt_R.esm.js";
5
+ import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-DepQPUIA.esm.js";
6
6
 
7
7
  //#region src/modules/phone/phoneServices.ts
8
8
  function getPhoneServerFailureReason(error, invalidStatus) {
@@ -1,7 +1,7 @@
1
- import "./StateMachine-D5WO6lHS.js";
2
- import { t as Manager } from "./Manager-goNPc_h_.js";
3
- import "./Actor-BwgmOPkb.js";
4
- import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-Bp9Z53ca.js";
1
+ import "./StateMachine-20ahmASR.js";
2
+ import { t as Manager } from "./Manager-BfBOhrjh.js";
3
+ import "./Actor-DYjXVMQm.js";
4
+ import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-BO3dlVd5.js";
5
5
 
6
6
  //#region src/modules/qe-signature/index.d.ts
7
7