@incodetech/core 0.0.0-dev-20260715-b208c5e1 → 0.0.0-dev-20260715-dcc78bcd

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 (282) hide show
  1. package/dist/{3dAvatarProvider-BYxFCuIv.esm.js → 3dAvatarProvider-D9H4rR6_.esm.js} +811 -880
  2. package/dist/Actor-iTq7YY48.d.ts +1 -0
  3. package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-P6aUarE9.esm.js} +1 -2
  4. package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
  5. package/dist/{BrowserVisibilityObserverProvider-B04zvOXW.esm.js → BrowserVisibilityObserverProvider-sJclps4C.esm.js} +1 -3
  6. package/dist/{Face2DProvider-TeN1Xqr0.esm.js → Face2DProvider-xWUeSJZI.esm.js} +10 -22
  7. package/dist/{createFaceAvatar-BjBu2CrU.d.ts → FaceDetectionProvider-BHweGBEM.d.ts} +108 -159
  8. package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
  9. package/dist/IStorageCapability-B8IGxCwe.d.ts +131 -0
  10. package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
  11. package/dist/{Manager-DE5DydXZ.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
  12. package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-DYvM90IX.esm.js} +1 -2
  13. package/dist/{OpenViduRecordingProvider-xR5osKzW.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
  14. package/dist/{PrivacyLensProvider-CqlsCaJv.esm.js → PrivacyLensProvider-BrYSd1dr.esm.js} +2 -5
  15. package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
  16. package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
  17. package/dist/{WasmUtilProvider-BNQ2PBjG.esm.js → WasmUtilProvider-DAshwHhX.esm.js} +38 -71
  18. package/dist/{addressSearch-B2NxSpHl.esm.js → addressSearch-DH-IPF-w.esm.js} +10 -21
  19. package/dist/ae-signature.d.ts +2 -6
  20. package/dist/ae-signature.esm.js +10 -11
  21. package/dist/antifraud.d.ts +1 -6
  22. package/dist/antifraud.esm.js +3 -8
  23. package/dist/{antifraudManager-C490m0p4.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
  24. package/dist/{antifraudManager-C1xnhF2Q.esm.js → antifraudManager-CL2YhiVX.esm.js} +11 -8
  25. package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-Bf-IiCq7.esm.js} +5 -7
  26. package/dist/{api-DsbUi7TO.esm.js → api-BDTZNnca.esm.js} +1 -2
  27. package/dist/{apiError-DkOXfFBu.esm.js → apiError-COvIGYWe.esm.js} +1 -2
  28. package/dist/authentication.d.ts +2 -19
  29. package/dist/authentication.esm.js +3 -34
  30. package/dist/{authenticationManager-DZXQpCjQ.esm.js → authenticationManager-DM7ttL5V.esm.js} +7 -10
  31. package/dist/{authenticationManager-BD81fnrn.d.ts → authenticationManager-G-k-13Fe.d.ts} +3 -4
  32. package/dist/{authenticationStateMachine-CJrTbLWU.esm.js → authenticationStateMachine-DiI8jfmO.esm.js} +11 -15
  33. package/dist/avatar.d.ts +2 -2
  34. package/dist/avatar.esm.js +2 -3
  35. package/dist/{backCameraStream-DYnfq7Hr.esm.js → backCameraStream-Heg6vA1j.esm.js} +4 -7
  36. package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
  37. package/dist/callback-645_omgz.d.ts +133 -0
  38. package/dist/{camera-B0yWS33x.esm.js → camera-BmFEyPP_.esm.js} +1 -2
  39. package/dist/camera.d.ts +1 -2
  40. package/dist/camera.esm.js +2 -6
  41. package/dist/{canvas-DsJa51yU.esm.js → canvas-E1zGkel4.esm.js} +1 -2
  42. package/dist/certificate-issuance.d.ts +34 -39
  43. package/dist/certificate-issuance.esm.js +4 -11
  44. package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-Ce568YfR.esm.js} +7 -11
  45. package/dist/{clientLifecycle-CCJMDjFe.esm.js → clientLifecycle-DzT65Fvf.esm.js} +23 -29
  46. package/dist/consent.d.ts +1 -4
  47. package/dist/consent.esm.js +3 -8
  48. package/dist/{consentManager-r4MTIoV3.esm.js → consentManager-D3GyyH5u.esm.js} +5 -7
  49. package/dist/{consentManager-QGuw4zmH.d.ts → consentManager-DLOyIZzt.d.ts} +58 -64
  50. package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-Pc3Ez3mV.esm.js} +5 -7
  51. package/dist/{cpf-B9htWzDt.esm.js → cpf-BIADjddF.esm.js} +1 -2
  52. package/dist/cpf-ocr.d.ts +1 -5
  53. package/dist/cpf-ocr.esm.js +2 -8
  54. package/dist/{cpfOcrManager-RkeZCqSz.d.ts → cpfOcrManager-CQkUAeWO.d.ts} +21 -23
  55. package/dist/{cpfOcrManager-D6ZQ9kkv.esm.js → cpfOcrManager-Cwm0MesJ.esm.js} +7 -12
  56. package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
  57. package/dist/{createFaceAvatar-B_v2At2h.esm.js → createFaceAvatar-CwVapQiu.esm.js} +5 -9
  58. package/dist/cross-document-data-match.d.ts +1 -5
  59. package/dist/cross-document-data-match.esm.js +2 -8
  60. package/dist/{crossDocumentDataMatchManager-DoFG_S91.esm.js → crossDocumentDataMatchManager-9rdIO8Qk.esm.js} +12 -12
  61. package/dist/{crossDocumentDataMatchManager-CdiqxhJm.d.ts → crossDocumentDataMatchManager-Dq8Z3SOg.d.ts} +3 -3
  62. package/dist/curp-validation.d.ts +1 -11
  63. package/dist/curp-validation.esm.js +3 -8
  64. package/dist/{curpValidationManager-07oV78Bn.d.ts → curpValidationManager--HSBTwOy.d.ts} +4 -6
  65. package/dist/{curpValidationManager-D6jt1Gs9.esm.js → curpValidationManager-C2i9Lzx9.esm.js} +11 -7
  66. package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-7i3TD8J2.esm.js} +22 -14
  67. package/dist/custom-fields.d.ts +2 -5
  68. package/dist/custom-fields.esm.js +24 -11
  69. package/dist/custom-watchlist.d.ts +1 -3
  70. package/dist/custom-watchlist.esm.js +11 -10
  71. package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-D23XTxl2.esm.js} +5 -7
  72. package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
  73. package/dist/{deepsightService-CV1NAkg9.esm.js → deepsightLoader-CQWGVLP0.esm.js} +62 -14
  74. package/dist/deepsightService-CR-CYdka.d.ts +218 -0
  75. package/dist/device.d.ts +0 -1
  76. package/dist/device.esm.js +5 -10
  77. package/dist/document-capture.d.ts +1 -6
  78. package/dist/document-capture.esm.js +3 -16
  79. package/dist/document-upload.d.ts +48 -55
  80. package/dist/document-upload.esm.js +8 -14
  81. package/dist/{documentCaptureManager-HNu28khr.d.ts → documentCaptureManager-Biz_PFqs.d.ts} +190 -199
  82. package/dist/{documentCaptureManager-pufyUaQz.esm.js → documentCaptureManager-DijbJFun.esm.js} +5 -7
  83. package/dist/{documentCaptureStateMachine-CaJgb_Vn.esm.js → documentCaptureStateMachine-qgsrlcVh.esm.js} +11 -15
  84. package/dist/dynamic-forms.d.ts +1 -4
  85. package/dist/dynamic-forms.esm.js +3 -10
  86. package/dist/{dynamicFormsManager-C3jlNlWK.esm.js → dynamicFormsManager-COik5bJ7.esm.js} +41 -7
  87. package/dist/{dynamicFormsManager-HQhUJCLg.d.ts → dynamicFormsManager-Dposae2l.d.ts} +3 -4
  88. package/dist/{dynamicFormsStateMachine-DdpJI6ne.esm.js → dynamicFormsStateMachine-BV-Fn13x.esm.js} +7 -11
  89. package/dist/ekyb.d.ts +4 -11
  90. package/dist/ekyb.esm.js +3 -20
  91. package/dist/{ekybManager-l67BnqxH.esm.js → ekybManager-BTcW4poN.esm.js} +17 -7
  92. package/dist/{ekybManager-CZUVEWMw.d.ts → ekybManager-CBX0tM04.d.ts} +4 -5
  93. package/dist/{ekybStateMachine-BmfNaHRF.esm.js → ekybStateMachine-DmZLm35R.esm.js} +16 -25
  94. package/dist/ekyc.d.ts +2 -7
  95. package/dist/ekyc.esm.js +3 -11
  96. package/dist/{ekycManager-ClRqj2rg.d.ts → ekycManager-BFpHbBoT.d.ts} +4 -5
  97. package/dist/{ekycManager-B_uUa1iN.esm.js → ekycManager-BSMlIpGA.esm.js} +14 -7
  98. package/dist/{ekycStateMachine-BD8GjdL5.esm.js → ekycStateMachine-a7oP-XWo.esm.js} +140 -201
  99. package/dist/electronic-signature.d.ts +2 -5
  100. package/dist/electronic-signature.esm.js +2 -10
  101. package/dist/{electronicSignatureManager-CzMj-Tjm.esm.js → electronicSignatureManager-DSZu9OHT.esm.js} +9 -14
  102. package/dist/email.d.ts +1 -5
  103. package/dist/email.esm.js +3 -10
  104. package/dist/{emailManager-Lv9BHgel.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
  105. package/dist/{emailManager-BsynjdWX.esm.js → emailManager-c-mDLieD.esm.js} +76 -12
  106. package/dist/{emailStateMachine-Z-Jf4qOc.esm.js → emailStateMachine-ChNwY22u.esm.js} +7 -9
  107. package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-DLQ0g4-R.esm.js} +33 -2
  108. package/dist/{events-aeCkGlnn.esm.js → events-Dy8PyVO5.esm.js} +4 -168
  109. package/dist/events.d.ts +1 -9
  110. package/dist/events.esm.js +2 -4
  111. package/dist/extensibility.d.ts +30 -42
  112. package/dist/extensibility.esm.js +29 -87
  113. package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
  114. package/dist/face-match.d.ts +1 -5
  115. package/dist/face-match.esm.js +3 -8
  116. package/dist/{faceCaptureManagerFactory-CGFQg1kl.d.ts → faceCaptureManagerFactory-BWD3O4Eg.d.ts} +50 -14
  117. package/dist/{faceCaptureManagerFactory-BIH53wvb.esm.js → faceCaptureManagerFactory-CZLSziU3.esm.js} +49 -28
  118. package/dist/{faceCaptureSetup-shrwrZaK.esm.js → faceCaptureSetup-__lVldUG.esm.js} +12 -15
  119. package/dist/{faceMatchManager-BrNYVk-p.esm.js → faceMatchManager-B7jlv77Q.esm.js} +24 -7
  120. package/dist/{faceMatchManager-X2eQo0o-.d.ts → faceMatchManager-CJQG1W1u.d.ts} +4 -4
  121. package/dist/{faceMatchStateMachine-CbeacEqd.esm.js → faceMatchStateMachine-DD7FxtUj.esm.js} +6 -9
  122. package/dist/field-comparison.d.ts +1 -4
  123. package/dist/field-comparison.esm.js +2 -7
  124. package/dist/{fieldComparisonManager-BxhleGNI.esm.js → fieldComparisonManager-5LlxYad-.esm.js} +6 -11
  125. package/dist/{fieldComparisonManager-Dg03uIX1.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
  126. package/dist/fiscal-qr.d.ts +1 -6
  127. package/dist/fiscal-qr.esm.js +14 -29
  128. package/dist/flow-events.d.ts +2 -9
  129. package/dist/flow.d.ts +13 -19
  130. package/dist/flow.esm.js +109 -34
  131. package/dist/{flowCompletionService-qf-s8Uxl.esm.js → flowCompletionService-DQSC7Kso.esm.js} +4 -6
  132. package/dist/{flowServices-CJXaWFlZ.esm.js → flowServices-BQEUaMg6.esm.js} +10 -11
  133. package/dist/geolocation.d.ts +1 -4
  134. package/dist/geolocation.esm.js +3 -9
  135. package/dist/{geolocationManager-CAtyY00b.d.ts → geolocationManager-BWhRzBjk.d.ts} +3 -4
  136. package/dist/{geolocationManager-4j_DV3jW.esm.js → geolocationManager-D58ehBHU.esm.js} +19 -8
  137. package/dist/{geolocationStateMachine-BE72KBAX.esm.js → geolocationStateMachine-BorcBNZ6.esm.js} +6 -8
  138. package/dist/getBrowser-Cb8Zgrgp.esm.js +7 -0
  139. package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
  140. package/dist/{getDeviceClass-DsNb6nEl.esm.js → getDeviceClass-CkgnSJel.esm.js} +3 -5
  141. package/dist/{getBrowser-CZ66VtC7.esm.js → getParsedUserAgent-pJjATANs.esm.js} +109 -30
  142. package/dist/government-validation.d.ts +3 -6
  143. package/dist/government-validation.esm.js +7 -13
  144. package/dist/{governmentValidationStateMachine-BfZ_WQC0.esm.js → governmentValidationStateMachine-DkakcwTj.esm.js} +8 -11
  145. package/dist/home.d.ts +14 -22
  146. package/dist/home.esm.js +3 -8
  147. package/dist/http.d.ts +0 -1
  148. package/dist/http.esm.js +2 -4
  149. package/dist/id-ocr.d.ts +1 -5
  150. package/dist/id-ocr.esm.js +3 -9
  151. package/dist/id-verification.d.ts +1 -4
  152. package/dist/id-verification.esm.js +3 -8
  153. package/dist/id.d.ts +105 -18
  154. package/dist/id.esm.js +40 -50
  155. package/dist/{idCaptureDefaults-Df8XKQ0o.esm.js → idCaptureDefaults-Dzfws4i0.esm.js} +9 -16
  156. package/dist/{idCaptureManager-Fr9c67Rx.esm.js → idCaptureManager-BGAdNNVq.esm.js} +117 -23
  157. package/dist/{idCaptureManager-BXG8kVMW.d.ts → idCaptureManager-CSGbGORT.d.ts} +12 -113
  158. package/dist/{idCaptureStateMachine-CpjwdaYN.esm.js → idCaptureStateMachine-DYgckwCg.esm.js} +56 -195
  159. package/dist/{idOcrManager-DLF3J2cx.esm.js → idOcrManager-niAg-BE0.esm.js} +4 -7
  160. package/dist/{idOcrManager-DnhdGuVX.d.ts → idOcrManager-vXa7GdRh.d.ts} +60 -66
  161. package/dist/{idOcrStateMachine-BPXTUjNY.esm.js → idOcrStateMachine-CpZZL411.esm.js} +13 -18
  162. package/dist/{idVerificationManager-BD2FO09A.d.ts → idVerificationManager-BB4Pj_N6.d.ts} +31 -35
  163. package/dist/{idVerificationManager-23kPMn7T.esm.js → idVerificationManager-CujJqsiX.esm.js} +4 -7
  164. package/dist/{idVerificationStateMachine-C1eMEu_Y.esm.js → idVerificationStateMachine-D-1GlgC5.esm.js} +5 -7
  165. package/dist/identity-reuse.d.ts +1 -4
  166. package/dist/identity-reuse.esm.js +3 -8
  167. package/dist/{identityReuseManager-Ct-9qYpC.esm.js → identityReuseManager-DHfJZTVo.esm.js} +24 -7
  168. package/dist/{identityReuseManager-DOufEjLa.d.ts → identityReuseManager-aTyLyYrr.d.ts} +38 -43
  169. package/dist/{identityReuseStateMachine-Cqc-NwEQ.esm.js → identityReuseStateMachine-CM45EBrb.esm.js} +6 -8
  170. package/dist/index-B8weJxmL.d.ts +1 -0
  171. package/dist/index-BKOWUhxG.d.ts +258 -0
  172. package/dist/{index-WMHgnbC1.d.ts → index-CKbmDFNq.d.ts} +160 -165
  173. package/dist/{index-Bk5nhSg2.d.ts → index-DQ2fdqoI.d.ts} +3 -3
  174. package/dist/index.d.ts +1 -3
  175. package/dist/index.esm.js +2 -15
  176. package/dist/{invokeOnCaptureCallback-Bs09kdY_.esm.js → invokeOnCaptureCallback-B-QfsCQY.esm.js} +2 -4
  177. package/dist/{lib-DvZ6nVvW.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
  178. package/dist/mandatory-consent.d.ts +1 -10
  179. package/dist/mandatory-consent.esm.js +3 -8
  180. package/dist/{mandatoryConsentManager-D0qQHcl2.d.ts → mandatoryConsentManager-BlB4bX6_.d.ts} +59 -65
  181. package/dist/{mandatoryConsentManager-Bh_n0uEP.esm.js → mandatoryConsentManager-CQC-zA4P.esm.js} +4 -7
  182. package/dist/{mandatoryConsentStateMachine-DYeKH1L7.esm.js → mandatoryConsentStateMachine-BN4Obfl7.esm.js} +5 -7
  183. package/dist/{mediaRecorderOptions-BIn657lu.esm.js → mediaRecorderOptions-BhSZDDNb.esm.js} +2 -4
  184. package/dist/{mediapipeShared-B-RiRyLN.esm.js → mediapipeShared-B0iQQ5k7.esm.js} +2 -6
  185. package/dist/{onDeviceFaceResults-CJuDp67S.esm.js → onDeviceFaceResults-LRTvBL7m.esm.js} +18 -84
  186. package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
  187. package/dist/{otp-D_9QPNbs.d.ts → otp-CEWfTj9v.d.ts} +0 -1
  188. package/dist/{otp-Bbe_izFJ.esm.js → otp-D2k3PeSL.esm.js} +3 -14
  189. package/dist/{permissionGuards-CayfS8OY.esm.js → permissionGuards-DguX5vFY.esm.js} +2 -4
  190. package/dist/{permissionServices-B7lD6fiG.esm.js → permissionServices-DwNCUB2I.esm.js} +4 -9
  191. package/dist/personhood.d.ts +13 -20
  192. package/dist/personhood.esm.js +153 -72
  193. package/dist/phone.d.ts +1 -5
  194. package/dist/phone.esm.js +3 -10
  195. package/dist/{phoneManager-85eRUhJD.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
  196. package/dist/{phoneManager-Byive8Xl.esm.js → phoneManager-KbcmjEeH.esm.js} +82 -12
  197. package/dist/{phoneStateMachine-BlYF4nKx.esm.js → phoneStateMachine-wDQtaT38.esm.js} +7 -9
  198. package/dist/{platform-BoeUeUrV.esm.js → platform-wmV7oTAJ.esm.js} +1 -9
  199. package/dist/qe-signature.d.ts +2 -6
  200. package/dist/qe-signature.esm.js +10 -11
  201. package/dist/{recordingService-BzQUrf40.esm.js → recordingService-TuBlOjvH.esm.js} +15 -19
  202. package/dist/redirect-to-mobile.d.ts +1 -6
  203. package/dist/redirect-to-mobile.esm.js +3 -10
  204. package/dist/{redirectToMobileManager-DrxIfZr8.esm.js → redirectToMobileManager-EGXGKftv.esm.js} +25 -8
  205. package/dist/{redirectToMobileManager-2TtzpSOw.d.ts → redirectToMobileManager-NVQM3o5P.d.ts} +3 -4
  206. package/dist/{redirectToMobileStateMachine-BetR6r8p.esm.js → redirectToMobileStateMachine-D-8ipBq2.esm.js} +7 -9
  207. package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
  208. package/dist/{runChildModule-FH_tixbR.esm.js → runChildModule-Crz1nHwJ.esm.js} +5 -9
  209. package/dist/selfie.d.ts +7 -20
  210. package/dist/selfie.esm.js +40 -46
  211. package/dist/{selfieManager-CdUnYjmt.esm.js → selfieManager-C4_2DgTF.esm.js} +7 -10
  212. package/dist/{selfieManager-d7nkO-UP.d.ts → selfieManager-CN8wJ14s.d.ts} +3 -4
  213. package/dist/{selfieStateMachine-zz4WqziP.esm.js → selfieStateMachine-ODRceav2.esm.js} +15 -20
  214. package/dist/selfieUploadService-B4LnSIf6.esm.js +62 -0
  215. package/dist/session-CQ2x2aLl.esm.js +1 -0
  216. package/dist/session.d.ts +2 -9
  217. package/dist/session.esm.js +153 -15
  218. package/dist/sessionInitializer-Cjpnacyg.esm.js +1801 -0
  219. package/dist/{setup-BxB6QUto.d.ts → setup-CgBvqGWw.d.ts} +2 -4
  220. package/dist/{setup-DCyhfufM.esm.js → setup-Hyb_Yiuu.esm.js} +126 -18
  221. package/dist/signature.d.ts +2 -6
  222. package/dist/signature.esm.js +6 -9
  223. package/dist/{signatureStateMachine-U8ewxW1t.esm.js → signatureStateMachine-BmKPC5A9.esm.js} +5 -7
  224. package/dist/spawn-D9jgw9pW.d.ts +1441 -0
  225. package/dist/{stats-BVy52wLy.esm.js → stats-Bu6bL_CX.esm.js} +3 -5
  226. package/dist/stats.esm.js +2 -5
  227. package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
  228. package/dist/{tri-Calc36Ny.esm.js → tri-N-xlKhZK.esm.js} +3 -7
  229. package/dist/tri.d.ts +2 -2
  230. package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
  231. package/dist/tri.esm.js +2 -4
  232. package/dist/trust-graph.d.ts +4 -5
  233. package/dist/trust-graph.esm.js +13 -9
  234. package/dist/{types-Db2ooXIu.esm.js → types-BN5RPPIZ.esm.js} +1 -2
  235. package/dist/{types-ZezaAAbn.d.ts → types-BfgmV7s7.d.ts} +2 -2
  236. package/dist/{types-NizIIgLD.d.ts → types-BnEHzP1K.d.ts} +3 -5
  237. package/dist/{types-DCOl8zy6.d.ts → types-Vb4P9ovf.d.ts} +1 -3
  238. package/dist/{types-C0D4Brd6.d.ts → types-ctqh-iS4.d.ts} +80 -6
  239. package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
  240. package/dist/{video-DXf5H9rY.esm.js → video-BtSWtHy1.esm.js} +1 -2
  241. package/dist/video-selfie.d.ts +10 -15
  242. package/dist/video-selfie.esm.js +114 -106
  243. package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-DHcibfYH.esm.js} +1 -2
  244. package/dist/wasm.d.ts +2 -4
  245. package/dist/wasm.esm.js +3 -15
  246. package/dist/watchlist-for-business.d.ts +1 -3
  247. package/dist/watchlist-for-business.esm.js +9 -9
  248. package/dist/watchlist.d.ts +1 -3
  249. package/dist/watchlist.esm.js +11 -10
  250. package/dist/{watchlistForBusinessStateMachine-Bbn_dcVT.esm.js → watchlistForBusinessStateMachine-BC_-3fJs.esm.js} +5 -7
  251. package/dist/{watchlistStateMachine-SZ-1xpe4.esm.js → watchlistStateMachine-CL2j3aRl.esm.js} +5 -7
  252. package/dist/workflow.d.ts +124 -146
  253. package/dist/workflow.esm.js +75 -80
  254. package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
  255. package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
  256. package/package.json +2 -2
  257. package/dist/Actor-CdjYVucI.d.ts +0 -2
  258. package/dist/FaceDetectionProvider-D-zCGbS9.d.ts +0 -119
  259. package/dist/IWasmUtilCapability-CuiW_6d1.d.ts +0 -150
  260. package/dist/StateMachine-BTkXO3Na.d.ts +0 -2
  261. package/dist/StreamCanvasCapture-D9u4hwul.d.ts +0 -42
  262. package/dist/ae-signature-eQWjmzE8.esm.js +0 -12
  263. package/dist/browser-DlFgHpoC-BTB6a7n-.esm.js +0 -1425
  264. package/dist/browserSimulation-CQjwFn0Z.esm.js +0 -1256
  265. package/dist/canvas-COIxuirO.d.ts +0 -112
  266. package/dist/chunk-CIKcdghV.esm.js +0 -49
  267. package/dist/deepsightLoader-BppeThau.esm.js +0 -67
  268. package/dist/deepsightService-mkIAy_Eq.d.ts +0 -69
  269. package/dist/http-C3Pq6njG.esm.js +0 -0
  270. package/dist/index-BD6ZVw2f.d.ts +0 -93
  271. package/dist/openviduLazy-CuGqb-8Q.esm.js +0 -12
  272. package/dist/openviduLazy-DNb0xHJp.esm.js +0 -3
  273. package/dist/qe-signature-D9XM2d-F.esm.js +0 -12
  274. package/dist/session--C2lbjK5.esm.js +0 -152
  275. package/dist/sessionInitializer-Dx_oPfHP.esm.js +0 -548
  276. package/dist/tri.esm-BDhptA8x.esm.js +0 -2593
  277. /package/dist/{IVisibilityObserverCapability-C3tAkSfF.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
  278. /package/dist/{camera-DRH7co71.d.ts → camera-9wWD-pwg.d.ts} +0 -0
  279. /package/dist/{flowCompletionService-DGcE_OvO.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
  280. /package/dist/{types-DawqnFVn.d.ts → types-BT-aiBYV.d.ts} +0 -0
  281. /package/dist/{types-B6KIOo6S.d.ts → types-Bk_6dmDa.d.ts} +0 -0
  282. /package/dist/{warmup-CE9Fhs6N.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
@@ -0,0 +1,133 @@
1
+ import { S as Snapshot, a as ActorRefFromLogic, c as AnyEventObject, j as AnyActorSystem, n as ActorLogic, p as EventObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
+ //#region ../../node_modules/.pnpm/xstate@5.24.0/node_modules/xstate/dist/declarations/src/actors/callback.d.ts
3
+ type CallbackSnapshot<TInput> = Snapshot<undefined> & {
4
+ input: TInput;
5
+ };
6
+ type CallbackActorLogic<TEvent extends EventObject, TInput = NonReducibleUnknown, TEmitted extends EventObject = EventObject> = ActorLogic<CallbackSnapshot<TInput>, TEvent, TInput, AnyActorSystem, TEmitted>;
7
+ /**
8
+ * Represents an actor created by `fromCallback`.
9
+ *
10
+ * The type of `self` within the actor's logic.
11
+ *
12
+ * @example
13
+ *
14
+ * ```ts
15
+ * import { fromCallback, createActor } from 'xstate';
16
+ *
17
+ * // The events the actor receives.
18
+ * type Event = { type: 'someEvent' };
19
+ * // The actor's input.
20
+ * type Input = { name: string };
21
+ *
22
+ * // Actor logic that logs whenever it receives an event of type `someEvent`.
23
+ * const logic = fromCallback<Event, Input>(({ self, input, receive }) => {
24
+ * self;
25
+ * // ^? CallbackActorRef<Event, Input>
26
+ *
27
+ * receive((event) => {
28
+ * if (event.type === 'someEvent') {
29
+ * console.log(`${input.name}: received "someEvent" event`);
30
+ * // logs 'myActor: received "someEvent" event'
31
+ * }
32
+ * });
33
+ * });
34
+ *
35
+ * const actor = createActor(logic, { input: { name: 'myActor' } });
36
+ * // ^? CallbackActorRef<Event, Input>
37
+ * ```
38
+ *
39
+ * @see {@link fromCallback}
40
+ */
41
+ type CallbackActorRef<TEvent extends EventObject, TInput = NonReducibleUnknown> = ActorRefFromLogic<CallbackActorLogic<TEvent, TInput>>;
42
+ type Receiver<TEvent extends EventObject> = (listener: {
43
+ bivarianceHack(event: TEvent): void;
44
+ }['bivarianceHack']) => void;
45
+ type CallbackLogicFunction<TEvent extends EventObject = AnyEventObject, TSentEvent extends EventObject = AnyEventObject, TInput = NonReducibleUnknown, TEmitted extends EventObject = EventObject> = ({ input, system, self, sendBack, receive, emit }: {
46
+ /**
47
+ * Data that was provided to the callback actor
48
+ *
49
+ * @see {@link https://stately.ai/docs/input | Input docs}
50
+ */
51
+ input: TInput;
52
+ /** The actor system to which the callback actor belongs */
53
+ system: AnyActorSystem;
54
+ /** The parent actor of the callback actor */
55
+ self: CallbackActorRef<TEvent>;
56
+ /** A function that can send events back to the parent actor */
57
+ sendBack: (event: TSentEvent) => void;
58
+ /**
59
+ * A function that can be called with a listener function argument; the
60
+ * listener is then called whenever events are received by the callback actor
61
+ */
62
+ receive: Receiver<TEvent>;
63
+ emit: (emitted: TEmitted) => void;
64
+ }) => (() => void) | void;
65
+ /**
66
+ * An actor logic creator which returns callback logic as defined by a callback
67
+ * function.
68
+ *
69
+ * @remarks
70
+ * Useful for subscription-based or other free-form logic that can send events
71
+ * back to the parent actor.
72
+ *
73
+ * Actors created from callback logic (“callback actors”) can:
74
+ *
75
+ * - Receive events via the `receive` function
76
+ * - Send events to the parent actor via the `sendBack` function
77
+ *
78
+ * Callback actors are a bit different from other actors in that they:
79
+ *
80
+ * - Do not work with `onDone`
81
+ * - Do not produce a snapshot using `.getSnapshot()`
82
+ * - Do not emit values when used with `.subscribe()`
83
+ * - Can not be stopped with `.stop()`
84
+ *
85
+ * @example
86
+ *
87
+ * ```typescript
88
+ * const callbackLogic = fromCallback(({ sendBack, receive }) => {
89
+ * let lockStatus = 'unlocked';
90
+ *
91
+ * const handler = (event) => {
92
+ * if (lockStatus === 'locked') {
93
+ * return;
94
+ * }
95
+ * sendBack(event);
96
+ * };
97
+ *
98
+ * receive((event) => {
99
+ * if (event.type === 'lock') {
100
+ * lockStatus = 'locked';
101
+ * } else if (event.type === 'unlock') {
102
+ * lockStatus = 'unlocked';
103
+ * }
104
+ * });
105
+ *
106
+ * document.body.addEventListener('click', handler);
107
+ *
108
+ * return () => {
109
+ * document.body.removeEventListener('click', handler);
110
+ * };
111
+ * });
112
+ * ```
113
+ *
114
+ * @param callback - The callback function used to describe the callback logic
115
+ * The callback function is passed an object with the following properties:
116
+ *
117
+ * - `receive` - A function that can send events back to the parent actor; the
118
+ * listener is then called whenever events are received by the callback
119
+ * actor
120
+ * - `sendBack` - A function that can send events back to the parent actor
121
+ * - `input` - Data that was provided to the callback actor
122
+ * - `self` - The parent actor of the callback actor
123
+ * - `system` - The actor system to which the callback actor belongs The callback
124
+ * function can (optionally) return a cleanup function, which is called
125
+ * when the actor is stopped.
126
+ *
127
+ * @returns Callback logic
128
+ * @see {@link CallbackLogicFunction} for more information about the callback function and its object argument
129
+ * @see {@link https://stately.ai/docs/input | Input docs} for more information about how input is passed
130
+ */
131
+ declare function fromCallback<TEvent extends EventObject, TInput = NonReducibleUnknown, TEmitted extends EventObject = EventObject>(callback: CallbackLogicFunction<TEvent, AnyEventObject, TInput, TEmitted>): CallbackActorLogic<TEvent, TInput, TEmitted>;
132
+ //#endregion
133
+ export { fromCallback as n, CallbackActorLogic as t };
@@ -74,6 +74,5 @@ async function enumerateVideoDevices() {
74
74
  async function applyTrackConstraints(track, constraints) {
75
75
  await track.applyConstraints(constraints);
76
76
  }
77
-
78
77
  //#endregion
79
- export { stopCameraStream as a, requestCameraWithFallback as i, enumerateVideoDevices as n, requestCameraAccess as r, applyTrackConstraints as t };
78
+ export { stopCameraStream as a, requestCameraWithFallback as i, enumerateVideoDevices as n, requestCameraAccess as r, applyTrackConstraints as t };
package/dist/camera.d.ts CHANGED
@@ -1,5 +1,4 @@
1
- import { n as PermissionStatus, t as PermissionResult } from "./types-DawqnFVn.js";
2
-
1
+ import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
3
2
  //#region src/internal/permissions/permissionServices.d.ts
4
3
  type RequestPermissionOptions = {
5
4
  requestMotion?: boolean;
@@ -1,6 +1,2 @@
1
- import "./WasmUtilProvider-BNQ2PBjG.esm.js";
2
- import "./MotionSensorProvider-BkHKMCPE.esm.js";
3
- import { i as requestPermission, t as checkPermission } from "./permissionServices-B7lD6fiG.esm.js";
4
- import "./camera-B0yWS33x.esm.js";
5
-
6
- export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
1
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-DwNCUB2I.esm.js";
2
+ export { checkPermission as checkCameraPermission, requestPermission as requestCameraPermission };
@@ -225,6 +225,5 @@ var IncodeCanvas = class IncodeCanvas {
225
225
  return resized;
226
226
  }
227
227
  };
228
-
229
228
  //#endregion
230
- export { IncodeCanvas as t };
229
+ export { IncodeCanvas as t };
@@ -1,8 +1,7 @@
1
- import "./StateMachine-BTkXO3Na.js";
2
- import { t as Manager } from "./Manager-DE5DydXZ.js";
3
- import "./Actor-CdjYVucI.js";
4
- import * as xstate0 from "xstate";
5
-
1
+ import { A as StateMachine, C as StateValue, D as PromiseActorLogic, a as ActorRefFromLogic, b as RequiredActorOptions, c as AnyEventObject, g as IsNotNever, h as InputFrom, k as MachineSnapshot, m as GetConcreteByKey, o as AnyActorLogic, p as EventObject, r as ActorRef, s as AnyActorRef, u as ConditionalRequired, v as MetaObject, w as Values, x as RequiredLogicInput, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
2
+ import "./StateMachine-EDpYWy0i.js";
3
+ import { t as Manager } from "./Manager-CQQ99QOI.js";
4
+ import "./Actor-iTq7YY48.js";
6
5
  //#region src/modules/certificate-issuance/certificateIssuanceConstants.d.ts
7
6
  declare const MIN_PASSWORD_LENGTH = 8;
8
7
  declare const PASSWORD_VALIDATION_KEYS: readonly ["length", "uppercase", "lowercase", "number"];
@@ -40,7 +39,7 @@ type CertificateIssuanceContext = {
40
39
  type CertificateIssuanceInput = {
41
40
  config: CertificateIssuanceConfig;
42
41
  };
43
- declare const certificateIssuanceMachine: xstate0.StateMachine<CertificateIssuanceContext, {
42
+ declare const certificateIssuanceMachine: StateMachine<CertificateIssuanceContext, {
44
43
  type: "LOAD";
45
44
  } | {
46
45
  type: "PASSWORD_CHANGED";
@@ -54,69 +53,67 @@ declare const certificateIssuanceMachine: xstate0.StateMachine<CertificateIssuan
54
53
  } | {
55
54
  type: "FINISH";
56
55
  }, {
57
- [x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<IssueCertificateResponse, {
56
+ [x: string]: ActorRefFromLogic<PromiseActorLogic<IssueCertificateResponse, {
58
57
  password: string;
59
- }, xstate0.EventObject>> | undefined;
58
+ }, EventObject>> | undefined;
60
59
  }, {
61
60
  src: "issueCertificate";
62
- logic: xstate0.PromiseActorLogic<IssueCertificateResponse, {
61
+ logic: PromiseActorLogic<IssueCertificateResponse, {
63
62
  password: string;
64
- }, xstate0.EventObject>;
63
+ }, EventObject>;
65
64
  id: string | undefined;
66
- }, xstate0.Values<{
65
+ }, Values<{
67
66
  setPassword: {
68
67
  type: "setPassword";
69
- params: xstate0.NonReducibleUnknown;
68
+ params: NonReducibleUnknown;
70
69
  };
71
70
  setBlob: {
72
71
  type: "setBlob";
73
- params: xstate0.NonReducibleUnknown;
72
+ params: NonReducibleUnknown;
74
73
  };
75
74
  }>, {
76
75
  type: "isPasswordValid";
77
76
  params: unknown;
78
- }, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
77
+ }, never, "error" | "idle" | "processing" | "success" | "finished" | "password" | "downloaded", string, CertificateIssuanceInput, NonReducibleUnknown, EventObject, MetaObject, {
79
78
  readonly id: "certificateIssuance";
80
79
  readonly initial: "idle";
81
- readonly context: ({
82
- input
83
- }: {
80
+ readonly context: ({ input }: {
84
81
  spawn: {
85
82
  <TSrc extends "issueCertificate">(logic: TSrc, ...[options]: {
86
83
  src: "issueCertificate";
87
- logic: xstate0.PromiseActorLogic<IssueCertificateResponse, {
84
+ logic: PromiseActorLogic<IssueCertificateResponse, {
88
85
  password: string;
89
- }, xstate0.EventObject>;
86
+ }, EventObject>;
90
87
  id: string | undefined;
91
- } extends infer T ? T extends {
88
+ } extends (infer T) ? T extends {
92
89
  src: "issueCertificate";
93
- logic: xstate0.PromiseActorLogic<IssueCertificateResponse, {
90
+ logic: PromiseActorLogic<IssueCertificateResponse, {
94
91
  password: string;
95
- }, xstate0.EventObject>;
92
+ }, EventObject>;
96
93
  id: string | undefined;
97
94
  } ? T extends {
98
95
  src: TSrc;
99
- } ? xstate0.ConditionalRequired<[options?: ({
96
+ } ? ConditionalRequired<[options?: ({
100
97
  id?: T["id"] | undefined;
101
98
  systemId?: string;
102
- input?: xstate0.InputFrom<T["logic"]> | undefined;
99
+ input?: InputFrom<T["logic"]> | undefined;
103
100
  syncSnapshot?: boolean;
104
- } & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<{
101
+ } & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never): ActorRefFromLogic<GetConcreteByKey<{
105
102
  src: "issueCertificate";
106
- logic: xstate0.PromiseActorLogic<IssueCertificateResponse, {
103
+ logic: PromiseActorLogic<IssueCertificateResponse, {
107
104
  password: string;
108
- }, xstate0.EventObject>;
105
+ }, EventObject>;
109
106
  id: string | undefined;
110
107
  }, "src", TSrc>["logic"]>;
111
- <TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
108
+ <TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
112
109
  id?: never;
113
110
  systemId?: string;
114
- input?: xstate0.InputFrom<TLogic> | undefined;
111
+ input?: InputFrom<TLogic> | undefined;
115
112
  syncSnapshot?: boolean;
116
- } & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
113
+ } & { [K in RequiredLogicInput<TLogic>]: unknown; }) | undefined], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
117
114
  };
118
115
  input: CertificateIssuanceInput;
119
- self: xstate0.ActorRef<xstate0.MachineSnapshot<CertificateIssuanceContext, {
116
+ self: ActorRef<MachineSnapshot<CertificateIssuanceContext, {
120
117
  type: "LOAD";
121
118
  } | {
122
119
  type: "PASSWORD_CHANGED";
@@ -129,7 +126,7 @@ declare const certificateIssuanceMachine: xstate0.StateMachine<CertificateIssuan
129
126
  type: "DOWNLOAD_FAILED";
130
127
  } | {
131
128
  type: "FINISH";
132
- }, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
129
+ }, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, {
133
130
  type: "LOAD";
134
131
  } | {
135
132
  type: "PASSWORD_CHANGED";
@@ -142,7 +139,7 @@ declare const certificateIssuanceMachine: xstate0.StateMachine<CertificateIssuan
142
139
  type: "DOWNLOAD_FAILED";
143
140
  } | {
144
141
  type: "FINISH";
145
- }, xstate0.AnyEventObject>;
142
+ }, AnyEventObject>;
146
143
  }) => {
147
144
  config: CertificateIssuanceConfig;
148
145
  password: string;
@@ -172,9 +169,7 @@ declare const certificateIssuanceMachine: xstate0.StateMachine<CertificateIssuan
172
169
  readonly invoke: {
173
170
  readonly id: "issueCertificate";
174
171
  readonly src: "issueCertificate";
175
- readonly input: ({
176
- context
177
- }: {
172
+ readonly input: ({ context }: {
178
173
  context: CertificateIssuanceContext;
179
174
  event: {
180
175
  type: "LOAD";
@@ -190,7 +185,7 @@ declare const certificateIssuanceMachine: xstate0.StateMachine<CertificateIssuan
190
185
  } | {
191
186
  type: "FINISH";
192
187
  };
193
- self: xstate0.ActorRef<xstate0.MachineSnapshot<CertificateIssuanceContext, {
188
+ self: ActorRef<MachineSnapshot<CertificateIssuanceContext, {
194
189
  type: "LOAD";
195
190
  } | {
196
191
  type: "PASSWORD_CHANGED";
@@ -203,7 +198,7 @@ declare const certificateIssuanceMachine: xstate0.StateMachine<CertificateIssuan
203
198
  type: "DOWNLOAD_FAILED";
204
199
  } | {
205
200
  type: "FINISH";
206
- }, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
201
+ }, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
207
202
  type: "LOAD";
208
203
  } | {
209
204
  type: "PASSWORD_CHANGED";
@@ -216,7 +211,7 @@ declare const certificateIssuanceMachine: xstate0.StateMachine<CertificateIssuan
216
211
  type: "DOWNLOAD_FAILED";
217
212
  } | {
218
213
  type: "FINISH";
219
- }, xstate0.AnyEventObject>;
214
+ }, AnyEventObject>;
220
215
  }) => {
221
216
  password: string;
222
217
  };
@@ -1,11 +1,6 @@
1
- import "./api-DsbUi7TO.esm.js";
2
- import { n as eventModuleNames, s as createManagerInstrumentation } from "./events-aeCkGlnn.esm.js";
3
- import "./endpoints-CwrFQfW7.esm.js";
4
- import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
5
- import "./urlUtils-CpiYwn7w.esm.js";
6
- import "./externalFetch-hvmz_npP.esm.js";
7
- import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-CpewPqas.esm.js";
8
-
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
+ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordValidations, o as PASSWORD_VALIDATION_KEYS, r as isPasswordValid, s as REQUIREMENT_I18N_KEYS, t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Ce568YfR.esm.js";
9
4
  //#region src/modules/certificate-issuance/certificateIssuanceActor.ts
10
5
  /**
11
6
  * Creates and starts a certificate issuance actor.
@@ -13,7 +8,6 @@ import { a as MIN_PASSWORD_LENGTH, i as validatePassword, n as emptyPasswordVali
13
8
  function createCertificateIssuanceActor(options) {
14
9
  return createActor(certificateIssuanceMachine, { input: { config: options.config } }).start();
15
10
  }
16
-
17
11
  //#endregion
18
12
  //#region src/modules/certificate-issuance/certificateIssuanceManager.ts
19
13
  function mapState(snapshot) {
@@ -68,6 +62,5 @@ function createCertificateIssuanceManager(options) {
68
62
  instrumentation: createManagerInstrumentation(eventModuleNames.certificateIssuance)
69
63
  });
70
64
  }
71
-
72
65
  //#endregion
73
- export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, emptyPasswordValidations, isPasswordValid, validatePassword };
66
+ export { MIN_PASSWORD_LENGTH, PASSWORD_VALIDATION_KEYS, REQUIREMENT_I18N_KEYS, certificateIssuanceMachine, createCertificateIssuanceManager, emptyPasswordValidations, isPasswordValid, validatePassword };
@@ -1,8 +1,8 @@
1
- import { n as getApi, r as getToken } from "./api-DsbUi7TO.esm.js";
2
- import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
3
- import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-nY3M5UYm.esm.js";
4
- import { t as externalFetch } from "./externalFetch-hvmz_npP.esm.js";
5
-
1
+ import { n as getApi, r as getToken } from "./api-BDTZNnca.esm.js";
2
+ import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
3
+ import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
+ import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
+ import { t as externalFetch } from "./externalFetch-BKBThAUC.esm.js";
6
6
  //#region src/modules/certificate-issuance/certificateIssuanceServices.ts
7
7
  function buildIssueCertificateUrl(baseURL) {
8
8
  return `${baseURL.endsWith("/") ? baseURL.slice(0, -1) : baseURL}${endpoints.certificateIssuanceIssue}`;
@@ -25,7 +25,6 @@ async function issueCertificate(params, signal) {
25
25
  signal
26
26
  })).blob() };
27
27
  }
28
-
29
28
  //#endregion
30
29
  //#region src/modules/certificate-issuance/certificateIssuanceConstants.ts
31
30
  const MIN_PASSWORD_LENGTH = 8;
@@ -41,7 +40,6 @@ const REQUIREMENT_I18N_KEYS = {
41
40
  lowercase: "certificateIssuance.password.lowercase",
42
41
  number: "certificateIssuance.password.number"
43
42
  };
44
-
45
43
  //#endregion
46
44
  //#region src/modules/certificate-issuance/certificateIssuanceUtils.ts
47
45
  function emptyPasswordValidations() {
@@ -54,7 +52,7 @@ function emptyPasswordValidations() {
54
52
  }
55
53
  function validatePassword(value) {
56
54
  return {
57
- length: value.length >= MIN_PASSWORD_LENGTH,
55
+ length: value.length >= 8,
58
56
  uppercase: /[A-Z]/.test(value),
59
57
  lowercase: /[a-z]/.test(value),
60
58
  number: /[0-9]/.test(value)
@@ -63,7 +61,6 @@ function validatePassword(value) {
63
61
  function isPasswordValid(validations) {
64
62
  return PASSWORD_VALIDATION_KEYS.every((key) => validations[key]);
65
63
  }
66
-
67
64
  //#endregion
68
65
  //#region src/modules/certificate-issuance/certificateIssuanceStateMachine.ts
69
66
  const certificateIssuanceMachine = setup({
@@ -122,6 +119,5 @@ const certificateIssuanceMachine = setup({
122
119
  finished: { type: "final" }
123
120
  }
124
121
  });
125
-
126
122
  //#endregion
127
- export { MIN_PASSWORD_LENGTH as a, validatePassword as i, emptyPasswordValidations as n, PASSWORD_VALIDATION_KEYS as o, isPasswordValid as r, REQUIREMENT_I18N_KEYS as s, certificateIssuanceMachine as t };
123
+ export { MIN_PASSWORD_LENGTH as a, validatePassword as i, emptyPasswordValidations as n, PASSWORD_VALIDATION_KEYS as o, isPasswordValid as r, REQUIREMENT_I18N_KEYS as s, certificateIssuanceMachine as t };
@@ -1,6 +1,5 @@
1
- import { c as initializeWasmWebClient, l as setWebApiHttpTransport, o as WasmWebClientError, s as executeWasmRequest, u as setupWasmConnection } from "./WasmUtilProvider-BNQ2PBjG.esm.js";
2
- import { o as setClient } from "./api-DsbUi7TO.esm.js";
3
-
1
+ import { c as initializeWasmWebClient, l as setWebApiHttpTransport, o as WasmWebClientError, s as executeWasmRequest, u as setupWasmConnection } from "./WasmUtilProvider-DAshwHhX.esm.js";
2
+ import { o as setClient } from "./api-BDTZNnca.esm.js";
4
3
  //#region ../infra/src/http/createApi.ts
5
4
  var FetchHttpError = class extends Error {
6
5
  constructor(status, statusText, url, method, headers, data) {
@@ -117,11 +116,11 @@ const createApi = (config) => {
117
116
  const client = {
118
117
  defaults,
119
118
  async request(requestConfig) {
120
- const { method = "GET", url, headers: headers$1 = {}, query, params, body, signal, timeout = config.timeout ?? DEFAULT_TIMEOUT$1, parse, onUploadProgress, keepalive } = requestConfig;
119
+ const { method = "GET", url, headers = {}, query, params, body, signal, timeout = config.timeout ?? DEFAULT_TIMEOUT$1, parse, onUploadProgress, keepalive } = requestConfig;
121
120
  const fullUrl = buildUrl$1(defaults.baseURL, url, params ?? query);
122
121
  const mergedHeaders = {
123
122
  ...defaults.headers,
124
- ...headers$1
123
+ ...headers
125
124
  };
126
125
  const requestBody = prepareBody$1(body);
127
126
  let finalHeaders = mergedHeaders;
@@ -166,54 +165,54 @@ const createApi = (config) => {
166
165
  throw error;
167
166
  }
168
167
  },
169
- get(url, config$1) {
168
+ get(url, config) {
170
169
  return client.request({
171
- ...config$1,
170
+ ...config,
172
171
  url,
173
172
  method: "GET"
174
173
  });
175
174
  },
176
- post(url, body, config$1) {
175
+ post(url, body, config) {
177
176
  return client.request({
178
- ...config$1,
177
+ ...config,
179
178
  url,
180
179
  body,
181
180
  method: "POST"
182
181
  });
183
182
  },
184
- put(url, body, config$1) {
183
+ put(url, body, config) {
185
184
  return client.request({
186
- ...config$1,
185
+ ...config,
187
186
  url,
188
187
  body,
189
188
  method: "PUT"
190
189
  });
191
190
  },
192
- patch(url, body, config$1) {
191
+ patch(url, body, config) {
193
192
  return client.request({
194
- ...config$1,
193
+ ...config,
195
194
  url,
196
195
  body,
197
196
  method: "PATCH"
198
197
  });
199
198
  },
200
- delete(url, config$1) {
199
+ delete(url, config) {
201
200
  return client.request({
202
- ...config$1,
201
+ ...config,
203
202
  url,
204
203
  method: "DELETE"
205
204
  });
206
205
  },
207
- head(url, config$1) {
206
+ head(url, config) {
208
207
  return client.request({
209
- ...config$1,
208
+ ...config,
210
209
  url,
211
210
  method: "HEAD"
212
211
  });
213
212
  },
214
- options(url, config$1) {
213
+ options(url, config) {
215
214
  return client.request({
216
- ...config$1,
215
+ ...config,
217
216
  url,
218
217
  method: "OPTIONS"
219
218
  });
@@ -224,8 +223,6 @@ const createApi = (config) => {
224
223
  };
225
224
  return client;
226
225
  };
227
- var createApi_default = createApi;
228
-
229
226
  //#endregion
230
227
  //#region ../infra/src/http/createWasmApi.ts
231
228
  const RSA_OAEP_SHA256_SCHEME = "RSA/NONE/OAEPWITHSHA-256ANDMGF1PADDING";
@@ -256,7 +253,7 @@ var WasmHttpError = class extends Error {
256
253
  }
257
254
  };
258
255
  const DEFAULT_TIMEOUT = 3e4;
259
- const HTTP_METHODS = new Set([
256
+ const HTTP_METHODS = /* @__PURE__ */ new Set([
260
257
  "GET",
261
258
  "POST",
262
259
  "PUT",
@@ -411,8 +408,6 @@ const createWasmApi = async (config) => {
411
408
  };
412
409
  return client;
413
410
  };
414
- var createWasmApi_default = createWasmApi;
415
-
416
411
  //#endregion
417
412
  //#region src/internal/http/clientLifecycle.ts
418
413
  /**
@@ -464,7 +459,7 @@ function resetHttpClientState() {
464
459
  * is requested.
465
460
  */
466
461
  async function installFreshHttpClient(apiURL, options, effectiveWasm, encryption) {
467
- installClient(effectiveWasm ? await withHandshakeFailureContext(encryption.enabled, () => createWasmApi_default({
462
+ installClient(effectiveWasm ? await withHandshakeFailureContext(encryption.enabled, () => createWasmApi({
468
463
  apiURL,
469
464
  customHeaders: options.customHeaders,
470
465
  timeout: options.timeout,
@@ -472,7 +467,7 @@ async function installFreshHttpClient(apiURL, options, effectiveWasm, encryption
472
467
  encryptionEnabled: encryption.enabled,
473
468
  mgf1: encryption.mgf1,
474
469
  isEncryptionEnabled: isHttpEncrypted
475
- })) : createApi_default({
470
+ })) : createApi({
476
471
  apiURL,
477
472
  customHeaders: options.customHeaders,
478
473
  timeout: options.timeout
@@ -500,7 +495,7 @@ async function installFreshHttpClient(apiURL, options, effectiveWasm, encryption
500
495
  async function upgradeToWasmHttpClient(resolved) {
501
496
  const stored = storedHttpConfig;
502
497
  if (!stored || stored.isWasm) return;
503
- installClient(await createWasmApi_default({
498
+ installClient(await createWasmApi({
504
499
  apiURL: stored.apiURL,
505
500
  customHeaders: stored.customHeaders,
506
501
  timeout: stored.timeout,
@@ -529,6 +524,5 @@ async function withHandshakeFailureContext(wantsEncryption, fn) {
529
524
  throw error;
530
525
  }
531
526
  }
532
-
533
527
  //#endregion
534
- export { createApi_default as a, upgradeToWasmHttpClient as i, installFreshHttpClient as n, resetHttpClientState as r, getStoredHttpConfig as t };
528
+ export { createApi as a, upgradeToWasmHttpClient as i, installFreshHttpClient as n, resetHttpClientState as r, getStoredHttpConfig as t };
package/dist/consent.d.ts CHANGED
@@ -1,5 +1,2 @@
1
- import "./StateMachine-BTkXO3Na.js";
2
- import "./Manager-DE5DydXZ.js";
3
- import "./Actor-CdjYVucI.js";
4
- import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-QGuw4zmH.js";
1
+ import { a as ConsentActor, c as ConsentConfig, i as createConsentManagerFromActor, n as ConsentState, o as consentMachine, r as createConsentManager, s as ConsentCheckbox, t as ConsentManager } from "./consentManager-DLOyIZzt.js";
5
2
  export { type ConsentActor, type ConsentCheckbox, type ConsentConfig, type ConsentManager, type ConsentState, consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,8 +1,3 @@
1
- import "./api-DsbUi7TO.esm.js";
2
- import "./events-aeCkGlnn.esm.js";
3
- import "./endpoints-CwrFQfW7.esm.js";
4
- import "./xstate.esm-nY3M5UYm.esm.js";
5
- import { t as consentMachine } from "./consentStateMachine-DnqwsZ7o.esm.js";
6
- import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-r4MTIoV3.esm.js";
7
-
8
- export { consentMachine, createConsentManager, createConsentManagerFromActor };
1
+ import { t as consentMachine } from "./consentStateMachine-Pc3Ez3mV.esm.js";
2
+ import { n as createConsentManagerFromActor, t as createConsentManager } from "./consentManager-D3GyyH5u.esm.js";
3
+ export { consentMachine, createConsentManager, createConsentManagerFromActor };
@@ -1,12 +1,11 @@
1
- import { n as eventModuleNames, o as topLevelStateName, s as createManagerInstrumentation } from "./events-aeCkGlnn.esm.js";
2
- import { l as createManager, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
3
- import { t as consentMachine } from "./consentStateMachine-DnqwsZ7o.esm.js";
4
-
1
+ import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
2
+ import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
3
+ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
+ import { t as consentMachine } from "./consentStateMachine-Pc3Ez3mV.esm.js";
5
5
  //#region src/modules/consent/consentActor.ts
6
6
  function createConsentActor(options) {
7
7
  return createActor(consentMachine, { input: { config: options.config } }).start();
8
8
  }
9
-
10
9
  //#endregion
11
10
  //#region src/modules/consent/consentManager.ts
12
11
  function getCanSubmit(checkboxes) {
@@ -109,6 +108,5 @@ function createConsentManagerFromActor(actor) {
109
108
  instrumentation: createManagerInstrumentation(eventModuleNames.combinedConsent, { getEventScreenName: getConsentScreenName })
110
109
  });
111
110
  }
112
-
113
111
  //#endregion
114
- export { createConsentManagerFromActor as n, createConsentManager as t };
112
+ export { createConsentManagerFromActor as n, createConsentManager as t };