@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,13 +1,10 @@
|
|
|
1
|
-
import { n as eventModuleNames,
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as phoneMachine } from "./phoneStateMachine-BlYF4nKx.esm.js";
|
|
5
|
-
|
|
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 phoneMachine } from "./phoneStateMachine-wDQtaT38.esm.js";
|
|
6
4
|
//#region src/modules/phone/phoneActor.ts
|
|
7
5
|
function createPhoneActor(options) {
|
|
8
6
|
return createActor(phoneMachine, { input: { config: options.config } }).start();
|
|
9
7
|
}
|
|
10
|
-
|
|
11
8
|
//#endregion
|
|
12
9
|
//#region src/modules/phone/phoneManager.ts
|
|
13
10
|
/**
|
|
@@ -165,7 +162,7 @@ function mapState(snapshot) {
|
|
|
165
162
|
if (typedSnapshot.matches("resendingOtp")) return {
|
|
166
163
|
status: "resendingOtp",
|
|
167
164
|
otpCode: context.otpCode,
|
|
168
|
-
otpLength:
|
|
165
|
+
otpLength: 6
|
|
169
166
|
};
|
|
170
167
|
if (typedSnapshot.matches("sendingInitialOtp")) return { status: "sendingInitialOtp" };
|
|
171
168
|
if (typedSnapshot.matches("awaitingOtp")) return {
|
|
@@ -174,7 +171,7 @@ function mapState(snapshot) {
|
|
|
174
171
|
canResend: !context.resendTimerActive,
|
|
175
172
|
attemptsRemaining: context.attemptsRemaining,
|
|
176
173
|
otpCode: context.otpCode,
|
|
177
|
-
otpLength:
|
|
174
|
+
otpLength: 6,
|
|
178
175
|
otpValidationErrors: context.otpValidationErrors,
|
|
179
176
|
isOtpValid: Object.keys(context.otpValidationErrors ?? {}).length === 0
|
|
180
177
|
};
|
|
@@ -183,7 +180,7 @@ function mapState(snapshot) {
|
|
|
183
180
|
resendTimer: context.resendTimer,
|
|
184
181
|
canResend: !context.resendTimerActive,
|
|
185
182
|
otpCode: context.otpCode,
|
|
186
|
-
otpLength:
|
|
183
|
+
otpLength: 6
|
|
187
184
|
};
|
|
188
185
|
if (typedSnapshot.matches("otpError")) return {
|
|
189
186
|
status: "otpError",
|
|
@@ -192,7 +189,7 @@ function mapState(snapshot) {
|
|
|
192
189
|
resendTimer: context.resendTimer,
|
|
193
190
|
canResend: !context.resendTimerActive,
|
|
194
191
|
otpCode: context.otpCode,
|
|
195
|
-
otpLength:
|
|
192
|
+
otpLength: 6,
|
|
196
193
|
otpValidationErrors: context.otpValidationErrors,
|
|
197
194
|
isOtpValid: Object.keys(context.otpValidationErrors ?? {}).length === 0
|
|
198
195
|
};
|
|
@@ -205,9 +202,29 @@ function mapState(snapshot) {
|
|
|
205
202
|
}
|
|
206
203
|
function createApi({ actor, trackElementClicked }) {
|
|
207
204
|
return {
|
|
205
|
+
/**
|
|
206
|
+
* Initializes the phone verification flow.
|
|
207
|
+
* Transitions from 'idle' to 'loadingPrefill' or 'inputting'.
|
|
208
|
+
* Must be called before any other method.
|
|
209
|
+
*/
|
|
208
210
|
load() {
|
|
209
211
|
actor.send({ type: "LOAD" });
|
|
210
212
|
},
|
|
213
|
+
/**
|
|
214
|
+
* Sets the phone number for verification.
|
|
215
|
+
* Should be called when state is 'inputting'.
|
|
216
|
+
*
|
|
217
|
+
* @param phone - Full phone number with country code (e.g., '+14155551234')
|
|
218
|
+
* @param isValid - Whether the phone number passes validation
|
|
219
|
+
*
|
|
220
|
+
* @example
|
|
221
|
+
* ```typescript
|
|
222
|
+
* // Using libphonenumber-js for validation
|
|
223
|
+
* import { isValidPhoneNumber } from 'libphonenumber-js';
|
|
224
|
+
* const phone = '+14155551234';
|
|
225
|
+
* phoneManager.setPhoneNumber(phone, isValidPhoneNumber(phone));
|
|
226
|
+
* ```
|
|
227
|
+
*/
|
|
211
228
|
setPhoneNumber(phone, isValid) {
|
|
212
229
|
actor.send({
|
|
213
230
|
type: "PHONE_CHANGED",
|
|
@@ -215,28 +232,67 @@ function createApi({ actor, trackElementClicked }) {
|
|
|
215
232
|
isValid
|
|
216
233
|
});
|
|
217
234
|
},
|
|
235
|
+
/**
|
|
236
|
+
* Validates the current phone number (e.g., on blur).
|
|
237
|
+
* Populates or clears `validationErrors.phone` on the 'inputting' state.
|
|
238
|
+
*/
|
|
218
239
|
validatePhone() {
|
|
219
240
|
actor.send({ type: "VALIDATE_PHONE" });
|
|
220
241
|
},
|
|
242
|
+
/**
|
|
243
|
+
* Sets the marketing opt-in preference.
|
|
244
|
+
* Only relevant if `config.optinEnabled` is true.
|
|
245
|
+
*
|
|
246
|
+
* @param granted - Whether the user consented to receive marketing messages
|
|
247
|
+
*/
|
|
221
248
|
setOptInGranted(granted) {
|
|
222
249
|
actor.send({
|
|
223
250
|
type: "OPT_IN_CHANGED",
|
|
224
251
|
granted
|
|
225
252
|
});
|
|
226
253
|
},
|
|
254
|
+
/**
|
|
255
|
+
* Submits the phone number for verification.
|
|
256
|
+
* Runs full validation first: if the phone is empty or invalid, populates
|
|
257
|
+
* `validationErrors` and stays on 'inputting'; otherwise transitions to
|
|
258
|
+
* 'submitting', then to 'sendingInitialOtp' or 'finished' (if no OTP).
|
|
259
|
+
*/
|
|
227
260
|
submit() {
|
|
228
261
|
trackElementClicked?.("submit");
|
|
229
262
|
actor.send({ type: "SUBMIT" });
|
|
230
263
|
},
|
|
264
|
+
/**
|
|
265
|
+
* Sets the OTP code without submitting.
|
|
266
|
+
* Use this for controlled input components.
|
|
267
|
+
*
|
|
268
|
+
* @param code - The OTP code entered by the user
|
|
269
|
+
*/
|
|
231
270
|
setOtpCode(code) {
|
|
232
271
|
actor.send({
|
|
233
272
|
type: "OTP_CHANGED",
|
|
234
273
|
code
|
|
235
274
|
});
|
|
236
275
|
},
|
|
276
|
+
/**
|
|
277
|
+
* Validates the current OTP code (e.g. on blur), without submitting.
|
|
278
|
+
* Populates or clears `otpValidationErrors.otp` on the 'awaitingOtp' /
|
|
279
|
+
* 'otpError' states (incomplete code → `isOtpValid` becomes false).
|
|
280
|
+
*/
|
|
237
281
|
validateOtp() {
|
|
238
282
|
actor.send({ type: "VALIDATE_OTP" });
|
|
239
283
|
},
|
|
284
|
+
/**
|
|
285
|
+
* Sets and submits the OTP code in one call.
|
|
286
|
+
* Should be called when state is 'awaitingOtp' or 'otpError'.
|
|
287
|
+
*
|
|
288
|
+
* @param code - The complete OTP code (typically 6 alphanumeric characters)
|
|
289
|
+
*
|
|
290
|
+
* @example
|
|
291
|
+
* ```typescript
|
|
292
|
+
* // Submit OTP when user completes entry
|
|
293
|
+
* phoneManager.submitOtp('HH36LP');
|
|
294
|
+
* ```
|
|
295
|
+
*/
|
|
240
296
|
submitOtp(code) {
|
|
241
297
|
trackElementClicked?.("submitOtp");
|
|
242
298
|
actor.send({
|
|
@@ -245,14 +301,29 @@ function createApi({ actor, trackElementClicked }) {
|
|
|
245
301
|
});
|
|
246
302
|
actor.send({ type: "VERIFY_OTP" });
|
|
247
303
|
},
|
|
304
|
+
/**
|
|
305
|
+
* Requests a new OTP code to be sent.
|
|
306
|
+
* Only works when state is 'awaitingOtp' and `canResend` is true.
|
|
307
|
+
* Resets the resend timer.
|
|
308
|
+
*/
|
|
248
309
|
resendOtp() {
|
|
249
310
|
trackElementClicked?.("resendOtp");
|
|
250
311
|
actor.send({ type: "RESEND_OTP" });
|
|
251
312
|
},
|
|
313
|
+
/**
|
|
314
|
+
* Returns to the phone input screen from OTP entry.
|
|
315
|
+
* Allows the user to change their phone number.
|
|
316
|
+
* Transitions from 'awaitingOtp' or 'otpError' back to 'inputting'.
|
|
317
|
+
*/
|
|
252
318
|
back() {
|
|
253
319
|
trackElementClicked?.("back");
|
|
254
320
|
actor.send({ type: "BACK" });
|
|
255
321
|
},
|
|
322
|
+
/**
|
|
323
|
+
* Resets the manager to initial state.
|
|
324
|
+
* Can be called from 'success' or 'error' states to start over.
|
|
325
|
+
* Clears all stored data including phone number and OTP.
|
|
326
|
+
*/
|
|
256
327
|
reset() {
|
|
257
328
|
actor.send({ type: "RESET" });
|
|
258
329
|
}
|
|
@@ -315,6 +386,5 @@ function createPhoneManagerFromActor(actor) {
|
|
|
315
386
|
instrumentation: createManagerInstrumentation(eventModuleNames.phone, { getEventScreenName: getPhoneScreenName })
|
|
316
387
|
});
|
|
317
388
|
}
|
|
318
|
-
|
|
319
389
|
//#endregion
|
|
320
|
-
export { createPhoneManagerFromActor as n, createPhoneManager as t };
|
|
390
|
+
export { createPhoneManagerFromActor as n, createPhoneManager as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
+
import { n as isOtpComplete, t as computeOtpValidationErrors } from "./otp-D2k3PeSL.esm.js";
|
|
7
7
|
//#region src/modules/phone/phoneServices.ts
|
|
8
8
|
function getPhoneServerFailureReason(error, invalidStatus) {
|
|
9
9
|
if (error.status === invalidStatus) return "invalidPhone";
|
|
@@ -53,7 +53,6 @@ async function verifyOtp(code, signal) {
|
|
|
53
53
|
throw new Error(getPhoneServerFailureReason(error));
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
|
|
57
56
|
//#endregion
|
|
58
57
|
//#region src/modules/phone/phoneStateMachine.ts
|
|
59
58
|
const RESEND_TIMER_SECONDS = 30;
|
|
@@ -381,6 +380,5 @@ const phoneMachine = setup({
|
|
|
381
380
|
} } }
|
|
382
381
|
}
|
|
383
382
|
});
|
|
384
|
-
|
|
385
383
|
//#endregion
|
|
386
|
-
export { phoneMachine as t };
|
|
384
|
+
export { phoneMachine as t };
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
//#region ../infra/src/capabilities/platform.ts
|
|
2
|
-
/**
|
|
3
|
-
* Platform detection utilities for camera operations.
|
|
4
|
-
* These are pure functions with no external dependencies and can be used by all layers.
|
|
5
|
-
*/
|
|
6
|
-
let uxType = null;
|
|
7
1
|
function isTouchDevice() {
|
|
8
2
|
return (typeof navigator !== "undefined" ? navigator.maxTouchPoints > 0 : false) || "ontouchstart" in (typeof document !== "undefined" ? document.documentElement : {});
|
|
9
3
|
}
|
|
@@ -27,7 +21,6 @@ function isIPad(userAgent) {
|
|
|
27
21
|
return /iPad/.test(ua) || /Mac OS/.test(ua) && hasTouchPoints && !/iPhone|iPod/.test(ua);
|
|
28
22
|
}
|
|
29
23
|
function isDesktop(userAgent) {
|
|
30
|
-
if (uxType) return uxType === "desktop";
|
|
31
24
|
const ua = userAgent || (typeof navigator !== "undefined" ? navigator.userAgent : "");
|
|
32
25
|
return !(/Mobile|Android/i.test(ua) || isTabletWithoutAndroid(ua) || isIOS(ua));
|
|
33
26
|
}
|
|
@@ -78,6 +71,5 @@ function isIPhone14OrHigher() {
|
|
|
78
71
|
const { outerHeight, outerWidth, innerHeight, innerWidth } = window;
|
|
79
72
|
return IPHONE_14_PLUS_DIMENSIONS.some((dims) => dims.outerHeight === outerHeight && dims.outerWidth === outerWidth || dims.innerHeight === innerHeight && dims.innerWidth === innerWidth);
|
|
80
73
|
}
|
|
81
|
-
|
|
82
74
|
//#endregion
|
|
83
|
-
export { isIPhone14OrHigher as a, isIPad as i, isDesktop as n, isSafari as o, isIOS as r, isAndroid as t };
|
|
75
|
+
export { isIPhone14OrHigher as a, isIPad as i, isDesktop as n, isSafari as o, isIOS as r, isAndroid as t };
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import "./Actor-CdjYVucI.js";
|
|
4
|
-
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-WMHgnbC1.js";
|
|
5
|
-
|
|
1
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
2
|
+
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-CKbmDFNq.js";
|
|
6
3
|
//#region src/modules/qe-signature/index.d.ts
|
|
7
|
-
|
|
8
4
|
type QeSignatureConfig = Omit<ElectronicSignatureConfig, 'variant'>;
|
|
9
5
|
declare function createQeSignatureManager(options: {
|
|
10
6
|
config: QeSignatureConfig;
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export { QE_CONSENT_KEYS, areAllConsented, createQeSignatureManager, getDefaultConsentChecks, electronicSignatureMachine as qeSignatureMachine };
|
|
1
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DSZu9OHT.esm.js";
|
|
2
|
+
//#region src/modules/qe-signature/index.ts
|
|
3
|
+
function createQeSignatureManager(options) {
|
|
4
|
+
return createElectronicSignatureManager({ config: {
|
|
5
|
+
...options.config,
|
|
6
|
+
variant: "qe"
|
|
7
|
+
} });
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { QE_CONSENT_KEYS, areAllConsented, createQeSignatureManager, getDefaultConsentChecks, electronicSignatureMachine as qeSignatureMachine };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { t as isAndroid } from "./platform-
|
|
4
|
-
import { d as stopRecording,
|
|
5
|
-
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-
|
|
6
|
-
|
|
1
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
3
|
+
import { t as isAndroid } from "./platform-wmV7oTAJ.esm.js";
|
|
4
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-LRTvBL7m.esm.js";
|
|
5
|
+
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-BhSZDDNb.esm.js";
|
|
7
6
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
8
7
|
async function flagFaceManualReview() {
|
|
9
8
|
try {
|
|
@@ -15,7 +14,6 @@ async function flagIdManualReview() {
|
|
|
15
14
|
await api.put(endpoints.updateSession, { manualIdCheckNeeded: true });
|
|
16
15
|
} catch {}
|
|
17
16
|
}
|
|
18
|
-
|
|
19
17
|
//#endregion
|
|
20
18
|
//#region ../infra/src/media/VideoTrimmer.ts
|
|
21
19
|
async function getDurationBySeek(videoBlob) {
|
|
@@ -91,12 +89,12 @@ async function trimLastNSecondsUsingPlayback(videoBlob, seconds) {
|
|
|
91
89
|
};
|
|
92
90
|
const recordingPromise = new Promise((resolve) => {
|
|
93
91
|
mediaRecorder.onstop = () => {
|
|
94
|
-
const trimmedBlob
|
|
92
|
+
const trimmedBlob = new Blob(chunks, { type: mimeType });
|
|
95
93
|
URL.revokeObjectURL(videoURL);
|
|
96
94
|
mediaRecorder.stream?.getTracks().forEach((track) => track.stop());
|
|
97
95
|
stream.getTracks().forEach((track) => track.stop());
|
|
98
96
|
video.src = "";
|
|
99
|
-
resolve(trimmedBlob
|
|
97
|
+
resolve(trimmedBlob);
|
|
100
98
|
};
|
|
101
99
|
});
|
|
102
100
|
video.addEventListener("play", () => {
|
|
@@ -124,7 +122,6 @@ async function trimLastNSecondsUsingPlayback(videoBlob, seconds) {
|
|
|
124
122
|
async function trimLastNSeconds(videoBlob, seconds) {
|
|
125
123
|
return await trimLastNSecondsUsingPlayback(videoBlob, seconds);
|
|
126
124
|
}
|
|
127
|
-
|
|
128
125
|
//#endregion
|
|
129
126
|
//#region ../infra/src/providers/browser/LocalRecordingProvider.ts
|
|
130
127
|
function toBase64(videoBlob) {
|
|
@@ -233,18 +230,17 @@ var LocalRecordingProvider = class {
|
|
|
233
230
|
document.removeEventListener("visibilitychange", this.pauseRecordingBound);
|
|
234
231
|
}
|
|
235
232
|
};
|
|
236
|
-
|
|
237
233
|
//#endregion
|
|
238
234
|
//#region src/internal/faceCapture/recordingService.ts
|
|
239
235
|
let openViduProviderImportPromise;
|
|
240
236
|
let openViduBrowserImportPromise;
|
|
241
237
|
function loadOpenViduProviderModule() {
|
|
242
|
-
if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-
|
|
238
|
+
if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-Du98qevC.esm.js");
|
|
243
239
|
return openViduProviderImportPromise;
|
|
244
240
|
}
|
|
245
241
|
function loadOpenViduBrowserModule() {
|
|
246
242
|
if (!openViduBrowserImportPromise) openViduBrowserImportPromise = (async () => {
|
|
247
|
-
return (await import("./openviduLazy-
|
|
243
|
+
return (await import("./openviduLazy-CCDpFWg1.esm.js")).loadOpenVidu();
|
|
248
244
|
})();
|
|
249
245
|
return openViduBrowserImportPromise;
|
|
250
246
|
}
|
|
@@ -298,11 +294,12 @@ var OpenViduRecordingService = class {
|
|
|
298
294
|
const { OpenViduRecordingProvider } = await loadOpenViduProviderModule();
|
|
299
295
|
this.provider = new OpenViduRecordingProvider();
|
|
300
296
|
}
|
|
297
|
+
const sessionConfig = {
|
|
298
|
+
...this.config,
|
|
299
|
+
recording: { capability: this.provider }
|
|
300
|
+
};
|
|
301
301
|
this.session = await startRecordingSession({
|
|
302
|
-
config:
|
|
303
|
-
...this.config,
|
|
304
|
-
recording: { capability: this.provider }
|
|
305
|
-
},
|
|
302
|
+
config: sessionConfig,
|
|
306
303
|
clonedStream: stream.clone(),
|
|
307
304
|
existing: this.session
|
|
308
305
|
});
|
|
@@ -342,6 +339,5 @@ function createRecordingService(params) {
|
|
|
342
339
|
if (params.config.deepsightLiveness === "VIDEOLIVENESS") return new LocalRecordingService(params.wasmUtil, params.sessionToken);
|
|
343
340
|
if (params.config.enableFaceRecording === true) return new OpenViduRecordingService(params.config);
|
|
344
341
|
}
|
|
345
|
-
|
|
346
342
|
//#endregion
|
|
347
|
-
export { flagIdManualReview as i, preloadOpenViduProvider as n, flagFaceManualReview as r, createRecordingService as t };
|
|
343
|
+
export { flagIdManualReview as i, preloadOpenViduProvider as n, flagFaceManualReview as r, createRecordingService as t };
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./Manager-DE5DydXZ.js";
|
|
3
|
-
import "./Actor-CdjYVucI.js";
|
|
4
|
-
import { a as RedirectToMobileActor, c as RedirectToMobileServices, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, s as RedirectToMobileConfig, t as RedirectToMobileManager } from "./redirectToMobileManager-2TtzpSOw.js";
|
|
5
|
-
|
|
1
|
+
import { a as RedirectToMobileActor, c as RedirectToMobileServices, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, s as RedirectToMobileConfig, t as RedirectToMobileManager } from "./redirectToMobileManager-NVQM3o5P.js";
|
|
6
2
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.d.ts
|
|
7
|
-
|
|
8
3
|
declare const defaultRedirectToMobileServices: RedirectToMobileServices;
|
|
9
4
|
//#endregion
|
|
10
5
|
export { type RedirectToMobileActor, type RedirectToMobileConfig, type RedirectToMobileManager, type RedirectToMobileServices, type RedirectToMobileState, createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
|
|
4
|
-
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
|
-
import "./xstate.esm-nY3M5UYm.esm.js";
|
|
6
|
-
import "./urlUtils-CpiYwn7w.esm.js";
|
|
7
|
-
import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-BetR6r8p.esm.js";
|
|
8
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-DrxIfZr8.esm.js";
|
|
9
|
-
|
|
10
|
-
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
|
1
|
+
import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-D-8ipBq2.esm.js";
|
|
2
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-EGXGKftv.esm.js";
|
|
3
|
+
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-DrxIfZr8.esm.js → redirectToMobileManager-EGXGKftv.esm.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { n as eventModuleNames,
|
|
3
|
-
import {
|
|
4
|
-
import { n as
|
|
5
|
-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
|
+
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
+
import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-D-8ipBq2.esm.js";
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
7
7
|
const POLL_INTERVAL_MS = 5e3;
|
|
8
8
|
const QR_REFRESH_INTERVAL_MS = 5e3;
|
|
@@ -52,7 +52,6 @@ function createRedirectToMobileMachineWithServices(services) {
|
|
|
52
52
|
function createRedirectToMobileActor(options) {
|
|
53
53
|
return createActor(options.services ? createRedirectToMobileMachineWithServices(resolveServices(options.services)) : redirectToMobileMachine, { input: { config: options.config } }).start();
|
|
54
54
|
}
|
|
55
|
-
|
|
56
55
|
//#endregion
|
|
57
56
|
//#region src/modules/redirect-to-mobile/redirectToMobileManager.ts
|
|
58
57
|
function mapState(snapshot) {
|
|
@@ -78,9 +77,16 @@ function mapState(snapshot) {
|
|
|
78
77
|
}
|
|
79
78
|
function createApi({ actor, trackElementClicked }) {
|
|
80
79
|
return {
|
|
80
|
+
/**
|
|
81
|
+
* Starts the redirect-to-mobile flow by fetching the redirect URL.
|
|
82
|
+
*/
|
|
81
83
|
load() {
|
|
82
84
|
actor.send({ type: "LOAD" });
|
|
83
85
|
},
|
|
86
|
+
/**
|
|
87
|
+
* Sends an SMS with the redirect link to the given phone number.
|
|
88
|
+
* @param phone - Full phone number with country code
|
|
89
|
+
*/
|
|
84
90
|
sendSms(phone) {
|
|
85
91
|
trackElementClicked?.("sendSms");
|
|
86
92
|
actor.send({
|
|
@@ -88,17 +94,29 @@ function createApi({ actor, trackElementClicked }) {
|
|
|
88
94
|
phone
|
|
89
95
|
});
|
|
90
96
|
},
|
|
97
|
+
/**
|
|
98
|
+
* Skips the redirect and allows the user to continue on desktop.
|
|
99
|
+
*/
|
|
91
100
|
continueOnDesktop() {
|
|
92
101
|
trackElementClicked?.("continueOnDesktop");
|
|
93
102
|
actor.send({ type: "CONTINUE_ON_DESKTOP" });
|
|
94
103
|
},
|
|
104
|
+
/**
|
|
105
|
+
* Resets the SMS state so the user can re-enter their phone number.
|
|
106
|
+
*/
|
|
95
107
|
resetSms() {
|
|
96
108
|
actor.send({ type: "RESET_SMS" });
|
|
97
109
|
},
|
|
110
|
+
/**
|
|
111
|
+
* Closes/dismisses the redirect screen.
|
|
112
|
+
*/
|
|
98
113
|
close() {
|
|
99
114
|
trackElementClicked?.("close");
|
|
100
115
|
actor.send({ type: "CLOSE" });
|
|
101
116
|
},
|
|
117
|
+
/**
|
|
118
|
+
* Retries generating the redirect URL after an error.
|
|
119
|
+
*/
|
|
102
120
|
retry() {
|
|
103
121
|
trackElementClicked?.("retry");
|
|
104
122
|
actor.send({ type: "RETRY" });
|
|
@@ -154,6 +172,5 @@ function createRedirectToMobileManagerFromActor(actor) {
|
|
|
154
172
|
instrumentation: createManagerInstrumentation(eventModuleNames.qr)
|
|
155
173
|
});
|
|
156
174
|
}
|
|
157
|
-
|
|
158
175
|
//#endregion
|
|
159
|
-
export { createRedirectToMobileManagerFromActor as n, createRedirectToMobileManager as t };
|
|
176
|
+
export { createRedirectToMobileManagerFromActor as n, createRedirectToMobileManager as t };
|
package/dist/{redirectToMobileManager-2TtzpSOw.d.ts → redirectToMobileManager-NVQM3o5P.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as
|
|
3
|
-
|
|
1
|
+
import { i as ActorRefFrom } from "./spawn-D9jgw9pW.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
3
|
+
import "./Actor-iTq7YY48.js";
|
|
4
4
|
//#region src/modules/redirect-to-mobile/types.d.ts
|
|
5
5
|
type RedirectToMobileConfig = {
|
|
6
6
|
flowId?: string;
|
|
@@ -41,7 +41,6 @@ type RedirectToMobileServices = {
|
|
|
41
41
|
};
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region src/modules/redirect-to-mobile/redirectToMobileStateMachine.d.ts
|
|
44
|
-
|
|
45
44
|
declare const redirectToMobileMachine: any;
|
|
46
45
|
type RedirectToMobileMachine = typeof redirectToMobileMachine;
|
|
47
46
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import {
|
|
5
|
-
import { n as
|
|
6
|
-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
2
|
+
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DLQ0g4-R.esm.js";
|
|
4
|
+
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
|
+
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
+
import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
|
|
7
7
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.ts
|
|
8
8
|
async function fetchRedirectUrl(signal) {
|
|
9
9
|
const res = await api.get(endpoints.onboardingUrl, { signal });
|
|
@@ -41,7 +41,6 @@ const defaultRedirectToMobileServices = {
|
|
|
41
41
|
refreshQrUuid,
|
|
42
42
|
fetchStartInfo
|
|
43
43
|
};
|
|
44
|
-
|
|
45
44
|
//#endregion
|
|
46
45
|
//#region src/modules/redirect-to-mobile/redirectToMobileStateMachine.ts
|
|
47
46
|
const POLL_INTERVAL_MS = 5e3;
|
|
@@ -241,6 +240,5 @@ const redirectToMobileMachine = setup({
|
|
|
241
240
|
error: { on: { RETRY: "generatingUrl" } }
|
|
242
241
|
}
|
|
243
242
|
});
|
|
244
|
-
|
|
245
243
|
//#endregion
|
|
246
|
-
export { defaultRedirectToMobileServices as n, redirectToMobileMachine as t };
|
|
244
|
+
export { defaultRedirectToMobileServices as n, redirectToMobileMachine as t };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __esmMin = (fn, res, err) => () => {
|
|
9
|
+
if (err) throw err[0];
|
|
10
|
+
try {
|
|
11
|
+
return fn && (res = fn(fn = 0)), res;
|
|
12
|
+
} catch (e) {
|
|
13
|
+
throw err = [e], e;
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
17
|
+
var __exportAll = (all, no_symbols) => {
|
|
18
|
+
let target = {};
|
|
19
|
+
for (var name in all) __defProp(target, name, {
|
|
20
|
+
get: all[name],
|
|
21
|
+
enumerable: true
|
|
22
|
+
});
|
|
23
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
24
|
+
return target;
|
|
25
|
+
};
|
|
26
|
+
var __copyProps = (to, from, except, desc) => {
|
|
27
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
28
|
+
key = keys[i];
|
|
29
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
30
|
+
get: ((k) => from[k]).bind(null, key),
|
|
31
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
return to;
|
|
35
|
+
};
|
|
36
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
37
|
+
value: mod,
|
|
38
|
+
enumerable: true
|
|
39
|
+
}) : target, mod));
|
|
40
|
+
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
41
|
+
//#endregion
|
|
42
|
+
export { __toESM as a, __toCommonJS as i, __esmMin as n, __exportAll as r, __commonJSMin as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
|
|
1
|
+
import { b as getTimestamp, y as createEventBus } from "./events-Dy8PyVO5.esm.js";
|
|
2
|
+
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
|
+
import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
|
+
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
5
5
|
//#region src/internal/flow-events/flowEvents.ts
|
|
6
6
|
function createFlowEventBus() {
|
|
7
7
|
const eventBus = createEventBus();
|
|
@@ -16,7 +16,6 @@ function createFlowEventBus() {
|
|
|
16
16
|
subscribe: eventBus.subscribe
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
|
-
|
|
20
19
|
//#endregion
|
|
21
20
|
//#region src/internal/flow-events/attachFlowEventEmitter.ts
|
|
22
21
|
function getFlowId(state) {
|
|
@@ -191,7 +190,6 @@ function attachFlowEventEmitter(manager, options = {}) {
|
|
|
191
190
|
});
|
|
192
191
|
return manager;
|
|
193
192
|
}
|
|
194
|
-
|
|
195
193
|
//#endregion
|
|
196
194
|
//#region src/internal/orchestration/advanceableErrors.ts
|
|
197
195
|
/**
|
|
@@ -209,7 +207,6 @@ const ADVANCEABLE_ERROR_CODES = [
|
|
|
209
207
|
];
|
|
210
208
|
/** True when the given code is a module terminal error the flow should advance past rather than fail on. */
|
|
211
209
|
const isAdvanceableError = (moduleErrorCode) => moduleErrorCode !== void 0 && ADVANCEABLE_ERROR_CODES.includes(moduleErrorCode);
|
|
212
|
-
|
|
213
210
|
//#endregion
|
|
214
211
|
//#region src/internal/orchestration/runChildModule.ts
|
|
215
212
|
const runChildModule = fromCallback(({ sendBack, input }) => {
|
|
@@ -236,6 +233,5 @@ const runChildModule = fromCallback(({ sendBack, input }) => {
|
|
|
236
233
|
actor.stop();
|
|
237
234
|
};
|
|
238
235
|
});
|
|
239
|
-
|
|
240
236
|
//#endregion
|
|
241
|
-
export { isAdvanceableError as n, attachFlowEventEmitter as r, runChildModule as t };
|
|
237
|
+
export { isAdvanceableError as n, attachFlowEventEmitter as r, runChildModule as t };
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { t as
|
|
8
|
-
import "./types-DCOl8zy6.js";
|
|
9
|
-
import "./types-B6KIOo6S.js";
|
|
10
|
-
import "./canvas-COIxuirO.js";
|
|
11
|
-
import "./createFaceAvatar-BjBu2CrU.js";
|
|
12
|
-
import "./types-NizIIgLD.js";
|
|
13
|
-
import "./IWasmUtilCapability-CuiW_6d1.js";
|
|
14
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-DawqnFVn.js";
|
|
15
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-C0D4Brd6.js";
|
|
16
|
-
import "./FaceDetectionProvider-D-zCGbS9.js";
|
|
17
|
-
import "./StreamCanvasCapture-D9u4hwul.js";
|
|
18
|
-
import { t as DeepsightService } from "./deepsightService-mkIAy_Eq.js";
|
|
19
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-d7nkO-UP.js";
|
|
20
|
-
|
|
1
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
|
+
import { a as SelfieCaptureOnlyMachine, c as SelfieActor, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine } from "./faceCaptureManagerFactory-BWD3O4Eg.js";
|
|
3
|
+
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
4
|
+
import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
5
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode } from "./types-ctqh-iS4.js";
|
|
6
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
7
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-CN8wJ14s.js";
|
|
21
8
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
22
9
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
|
23
10
|
type SelfieCaptureOnlyManager = FaceCaptureManager;
|