@incodetech/core 2.1.0-rc.2 → 2.1.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/3dAvatarProvider-ChciZmjE.esm.js +28214 -0
- package/dist/{BrowserStorageProvider-D5xc7Lqo.esm.js → BrowserStorageProvider-CrrN540a.esm.js} +1 -25
- package/dist/BrowserVisibilityObserverProvider-rim9Jrz-.esm.js +25 -0
- package/dist/Face2DProvider-BeLlYBbB.esm.js +824 -0
- package/dist/FaceDetectionProvider-B78455D4.d.ts +119 -0
- package/dist/IVisibilityObserverCapability-BbWjgpiF.d.ts +12 -0
- package/dist/IWasmUtilCapability-d2XvzaCk.d.ts +145 -0
- package/dist/IpifyProvider-BRW14_uo.esm.js +51 -0
- package/dist/{Manager-B2OEDYqf.d.ts → Manager-CJ3G2zqi.d.ts} +1 -4
- package/dist/{OpenViduRecordingProvider-DF7A4ZNJ.esm.js → OpenViduRecordingProvider-B_0GKkzc.esm.js} +1 -1
- package/dist/PrivacyLensProvider-hDzaDzZ6.esm.js +339 -0
- package/dist/StateMachine-C_AY4cs7.d.ts +2 -0
- package/dist/{StreamCanvasCapture-Dr5n_iK1.esm.js → StreamCanvasCapture-Bz17q4FP.esm.js} +1 -1
- package/dist/StreamCanvasCapture-DS1TOoiH.d.ts +42 -0
- package/dist/{WasmUtilProvider-CIu373BZ.esm.js → WasmUtilProvider-ADG54T6M.esm.js} +16 -1
- package/dist/{addressSearch-BH96a3fq.esm.js → addressSearch-DJyNTg5S.esm.js} +4 -4
- package/dist/{ae-signature-CDEN8y-w.esm.js → ae-signature-DlElqFrZ.esm.js} +1 -1
- package/dist/ae-signature.d.ts +4 -3
- package/dist/ae-signature.esm.js +10 -9
- package/dist/antifraud.d.ts +4 -3
- package/dist/antifraud.esm.js +7 -6
- package/dist/{antifraudManager-DZifA5zX.esm.js → antifraudManager-BKdQoMFf.esm.js} +4 -3
- package/dist/{antifraudManager-B7WQTIdu.d.ts → antifraudManager-DpIvbrZP.d.ts} +2 -2
- package/dist/{antifraudStateMachine-DlKrK2hL.esm.js → antifraudStateMachine-C0NGnP9W.esm.js} +3 -3
- package/dist/{api-DUZwyz0o.esm.js → api-DsbUi7TO.esm.js} +21 -2
- package/dist/authentication.d.ts +19 -12
- package/dist/authentication.esm.js +33 -27
- package/dist/{authenticationManager-Dve7mGLe.d.ts → authenticationManager-CdPbNS2H.d.ts} +3 -3
- package/dist/{authenticationManager-BM4LzyV7.esm.js → authenticationManager-Dtl1vcET.esm.js} +6 -6
- package/dist/{authenticationStateMachine-Chx3ySdT.esm.js → authenticationStateMachine-D-hOlg8p.esm.js} +8 -8
- package/dist/avatar.d.ts +3 -0
- package/dist/avatar.esm.js +3 -0
- package/dist/{backCameraStream-iftkf3rd.esm.js → backCameraStream-ZyqrFyjO.esm.js} +3 -3
- package/dist/{browser-DlFgHpoC-7tbRR1aR.esm.js → browser-DlFgHpoC-qLKs75Qp.esm.js} +1 -1
- package/dist/{browserSimulation-CGjpdNA1.esm.js → browserSimulation-TsSoavQv.esm.js} +153 -1216
- package/dist/camera-DUkgmYMo.esm.js +79 -0
- package/dist/camera.d.ts +7 -1
- package/dist/camera.esm.js +4 -4
- package/dist/{StreamCanvasCapture-Ctgyx-oD.d.ts → canvas-CJUmoXSD.d.ts} +1 -41
- package/dist/certificate-issuance.d.ts +31 -30
- package/dist/certificate-issuance.esm.js +8 -7
- package/dist/{certificateIssuanceStateMachine-CLNXtXaC.esm.js → certificateIssuanceStateMachine-C07m7qtP.esm.js} +4 -4
- package/dist/clientLifecycle-Ct7h9uxx.esm.js +534 -0
- package/dist/consent.d.ts +4 -3
- package/dist/consent.esm.js +7 -6
- package/dist/{consentManager-psDCeJ0E.esm.js → consentManager-BtnPZUW4.esm.js} +4 -3
- package/dist/{consentManager-BqUGU_YD.d.ts → consentManager-DufVo9D9.d.ts} +52 -52
- package/dist/{consentStateMachine-DRsFFSHE.esm.js → consentStateMachine-DO2JqoZW.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +4 -3
- package/dist/cpf-ocr.esm.js +7 -6
- package/dist/{cpfOcrManager-BxcgxvgO.esm.js → cpfOcrManager-C4rLgKsu.esm.js} +6 -5
- package/dist/{cpfOcrManager-B2u9hMzd.d.ts → cpfOcrManager-DqZZ94Gt.d.ts} +19 -19
- package/dist/createFaceAvatar-B8pFpy6o.d.ts +401 -0
- package/dist/createFaceAvatar-BOHDKQRq.esm.js +46 -0
- package/dist/cross-document-data-match.d.ts +2 -1
- package/dist/cross-document-data-match.esm.js +6 -5
- package/dist/curp-validation.d.ts +10 -7
- package/dist/curp-validation.esm.js +7 -6
- package/dist/{curpValidationManager-BgLDw0Ub.esm.js → curpValidationManager-BafobPXC.esm.js} +4 -3
- package/dist/{curpValidationManager-Bt6CVD8b.d.ts → curpValidationManager-Co6LZAHT.d.ts} +3 -3
- package/dist/{curpValidationStateMachine-BK_wJ48C.esm.js → curpValidationStateMachine-DXTPK6vI.esm.js} +3 -3
- package/dist/custom-fields.d.ts +3 -2
- package/dist/custom-fields.esm.js +6 -5
- package/dist/custom-watchlist.d.ts +2 -1
- package/dist/custom-watchlist.esm.js +6 -5
- package/dist/{customWatchlistStateMachine-Bi4P59HM.esm.js → customWatchlistStateMachine-B4G3Chkx.esm.js} +3 -3
- package/dist/{deepsightLoader-BMmvk0X6.esm.js → deepsightLoader-DHSVD776.esm.js} +14 -13
- package/dist/{deepsightService-CEZrdiW0.esm.js → deepsightService-CDahSjGP.esm.js} +9 -38
- package/dist/deepsightService-CMB9XjES.d.ts +69 -0
- package/dist/device.d.ts +9 -1
- package/dist/device.esm.js +5 -5
- package/dist/document-capture.d.ts +175 -174
- package/dist/document-capture.esm.js +14 -13
- package/dist/document-upload.d.ts +48 -47
- package/dist/document-upload.esm.js +9 -8
- package/dist/{documentCaptureStateMachine-MpwpJO7t.esm.js → documentCaptureStateMachine-DSOX2epf.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +4 -192
- package/dist/dynamic-forms.esm.js +8 -160
- package/dist/dynamicFormsManager-BOefZbyF.esm.js +168 -0
- package/dist/dynamicFormsManager-CUYLOj9g.d.ts +239 -0
- package/dist/{dynamicFormsStateMachine-Do84A4uU.esm.js → dynamicFormsStateMachine-BXHcaocI.esm.js} +4 -4
- package/dist/ekyb.d.ts +9 -6
- package/dist/ekyb.esm.js +20 -17
- package/dist/{ekybStateMachine-nsuPOw3f.esm.js → ekybStateMachine-CCSeqjCt.esm.js} +5 -5
- package/dist/ekyc.d.ts +4 -3
- package/dist/ekyc.esm.js +9 -8
- package/dist/{ekycStateMachine-DcynX0rj.esm.js → ekycStateMachine-DkLVTOyA.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +4 -3
- package/dist/electronic-signature.esm.js +9 -8
- package/dist/{electronicSignatureManager-B63aAuI5.esm.js → electronicSignatureManager-DjzUzqZj.esm.js} +50 -87
- package/dist/email.d.ts +5 -4
- package/dist/email.esm.js +9 -8
- package/dist/{emailManager-DxHjAe5u.esm.js → emailManager-B_XzEsXH.esm.js} +5 -4
- package/dist/{emailManager-C6D2u4mQ.d.ts → emailManager-fHASH6uo.d.ts} +3 -3
- package/dist/{emailStateMachine-758f34gg.esm.js → emailStateMachine-fqJ42b19.esm.js} +5 -5
- package/dist/{endpoints-BM2_j_IE.esm.js → endpoints-BzMJFAPV.esm.js} +13 -0
- package/dist/{events-DN-u67gb.esm.js → events-CqGY1yMq.esm.js} +2 -188
- package/dist/events.d.ts +2 -0
- package/dist/events.esm.js +3 -2
- package/dist/extensibility.d.ts +37 -26
- package/dist/extensibility.esm.js +74 -59
- package/dist/{externalFetch-crimxkN9.esm.js → externalFetch-CyhBfD-n.esm.js} +1 -1
- package/dist/face-match.d.ts +2 -2
- package/dist/face-match.esm.js +6 -5
- package/dist/{faceCaptureManagerFactory-BNXZchWX.esm.js → faceCaptureManagerFactory-2brKTzMb.esm.js} +25 -16
- package/dist/faceCaptureManagerFactory-CGKbf7zt.d.ts +400 -0
- package/dist/{faceCaptureSetup-Dqb09D24.esm.js → faceCaptureSetup-CDUVU1nl.esm.js} +97 -13
- package/dist/{faceMatchStateMachine-FikRaUZH.esm.js → faceMatchStateMachine-DUeUjEPx.esm.js} +3 -3
- package/dist/field-comparison.d.ts +4 -3
- package/dist/field-comparison.esm.js +6 -5
- package/dist/{fieldComparisonManager-Dic0DVgl.esm.js → fieldComparisonManager-B9W0a9A5.esm.js} +5 -4
- package/dist/{fieldComparisonManager-BXc6-DJv.d.ts → fieldComparisonManager-DdLqDeB2.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +5 -3
- package/dist/fiscal-qr.esm.js +13 -12
- package/dist/flow-events.d.ts +8 -6
- package/dist/flow.d.ts +21 -13
- package/dist/flow.esm.js +28 -19
- package/dist/{flowCompletionService-CdGDKv0z.d.ts → flowCompletionService-BIqSTZcd.d.ts} +2 -1
- package/dist/{flowCompletionService-D_CsiDZM.esm.js → flowCompletionService-qEqh_g14.esm.js} +3 -3
- package/dist/{flowServices-ar5DXv71.esm.js → flowServices-C4piblgx.esm.js} +24 -9
- package/dist/geolocation.d.ts +4 -127
- package/dist/geolocation.esm.js +8 -115
- package/dist/geolocationManager-BP2Do9O-.esm.js +123 -0
- package/dist/geolocationManager-Cs50eRlC.d.ts +156 -0
- package/dist/{geolocationStateMachine-BWjrMGS_.esm.js → geolocationStateMachine-BYfOOOG0.esm.js} +4 -4
- package/dist/{getDeviceClass-rXKlXywy.esm.js → getDeviceClass-DGGzzfqm.esm.js} +1 -1
- package/dist/getDeviceData-TrKM8NPh.esm.js +101 -0
- package/dist/government-validation.d.ts +4 -3
- package/dist/government-validation.esm.js +8 -7
- package/dist/{governmentValidationStateMachine-BoF7U1of.esm.js → governmentValidationStateMachine-CwoPPO8b.esm.js} +5 -5
- package/dist/home.d.ts +18 -15
- package/dist/home.esm.js +4 -3
- package/dist/http.esm.js +2 -2
- package/dist/id-ocr.d.ts +4 -625
- package/dist/id-ocr.esm.js +8 -84
- package/dist/id-verification.d.ts +28 -27
- package/dist/id-verification.esm.js +6 -5
- package/dist/id.d.ts +16 -11
- package/dist/id.esm.js +39 -32
- package/dist/idCaptureDefaults-DNJON8Xo.esm.js +188 -0
- package/dist/{idCaptureManager-BvGUSN2e.d.ts → idCaptureManager-BVdvfJys.d.ts} +40 -10
- package/dist/{idCaptureManager-Bm6Wm6Qv.esm.js → idCaptureManager-Bo9DCQSU.esm.js} +14 -11
- package/dist/{idCaptureStateMachine-D1YhOj6n.esm.js → idCaptureStateMachine-BeDidMLU.esm.js} +395 -382
- package/dist/idOcrManager-BkRDrpZu.esm.js +92 -0
- package/dist/idOcrManager-CJzrmM91.d.ts +641 -0
- package/dist/{idOcrStateMachine-YMCDGplq.esm.js → idOcrStateMachine-DRZc4FBl.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-Bo1IYuZH.esm.js → idVerificationStateMachine-oqiERKpg.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +4 -3
- package/dist/identity-reuse.esm.js +7 -6
- package/dist/{identityReuseManager-D0knIrOy.esm.js → identityReuseManager-Bu62LToE.esm.js} +4 -3
- package/dist/{identityReuseManager-DcWSvC-A.d.ts → identityReuseManager-TWKbXuvY.d.ts} +33 -33
- package/dist/{identityReuseStateMachine-CSQfZOqD.esm.js → identityReuseStateMachine-BmONeF6B.esm.js} +3 -3
- package/dist/{index-BgxYUYuD.d.ts → index-DtUlD-bz.d.ts} +2 -2
- package/dist/{index-DV134v62.d.ts → index-Icld-cKW.d.ts} +175 -295
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +16 -13
- package/dist/{invokeOnCaptureCallback-Dzemudhk.esm.js → invokeOnCaptureCallback-v_PV_IJz.esm.js} +1 -1
- package/dist/{lib-7ZQ9BdKH.esm.js → lib-B050WTth.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +10 -7
- package/dist/mandatory-consent.esm.js +7 -6
- package/dist/{mandatoryConsentManager-Tzl5Qd35.d.ts → mandatoryConsentManager-Bmdjo14S.d.ts} +50 -50
- package/dist/{mandatoryConsentManager-Lon46nPQ.esm.js → mandatoryConsentManager-CQ3jirlZ.esm.js} +4 -3
- package/dist/{mandatoryConsentStateMachine-D_dZ7IF6.esm.js → mandatoryConsentStateMachine-DkJJLHqC.esm.js} +3 -3
- package/dist/mediaRecorderOptions-C3NAkVgK.esm.js +42 -0
- package/dist/mediapipeShared-CRAKVElv.esm.js +67 -0
- package/dist/{recordingService-CxMJP4tQ.esm.js → onDeviceFaceResults-DVBggeq8.esm.js} +71 -389
- package/dist/{openviduLazy-oAXXI9w_.esm.js → openviduLazy-BTOIauGP.esm.js} +2 -2
- package/dist/openviduLazy-Dov8oKfL.esm.js +3 -0
- package/dist/{permissionGuards-D-Z-lgNj.esm.js → permissionGuards-BR2oN573.esm.js} +1 -1
- package/dist/{permissionServices-CPDboRoE.esm.js → permissionServices-BJhGL13R.esm.js} +7 -4
- package/dist/personhood.d.ts +534 -0
- package/dist/personhood.esm.js +1494 -0
- package/dist/phone.d.ts +5 -4
- package/dist/phone.esm.js +9 -8
- package/dist/{phoneManager-TSq1Ief6.d.ts → phoneManager-BOTcjXgs.d.ts} +3 -3
- package/dist/{phoneManager-Blt4Oc2P.esm.js → phoneManager-BWlxqbyD.esm.js} +5 -4
- package/dist/{phoneStateMachine-W3c6Z8sj.esm.js → phoneStateMachine-B_V9nODs.esm.js} +5 -5
- package/dist/{qe-signature-CQLK6LKE.esm.js → qe-signature-BhFnI9pT.esm.js} +1 -1
- package/dist/qe-signature.d.ts +4 -3
- package/dist/qe-signature.esm.js +10 -9
- package/dist/recordingService-m_1xCthr.esm.js +347 -0
- package/dist/redirect-to-mobile.d.ts +4 -3
- package/dist/redirect-to-mobile.esm.js +9 -8
- package/dist/{redirectToMobileManager-DCvpKdkD.esm.js → redirectToMobileManager-BaAo9rgi.esm.js} +5 -4
- package/dist/{redirectToMobileManager-yOHAmwg-.d.ts → redirectToMobileManager-Br0KZK1G.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-DC9z4Vfu.esm.js → redirectToMobileStateMachine-DoAnf2ql.esm.js} +10 -12
- package/dist/{runChildModule-C9G0wfVC.esm.js → runChildModule-0nQfjVVo.esm.js} +3 -3
- package/dist/selfie.d.ts +19 -12
- package/dist/selfie.esm.js +34 -28
- package/dist/{selfieManager-BRL6c_Oc.esm.js → selfieManager-D_ZFERsE.esm.js} +6 -6
- package/dist/{selfieManager-imY2dAcH.d.ts → selfieManager-R0Jw5sjb.d.ts} +3 -3
- package/dist/{selfieStateMachine-D2Q0uwDK.esm.js → selfieStateMachine-CIgeeiN9.esm.js} +4 -4
- package/dist/{session-Be_IA1e0.esm.js → session-9jIfKFCc.esm.js} +3 -3
- package/dist/session.d.ts +7 -5
- package/dist/session.esm.js +16 -14
- package/dist/{sessionInitializer-CaiGA8GP.esm.js → sessionInitializer-C_TYIgyk.esm.js} +11 -107
- package/dist/{setup-BJZAkajt.d.ts → setup-CpRnXxn8.d.ts} +16 -3
- package/dist/setup-DHc6OaHm.esm.js +562 -0
- package/dist/signature.d.ts +3 -2
- package/dist/signature.esm.js +6 -5
- package/dist/{signatureStateMachine-DAxXmMrk.esm.js → signatureStateMachine-DtoiPzys.esm.js} +3 -3
- package/dist/{stats-DntyIiGr.esm.js → stats-CYcScXcO.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/thumbmarkAdapter-fHBUDlAP.esm.js +1194 -0
- package/dist/{tri-CtxWthxz.esm.js → tri-BG1iJsr4.esm.js} +12 -2
- package/dist/tri.d.ts +1 -1
- package/dist/{tri.esm-CrWAulDi.esm.js → tri.esm-DUC01NgO.esm.js} +27 -23
- package/dist/tri.esm.js +2 -2
- package/dist/trust-graph.d.ts +4 -3
- package/dist/trust-graph.esm.js +4 -3
- package/dist/{types-DpTWgfKY.d.ts → types-BklZ_Wne.d.ts} +1 -1
- package/dist/{types-Dv-9WPJX.d.ts → types-BsYXnC5s.d.ts} +39 -3
- package/dist/types-CxW2e0Ar.d.ts +132 -0
- package/dist/{types-Z9wv19v2.d.ts → types-DgGlgyZT.d.ts} +1 -1
- package/dist/types-ElOJAGaM.esm.js +189 -0
- package/dist/video-C2WIj6TS.esm.js +36 -0
- package/dist/video-selfie.d.ts +351 -0
- package/dist/video-selfie.esm.js +1509 -0
- package/dist/videoSelfieSteps-7M5vxKn-.esm.js +58 -0
- package/dist/{warmup--6HA3yUR.d.ts → warmup-BJZPQIiX.d.ts} +5 -1
- package/dist/wasm.d.ts +4 -4
- package/dist/wasm.esm.js +17 -14
- package/dist/watchlist-for-business.d.ts +2 -1
- package/dist/watchlist-for-business.esm.js +6 -5
- package/dist/watchlist.d.ts +2 -1
- package/dist/watchlist.esm.js +6 -5
- package/dist/{watchlistForBusinessStateMachine-DtefJb-D.esm.js → watchlistForBusinessStateMachine-DvEunDxs.esm.js} +3 -3
- package/dist/{watchlistStateMachine-B0aIS2_n.esm.js → watchlistStateMachine-AHXVf-TB.esm.js} +3 -3
- package/dist/workflow.d.ts +230 -98
- package/dist/workflow.esm.js +123 -79
- package/dist/{xstate.esm-Dkm1jy5u.esm.js → xstate.esm-Bomq1a0z.esm.js} +41 -1
- package/package.json +16 -1
- package/dist/IpifyProvider-oZf7Ke1O.esm.js +0 -167
- package/dist/camera-x4LjGTjZ.esm.js +0 -22
- package/dist/deepsightService-ByNKY5Jv.d.ts +0 -276
- package/dist/faceCaptureManagerFactory-CL-7T_vH.d.ts +0 -731
- package/dist/getBrowser-Dv8LZyHE.esm.js +0 -8
- package/dist/openviduLazy-B_s6jnEk.esm.js +0 -3
- package/dist/setup-C7tintPc.esm.js +0 -1064
- /package/dist/{Actor-fIPLXfoi.d.ts → Actor-CGEelYtQ.d.ts} +0 -0
- /package/dist/{BrowserTimerProvider-BVgutW_b.esm.js → BrowserTimerProvider-CHloo0eQ.esm.js} +0 -0
- /package/dist/{ITimerCapability-BvH0pDwp.esm.js → ITimerCapability-pltuG1E8.esm.js} +0 -0
- /package/dist/{MotionSensorProvider-C9fPAJdS.esm.js → MotionSensorProvider-DCbId4De.esm.js} +0 -0
- /package/dist/{apiError-D-GTvFrH.esm.js → apiError-DNS2OCEX.esm.js} +0 -0
- /package/dist/{camera-biGPWlmx.d.ts → camera-CNVUo-bC.d.ts} +0 -0
- /package/dist/{canvas-7uX2izHb.esm.js → canvas-_I95hkPg.esm.js} +0 -0
- /package/dist/{chunk-BK1xu56N.esm.js → chunk-CIKcdghV.esm.js} +0 -0
- /package/dist/{cpf-xBg-DFNn.esm.js → cpf-BKaho0j_.esm.js} +0 -0
- /package/dist/{dateUtils-8dCcuArE.esm.js → dateUtils-7-tQYRNN.esm.js} +0 -0
- /package/dist/{getDeviceClass-C0zrM97a.esm.js → getDeviceClass-DavNdcxh.esm.js} +0 -0
- /package/dist/{http-CfVTgMfU.esm.js → http-BkiUT7EB.esm.js} +0 -0
- /package/dist/{index-52_qi4bd.d.ts → index-XTtxaahe.d.ts} +0 -0
- /package/dist/{otp-D87RTwrx.esm.js → otp-Bfnzf7I3.esm.js} +0 -0
- /package/dist/{otp-BHJnjEEc.d.ts → otp-M4iy57XY.d.ts} +0 -0
- /package/dist/{platform-BfoqeM61.esm.js → platform-uIVQUnJP.esm.js} +0 -0
- /package/dist/{types-BdVOWGGW.esm.js → types-CMcxlSmH.esm.js} +0 -0
- /package/dist/{types-DYZja-k9.d.ts → types-D_IceWxT.d.ts} +0 -0
- /package/dist/{types-F0IXbaCB.d.ts → types-Duy2rDxF.d.ts} +0 -0
- /package/dist/{urlUtils-8RNHyW3x.esm.js → urlUtils-BZqFU9rR.esm.js} +0 -0
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { n as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as externalFetch } from "./externalFetch-
|
|
1
|
+
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { n as createManagerInstrumentation, t as topLevelStateName } from "./events-CqGY1yMq.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
5
|
+
import { a as fromPromise, l as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
6
|
+
import { t as externalFetch } from "./externalFetch-CyhBfD-n.esm.js";
|
|
7
|
+
import { n as toIncodeApiError } from "./apiError-DNS2OCEX.esm.js";
|
|
7
8
|
|
|
8
9
|
//#region src/modules/electronic-signature/electronicSignatureServices.ts
|
|
9
10
|
async function fetchUnsignedDocuments(signal) {
|
|
@@ -44,7 +45,10 @@ async function uploadDocumentFile(presignedUrl, data, signal) {
|
|
|
44
45
|
//#region src/modules/electronic-signature/electronicSignatureActors.ts
|
|
45
46
|
const fetchUnsignedDocsActor = fromPromise(async ({ signal }) => fetchUnsignedDocuments(signal));
|
|
46
47
|
const signDocumentsActor = fromPromise(async ({ input, signal }) => {
|
|
47
|
-
return (await Promise.all(input.documents.map((doc) => signDocument(doc.documentRef, input.variant, signal)))).map((r) => ({
|
|
48
|
+
return (await Promise.all(input.documents.map((doc) => signDocument(doc.documentRef, input.variant, signal)))).map((r) => ({
|
|
49
|
+
signed: r.success === true || !!r.signedDocumentUrl,
|
|
50
|
+
signedDocumentUrl: r.signedDocumentUrl
|
|
51
|
+
}));
|
|
48
52
|
});
|
|
49
53
|
/**
|
|
50
54
|
* Generates the upload destination. `POST /generateDocumentUploadUrl` creates a
|
|
@@ -85,26 +89,6 @@ function areAllConsented(checks) {
|
|
|
85
89
|
|
|
86
90
|
//#endregion
|
|
87
91
|
//#region src/modules/electronic-signature/electronicSignatureStateMachine.ts
|
|
88
|
-
/**
|
|
89
|
-
* The `/process/sign` (and `/process/signQes`) endpoint can fail in many ways,
|
|
90
|
-
* but only three of them are recoverable by retrying with the same payload:
|
|
91
|
-
* - HTTP 500 (transient backend failure)
|
|
92
|
-
* - HTTP 409 (signing conflict — typically resolves on retry)
|
|
93
|
-
* - HTTP 400 with a body message containing "Signature failed"
|
|
94
|
-
* (recoverable signing-pipeline error; other 400s mean the request itself
|
|
95
|
-
* is bad and a retry will fail identically).
|
|
96
|
-
*
|
|
97
|
-
* All other failures (auth, validation, network, etc.) are surfaced as a
|
|
98
|
-
* terminal `failed` state so the host receives `onError` immediately instead
|
|
99
|
-
* of being offered a Try Again that cannot succeed.
|
|
100
|
-
*/
|
|
101
|
-
function isRetryableSignError(error) {
|
|
102
|
-
if (!(error instanceof IncodeApiError)) return false;
|
|
103
|
-
if (error.httpStatus === 500) return true;
|
|
104
|
-
if (error.httpStatus === 409) return true;
|
|
105
|
-
if (error.httpStatus === 400 && error.message.includes("Signature failed")) return true;
|
|
106
|
-
return false;
|
|
107
|
-
}
|
|
108
92
|
const electronicSignatureMachine = setup({
|
|
109
93
|
types: {
|
|
110
94
|
context: {},
|
|
@@ -150,7 +134,6 @@ const electronicSignatureMachine = setup({
|
|
|
150
134
|
},
|
|
151
135
|
guards: {
|
|
152
136
|
errorFromUpload: ({ context }) => context.errorSource === "upload",
|
|
153
|
-
errorFromSigning: ({ context }) => context.errorSource === "signing",
|
|
154
137
|
shouldUpload: ({ context }) => context.config.uploadDocument === true,
|
|
155
138
|
hasUploadUrl: ({ context }) => context.preSignedUrl !== null,
|
|
156
139
|
allConsented: ({ context }) => areAllConsented(context.consentChecks),
|
|
@@ -160,13 +143,12 @@ const electronicSignatureMachine = setup({
|
|
|
160
143
|
},
|
|
161
144
|
allSigned: ({ event }) => {
|
|
162
145
|
const { output } = event;
|
|
163
|
-
return output.every((d) =>
|
|
146
|
+
return output.every((d) => d.signed);
|
|
164
147
|
},
|
|
165
148
|
allSignedAndDownload: ({ context, event }) => {
|
|
166
149
|
const { output } = event;
|
|
167
|
-
return output.every((d) => !!d.signedDocumentUrl) && context.config.downloadDocument === true;
|
|
168
|
-
}
|
|
169
|
-
isRetryableSignError: ({ event }) => isRetryableSignError(event.error)
|
|
150
|
+
return output.every((d) => d.signed && !!d.signedDocumentUrl) && context.config.downloadDocument === true;
|
|
151
|
+
}
|
|
170
152
|
}
|
|
171
153
|
}).createMachine({
|
|
172
154
|
id: "electronicSignature",
|
|
@@ -294,67 +276,49 @@ const electronicSignatureMachine = setup({
|
|
|
294
276
|
actions: "setSignedDocuments"
|
|
295
277
|
},
|
|
296
278
|
{
|
|
297
|
-
target: "
|
|
279
|
+
target: "signError",
|
|
298
280
|
actions: assign({
|
|
299
281
|
errorMessage: () => "aes.signingFailed",
|
|
300
282
|
errorSource: () => "signing"
|
|
301
283
|
})
|
|
302
284
|
}
|
|
303
285
|
],
|
|
304
|
-
onError:
|
|
305
|
-
target: "
|
|
306
|
-
guard: "isRetryableSignError",
|
|
307
|
-
actions: assign(({ event }) => ({
|
|
308
|
-
errorMessage: String(event.error ?? "aes.error"),
|
|
309
|
-
errorSource: "signing"
|
|
310
|
-
}))
|
|
311
|
-
}, {
|
|
312
|
-
target: "failed",
|
|
286
|
+
onError: {
|
|
287
|
+
target: "signError",
|
|
313
288
|
actions: assign(({ event }) => ({
|
|
314
289
|
errorMessage: String(event.error ?? "aes.error"),
|
|
315
290
|
errorSource: "signing"
|
|
316
291
|
}))
|
|
317
|
-
}
|
|
292
|
+
}
|
|
318
293
|
} },
|
|
319
294
|
success: { after: { 3e3: "finished" } },
|
|
320
295
|
successDownload: { on: {
|
|
321
296
|
FINISH: { target: "finished" },
|
|
322
297
|
CLOSE: { target: "closed" }
|
|
323
298
|
} },
|
|
299
|
+
signError: { after: { 3e3: "finished" } },
|
|
324
300
|
error: { on: {
|
|
325
|
-
RETRY: [
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
{
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
errorSource: () => null
|
|
343
|
-
})
|
|
344
|
-
},
|
|
345
|
-
{
|
|
346
|
-
target: "fetchingDocs",
|
|
347
|
-
actions: assign({
|
|
348
|
-
errorMessage: () => "",
|
|
349
|
-
errorSource: () => null
|
|
350
|
-
})
|
|
351
|
-
}
|
|
352
|
-
],
|
|
301
|
+
RETRY: [{
|
|
302
|
+
target: "uploading",
|
|
303
|
+
guard: "errorFromUpload",
|
|
304
|
+
actions: assign({
|
|
305
|
+
errorMessage: () => "",
|
|
306
|
+
errorSource: () => null,
|
|
307
|
+
fileName: () => null,
|
|
308
|
+
fileSize: () => null,
|
|
309
|
+
fileUrl: () => null
|
|
310
|
+
})
|
|
311
|
+
}, {
|
|
312
|
+
target: "fetchingDocs",
|
|
313
|
+
actions: assign({
|
|
314
|
+
errorMessage: () => "",
|
|
315
|
+
errorSource: () => null
|
|
316
|
+
})
|
|
317
|
+
}],
|
|
353
318
|
CLOSE: { target: "closed" }
|
|
354
319
|
} },
|
|
355
320
|
finished: { type: "final" },
|
|
356
|
-
closed: { type: "final" }
|
|
357
|
-
failed: { type: "final" }
|
|
321
|
+
closed: { type: "final" }
|
|
358
322
|
}
|
|
359
323
|
});
|
|
360
324
|
|
|
@@ -390,11 +354,10 @@ function createElectronicSignatureActor(options) {
|
|
|
390
354
|
* - `AdSign.AcceptSign.viewdoc` — UI sub-state of `signing` while
|
|
391
355
|
* `context.viewingDocumentUrl` is set.
|
|
392
356
|
*
|
|
393
|
-
* `
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
* handled by `moduleClosed`).
|
|
357
|
+
* `signError` is mapped to `AdSign.AcceptSign.error` — the SDK shows the
|
|
358
|
+
* error screen for 3s then auto-finishes. `error` covers upload/fetch-docs
|
|
359
|
+
* failures (Try Again). `closed` is intentionally unmapped (terminal
|
|
360
|
+
* user-dismissed state — handled by `moduleClosed`).
|
|
398
361
|
*/
|
|
399
362
|
function getAdSignatureScreenName(snapshot) {
|
|
400
363
|
const stateName = topLevelStateName(snapshot.value);
|
|
@@ -411,8 +374,8 @@ function getAdSignatureScreenName(snapshot) {
|
|
|
411
374
|
case "success":
|
|
412
375
|
case "successDownload":
|
|
413
376
|
case "finished": return "AdSign.success";
|
|
414
|
-
case "error":
|
|
415
|
-
case "
|
|
377
|
+
case "error": return "AdSign.AcceptSign.error";
|
|
378
|
+
case "signError": return "AdSign.AcceptSign.error";
|
|
416
379
|
default: return;
|
|
417
380
|
}
|
|
418
381
|
}
|
|
@@ -435,9 +398,9 @@ function getAdSignatureScreenName(snapshot) {
|
|
|
435
398
|
* - `QSign.AcceptSign.{selectedCheckox,loadingsign,viewdoc}` — same UI
|
|
436
399
|
* sub-states as AES (consent checked / signing in flight / viewing doc).
|
|
437
400
|
*
|
|
438
|
-
* `
|
|
439
|
-
* (
|
|
440
|
-
*
|
|
401
|
+
* `signError` is mapped to `QSign.AcceptSign.error` for the same reason as
|
|
402
|
+
* AES (error screen shown for 3s then auto-finish). `closed` is intentionally
|
|
403
|
+
* unmapped.
|
|
441
404
|
*/
|
|
442
405
|
function getQSignatureScreenName(snapshot) {
|
|
443
406
|
const stateName = topLevelStateName(snapshot.value);
|
|
@@ -454,8 +417,8 @@ function getQSignatureScreenName(snapshot) {
|
|
|
454
417
|
case "success":
|
|
455
418
|
case "successDownload":
|
|
456
419
|
case "finished": return "QSign.success";
|
|
457
|
-
case "error":
|
|
458
|
-
case "
|
|
420
|
+
case "error": return "QSign.AcceptSign.error";
|
|
421
|
+
case "signError": return "QSign.AcceptSign.error";
|
|
459
422
|
default: return;
|
|
460
423
|
}
|
|
461
424
|
}
|
|
@@ -489,8 +452,8 @@ function mapState(snapshot) {
|
|
|
489
452
|
status: "error",
|
|
490
453
|
errorMessage: context.errorMessage
|
|
491
454
|
};
|
|
492
|
-
if (snapshot.matches("
|
|
493
|
-
status: "
|
|
455
|
+
if (snapshot.matches("signError")) return {
|
|
456
|
+
status: "signError",
|
|
494
457
|
errorMessage: context.errorMessage
|
|
495
458
|
};
|
|
496
459
|
if (snapshot.matches("finished")) return { status: "finished" };
|
package/dist/email.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
1
|
+
import "./StateMachine-C_AY4cs7.js";
|
|
2
|
+
import "./Manager-CJ3G2zqi.js";
|
|
3
|
+
import "./Actor-CGEelYtQ.js";
|
|
4
|
+
import { n as EmailState, o as emailMachine, r as createEmailManager, s as EmailConfig, t as EmailManager } from "./emailManager-fHASH6uo.js";
|
|
5
|
+
import "./otp-M4iy57XY.js";
|
|
5
6
|
export { type EmailConfig, type EmailManager, type EmailState, createEmailManager, emailMachine };
|
package/dist/email.esm.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import "./BrowserTimerProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import "./events-
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import "./
|
|
8
|
-
import
|
|
1
|
+
import "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
|
+
import "./api-DsbUi7TO.esm.js";
|
|
3
|
+
import "./events-CqGY1yMq.esm.js";
|
|
4
|
+
import "./types-ElOJAGaM.esm.js";
|
|
5
|
+
import "./endpoints-BzMJFAPV.esm.js";
|
|
6
|
+
import "./xstate.esm-Bomq1a0z.esm.js";
|
|
7
|
+
import { t as emailMachine } from "./emailStateMachine-fqJ42b19.esm.js";
|
|
8
|
+
import "./otp-Bfnzf7I3.esm.js";
|
|
9
|
+
import { t as createEmailManager } from "./emailManager-B_XzEsXH.esm.js";
|
|
9
10
|
|
|
10
11
|
export { createEmailManager, emailMachine };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
1
|
+
import { n as createManagerInstrumentation } from "./events-CqGY1yMq.esm.js";
|
|
2
|
+
import { n as eventModuleNames } from "./types-ElOJAGaM.esm.js";
|
|
3
|
+
import { l as createManager, s as createActor } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
4
|
+
import { t as emailMachine } from "./emailStateMachine-fqJ42b19.esm.js";
|
|
5
|
+
import { t as OTP_CODE_LENGTH } from "./otp-Bfnzf7I3.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/email/emailActor.ts
|
|
7
8
|
function createEmailActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
3
|
-
import { t as OtpValidationErrors } from "./otp-
|
|
1
|
+
import { t as Manager } from "./Manager-CJ3G2zqi.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-CGEelYtQ.js";
|
|
3
|
+
import { t as OtpValidationErrors } from "./otp-M4iy57XY.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/email/types.d.ts
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-
|
|
5
|
-
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
2
|
+
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-BzMJFAPV.esm.js";
|
|
4
|
+
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-Bomq1a0z.esm.js";
|
|
5
|
+
import { n as computeOtpValidationErrors, r as isOtpComplete } from "./otp-Bfnzf7I3.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/email/emailServices.ts
|
|
8
8
|
function getEmailServerFailureReason(error, invalidStatus) {
|
|
@@ -9,6 +9,15 @@ const endpoints = {
|
|
|
9
9
|
recordingStartV2: "/omni/recordings/record-start/v2",
|
|
10
10
|
recordingStopV2: "/omni/recordings/record-stop/v2",
|
|
11
11
|
deepsightVideoImport: "/omni/recordings/import",
|
|
12
|
+
videoSelfieUploadInitiate: "/omni/video-selfie/upload/initiate",
|
|
13
|
+
videoSelfieUploadPart: "/omni/video-selfie/upload/part",
|
|
14
|
+
videoSelfieUploadComplete: "/omni/video-selfie/upload/complete",
|
|
15
|
+
videoSelfieCompareId: "/omni/videoselfie/compare-id/v2",
|
|
16
|
+
videoSelfieCompareOcr: "/omni/videoselfie/compare-ocr/v2",
|
|
17
|
+
videoSelfieCompareBackId: "/omni/videoselfie/compare-back-id/v2",
|
|
18
|
+
videoSelfieCompareBackOcr: "/omni/videoselfie/compare-back-ocr/v2",
|
|
19
|
+
questionAndAnswer: "/omni/get/questionAndAnswer",
|
|
20
|
+
addSpeechV2: "/omni/add/speech/v2",
|
|
12
21
|
phone: "/omni/add/phone",
|
|
13
22
|
phoneInstant: "/omni/instant/add/phone",
|
|
14
23
|
getPhone: "/omni/get/phone",
|
|
@@ -83,6 +92,10 @@ const endpoints = {
|
|
|
83
92
|
workflowInfo: "/omni/workflow/info",
|
|
84
93
|
customModuleExecution: "/omni/custom-module/execution",
|
|
85
94
|
processCrossDocumentDataMatch: "/omni/cross-doc-data-check/process",
|
|
95
|
+
personhoodServerFallback: "/omni/personhood/fallback",
|
|
96
|
+
personhoodOAuthToken: "/omni/oauth2/token",
|
|
97
|
+
personhoodOAuthTokenDirect: "/oauth2/token",
|
|
98
|
+
personhoodOnDeviceVerify: "/omni/personhood/verify",
|
|
86
99
|
dynamicFormsSubmitAnswer: "/omni/form-answer/submit",
|
|
87
100
|
certificateIssuanceIssue: "/omni/es/process/issueCertificate",
|
|
88
101
|
addFiscalQrLink: "/omni/add/fiscal-qr-url"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
1
|
+
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
|
|
4
4
|
function getTimestamp() {
|
|
@@ -476,190 +476,4 @@ function topLevelStateName(value) {
|
|
|
476
476
|
}
|
|
477
477
|
|
|
478
478
|
//#endregion
|
|
479
|
-
|
|
480
|
-
const eventModuleNames = {
|
|
481
|
-
selfie: "SELFIE",
|
|
482
|
-
faceCapture: "faceCapture",
|
|
483
|
-
authentication: "AUTHENTICATION",
|
|
484
|
-
authFace: "authFace",
|
|
485
|
-
mlConsent: "ML_CONSENT",
|
|
486
|
-
combinedConsent: "datasharingconsent",
|
|
487
|
-
curpValidation: "CURP",
|
|
488
|
-
faceMatch: "FACE_MATCH",
|
|
489
|
-
qr: "QR",
|
|
490
|
-
videoSelfie: "VIDEO_ONBOARDING",
|
|
491
|
-
passport: "ID",
|
|
492
|
-
front: "ID",
|
|
493
|
-
back: "ID",
|
|
494
|
-
id: "ID",
|
|
495
|
-
idCapture: "idCapture",
|
|
496
|
-
idOcr: "ID_OCR",
|
|
497
|
-
document: "documentCapture",
|
|
498
|
-
creditCard: "CREDIT_CARD_FRONT",
|
|
499
|
-
creditCardBack: "CREDIT_CARD_BACK",
|
|
500
|
-
conference: "CONFERENCE",
|
|
501
|
-
otp: "OTP",
|
|
502
|
-
signature: "eSign",
|
|
503
|
-
ekyc: "eKYC",
|
|
504
|
-
watchlist: "watchlist",
|
|
505
|
-
globalWatchList: "GLOBAL_WATCHLIST",
|
|
506
|
-
customWatchList: "customWatchlist",
|
|
507
|
-
email: "email",
|
|
508
|
-
phone: "phoneNumber",
|
|
509
|
-
instantVerifyEmail: "INSTANT_VERIFY_EMAIL",
|
|
510
|
-
instantVerifyConsent: "INSTANT_VERIFY_CONSENT",
|
|
511
|
-
forms: "forms",
|
|
512
|
-
customModule: "CUSTOM_MODULE",
|
|
513
|
-
geolocation: "Geolocation",
|
|
514
|
-
ekyb: "eKYB",
|
|
515
|
-
identityReuse: "IDENTITY_REUSE",
|
|
516
|
-
antifraud: "antifraud",
|
|
517
|
-
aeSignature: "AdSign",
|
|
518
|
-
qeSignature: "QSign",
|
|
519
|
-
crossDocumentDataMatch: "CROSS_DOCUMENT_DATA_MATCH",
|
|
520
|
-
customFields: "CUSTOM_FIELDS",
|
|
521
|
-
fieldComparison: "FIELD_COMPARISON",
|
|
522
|
-
watchlistForBusiness: "watchlistForBusiness",
|
|
523
|
-
trustGraph: "TRUST_GRAPH",
|
|
524
|
-
certificateIssuance: "CERTIFICATE_ISSUANCE",
|
|
525
|
-
governmentValidation: "GovernmentRecordValidation",
|
|
526
|
-
documentUpload: "document-upload",
|
|
527
|
-
home: "home",
|
|
528
|
-
workflow: "workflow",
|
|
529
|
-
fiscalQr: "FISCAL_QR"
|
|
530
|
-
};
|
|
531
|
-
const eventScreenNames = {
|
|
532
|
-
faceMatch: "FACE_MATCH",
|
|
533
|
-
faceCaptureTutorial: "SELFIE_CAPTURE_TUTORIAL",
|
|
534
|
-
faceCaptureCamera: "SELFIE_CAMERA_CAPTURE",
|
|
535
|
-
faceCaptureError: "SELFIE_ATTEMPT_FAILED",
|
|
536
|
-
faceCaptureSuccess: "SELFIE_UPLOAD_SUCCEEDED",
|
|
537
|
-
faceCaptureUpload: "SELFIE_UPLOAD_PROGRESS",
|
|
538
|
-
mlConsent: "MACHINE_LEARNING_CONSENT",
|
|
539
|
-
combinedConsent: "COMBINED_CONSENT",
|
|
540
|
-
curpEnter: "ENTER_CURP",
|
|
541
|
-
curpValidate: "VALIDATE_CURP",
|
|
542
|
-
curpGenerate: "GENERATE_CURP",
|
|
543
|
-
curpValidation: "CURP_VALIDATION_PROGRESS",
|
|
544
|
-
curpValidationFailed: "CURP_VALIDATION_FAILED",
|
|
545
|
-
curpValidationSuccess: "CURP_VALIDATION_SUCCEEDED",
|
|
546
|
-
qrTutorial: "QR_TUTORIAL",
|
|
547
|
-
qrScan: "QR_SCAN",
|
|
548
|
-
smsOtp: "OTP",
|
|
549
|
-
simpleOTP: "OTP",
|
|
550
|
-
signatureInput: "SIGNATURE_INPUT",
|
|
551
|
-
frontTutorial: "FRONT_ID_CAPTURE_TUTORIAL",
|
|
552
|
-
frontCameraCapture: "FRONT_ID_CAMERA_CAPTURE",
|
|
553
|
-
frontHelp: "FRONT_ID_HELP",
|
|
554
|
-
frontReviewPhoto: "FRONT_ID_REVIEW_PHOTO",
|
|
555
|
-
frontUploadProgress: "FRONT_ID_UPLOAD_PROGRESS",
|
|
556
|
-
frontAttemptFailed: "FRONT_ID_ATTEMPT_FAILED",
|
|
557
|
-
frontUploadSuccess: "FRONT_ID_UPLOAD_SUCCEEDED",
|
|
558
|
-
backTutorial: "BACK_ID_CAPTURE_TUTORIAL",
|
|
559
|
-
backCameraCapture: "BACK_ID_CAMERA_CAPTURE",
|
|
560
|
-
backReviewPhoto: "BACK_ID_REVIEW_PHOTO",
|
|
561
|
-
backUploadProgress: "BACK_ID_UPLOAD_PROGRESS",
|
|
562
|
-
backAttemptFailed: "BACK_ID_ATTEMPT_FAILED",
|
|
563
|
-
backUploadSuccess: "BACK_ID_UPLOAD_SUCCEEDED",
|
|
564
|
-
backHelp: "BACK_ID_HELP",
|
|
565
|
-
passportTutorial: "TUTORIAL_PASSPORT",
|
|
566
|
-
documentTutorial: "DOCUMENT_CAPTURE_TUTORIAL",
|
|
567
|
-
documentCameraCapture: "DOCUMENT_CAMERA_CAPTURE",
|
|
568
|
-
documentHelp: "DOCUMENT_HELP",
|
|
569
|
-
documentReviewPhoto: "DOCUMENT_REVIEW_PHOTO",
|
|
570
|
-
documentUploadProgress: "DOCUMENT_UPLOAD_IN_PROGRESS",
|
|
571
|
-
documentAttemptFailed: "DOCUMENT_ATTEMPT_FAILED",
|
|
572
|
-
documentUploadSuccess: "DOCUMENT_UPLOAD_SUCCEEDED",
|
|
573
|
-
conferenceWait: "CONFERENCE_WAIT",
|
|
574
|
-
conferenceVideoChat: "CONFERENCE_VIDEO_CHAT",
|
|
575
|
-
conferenceMessageChat: "CONFERENCE_MESSAGE_CHAT",
|
|
576
|
-
videoSelfieTutorial: "VIDEO_SELFIE_TUTORIAL",
|
|
577
|
-
videoSelfie: "VIDEO_SELFIE",
|
|
578
|
-
videoSelfieFaceCapture: "VIDEO_SELFIE_FACE_CAPTURE",
|
|
579
|
-
videoSelfieFaceUploadProgress: "VIDEO_SELFIE_FACE_UPLOAD_PROGRESS",
|
|
580
|
-
videoSelfieFaceAttemptFailed: "VIDEO_SELFIE_FACE_ATTEMPT_FAILED",
|
|
581
|
-
videoSelfieFaceUploadSucceeded: "VIDEO_SELFIE_FACE_UPLOAD_SUCCEEDED",
|
|
582
|
-
videoSelfieFrontIdCapture: "VIDEO_SELFIE_FRONT_ID_CAPTURE",
|
|
583
|
-
videoSelfieFrontIdUploadProgress: "VIDEO_SELFIE_FRONT_ID_UPLOAD_PROGRESS",
|
|
584
|
-
videoSelfieFrontIdAttemptFailed: "VIDEO_SELFIE_FRONT_ID_ATTEMPT_FAILED",
|
|
585
|
-
videoSelfieFrontIdUploadSucceeded: "VIDEO_SELFIE_FRONT_ID_UPLOAD_SUCCEEDED",
|
|
586
|
-
videoSelfieBackIdCapture: "VIDEO_SELFIE_BACK_ID_CAPTURE",
|
|
587
|
-
videoSelfieBackIdUploadProgress: "VIDEO_SELFIE_BACK_ID_UPLOAD_PROGRESS",
|
|
588
|
-
videoSelfieBackIdAttemptFailed: "VIDEO_SELFIE_BACK_ID_ATTEMPT_FAILED",
|
|
589
|
-
videoSelfieBackIdUploadSucceeded: "VIDEO_SELFIE_BACK_ID_UPLOAD_SUCCEEDED",
|
|
590
|
-
videoSelfieDocumentCapture: "VIDEO_SELFIE_DOCUMENT_CAPTURE",
|
|
591
|
-
videoSelfieVoiceQuestion: "VIDEO_SELFIE_VOICE_QUESTION",
|
|
592
|
-
videoSelfieVoiceFinalQuestion: "VIDEO_SELFIE_VOICE_FINAL_QUESTION",
|
|
593
|
-
videoSelfieVideoUpload: "VIDEO SELFIE VIDEO UPLOAD",
|
|
594
|
-
ekycInput: "EKYC_INPUT",
|
|
595
|
-
ekycProgress: "EKYC_PROGRESS",
|
|
596
|
-
ekycSucceeded: "EKYC_SUCCEEDED",
|
|
597
|
-
ekycFailed: "EKYC_FAILED",
|
|
598
|
-
forms: "FORMS",
|
|
599
|
-
globalWatchListInput: "GLOBAL_WATCHLIST_INPUT",
|
|
600
|
-
globalWatchListProgress: "GLOBAL_WATCHLIST_PROGRESS",
|
|
601
|
-
globalWatchListSuccess: "GLOBAL_WATCHLIST_SUCCEEDED",
|
|
602
|
-
globalWatchListFailed: "GLOBAL_WATCHLIST_FAILED",
|
|
603
|
-
customWatchListInput: "CUSTOM_WATCHLIST_INPUT",
|
|
604
|
-
customWatchListProgress: "CUSTOM_WATCHLIST_PROGRESS",
|
|
605
|
-
customWatchListSuccess: "CUSTOM_WATCHLIST_SUCCEEDED",
|
|
606
|
-
customWatchListFailed: "CUSTOM_WATCHLIST_FAILED",
|
|
607
|
-
emailInput: "EMAIL_INPUT",
|
|
608
|
-
phoneInput: "PHONE_INPUT",
|
|
609
|
-
instantVerify: "INSTANT_VERIFY",
|
|
610
|
-
authFace: "AUTH_FACE",
|
|
611
|
-
authFaceError: "AUTH_FACE_ATTEMPT_FAILED",
|
|
612
|
-
authFaceUpload: "AUTH_FACE_UPLOAD_PROGRESS",
|
|
613
|
-
authFaceUploadSuccess: "AUTH_FACE_UPLOAD_SUCCEEDED",
|
|
614
|
-
authFaceUploadFailed: "AUTH_FACE_UPLOAD_FAILED",
|
|
615
|
-
authFaceTutorial: "AUTH_FACE_TUTORIAL",
|
|
616
|
-
customModuleCallback: "CUSTOM_MODULE_CALLBACK",
|
|
617
|
-
customModuleProcessing: "CUSTOM_MODULE_PROCESSING",
|
|
618
|
-
digitalIdFileSelection: "DIGITAL_ID_FILE_SELECTION",
|
|
619
|
-
digitalIdFileReview: "DIGITAL_ID_FILE_REVIEW",
|
|
620
|
-
digitalIdUploadProgress: "DIGITAL_ID_UPLOAD_PROGRESS",
|
|
621
|
-
digitalIdUploadSuccess: "DIGITAL_ID_UPLOAD_SUCCEEDED",
|
|
622
|
-
digitalIdUploadFailed: "DIGITAL_ID_UPLOAD_FAILED",
|
|
623
|
-
digitalIdAnalysisProgress: "DIGITAL_ID_ANALYSIS_PROGRESS",
|
|
624
|
-
digitalIdVerificationSuccess: "DIGITAL_ID_VERIFICATION_SUCCESS",
|
|
625
|
-
digitalIdVerificationFailed: "DIGITAL_ID_VERIFICATION_FAILED",
|
|
626
|
-
ekybForm: "EKYB_FORM"
|
|
627
|
-
};
|
|
628
|
-
const videoSelfieEvents = {
|
|
629
|
-
imageTooBlurry: "imageTooBlurry",
|
|
630
|
-
fillFrame: "fillFrame",
|
|
631
|
-
checkCameraOrLighting: "checkCameraOrLighting",
|
|
632
|
-
frontIdCaptureStarted: "frontIdCaptureStarted",
|
|
633
|
-
lookAtCamera: "lookAtCamera",
|
|
634
|
-
moveCloser: "moveCloser",
|
|
635
|
-
lookingForFrontId: "lookingForFrontId",
|
|
636
|
-
lookingForBackId: "lookingForBackId",
|
|
637
|
-
cameraSwitchToBack: "cameraSwitchToBack",
|
|
638
|
-
cameraSwitchToFront: "cameraSwitchToFront",
|
|
639
|
-
audioStreamOpened: "audioStreamOpened",
|
|
640
|
-
audioStreamClosed: "audioStreamClosed",
|
|
641
|
-
videoSelfieVideoUploadInProgress: "videoSelfieVideoUploadInProgress",
|
|
642
|
-
videoSelfieTosNotAccepted: "videoSelfieTosNotAccepted",
|
|
643
|
-
videoSelfieTosAccepted: "videoSelfieTosAccepted",
|
|
644
|
-
videoSelfieStreamCreated: "videoSelfieStreamCreated",
|
|
645
|
-
videoSelfieStreamDestroyed: "videoSelfieStreamDestroyed",
|
|
646
|
-
videoSelfieReconnecting: "videoSelfieReconnecting",
|
|
647
|
-
videoSelfieReconnected: "videoSelfieReconnected"
|
|
648
|
-
};
|
|
649
|
-
const tutorialScreenNamesMapper = {
|
|
650
|
-
passport: eventScreenNames.passportTutorial,
|
|
651
|
-
front: eventScreenNames.frontTutorial,
|
|
652
|
-
back: eventScreenNames.backTutorial,
|
|
653
|
-
selfie: eventScreenNames.faceCaptureTutorial
|
|
654
|
-
};
|
|
655
|
-
const cameraScreenNamesMapper = {
|
|
656
|
-
front: "front",
|
|
657
|
-
back: "back",
|
|
658
|
-
passport: "passport",
|
|
659
|
-
creditCard: "front",
|
|
660
|
-
creditCardBack: "back",
|
|
661
|
-
document: "document"
|
|
662
|
-
};
|
|
663
|
-
|
|
664
|
-
//#endregion
|
|
665
|
-
export { revokeObjectURL as C, getTimestamp as S, getAnalyticsBatcher as _, videoSelfieEvents as a, subscribeEvent as b, captureAttemptFinished as c, moduleOpened as d, screenClosed as f, addEvent as g, createAnalyticsBatchingService as h, tutorialScreenNamesMapper as i, elementClicked as l, screenOpened as m, eventModuleNames as n, topLevelStateName as o, screenEvent as p, eventScreenNames as r, createManagerInstrumentation as s, cameraScreenNamesMapper as t, moduleClosed as u, resetAnalyticsBatcher as v, createEventBus as x, setAnalyticsBatcher as y };
|
|
479
|
+
export { getTimestamp as _, moduleClosed as a, screenEvent as c, addEvent as d, getAnalyticsBatcher as f, createEventBus as g, subscribeEvent as h, elementClicked as i, screenOpened as l, setAnalyticsBatcher as m, createManagerInstrumentation as n, moduleOpened as o, resetAnalyticsBatcher as p, captureAttemptFinished as r, screenClosed as s, topLevelStateName as t, createAnalyticsBatchingService as u, revokeObjectURL as v };
|
package/dist/events.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ declare const eventModuleNames: {
|
|
|
55
55
|
readonly crossDocumentDataMatch: "CROSS_DOCUMENT_DATA_MATCH";
|
|
56
56
|
readonly customFields: "CUSTOM_FIELDS";
|
|
57
57
|
readonly fieldComparison: "FIELD_COMPARISON";
|
|
58
|
+
readonly personhood: "PERSONHOOD";
|
|
58
59
|
readonly watchlistForBusiness: "watchlistForBusiness";
|
|
59
60
|
readonly trustGraph: "TRUST_GRAPH";
|
|
60
61
|
readonly certificateIssuance: "CERTIFICATE_ISSUANCE";
|
|
@@ -174,6 +175,7 @@ declare const videoSelfieEvents: {
|
|
|
174
175
|
readonly cameraSwitchToFront: "cameraSwitchToFront";
|
|
175
176
|
readonly audioStreamOpened: "audioStreamOpened";
|
|
176
177
|
readonly audioStreamClosed: "audioStreamClosed";
|
|
178
|
+
readonly videoSelfieQuestionAnswered: "videoSelfieQuestionAnswered";
|
|
177
179
|
readonly videoSelfieVideoUploadInProgress: "videoSelfieVideoUploadInProgress";
|
|
178
180
|
readonly videoSelfieTosNotAccepted: "videoSelfieTosNotAccepted";
|
|
179
181
|
readonly videoSelfieTosAccepted: "videoSelfieTosAccepted";
|
package/dist/events.esm.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { a as
|
|
1
|
+
import "./api-DsbUi7TO.esm.js";
|
|
2
|
+
import { a as moduleClosed, c as screenEvent, d as addEvent, h as subscribeEvent, i as elementClicked, l as screenOpened, o as moduleOpened, r as captureAttemptFinished, s as screenClosed } from "./events-CqGY1yMq.esm.js";
|
|
3
|
+
import { a as videoSelfieEvents, i as tutorialScreenNamesMapper, n as eventModuleNames, r as eventScreenNames, t as cameraScreenNamesMapper } from "./types-ElOJAGaM.esm.js";
|
|
3
4
|
|
|
4
5
|
export { addEvent, cameraScreenNamesMapper, captureAttemptFinished, elementClicked, eventModuleNames, eventScreenNames, moduleClosed, moduleOpened, screenClosed, screenEvent, screenOpened, subscribeEvent, tutorialScreenNamesMapper, videoSelfieEvents };
|