@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.
- package/dist/{3dAvatarProvider-BYxFCuIv.esm.js → 3dAvatarProvider-D9H4rR6_.esm.js} +811 -880
- package/dist/Actor-iTq7YY48.d.ts +1 -0
- package/dist/{BrowserStorageProvider-CBXGCHnK.esm.js → BrowserStorageProvider-P6aUarE9.esm.js} +1 -2
- package/dist/{BrowserTimerProvider-CHloo0eQ.esm.js → BrowserTimerProvider-BXhgNxLt.esm.js} +1 -2
- package/dist/{BrowserVisibilityObserverProvider-B04zvOXW.esm.js → BrowserVisibilityObserverProvider-sJclps4C.esm.js} +1 -3
- package/dist/{Face2DProvider-TeN1Xqr0.esm.js → Face2DProvider-xWUeSJZI.esm.js} +10 -22
- package/dist/{createFaceAvatar-BjBu2CrU.d.ts → FaceDetectionProvider-BHweGBEM.d.ts} +108 -159
- package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +23 -0
- package/dist/IStorageCapability-B8IGxCwe.d.ts +131 -0
- package/dist/{ITimerCapability-G7lQg-be.esm.js → ITimerCapability-DgdDzp8G.esm.js} +1 -2
- package/dist/{Manager-DE5DydXZ.d.ts → Manager-CQQ99QOI.d.ts} +1 -0
- package/dist/{MotionSensorProvider-BkHKMCPE.esm.js → MotionSensorProvider-DYvM90IX.esm.js} +1 -2
- package/dist/{OpenViduRecordingProvider-xR5osKzW.esm.js → OpenViduRecordingProvider-Du98qevC.esm.js} +2 -4
- package/dist/{PrivacyLensProvider-CqlsCaJv.esm.js → PrivacyLensProvider-BrYSd1dr.esm.js} +2 -5
- package/dist/StateMachine-EDpYWy0i.d.ts +6 -0
- package/dist/{StreamCanvasCapture-CRk7c7u7.esm.js → StreamCanvasCapture-D2XcXCZ4.esm.js} +2 -4
- package/dist/{WasmUtilProvider-BNQ2PBjG.esm.js → WasmUtilProvider-DAshwHhX.esm.js} +38 -71
- package/dist/{addressSearch-B2NxSpHl.esm.js → addressSearch-DH-IPF-w.esm.js} +10 -21
- package/dist/ae-signature.d.ts +2 -6
- package/dist/ae-signature.esm.js +10 -11
- package/dist/antifraud.d.ts +1 -6
- package/dist/antifraud.esm.js +3 -8
- package/dist/{antifraudManager-C490m0p4.d.ts → antifraudManager-BY36bS12.d.ts} +3 -3
- package/dist/{antifraudManager-C1xnhF2Q.esm.js → antifraudManager-CL2YhiVX.esm.js} +11 -8
- package/dist/{antifraudStateMachine-BQVw46N5.esm.js → antifraudStateMachine-Bf-IiCq7.esm.js} +5 -7
- package/dist/{api-DsbUi7TO.esm.js → api-BDTZNnca.esm.js} +1 -2
- package/dist/{apiError-DkOXfFBu.esm.js → apiError-COvIGYWe.esm.js} +1 -2
- package/dist/authentication.d.ts +2 -19
- package/dist/authentication.esm.js +3 -34
- package/dist/{authenticationManager-DZXQpCjQ.esm.js → authenticationManager-DM7ttL5V.esm.js} +7 -10
- package/dist/{authenticationManager-BD81fnrn.d.ts → authenticationManager-G-k-13Fe.d.ts} +3 -4
- package/dist/{authenticationStateMachine-CJrTbLWU.esm.js → authenticationStateMachine-DiI8jfmO.esm.js} +11 -15
- package/dist/avatar.d.ts +2 -2
- package/dist/avatar.esm.js +2 -3
- package/dist/{backCameraStream-DYnfq7Hr.esm.js → backCameraStream-Heg6vA1j.esm.js} +4 -7
- package/dist/browser-DlFgHpoC-DnyrCR8r.esm.js +1513 -0
- package/dist/callback-645_omgz.d.ts +133 -0
- package/dist/{camera-B0yWS33x.esm.js → camera-BmFEyPP_.esm.js} +1 -2
- package/dist/camera.d.ts +1 -2
- package/dist/camera.esm.js +2 -6
- package/dist/{canvas-DsJa51yU.esm.js → canvas-E1zGkel4.esm.js} +1 -2
- package/dist/certificate-issuance.d.ts +34 -39
- package/dist/certificate-issuance.esm.js +4 -11
- package/dist/{certificateIssuanceStateMachine-CpewPqas.esm.js → certificateIssuanceStateMachine-Ce568YfR.esm.js} +7 -11
- package/dist/{clientLifecycle-CCJMDjFe.esm.js → clientLifecycle-DzT65Fvf.esm.js} +23 -29
- package/dist/consent.d.ts +1 -4
- package/dist/consent.esm.js +3 -8
- package/dist/{consentManager-r4MTIoV3.esm.js → consentManager-D3GyyH5u.esm.js} +5 -7
- package/dist/{consentManager-QGuw4zmH.d.ts → consentManager-DLOyIZzt.d.ts} +58 -64
- package/dist/{consentStateMachine-DnqwsZ7o.esm.js → consentStateMachine-Pc3Ez3mV.esm.js} +5 -7
- package/dist/{cpf-B9htWzDt.esm.js → cpf-BIADjddF.esm.js} +1 -2
- package/dist/cpf-ocr.d.ts +1 -5
- package/dist/cpf-ocr.esm.js +2 -8
- package/dist/{cpfOcrManager-RkeZCqSz.d.ts → cpfOcrManager-CQkUAeWO.d.ts} +21 -23
- package/dist/{cpfOcrManager-D6ZQ9kkv.esm.js → cpfOcrManager-Cwm0MesJ.esm.js} +7 -12
- package/dist/createFaceAvatar-BEj18KXi.d.ts +50 -0
- package/dist/{createFaceAvatar-B_v2At2h.esm.js → createFaceAvatar-CwVapQiu.esm.js} +5 -9
- package/dist/cross-document-data-match.d.ts +1 -5
- package/dist/cross-document-data-match.esm.js +2 -8
- package/dist/{crossDocumentDataMatchManager-DoFG_S91.esm.js → crossDocumentDataMatchManager-9rdIO8Qk.esm.js} +12 -12
- package/dist/{crossDocumentDataMatchManager-CdiqxhJm.d.ts → crossDocumentDataMatchManager-Dq8Z3SOg.d.ts} +3 -3
- package/dist/curp-validation.d.ts +1 -11
- package/dist/curp-validation.esm.js +3 -8
- package/dist/{curpValidationManager-07oV78Bn.d.ts → curpValidationManager--HSBTwOy.d.ts} +4 -6
- package/dist/{curpValidationManager-D6jt1Gs9.esm.js → curpValidationManager-C2i9Lzx9.esm.js} +11 -7
- package/dist/{curpValidationStateMachine-Dlw4qfFb.esm.js → curpValidationStateMachine-7i3TD8J2.esm.js} +22 -14
- package/dist/custom-fields.d.ts +2 -5
- package/dist/custom-fields.esm.js +24 -11
- package/dist/custom-watchlist.d.ts +1 -3
- package/dist/custom-watchlist.esm.js +11 -10
- package/dist/{customWatchlistStateMachine-D8w0mNxm.esm.js → customWatchlistStateMachine-D23XTxl2.esm.js} +5 -7
- package/dist/{dateUtils-BW6mBV6p.esm.js → dateUtils-CvG0FvK8.esm.js} +1 -2
- package/dist/{deepsightService-CV1NAkg9.esm.js → deepsightLoader-CQWGVLP0.esm.js} +62 -14
- package/dist/deepsightService-CR-CYdka.d.ts +218 -0
- package/dist/device.d.ts +0 -1
- package/dist/device.esm.js +5 -10
- package/dist/document-capture.d.ts +1 -6
- package/dist/document-capture.esm.js +3 -16
- package/dist/document-upload.d.ts +48 -55
- package/dist/document-upload.esm.js +8 -14
- package/dist/{documentCaptureManager-HNu28khr.d.ts → documentCaptureManager-Biz_PFqs.d.ts} +190 -199
- package/dist/{documentCaptureManager-pufyUaQz.esm.js → documentCaptureManager-DijbJFun.esm.js} +5 -7
- package/dist/{documentCaptureStateMachine-CaJgb_Vn.esm.js → documentCaptureStateMachine-qgsrlcVh.esm.js} +11 -15
- package/dist/dynamic-forms.d.ts +1 -4
- package/dist/dynamic-forms.esm.js +3 -10
- package/dist/{dynamicFormsManager-C3jlNlWK.esm.js → dynamicFormsManager-COik5bJ7.esm.js} +41 -7
- package/dist/{dynamicFormsManager-HQhUJCLg.d.ts → dynamicFormsManager-Dposae2l.d.ts} +3 -4
- package/dist/{dynamicFormsStateMachine-DdpJI6ne.esm.js → dynamicFormsStateMachine-BV-Fn13x.esm.js} +7 -11
- package/dist/ekyb.d.ts +4 -11
- package/dist/ekyb.esm.js +3 -20
- package/dist/{ekybManager-l67BnqxH.esm.js → ekybManager-BTcW4poN.esm.js} +17 -7
- package/dist/{ekybManager-CZUVEWMw.d.ts → ekybManager-CBX0tM04.d.ts} +4 -5
- package/dist/{ekybStateMachine-BmfNaHRF.esm.js → ekybStateMachine-DmZLm35R.esm.js} +16 -25
- package/dist/ekyc.d.ts +2 -7
- package/dist/ekyc.esm.js +3 -11
- package/dist/{ekycManager-ClRqj2rg.d.ts → ekycManager-BFpHbBoT.d.ts} +4 -5
- package/dist/{ekycManager-B_uUa1iN.esm.js → ekycManager-BSMlIpGA.esm.js} +14 -7
- package/dist/{ekycStateMachine-BD8GjdL5.esm.js → ekycStateMachine-a7oP-XWo.esm.js} +140 -201
- package/dist/electronic-signature.d.ts +2 -5
- package/dist/electronic-signature.esm.js +2 -10
- package/dist/{electronicSignatureManager-CzMj-Tjm.esm.js → electronicSignatureManager-DSZu9OHT.esm.js} +9 -14
- package/dist/email.d.ts +1 -5
- package/dist/email.esm.js +3 -10
- package/dist/{emailManager-Lv9BHgel.d.ts → emailManager-CADXW_9X.d.ts} +4 -7
- package/dist/{emailManager-BsynjdWX.esm.js → emailManager-c-mDLieD.esm.js} +76 -12
- package/dist/{emailStateMachine-Z-Jf4qOc.esm.js → emailStateMachine-ChNwY22u.esm.js} +7 -9
- package/dist/{endpoints-CwrFQfW7.esm.js → endpoints-DLQ0g4-R.esm.js} +33 -2
- package/dist/{events-aeCkGlnn.esm.js → events-Dy8PyVO5.esm.js} +4 -168
- package/dist/events.d.ts +1 -9
- package/dist/events.esm.js +2 -4
- package/dist/extensibility.d.ts +30 -42
- package/dist/extensibility.esm.js +29 -87
- package/dist/{externalFetch-hvmz_npP.esm.js → externalFetch-BKBThAUC.esm.js} +2 -4
- package/dist/face-match.d.ts +1 -5
- package/dist/face-match.esm.js +3 -8
- package/dist/{faceCaptureManagerFactory-CGFQg1kl.d.ts → faceCaptureManagerFactory-BWD3O4Eg.d.ts} +50 -14
- package/dist/{faceCaptureManagerFactory-BIH53wvb.esm.js → faceCaptureManagerFactory-CZLSziU3.esm.js} +49 -28
- package/dist/{faceCaptureSetup-shrwrZaK.esm.js → faceCaptureSetup-__lVldUG.esm.js} +12 -15
- package/dist/{faceMatchManager-BrNYVk-p.esm.js → faceMatchManager-B7jlv77Q.esm.js} +24 -7
- package/dist/{faceMatchManager-X2eQo0o-.d.ts → faceMatchManager-CJQG1W1u.d.ts} +4 -4
- package/dist/{faceMatchStateMachine-CbeacEqd.esm.js → faceMatchStateMachine-DD7FxtUj.esm.js} +6 -9
- package/dist/field-comparison.d.ts +1 -4
- package/dist/field-comparison.esm.js +2 -7
- package/dist/{fieldComparisonManager-BxhleGNI.esm.js → fieldComparisonManager-5LlxYad-.esm.js} +6 -11
- package/dist/{fieldComparisonManager-Dg03uIX1.d.ts → fieldComparisonManager-CBvEGxFx.d.ts} +3 -5
- package/dist/fiscal-qr.d.ts +1 -6
- package/dist/fiscal-qr.esm.js +14 -29
- package/dist/flow-events.d.ts +2 -9
- package/dist/flow.d.ts +13 -19
- package/dist/flow.esm.js +109 -34
- package/dist/{flowCompletionService-qf-s8Uxl.esm.js → flowCompletionService-DQSC7Kso.esm.js} +4 -6
- package/dist/{flowServices-CJXaWFlZ.esm.js → flowServices-BQEUaMg6.esm.js} +10 -11
- package/dist/geolocation.d.ts +1 -4
- package/dist/geolocation.esm.js +3 -9
- package/dist/{geolocationManager-CAtyY00b.d.ts → geolocationManager-BWhRzBjk.d.ts} +3 -4
- package/dist/{geolocationManager-4j_DV3jW.esm.js → geolocationManager-D58ehBHU.esm.js} +19 -8
- package/dist/{geolocationStateMachine-BE72KBAX.esm.js → geolocationStateMachine-BorcBNZ6.esm.js} +6 -8
- package/dist/getBrowser-Cb8Zgrgp.esm.js +7 -0
- package/dist/{getDeviceClass-BdgmyOOu.esm.js → getDeviceClass-CeBiEayS.esm.js} +1 -2
- package/dist/{getDeviceClass-DsNb6nEl.esm.js → getDeviceClass-CkgnSJel.esm.js} +3 -5
- package/dist/{getBrowser-CZ66VtC7.esm.js → getParsedUserAgent-pJjATANs.esm.js} +109 -30
- package/dist/government-validation.d.ts +3 -6
- package/dist/government-validation.esm.js +7 -13
- package/dist/{governmentValidationStateMachine-BfZ_WQC0.esm.js → governmentValidationStateMachine-DkakcwTj.esm.js} +8 -11
- package/dist/home.d.ts +14 -22
- package/dist/home.esm.js +3 -8
- package/dist/http.d.ts +0 -1
- package/dist/http.esm.js +2 -4
- package/dist/id-ocr.d.ts +1 -5
- package/dist/id-ocr.esm.js +3 -9
- package/dist/id-verification.d.ts +1 -4
- package/dist/id-verification.esm.js +3 -8
- package/dist/id.d.ts +105 -18
- package/dist/id.esm.js +40 -50
- package/dist/{idCaptureDefaults-Df8XKQ0o.esm.js → idCaptureDefaults-Dzfws4i0.esm.js} +9 -16
- package/dist/{idCaptureManager-Fr9c67Rx.esm.js → idCaptureManager-BGAdNNVq.esm.js} +117 -23
- package/dist/{idCaptureManager-BXG8kVMW.d.ts → idCaptureManager-CSGbGORT.d.ts} +12 -113
- package/dist/{idCaptureStateMachine-CpjwdaYN.esm.js → idCaptureStateMachine-DYgckwCg.esm.js} +56 -195
- package/dist/{idOcrManager-DLF3J2cx.esm.js → idOcrManager-niAg-BE0.esm.js} +4 -7
- package/dist/{idOcrManager-DnhdGuVX.d.ts → idOcrManager-vXa7GdRh.d.ts} +60 -66
- package/dist/{idOcrStateMachine-BPXTUjNY.esm.js → idOcrStateMachine-CpZZL411.esm.js} +13 -18
- package/dist/{idVerificationManager-BD2FO09A.d.ts → idVerificationManager-BB4Pj_N6.d.ts} +31 -35
- package/dist/{idVerificationManager-23kPMn7T.esm.js → idVerificationManager-CujJqsiX.esm.js} +4 -7
- package/dist/{idVerificationStateMachine-C1eMEu_Y.esm.js → idVerificationStateMachine-D-1GlgC5.esm.js} +5 -7
- package/dist/identity-reuse.d.ts +1 -4
- package/dist/identity-reuse.esm.js +3 -8
- package/dist/{identityReuseManager-Ct-9qYpC.esm.js → identityReuseManager-DHfJZTVo.esm.js} +24 -7
- package/dist/{identityReuseManager-DOufEjLa.d.ts → identityReuseManager-aTyLyYrr.d.ts} +38 -43
- package/dist/{identityReuseStateMachine-Cqc-NwEQ.esm.js → identityReuseStateMachine-CM45EBrb.esm.js} +6 -8
- package/dist/index-B8weJxmL.d.ts +1 -0
- package/dist/index-BKOWUhxG.d.ts +258 -0
- package/dist/{index-WMHgnbC1.d.ts → index-CKbmDFNq.d.ts} +160 -165
- package/dist/{index-Bk5nhSg2.d.ts → index-DQ2fdqoI.d.ts} +3 -3
- package/dist/index.d.ts +1 -3
- package/dist/index.esm.js +2 -15
- package/dist/{invokeOnCaptureCallback-Bs09kdY_.esm.js → invokeOnCaptureCallback-B-QfsCQY.esm.js} +2 -4
- package/dist/{lib-DvZ6nVvW.esm.js → lib-DAyUtOTj.esm.js} +1510 -1589
- package/dist/mandatory-consent.d.ts +1 -10
- package/dist/mandatory-consent.esm.js +3 -8
- package/dist/{mandatoryConsentManager-D0qQHcl2.d.ts → mandatoryConsentManager-BlB4bX6_.d.ts} +59 -65
- package/dist/{mandatoryConsentManager-Bh_n0uEP.esm.js → mandatoryConsentManager-CQC-zA4P.esm.js} +4 -7
- package/dist/{mandatoryConsentStateMachine-DYeKH1L7.esm.js → mandatoryConsentStateMachine-BN4Obfl7.esm.js} +5 -7
- package/dist/{mediaRecorderOptions-BIn657lu.esm.js → mediaRecorderOptions-BhSZDDNb.esm.js} +2 -4
- package/dist/{mediapipeShared-B-RiRyLN.esm.js → mediapipeShared-B0iQQ5k7.esm.js} +2 -6
- package/dist/{onDeviceFaceResults-CJuDp67S.esm.js → onDeviceFaceResults-LRTvBL7m.esm.js} +18 -84
- package/dist/openviduLazy-CCDpFWg1.esm.js +10 -0
- package/dist/{otp-D_9QPNbs.d.ts → otp-CEWfTj9v.d.ts} +0 -1
- package/dist/{otp-Bbe_izFJ.esm.js → otp-D2k3PeSL.esm.js} +3 -14
- package/dist/{permissionGuards-CayfS8OY.esm.js → permissionGuards-DguX5vFY.esm.js} +2 -4
- package/dist/{permissionServices-B7lD6fiG.esm.js → permissionServices-DwNCUB2I.esm.js} +4 -9
- package/dist/personhood.d.ts +13 -20
- package/dist/personhood.esm.js +153 -72
- package/dist/phone.d.ts +1 -5
- package/dist/phone.esm.js +3 -10
- package/dist/{phoneManager-85eRUhJD.d.ts → phoneManager-BBU8Lq0O.d.ts} +4 -7
- package/dist/{phoneManager-Byive8Xl.esm.js → phoneManager-KbcmjEeH.esm.js} +82 -12
- package/dist/{phoneStateMachine-BlYF4nKx.esm.js → phoneStateMachine-wDQtaT38.esm.js} +7 -9
- package/dist/{platform-BoeUeUrV.esm.js → platform-wmV7oTAJ.esm.js} +1 -9
- package/dist/qe-signature.d.ts +2 -6
- package/dist/qe-signature.esm.js +10 -11
- package/dist/{recordingService-BzQUrf40.esm.js → recordingService-TuBlOjvH.esm.js} +15 -19
- package/dist/redirect-to-mobile.d.ts +1 -6
- package/dist/redirect-to-mobile.esm.js +3 -10
- package/dist/{redirectToMobileManager-DrxIfZr8.esm.js → redirectToMobileManager-EGXGKftv.esm.js} +25 -8
- package/dist/{redirectToMobileManager-2TtzpSOw.d.ts → redirectToMobileManager-NVQM3o5P.d.ts} +3 -4
- package/dist/{redirectToMobileStateMachine-BetR6r8p.esm.js → redirectToMobileStateMachine-D-8ipBq2.esm.js} +7 -9
- package/dist/rolldown-runtime-FZ4Itg2g.esm.js +42 -0
- package/dist/{runChildModule-FH_tixbR.esm.js → runChildModule-Crz1nHwJ.esm.js} +5 -9
- package/dist/selfie.d.ts +7 -20
- package/dist/selfie.esm.js +40 -46
- package/dist/{selfieManager-CdUnYjmt.esm.js → selfieManager-C4_2DgTF.esm.js} +7 -10
- package/dist/{selfieManager-d7nkO-UP.d.ts → selfieManager-CN8wJ14s.d.ts} +3 -4
- package/dist/{selfieStateMachine-zz4WqziP.esm.js → selfieStateMachine-ODRceav2.esm.js} +15 -20
- package/dist/selfieUploadService-B4LnSIf6.esm.js +62 -0
- package/dist/session-CQ2x2aLl.esm.js +1 -0
- package/dist/session.d.ts +2 -9
- package/dist/session.esm.js +153 -15
- package/dist/sessionInitializer-Cjpnacyg.esm.js +1801 -0
- package/dist/{setup-BxB6QUto.d.ts → setup-CgBvqGWw.d.ts} +2 -4
- package/dist/{setup-DCyhfufM.esm.js → setup-Hyb_Yiuu.esm.js} +126 -18
- package/dist/signature.d.ts +2 -6
- package/dist/signature.esm.js +6 -9
- package/dist/{signatureStateMachine-U8ewxW1t.esm.js → signatureStateMachine-BmKPC5A9.esm.js} +5 -7
- package/dist/spawn-D9jgw9pW.d.ts +1441 -0
- package/dist/{stats-BVy52wLy.esm.js → stats-Bu6bL_CX.esm.js} +3 -5
- package/dist/stats.esm.js +2 -5
- package/dist/topLevelStateName-B5i2avbh.esm.js +41 -0
- package/dist/{tri-Calc36Ny.esm.js → tri-N-xlKhZK.esm.js} +3 -7
- package/dist/tri.d.ts +2 -2
- package/dist/tri.esm-BIjHhBJ2.esm.js +2620 -0
- package/dist/tri.esm.js +2 -4
- package/dist/trust-graph.d.ts +4 -5
- package/dist/trust-graph.esm.js +13 -9
- package/dist/{types-Db2ooXIu.esm.js → types-BN5RPPIZ.esm.js} +1 -2
- package/dist/{types-ZezaAAbn.d.ts → types-BfgmV7s7.d.ts} +2 -2
- package/dist/{types-NizIIgLD.d.ts → types-BnEHzP1K.d.ts} +3 -5
- package/dist/{types-DCOl8zy6.d.ts → types-Vb4P9ovf.d.ts} +1 -3
- package/dist/{types-C0D4Brd6.d.ts → types-ctqh-iS4.d.ts} +80 -6
- package/dist/{urlUtils-CpiYwn7w.esm.js → urlUtils-D6phjq1-.esm.js} +1 -2
- package/dist/{video-DXf5H9rY.esm.js → video-BtSWtHy1.esm.js} +1 -2
- package/dist/video-selfie.d.ts +10 -15
- package/dist/video-selfie.esm.js +114 -106
- package/dist/{videoSelfieSteps-DAky5sq5.esm.js → videoSelfieSteps-DHcibfYH.esm.js} +1 -2
- package/dist/wasm.d.ts +2 -4
- package/dist/wasm.esm.js +3 -15
- package/dist/watchlist-for-business.d.ts +1 -3
- package/dist/watchlist-for-business.esm.js +9 -9
- package/dist/watchlist.d.ts +1 -3
- package/dist/watchlist.esm.js +11 -10
- package/dist/{watchlistForBusinessStateMachine-Bbn_dcVT.esm.js → watchlistForBusinessStateMachine-BC_-3fJs.esm.js} +5 -7
- package/dist/{watchlistStateMachine-SZ-1xpe4.esm.js → watchlistStateMachine-CL2j3aRl.esm.js} +5 -7
- package/dist/workflow.d.ts +124 -146
- package/dist/workflow.esm.js +75 -80
- package/dist/xstate-actors.esm-CtI5S0f4.esm.js +310 -0
- package/dist/{xstate.esm-nY3M5UYm.esm.js → xstate.esm-Cf4e0Cfd.esm.js} +136 -610
- package/package.json +2 -2
- package/dist/Actor-CdjYVucI.d.ts +0 -2
- package/dist/FaceDetectionProvider-D-zCGbS9.d.ts +0 -119
- package/dist/IWasmUtilCapability-CuiW_6d1.d.ts +0 -150
- package/dist/StateMachine-BTkXO3Na.d.ts +0 -2
- package/dist/StreamCanvasCapture-D9u4hwul.d.ts +0 -42
- package/dist/ae-signature-eQWjmzE8.esm.js +0 -12
- package/dist/browser-DlFgHpoC-BTB6a7n-.esm.js +0 -1425
- package/dist/browserSimulation-CQjwFn0Z.esm.js +0 -1256
- package/dist/canvas-COIxuirO.d.ts +0 -112
- package/dist/chunk-CIKcdghV.esm.js +0 -49
- package/dist/deepsightLoader-BppeThau.esm.js +0 -67
- package/dist/deepsightService-mkIAy_Eq.d.ts +0 -69
- package/dist/http-C3Pq6njG.esm.js +0 -0
- package/dist/index-BD6ZVw2f.d.ts +0 -93
- package/dist/openviduLazy-CuGqb-8Q.esm.js +0 -12
- package/dist/openviduLazy-DNb0xHJp.esm.js +0 -3
- package/dist/qe-signature-D9XM2d-F.esm.js +0 -12
- package/dist/session--C2lbjK5.esm.js +0 -152
- package/dist/sessionInitializer-Dx_oPfHP.esm.js +0 -548
- package/dist/tri.esm-BDhptA8x.esm.js +0 -2593
- /package/dist/{IVisibilityObserverCapability-C3tAkSfF.d.ts → IVisibilityObserverCapability-D4tvIB5v.d.ts} +0 -0
- /package/dist/{camera-DRH7co71.d.ts → camera-9wWD-pwg.d.ts} +0 -0
- /package/dist/{flowCompletionService-DGcE_OvO.d.ts → flowCompletionService-BlAHsKyv.d.ts} +0 -0
- /package/dist/{types-DawqnFVn.d.ts → types-BT-aiBYV.d.ts} +0 -0
- /package/dist/{types-B6KIOo6S.d.ts → types-Bk_6dmDa.d.ts} +0 -0
- /package/dist/{warmup-CE9Fhs6N.d.ts → warmup-Dv2alr2-.d.ts} +0 -0
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./Manager-DE5DydXZ.js";
|
|
3
|
-
import "./Actor-CdjYVucI.js";
|
|
4
|
-
import "./camera-DRH7co71.js";
|
|
5
|
-
import "./types-DCOl8zy6.js";
|
|
6
|
-
import "./types-B6KIOo6S.js";
|
|
7
|
-
import "./canvas-COIxuirO.js";
|
|
8
|
-
import "./createFaceAvatar-BjBu2CrU.js";
|
|
9
|
-
import "./types-NizIIgLD.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-D0qQHcl2.js";
|
|
1
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-BlB4bX6_.js";
|
|
11
2
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
|
|
4
|
-
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
5
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-DYeKH1L7.esm.js";
|
|
6
|
-
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-Bh_n0uEP.esm.js";
|
|
7
|
-
|
|
8
|
-
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
|
1
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BN4Obfl7.esm.js";
|
|
2
|
+
import { n as createMandatoryConsentManagerFromActor, t as createMandatoryConsentManager } from "./mandatoryConsentManager-CQC-zA4P.esm.js";
|
|
3
|
+
export { createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-D0qQHcl2.d.ts → mandatoryConsentManager-BlB4bX6_.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
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, i as ActorRefFrom, 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";
|
|
5
|
+
import { a as RegulationTypes } from "./types-BnEHzP1K.js";
|
|
6
6
|
//#region src/modules/mandatory-consent/types.d.ts
|
|
7
7
|
type RegulatoryConsentType = 'MANDATORY' | 'ML';
|
|
8
8
|
type MandatoryConsentConfig = {
|
|
@@ -32,7 +32,7 @@ type MandatoryConsentContext = {
|
|
|
32
32
|
type MandatoryConsentInput = {
|
|
33
33
|
config: MandatoryConsentConfig;
|
|
34
34
|
};
|
|
35
|
-
declare const mandatoryConsentMachine:
|
|
35
|
+
declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "TOGGLE";
|
|
@@ -45,125 +45,123 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
45
45
|
} | {
|
|
46
46
|
type: "RESET";
|
|
47
47
|
}, {
|
|
48
|
-
[x: string]:
|
|
48
|
+
[x: string]: ActorRefFromLogic<PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
49
49
|
config: MandatoryConsentConfig;
|
|
50
|
-
},
|
|
50
|
+
}, EventObject>> | ActorRefFromLogic<PromiseActorLogic<void, {
|
|
51
51
|
consentId: string;
|
|
52
52
|
isSigned: boolean;
|
|
53
|
-
},
|
|
54
|
-
},
|
|
53
|
+
}, EventObject>> | undefined;
|
|
54
|
+
}, Values<{
|
|
55
55
|
fetchConsent: {
|
|
56
56
|
src: "fetchConsent";
|
|
57
|
-
logic:
|
|
57
|
+
logic: PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
58
58
|
config: MandatoryConsentConfig;
|
|
59
|
-
},
|
|
59
|
+
}, EventObject>;
|
|
60
60
|
id: string | undefined;
|
|
61
61
|
};
|
|
62
62
|
submitConsent: {
|
|
63
63
|
src: "submitConsent";
|
|
64
|
-
logic:
|
|
64
|
+
logic: PromiseActorLogic<void, {
|
|
65
65
|
consentId: string;
|
|
66
66
|
isSigned: boolean;
|
|
67
|
-
},
|
|
67
|
+
}, EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
};
|
|
70
|
-
}>,
|
|
70
|
+
}>, Values<{
|
|
71
71
|
setConsent: {
|
|
72
72
|
type: "setConsent";
|
|
73
|
-
params:
|
|
73
|
+
params: NonReducibleUnknown;
|
|
74
74
|
};
|
|
75
75
|
setError: {
|
|
76
76
|
type: "setError";
|
|
77
|
-
params:
|
|
77
|
+
params: NonReducibleUnknown;
|
|
78
78
|
};
|
|
79
79
|
clearError: {
|
|
80
80
|
type: "clearError";
|
|
81
|
-
params:
|
|
82
|
-
};
|
|
83
|
-
resetContext: {
|
|
84
|
-
type: "resetContext";
|
|
85
|
-
params: xstate768.NonReducibleUnknown;
|
|
81
|
+
params: NonReducibleUnknown;
|
|
86
82
|
};
|
|
87
83
|
toggleSigned: {
|
|
88
84
|
type: "toggleSigned";
|
|
89
|
-
params:
|
|
85
|
+
params: NonReducibleUnknown;
|
|
86
|
+
};
|
|
87
|
+
resetContext: {
|
|
88
|
+
type: "resetContext";
|
|
89
|
+
params: NonReducibleUnknown;
|
|
90
90
|
};
|
|
91
91
|
}>, {
|
|
92
92
|
type: "canSubmit";
|
|
93
93
|
params: unknown;
|
|
94
|
-
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput,
|
|
94
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
|
|
95
95
|
readonly id: "mandatoryConsent";
|
|
96
96
|
readonly initial: "idle";
|
|
97
|
-
readonly context: ({
|
|
98
|
-
input
|
|
99
|
-
}: {
|
|
97
|
+
readonly context: ({ input }: {
|
|
100
98
|
spawn: {
|
|
101
99
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
102
100
|
src: "fetchConsent";
|
|
103
|
-
logic:
|
|
101
|
+
logic: PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
104
102
|
config: MandatoryConsentConfig;
|
|
105
|
-
},
|
|
103
|
+
}, EventObject>;
|
|
106
104
|
id: string | undefined;
|
|
107
|
-
} extends infer T ? T extends {
|
|
105
|
+
} extends (infer T) ? T extends {
|
|
108
106
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
107
|
+
logic: PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
110
108
|
config: MandatoryConsentConfig;
|
|
111
|
-
},
|
|
109
|
+
}, EventObject>;
|
|
112
110
|
id: string | undefined;
|
|
113
111
|
} ? T extends {
|
|
114
112
|
src: TSrc;
|
|
115
|
-
} ?
|
|
113
|
+
} ? ConditionalRequired<[options?: ({
|
|
116
114
|
id?: T["id"] | undefined;
|
|
117
115
|
systemId?: string;
|
|
118
|
-
input?:
|
|
116
|
+
input?: InputFrom<T["logic"]> | undefined;
|
|
119
117
|
syncSnapshot?: boolean;
|
|
120
|
-
} & { [K in
|
|
118
|
+
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
121
119
|
src: "submitConsent";
|
|
122
|
-
logic:
|
|
120
|
+
logic: PromiseActorLogic<void, {
|
|
123
121
|
consentId: string;
|
|
124
122
|
isSigned: boolean;
|
|
125
|
-
},
|
|
123
|
+
}, EventObject>;
|
|
126
124
|
id: string | undefined;
|
|
127
|
-
} extends infer T_1 ? T_1 extends {
|
|
125
|
+
} extends (infer T_1) ? T_1 extends {
|
|
128
126
|
src: "submitConsent";
|
|
129
|
-
logic:
|
|
127
|
+
logic: PromiseActorLogic<void, {
|
|
130
128
|
consentId: string;
|
|
131
129
|
isSigned: boolean;
|
|
132
|
-
},
|
|
130
|
+
}, EventObject>;
|
|
133
131
|
id: string | undefined;
|
|
134
132
|
} ? T_1 extends {
|
|
135
133
|
src: TSrc;
|
|
136
|
-
} ?
|
|
134
|
+
} ? ConditionalRequired<[options?: ({
|
|
137
135
|
id?: T_1["id"] | undefined;
|
|
138
136
|
systemId?: string;
|
|
139
|
-
input?:
|
|
137
|
+
input?: InputFrom<T_1["logic"]> | undefined;
|
|
140
138
|
syncSnapshot?: boolean;
|
|
141
|
-
} & { [K_1 in
|
|
139
|
+
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never)): ActorRefFromLogic<GetConcreteByKey<Values<{
|
|
142
140
|
fetchConsent: {
|
|
143
141
|
src: "fetchConsent";
|
|
144
|
-
logic:
|
|
142
|
+
logic: PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
145
143
|
config: MandatoryConsentConfig;
|
|
146
|
-
},
|
|
144
|
+
}, EventObject>;
|
|
147
145
|
id: string | undefined;
|
|
148
146
|
};
|
|
149
147
|
submitConsent: {
|
|
150
148
|
src: "submitConsent";
|
|
151
|
-
logic:
|
|
149
|
+
logic: PromiseActorLogic<void, {
|
|
152
150
|
consentId: string;
|
|
153
151
|
isSigned: boolean;
|
|
154
|
-
},
|
|
152
|
+
}, EventObject>;
|
|
155
153
|
id: string | undefined;
|
|
156
154
|
};
|
|
157
155
|
}>, "src", TSrc>["logic"]>;
|
|
158
|
-
<TLogic extends
|
|
156
|
+
<TLogic extends AnyActorLogic>(src: TLogic, ...[options]: ConditionalRequired<[options?: ({
|
|
159
157
|
id?: never;
|
|
160
158
|
systemId?: string;
|
|
161
|
-
input?:
|
|
159
|
+
input?: InputFrom<TLogic> | undefined;
|
|
162
160
|
syncSnapshot?: boolean;
|
|
163
|
-
} & { [K in
|
|
161
|
+
} & { [K in RequiredLogicInput<TLogic>]: unknown; }) | undefined], IsNotNever<RequiredLogicInput<TLogic>>>): ActorRefFromLogic<TLogic>;
|
|
164
162
|
};
|
|
165
163
|
input: MandatoryConsentInput;
|
|
166
|
-
self:
|
|
164
|
+
self: ActorRef<MachineSnapshot<MandatoryConsentContext, {
|
|
167
165
|
type: "LOAD";
|
|
168
166
|
} | {
|
|
169
167
|
type: "TOGGLE";
|
|
@@ -175,7 +173,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
175
173
|
type: "RETRY";
|
|
176
174
|
} | {
|
|
177
175
|
type: "RESET";
|
|
178
|
-
}, Record<string,
|
|
176
|
+
}, Record<string, AnyActorRef | undefined>, StateValue, string, unknown, any, any>, {
|
|
179
177
|
type: "LOAD";
|
|
180
178
|
} | {
|
|
181
179
|
type: "TOGGLE";
|
|
@@ -187,7 +185,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
187
185
|
type: "RETRY";
|
|
188
186
|
} | {
|
|
189
187
|
type: "RESET";
|
|
190
|
-
},
|
|
188
|
+
}, AnyEventObject>;
|
|
191
189
|
}) => {
|
|
192
190
|
config: MandatoryConsentConfig;
|
|
193
191
|
consent: undefined;
|
|
@@ -207,9 +205,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
207
205
|
readonly invoke: {
|
|
208
206
|
readonly id: "fetchConsent";
|
|
209
207
|
readonly src: "fetchConsent";
|
|
210
|
-
readonly input: ({
|
|
211
|
-
context
|
|
212
|
-
}: {
|
|
208
|
+
readonly input: ({ context }: {
|
|
213
209
|
context: MandatoryConsentContext;
|
|
214
210
|
event: {
|
|
215
211
|
type: "LOAD";
|
|
@@ -224,7 +220,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
224
220
|
} | {
|
|
225
221
|
type: "RESET";
|
|
226
222
|
};
|
|
227
|
-
self:
|
|
223
|
+
self: ActorRef<MachineSnapshot<MandatoryConsentContext, {
|
|
228
224
|
type: "LOAD";
|
|
229
225
|
} | {
|
|
230
226
|
type: "TOGGLE";
|
|
@@ -236,7 +232,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
236
232
|
type: "RETRY";
|
|
237
233
|
} | {
|
|
238
234
|
type: "RESET";
|
|
239
|
-
}, Record<string,
|
|
235
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
240
236
|
type: "LOAD";
|
|
241
237
|
} | {
|
|
242
238
|
type: "TOGGLE";
|
|
@@ -248,7 +244,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
248
244
|
type: "RETRY";
|
|
249
245
|
} | {
|
|
250
246
|
type: "RESET";
|
|
251
|
-
},
|
|
247
|
+
}, AnyEventObject>;
|
|
252
248
|
}) => {
|
|
253
249
|
config: MandatoryConsentConfig;
|
|
254
250
|
};
|
|
@@ -284,9 +280,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
284
280
|
readonly invoke: {
|
|
285
281
|
readonly id: "submitConsent";
|
|
286
282
|
readonly src: "submitConsent";
|
|
287
|
-
readonly input: ({
|
|
288
|
-
context
|
|
289
|
-
}: {
|
|
283
|
+
readonly input: ({ context }: {
|
|
290
284
|
context: MandatoryConsentContext;
|
|
291
285
|
event: {
|
|
292
286
|
type: "LOAD";
|
|
@@ -301,7 +295,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
301
295
|
} | {
|
|
302
296
|
type: "RESET";
|
|
303
297
|
};
|
|
304
|
-
self:
|
|
298
|
+
self: ActorRef<MachineSnapshot<MandatoryConsentContext, {
|
|
305
299
|
type: "LOAD";
|
|
306
300
|
} | {
|
|
307
301
|
type: "TOGGLE";
|
|
@@ -313,7 +307,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
313
307
|
type: "RETRY";
|
|
314
308
|
} | {
|
|
315
309
|
type: "RESET";
|
|
316
|
-
}, Record<string,
|
|
310
|
+
}, Record<string, AnyActorRef>, StateValue, string, unknown, any, any>, {
|
|
317
311
|
type: "LOAD";
|
|
318
312
|
} | {
|
|
319
313
|
type: "TOGGLE";
|
|
@@ -325,7 +319,7 @@ declare const mandatoryConsentMachine: xstate768.StateMachine<MandatoryConsentCo
|
|
|
325
319
|
type: "RETRY";
|
|
326
320
|
} | {
|
|
327
321
|
type: "RESET";
|
|
328
|
-
},
|
|
322
|
+
}, AnyEventObject>;
|
|
329
323
|
}) => {
|
|
330
324
|
consentId: string;
|
|
331
325
|
isSigned: boolean;
|
package/dist/{mandatoryConsentManager-Bh_n0uEP.esm.js → mandatoryConsentManager-CQC-zA4P.esm.js}
RENAMED
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames,
|
|
2
|
-
import {
|
|
3
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
4
|
-
|
|
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 { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BN4Obfl7.esm.js";
|
|
5
4
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
6
5
|
function createMandatoryConsentActor(options) {
|
|
7
6
|
return createActor(mandatoryConsentMachine, { input: { config: options.config } }).start();
|
|
8
7
|
}
|
|
9
|
-
|
|
10
8
|
//#endregion
|
|
11
9
|
//#region src/modules/mandatory-consent/mandatoryConsentManager.ts
|
|
12
10
|
function mapState(snapshot) {
|
|
@@ -84,6 +82,5 @@ function createMandatoryConsentManagerFromActor(actor) {
|
|
|
84
82
|
instrumentation: createManagerInstrumentation(eventModuleNames.mlConsent)
|
|
85
83
|
});
|
|
86
84
|
}
|
|
87
|
-
|
|
88
85
|
//#endregion
|
|
89
|
-
export { createMandatoryConsentManagerFromActor as n, createMandatoryConsentManager as t };
|
|
86
|
+
export { createMandatoryConsentManagerFromActor as n, createMandatoryConsentManager as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import {
|
|
4
|
-
|
|
1
|
+
import { t as api } 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
5
|
//#region src/modules/mandatory-consent/mandatoryConsentServices.ts
|
|
6
6
|
async function fetchMandatoryConsent(regulationType, language, type, signal) {
|
|
7
7
|
const res = await api.get(endpoints.getConsents, {
|
|
@@ -19,7 +19,6 @@ async function submitMandatoryConsent(params, signal) {
|
|
|
19
19
|
const res = await api.post(endpoints.submitMlConsent, params, { signal });
|
|
20
20
|
if (!res.ok) throw new Error(`POST ${endpoints.submitMlConsent} failed: ${res.status} ${res.statusText}`);
|
|
21
21
|
}
|
|
22
|
-
|
|
23
22
|
//#endregion
|
|
24
23
|
//#region src/modules/mandatory-consent/mandatoryConsentStateMachine.ts
|
|
25
24
|
const mandatoryConsentMachine = setup({
|
|
@@ -121,6 +120,5 @@ const mandatoryConsentMachine = setup({
|
|
|
121
120
|
closed: { type: "final" }
|
|
122
121
|
}
|
|
123
122
|
});
|
|
124
|
-
|
|
125
123
|
//#endregion
|
|
126
|
-
export { mandatoryConsentMachine as t };
|
|
124
|
+
export { mandatoryConsentMachine as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { r as isIOS } from "./platform-
|
|
2
|
-
|
|
1
|
+
import { r as isIOS } from "./platform-wmV7oTAJ.esm.js";
|
|
3
2
|
//#region ../infra/src/media/mediaRecorderOptions.ts
|
|
4
3
|
/**
|
|
5
4
|
* Picks a `MediaRecorder` mime type the current browser actually supports,
|
|
@@ -37,6 +36,5 @@ function getAdaptiveMediaRecorderOptions() {
|
|
|
37
36
|
bitsPerSecond: 5e5
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
|
-
|
|
41
39
|
//#endregion
|
|
42
|
-
export { getSupportedMediaRecorderMimeType as n, getAdaptiveMediaRecorderOptions as t };
|
|
40
|
+
export { getSupportedMediaRecorderMimeType as n, getAdaptiveMediaRecorderOptions as t };
|
|
@@ -52,16 +52,12 @@ function asRvfc(video) {
|
|
|
52
52
|
const v = video;
|
|
53
53
|
return typeof v.requestVideoFrameCallback === "function" && typeof v.cancelVideoFrameCallback === "function" ? v : null;
|
|
54
54
|
}
|
|
55
|
-
const REF_FRAME_MS = 1e3 / 30;
|
|
56
|
-
/** Clamp on the EMA delta so a frame stall can't over-snap the smoother. */
|
|
57
|
-
const MAX_EMA_DT_MS = 100;
|
|
58
55
|
/** Frame-rate-independent EMA factor for a 30 fps-authored `refAlpha` over `dtMs`. */
|
|
59
56
|
function dtAlpha(refAlpha, dtMs) {
|
|
60
57
|
if (refAlpha <= 0) return 0;
|
|
61
58
|
if (refAlpha >= 1) return 1;
|
|
62
|
-
const tau = -
|
|
59
|
+
const tau = -33.333333333333336 / Math.log(1 - refAlpha);
|
|
63
60
|
return 1 - Math.exp(-dtMs / tau);
|
|
64
61
|
}
|
|
65
|
-
|
|
66
62
|
//#endregion
|
|
67
|
-
export {
|
|
63
|
+
export { createFaceLandmarker as n, dtAlpha as r, asRvfc as t };
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { a as mlWasmJSApi_default,
|
|
2
|
-
import { r as getToken, t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { t as addDeviceStats } from "./stats-
|
|
5
|
-
import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-
|
|
6
|
-
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-
|
|
7
|
-
import { t as sleep } from "./ITimerCapability-
|
|
8
|
-
import { t as IncodeCanvas } from "./canvas-
|
|
9
|
-
import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-
|
|
10
|
-
import { t as getDeviceClass } from "./getDeviceClass-DsNb6nEl.esm.js";
|
|
11
|
-
import { t as FACE_ERROR_CODES } from "./types-Db2ooXIu.esm.js";
|
|
12
|
-
|
|
1
|
+
import { a as mlWasmJSApi_default, n as BaseWasmProvider } from "./WasmUtilProvider-DAshwHhX.esm.js";
|
|
2
|
+
import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
4
|
+
import { t as addDeviceStats } from "./stats-Bu6bL_CX.esm.js";
|
|
5
|
+
import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-wmV7oTAJ.esm.js";
|
|
6
|
+
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
7
|
+
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
8
|
+
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
9
|
+
import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-Heg6vA1j.esm.js";
|
|
13
10
|
//#region ../infra/src/scheduling/yieldUntilNextPaint.ts
|
|
14
11
|
/**
|
|
15
12
|
* Resolves after the browser has had a chance to commit and paint a queued
|
|
@@ -57,7 +54,6 @@ function yieldUntilNextPaint() {
|
|
|
57
54
|
setTimeout(done, 100);
|
|
58
55
|
});
|
|
59
56
|
}
|
|
60
|
-
|
|
61
57
|
//#endregion
|
|
62
58
|
//#region ../infra/src/providers/wasm/FaceDetectionProvider.ts
|
|
63
59
|
/**
|
|
@@ -76,7 +72,7 @@ function tryDeleteEmbindHandle(value) {
|
|
|
76
72
|
}
|
|
77
73
|
var FaceDetectionProvider = class extends BaseWasmProvider {
|
|
78
74
|
constructor() {
|
|
79
|
-
super(
|
|
75
|
+
super(4);
|
|
80
76
|
this.defaultThresholds = {
|
|
81
77
|
frameMinX: 0,
|
|
82
78
|
frameMinY: 0,
|
|
@@ -120,10 +116,10 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
|
|
|
120
116
|
}
|
|
121
117
|
async initialize(config) {
|
|
122
118
|
if (config.videoSelfie === true) {
|
|
123
|
-
this.pipelineType =
|
|
119
|
+
this.pipelineType = 3;
|
|
124
120
|
await this.initializeBase(config, "videoSelfie");
|
|
125
121
|
} else if (config.useOnDeviceWorkflow === true) {
|
|
126
|
-
this.pipelineType =
|
|
122
|
+
this.pipelineType = 5;
|
|
127
123
|
await this.initializeBase(config, "onDeviceSelfie");
|
|
128
124
|
} else await this.initializeBase(config, "selfie");
|
|
129
125
|
this.applyDefaults(config.autocaptureInterval ?? 0);
|
|
@@ -258,7 +254,6 @@ var FaceDetectionProvider = class extends BaseWasmProvider {
|
|
|
258
254
|
};
|
|
259
255
|
}
|
|
260
256
|
};
|
|
261
|
-
|
|
262
257
|
//#endregion
|
|
263
258
|
//#region ../infra/src/media/StreamCanvasProcessingSession.ts
|
|
264
259
|
var StreamCanvasProcessingSession = class {
|
|
@@ -300,7 +295,6 @@ var StreamCanvasProcessingSession = class {
|
|
|
300
295
|
return this.disposed;
|
|
301
296
|
}
|
|
302
297
|
};
|
|
303
|
-
|
|
304
298
|
//#endregion
|
|
305
299
|
//#region src/internal/recordings/recordingsRepository.ts
|
|
306
300
|
async function createRecordingSession(type) {
|
|
@@ -316,7 +310,7 @@ async function startRecording(params) {
|
|
|
316
310
|
hasAudio: params.hasAudio ?? false
|
|
317
311
|
})).data;
|
|
318
312
|
}
|
|
319
|
-
async function stopRecording(videoRecordingId) {
|
|
313
|
+
async function stopRecording$1(videoRecordingId) {
|
|
320
314
|
return (await api.post(endpoints.recordingStopV2, { videoRecordingId })).data;
|
|
321
315
|
}
|
|
322
316
|
async function uploadDeepsightVideo(encryptedVideo, token) {
|
|
@@ -329,64 +323,6 @@ async function uploadDeepsightVideo(encryptedVideo, token) {
|
|
|
329
323
|
return "";
|
|
330
324
|
}
|
|
331
325
|
}
|
|
332
|
-
|
|
333
|
-
//#endregion
|
|
334
|
-
//#region src/modules/selfie/selfieUploadService.ts
|
|
335
|
-
/**
|
|
336
|
-
* Uploads a selfie image to the backend.
|
|
337
|
-
*/
|
|
338
|
-
async function uploadSelfie({ encryptedBase64Image, faceCoordinates, signal, metadata, recordingId, imageType = "selfie", deepsightService }) {
|
|
339
|
-
try {
|
|
340
|
-
const payload = {
|
|
341
|
-
base64Image: encryptedBase64Image,
|
|
342
|
-
faceCoordinates: faceCoordinates ?? void 0,
|
|
343
|
-
encrypted: true,
|
|
344
|
-
clientInfo: { deviceClass: getDeviceClass() },
|
|
345
|
-
metadata: metadata ?? void 0
|
|
346
|
-
};
|
|
347
|
-
const query = { imageType };
|
|
348
|
-
if (recordingId) query.recordingId = recordingId;
|
|
349
|
-
const res = await api.post(endpoints.selfie, payload, {
|
|
350
|
-
signal,
|
|
351
|
-
query
|
|
352
|
-
});
|
|
353
|
-
if (!res.ok) throw new Error(`POST ${endpoints.selfie} failed: ${res.status} ${res.statusText}`);
|
|
354
|
-
if (deepsightService) addDeviceStats({
|
|
355
|
-
frontIdStatsAnalysisStatus: "",
|
|
356
|
-
backIdStatsAnalysisStatus: "",
|
|
357
|
-
selfieStatsAnalysisStatus: deepsightService.getAnalysisStatus(),
|
|
358
|
-
motionStatus: deepsightService.getMotionStatus()
|
|
359
|
-
});
|
|
360
|
-
return res.data;
|
|
361
|
-
} catch (error) {
|
|
362
|
-
const errorCode = getFaceErrorCodeFromHttpError(error);
|
|
363
|
-
if (errorCode) throw new Error(errorCode);
|
|
364
|
-
throw new Error(FACE_ERROR_CODES.SERVER);
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
const getFaceErrorCodeFromHttpError = (error) => {
|
|
368
|
-
const err = error;
|
|
369
|
-
if (err.ok !== false || typeof err.status !== "number") return;
|
|
370
|
-
if (err.status !== 400) return FACE_ERROR_CODES.SERVER;
|
|
371
|
-
if (typeof err.data?.status !== "number") return FACE_ERROR_CODES.BAD_REQUEST;
|
|
372
|
-
return {
|
|
373
|
-
3004: FACE_ERROR_CODES.FACE_NOT_FOUND,
|
|
374
|
-
3005: FACE_ERROR_CODES.FACE_NOT_FOUND,
|
|
375
|
-
3006: FACE_ERROR_CODES.TOO_BLURRY,
|
|
376
|
-
3007: FACE_ERROR_CODES.TOO_DARK,
|
|
377
|
-
4010: FACE_ERROR_CODES.MULTIPLE_FACES,
|
|
378
|
-
4019: FACE_ERROR_CODES.FACE_NOT_FOUND,
|
|
379
|
-
4077: FACE_ERROR_CODES.BAD_PHOTO_QUALITY,
|
|
380
|
-
4078: FACE_ERROR_CODES.FACE_OCCLUDED
|
|
381
|
-
}[err.data.status] ?? FACE_ERROR_CODES.BAD_REQUEST;
|
|
382
|
-
};
|
|
383
|
-
async function processFace(imageType = "selfie", signal) {
|
|
384
|
-
return (await api.post(endpoints.processFace, {}, {
|
|
385
|
-
query: { imageType },
|
|
386
|
-
signal
|
|
387
|
-
})).data;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
326
|
//#endregion
|
|
391
327
|
//#region src/internal/faceCapture/faceCaptureServices.ts
|
|
392
328
|
const ONDEVICE_AUTOCAPTURE_INTERVAL_MS = 2147483647;
|
|
@@ -540,7 +476,7 @@ function buildResolutionFromStream(stream) {
|
|
|
540
476
|
if (typeof width === "number" && typeof height === "number") return `${width}x${height}`;
|
|
541
477
|
}
|
|
542
478
|
async function createOpenViduRecordingProvider() {
|
|
543
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
479
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-Du98qevC.esm.js");
|
|
544
480
|
return new OpenViduRecordingProvider();
|
|
545
481
|
}
|
|
546
482
|
async function startRecordingSession(params) {
|
|
@@ -572,21 +508,20 @@ async function startRecordingSession(params) {
|
|
|
572
508
|
hasAudio
|
|
573
509
|
};
|
|
574
510
|
}
|
|
575
|
-
async function stopRecording
|
|
511
|
+
async function stopRecording(session) {
|
|
576
512
|
try {
|
|
577
|
-
await stopRecording(session.videoRecordingId);
|
|
513
|
+
await stopRecording$1(session.videoRecordingId);
|
|
578
514
|
} finally {
|
|
579
515
|
await session.connection.disconnect();
|
|
580
516
|
}
|
|
581
517
|
}
|
|
582
518
|
async function initializeDeepsightSession(options) {
|
|
583
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
519
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CQWGVLP0.esm.js");
|
|
584
520
|
return loadDeepsightSession({
|
|
585
521
|
ds: options.ds,
|
|
586
522
|
storage: options.storage
|
|
587
523
|
});
|
|
588
524
|
}
|
|
589
|
-
|
|
590
525
|
//#endregion
|
|
591
526
|
//#region src/internal/faceCapture/onDeviceFaceResults.ts
|
|
592
527
|
/**
|
|
@@ -698,6 +633,5 @@ async function postOnDeviceFaceResults(ctx, signal) {
|
|
|
698
633
|
timeout: 3e4
|
|
699
634
|
}) ?? {};
|
|
700
635
|
}
|
|
701
|
-
|
|
702
636
|
//#endregion
|
|
703
|
-
export {
|
|
637
|
+
export { StreamCanvasProcessingSession as _, encryptSelfieImage as a, sendLabelInspectionEvent as c, stopRecording as d, stopStream as f, uploadDeepsightVideo as g, stopRecording$1 as h, prepareOnDeviceFaceUpload as i, startDetection as l, startRecording as m, isOnDeviceMode as n, initializeCamera as o, createRecordingSession as p, postOnDeviceFaceResults as r, initializeDeepsightSession as s, defaultPrepareFaceUpload as t, startRecordingSession as u, FaceDetectionProvider as v };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { a as __toESM } from "./rolldown-runtime-FZ4Itg2g.esm.js";
|
|
2
|
+
//#region ../infra/src/providers/browser/openviduLazy.ts
|
|
3
|
+
let openViduImport;
|
|
4
|
+
async function loadOpenVidu() {
|
|
5
|
+
if (openViduImport) return openViduImport;
|
|
6
|
+
openViduImport = import("./lib-DAyUtOTj.esm.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1));
|
|
7
|
+
return openViduImport;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { loadOpenVidu };
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
//#region src/shared/otp.ts
|
|
2
|
-
/**
|
|
3
|
-
* Expected length of an OTP verification code.
|
|
4
|
-
*
|
|
5
|
-
* Owned by Core so the phone, email, and government-validation modules — and
|
|
6
|
-
* the UI (via each manager's exposed `otpLength`) — agree on a single value.
|
|
7
|
-
* This is a pure leaf utility: modules import it independently, so it never
|
|
8
|
-
* introduces a dependency between them.
|
|
9
|
-
*/
|
|
10
|
-
const OTP_CODE_LENGTH = 6;
|
|
11
1
|
/** Validation-error code for an OTP code that is not yet complete. */
|
|
12
2
|
const OTP_INCOMPLETE_ERROR = "incompleteOtp";
|
|
13
3
|
/**
|
|
14
4
|
* Returns true when the code has exactly the expected number of characters.
|
|
15
5
|
* Normalization (casing, stripping separators) is the caller's responsibility.
|
|
16
6
|
*/
|
|
17
|
-
function isOtpComplete(code, length =
|
|
7
|
+
function isOtpComplete(code, length = 6) {
|
|
18
8
|
return code.length === length;
|
|
19
9
|
}
|
|
20
10
|
/**
|
|
@@ -24,10 +14,9 @@ function isOtpComplete(code, length = OTP_CODE_LENGTH) {
|
|
|
24
14
|
* empty), or an empty object when complete. Mirrors the phone/email
|
|
25
15
|
* `computeValidationErrors` shape so state machines can treat it identically.
|
|
26
16
|
*/
|
|
27
|
-
function computeOtpValidationErrors(code, length =
|
|
17
|
+
function computeOtpValidationErrors(code, length = 6) {
|
|
28
18
|
if (!isOtpComplete(code, length)) return { otp: OTP_INCOMPLETE_ERROR };
|
|
29
19
|
return {};
|
|
30
20
|
}
|
|
31
|
-
|
|
32
21
|
//#endregion
|
|
33
|
-
export {
|
|
22
|
+
export { isOtpComplete as n, computeOtpValidationErrors as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
2
|
-
|
|
1
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-DwNCUB2I.esm.js";
|
|
3
2
|
//#region src/internal/permissions/permissionGuards.ts
|
|
4
3
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
5
4
|
if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
|
|
@@ -18,6 +17,5 @@ function needsMotionPrimeOnlyFromPermission(permissionResult, ds) {
|
|
|
18
17
|
if (ds !== true) return false;
|
|
19
18
|
return !isWasmMotionPrimedForModule();
|
|
20
19
|
}
|
|
21
|
-
|
|
22
20
|
//#endregion
|
|
23
|
-
export { needsMotionPrimeOnlyFromPermission as n, resolveStoredPermissionResult as r, isReadyForCaptureFromPermission as t };
|
|
21
|
+
export { needsMotionPrimeOnlyFromPermission as n, resolveStoredPermissionResult as r, isReadyForCaptureFromPermission as t };
|