@incodetech/core 2.2.0-rc.8 → 2.3.0-rc.0
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/THIRD_PARTY_NOTICES.txt +281 -0
- package/dist/BaseWasmProvider-Dyi6dKp1.d.ts +65 -0
- package/dist/{BrowserDiagnosticsCryptoProvider-DslcXorZ.esm.js → BrowserDiagnosticsCryptoProvider-C_9o3L2L.esm.js} +1 -1
- package/dist/{BrowserVisibilityObserverProvider-BX1BiLDK.esm.js → BrowserVisibilityObserverProvider-BrJN1B8A.esm.js} +2 -0
- package/dist/FaceDetectionProvider-DTetAE8H.esm.js +476 -0
- package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +36 -0
- package/dist/{IIdCaptureCapability-DHTT3FC2.d.ts → IIdCaptureCapability-RNiFhvXR.d.ts} +7 -33
- package/dist/IWasmUtilCapability-CXXDA5l1.d.ts +159 -0
- package/dist/{MotionSensorProvider-DGiV77J_.esm.js → MotionSensorProvider-BgTYwg9L.esm.js} +1 -1
- package/dist/{deepsightService-DLVQS_RH.d.ts → StreamCanvasCapture-B3YT2Bt6.d.ts} +54 -41
- package/dist/{StreamCanvasCapture-D2XcXCZ4.esm.js → StreamCanvasCapture-C9jtgBdT.esm.js} +2 -2
- package/dist/{addressSearch-D1XpBdUS.esm.js → addressSearch-BRSu_aGA.esm.js} +1 -1
- package/dist/advanceableErrors-CpF2cBy6.esm.js +21 -0
- package/dist/ae-signature.d.ts +4 -2
- package/dist/ae-signature.esm.js +1 -1
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudManager-CQFNgSPt.esm.js → antifraudManager-Bg9ynGum.esm.js} +2 -2
- package/dist/{antifraudStateMachine-Bf_JVNwn.esm.js → antifraudStateMachine-BHxehiJZ.esm.js} +1 -1
- package/dist/{apiError-D4rZe9BR.esm.js → apiError-D0v5hFyN.esm.js} +14 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-EfCuQy_Y.esm.js → authenticationManager-C4B4-29g.esm.js} +5 -5
- package/dist/{authenticationManager-BBMGTcwW.d.ts → authenticationManager-DXTIUcma.d.ts} +7 -1
- package/dist/{authenticationStateMachine-B9l3sHEg.esm.js → authenticationStateMachine-DJ0zUm-A.esm.js} +6 -62
- package/dist/avatar.d.ts +1 -2
- package/dist/avatar.esm.js +1 -1
- package/dist/{backCameraStream-CUeYm5eu.esm.js → backCameraStream-BOtyQowf.esm.js} +83 -22
- package/dist/{camera-_2sXMXiF.esm.js → camera-sIa9ceW2.esm.js} +19 -1
- package/dist/camera.esm.js +1 -1
- package/dist/{canvas-E1zGkel4.esm.js → canvas-BxFzWTt-.esm.js} +19 -0
- package/dist/certificate-issuance.d.ts +2 -302
- package/dist/certificate-issuance.esm.js +3 -66
- package/dist/certificateIssuanceManager-Bfvkq7Cy.esm.js +69 -0
- package/dist/certificateIssuanceManager-DCgEidHz.d.ts +312 -0
- package/dist/{certificateIssuanceStateMachine-D_R92TYu.esm.js → certificateIssuanceStateMachine-BBD5h8c4.esm.js} +1 -1
- package/dist/consent.d.ts +1 -1
- package/dist/consent.esm.js +2 -2
- package/dist/{consentManager-BxjpLZAG.esm.js → consentManager-B5Vqdez-.esm.js} +2 -2
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
- package/dist/{consentStateMachine-D9D4ON8Z.esm.js → consentStateMachine-DbUmqWgV.esm.js} +1 -1
- package/dist/createCameraCycleOwnership-DQ5-F2oW.esm.js +826 -0
- package/dist/{createFaceAvatar-DQKaRise.esm.js → createFaceAvatar-BNHdeFj8.esm.js} +2 -2
- package/dist/createFaceAvatar-BlcTYgJv.d.ts +497 -0
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/{crossDocumentDataMatchManager-CGT0V6RV.esm.js → crossDocumentDataMatchManager-QMOGwHXR.esm.js} +2 -2
- package/dist/curp-validation.d.ts +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationManager-6Nmkn5u1.esm.js → curpValidationManager-D1ppROcF.esm.js} +2 -2
- package/dist/{curpValidationManager-DVGr7Fq7.d.ts → curpValidationManager-SSKNrm5Z.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Ds7KMacK.esm.js → curpValidationStateMachine-DvUPC_8S.esm.js} +1 -1
- package/dist/custom-fields.d.ts +2 -114
- package/dist/custom-fields.esm.js +2 -232
- package/dist/custom-watchlist.d.ts +2 -51
- package/dist/custom-watchlist.esm.js +3 -70
- package/dist/customFieldsManager-2j_PBq4U.esm.js +264 -0
- package/dist/customFieldsManager-8-W2KY4n.d.ts +141 -0
- package/dist/customWatchlistManager-DUVrEdw9.esm.js +73 -0
- package/dist/customWatchlistManager-PBWHr_oM.d.ts +64 -0
- package/dist/{customWatchlistStateMachine-YWSgKLbF.esm.js → customWatchlistStateMachine-qZVgkKgP.esm.js} +1 -1
- package/dist/{deepsightLoader-DEcRUKfT.esm.js → deepsightLoader-Dm7ejW4v.esm.js} +27 -71
- package/dist/device.d.ts +25 -2
- package/dist/device.esm.js +69 -7
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +2 -2
- package/dist/{documentCaptureManager-DsQQhWry.esm.js → documentCaptureManager-DR_Wv-3H.esm.js} +2 -2
- package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-DensIj5F.d.ts} +83 -83
- package/dist/{documentCaptureStateMachine-BM4Ex_5x.esm.js → documentCaptureStateMachine-CWOATHfE.esm.js} +5 -5
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-fhK0yINk.d.ts → dynamicFormsManager-D5R_uxLQ.d.ts} +25 -3
- package/dist/{dynamicFormsManager-CmvBSrzC.esm.js → dynamicFormsManager-Dt98SDfV.esm.js} +16 -5
- package/dist/{dynamicFormsStateMachine-C37Rtz1G.esm.js → dynamicFormsStateMachine-obKr4IIp.esm.js} +35 -3
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-Bx6dG89U.esm.js → ekybManager-DNZKrKF3.esm.js} +2 -2
- package/dist/{ekybStateMachine-uscz9zIj.esm.js → ekybStateMachine-DjhHQXZ8.esm.js} +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DgT48ky6.esm.js → ekycManager-CmQBpeiI.esm.js} +2 -2
- package/dist/{ekycStateMachine-CQwqiR-R.esm.js → ekycStateMachine-CmdW2gVm.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/electronicSignatureManager-Ds-KEVTq.d.ts +2786 -0
- package/dist/{electronicSignatureManager-_QiHi1U5.esm.js → electronicSignatureManager-DzulxM4_.esm.js} +357 -51
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BY0jeYwR.esm.js → emailManager-B5ek_UfM.esm.js} +2 -2
- package/dist/{emailStateMachine-Crw8QVmc.esm.js → emailStateMachine-CyPFZ7dW.esm.js} +1 -1
- package/dist/{endpoints-CCzL3XD_.esm.js → endpoints-D3B9mUHh.esm.js} +24 -7
- package/dist/{events-DYiyoSlx.esm.js → events-ijlbX_Wx.esm.js} +2 -2
- package/dist/events.d.ts +1 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.d.ts +24 -64
- package/dist/extensibility.esm.js +35 -29
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-BxWPpxyd.d.ts → faceCaptureManagerFactory-CvtqcLxs.d.ts} +87 -54
- package/dist/{faceCaptureManagerFactory-Bkueb8mk.esm.js → faceCaptureManagerFactory-pCmG4MeF.esm.js} +68 -7
- package/dist/faceCaptureSetup-BSextack.esm.js +2106 -0
- package/dist/{faceMatchManager-Ri4UbNz0.esm.js → faceMatchManager-Caal2zyV.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-20DdZ3jg.esm.js → faceMatchStateMachine-BUc5FXYy.esm.js} +1 -1
- package/dist/{feature-management-B3Uygq6K.esm.js → feature-management-B0sGlozZ.esm.js} +32 -7
- package/dist/feature-management.d.ts +1 -1
- package/dist/feature-management.esm.js +1 -1
- package/dist/field-comparison.esm.js +1 -1
- package/dist/{fieldComparisonManager-Cg6kPQQx.esm.js → fieldComparisonManager-BIs6HPJG.esm.js} +2 -2
- package/dist/fiscal-qr.d.ts +2 -56
- package/dist/fiscal-qr.esm.js +2 -308
- package/dist/fiscalQrManager-Bp_-3LJr.esm.js +34131 -0
- package/dist/fiscalQrManager-CHcBJwUM.d.ts +68 -0
- package/dist/flow-events.d.ts +1 -1
- package/dist/flow.d.ts +212 -185
- package/dist/flow.esm.js +119 -30
- package/dist/{flowCompletionService-UakxNaeg.esm.js → flowCompletionService-CLtbWhSK.esm.js} +2 -2
- package/dist/{flowServices-CD5m8HqZ.esm.js → flowServices-B5FwukTQ.esm.js} +91 -26
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-Bz6wJrfI.esm.js → geolocationManager-DIw-xq9a.esm.js} +2 -2
- package/dist/{geolocationStateMachine-psEJIVjN.esm.js → geolocationStateMachine-DpG0TFOU.esm.js} +3 -3
- package/dist/getBrowser-CBiibsL-.esm.js +19 -0
- package/dist/{getBrowser-DNrQeL4T.esm.js → getBrowser-Cbe1C4Tn.esm.js} +2 -1
- package/dist/{getDeviceClass-9y-kbVDw.esm.js → getDeviceClass-5NYZg9s6.esm.js} +2 -2
- package/dist/getParsedUserAgent-B2iFDql1.esm.js +1278 -0
- package/dist/government-validation.d.ts +2 -85
- package/dist/government-validation.esm.js +3 -120
- package/dist/governmentValidationManager-D02vT4yY.d.ts +63 -0
- package/dist/governmentValidationManager-TjC9iVjH.esm.js +79 -0
- package/dist/governmentValidationStateMachine-D1ZnEqdd.esm.js +54 -0
- package/dist/home.d.ts +1 -1
- package/dist/home.esm.js +1 -1
- package/dist/id-ocr.d.ts +2 -2
- package/dist/id-ocr.esm.js +2 -2
- package/dist/id-selfie-flow.d.ts +3 -2
- package/dist/id-selfie-flow.esm.js +11 -10
- package/dist/id-verification.esm.js +2 -2
- package/dist/id.d.ts +29 -5
- package/dist/id.esm.js +48 -46
- package/dist/idCaptureDefaults-BcxjQDI3.esm.js +484 -0
- package/dist/{idCaptureManager-CqrqSjJV.d.ts → idCaptureManager-CvmHOWWd.d.ts} +227 -39
- package/dist/{idCaptureManager-BJAquKfp.esm.js → idCaptureManager-Vby8oYqh.esm.js} +259 -46
- package/dist/{idCaptureServices-CM6ki4IH.esm.js → idCaptureServices-CJIxD9ep.esm.js} +342 -31
- package/dist/idCaptureStateMachine-CmqihkUy.esm.js +5343 -0
- package/dist/{idOcrManager-DXc_xRN7.d.ts → idOcrManager-BF_cXZq8.d.ts} +1 -1
- package/dist/{idOcrManager-BIQYQXXj.esm.js → idOcrManager-DHU22hVn.esm.js} +2 -2
- package/dist/{idOcrStateMachine-cSxzHpHt.esm.js → idOcrStateMachine-33UvRAHE.esm.js} +1 -1
- package/dist/{idVerificationManager-JpV_SAsl.esm.js → idVerificationManager-CyaixD0D.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-nPeUNyFq.esm.js → idVerificationStateMachine-BPGrQZEm.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-kNCg9AbD.esm.js → identityReuseManager-CWaNHBO3.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-DyulxDjP.esm.js → identityReuseStateMachine-CQgnATo5.esm.js} +1 -1
- package/dist/{index-CLMF0QLQ.d.ts → index-DLcJT5YP.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/{invokeOnCaptureCallback-GpvMuz9o.esm.js → invokeOnCaptureCallback-BjzPjJ_p.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +2 -2
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-CJSyhTpi.d.ts} +5 -5
- package/dist/{mandatoryConsentManager-B4Niyg_u.esm.js → mandatoryConsentManager-Du-m-tZ_.esm.js} +2 -2
- package/dist/{mandatoryConsentStateMachine-B4-1u-L8.esm.js → mandatoryConsentStateMachine-DSDAk7WZ.esm.js} +1 -1
- package/dist/multipartRecordingService-B3C_zlev.esm.js +594 -0
- package/dist/{permissionGuards-KINpmKtI.esm.js → permissionGuards-uYZYFu4J.esm.js} +1 -1
- package/dist/{permissionServices-UvUcOSRb.esm.js → permissionServices-Bj_fyWtv.esm.js} +5 -5
- package/dist/personhood.d.ts +6 -5
- package/dist/personhood.esm.js +10 -10
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-FsJ0W2Ei.esm.js → phoneManager-N1-sbrY4.esm.js} +2 -2
- package/dist/{phoneStateMachine-Ba0wKHyX.esm.js → phoneStateMachine-jl8LJKCo.esm.js} +1 -1
- package/dist/{platform-BJrm5nzZ.esm.js → platform-DkcRc9JV.esm.js} +29 -1
- package/dist/qe-signature.d.ts +5 -3
- package/dist/qe-signature.esm.js +2 -2
- package/dist/recordingsRepository-CCWy13M-.esm.js +72 -0
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-y4VQB11M.esm.js → redirectToMobileManager-DsFzdTwA.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-Cyv2x0PP.esm.js → redirectToMobileStateMachine-v3otpT-L.esm.js} +1 -1
- package/dist/{rolldown-runtime-FZ4Itg2g.esm.js → rolldown-runtime-FDOR9p9I.esm.js} +1 -19
- package/dist/{runChildModule-BR2RIfRg.esm.js → runChildModule-TuyGE00X.esm.js} +3 -21
- package/dist/safeStorage-B-trhxg6.esm.js +423 -0
- package/dist/{sdkVersion-BWOdgLZ1.esm.js → sdkVersion-CLxKvdyz.esm.js} +1 -1
- package/dist/selfie.d.ts +5 -5
- package/dist/selfie.esm.js +14 -76
- package/dist/{selfieErrorUtils-C2PYBVsp.esm.js → selfieErrorUtils-C77GXJH6.esm.js} +30 -4
- package/dist/{selfieManager-BlImAV-k.esm.js → selfieManager-CihVnODO.esm.js} +5 -5
- package/dist/{selfieManager-DwlCppg0.d.ts → selfieManager-D1KRJ39M.d.ts} +8 -11
- package/dist/selfieStateMachine-fwMmNtOi.esm.js +69 -0
- package/dist/{session-Bp17qJsu.esm.js → session-BHIeAamR.esm.js} +4 -5
- package/dist/session.d.ts +21 -11
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-CcqQD9Q4.esm.js → sessionInitializer-BLoK7SP9.esm.js} +187 -68
- package/dist/{setup-BgoWtvIS.d.ts → setup-Cv-JM9QC.d.ts} +63 -69
- package/dist/{setup-CXj5ozZN.esm.js → setup-msLybMbC.esm.js} +226 -100
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-Ca43yhwk.esm.js → signatureManager-ChsB-nMD.esm.js} +2 -2
- package/dist/{signatureStateMachine-K1LMRrxG.esm.js → signatureStateMachine-BHPwkJZS.esm.js} +1 -1
- package/dist/{src-0Jurt29N.esm.js → src-35ekGRzK.esm.js} +1 -1
- package/dist/{stats-B0nFKawG.esm.js → stats-DkK-f8JT.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{trueSightService-D05SY_Ij.esm.js → trueSightService-CKrrfV0Q.esm.js} +7 -7
- package/dist/trust-graph.esm.js +1 -1
- package/dist/{types-BX_XkMsQ2.d.ts → types-9_esGTPj.d.ts} +1 -1
- package/dist/types-BT_Oalip.d.ts +1 -0
- package/dist/{types-DelMqZLe.d.ts → types-BjSly8cp.d.ts} +1 -1
- package/dist/{types-Hmd7U0JA.d.ts → types-CM-jtjJ2.d.ts} +6 -81
- package/dist/{types-Bdf8_LYB2.d.ts → types-CjKBS37a2.d.ts} +303 -13
- package/dist/{types-DVmXIdzW.d.ts → types-D0gekt4U.d.ts} +38 -5
- package/dist/types-DgDvvzg0.d.ts +10 -0
- package/dist/{types-KPvmag_B.d.ts → types-Do5rEXij.d.ts} +7 -4
- package/dist/types-ZT1XFIJ8.d.ts +6 -0
- package/dist/video-selfie.d.ts +59 -35
- package/dist/video-selfie.esm.js +510 -601
- package/dist/{videoSelfieCameraWarmer-BhTWYfGn.esm.js → videoSelfieCameraWarmer-CB1IzZkt.esm.js} +14 -153
- package/dist/videoSelfieFlowModuleMachine-BUe2uACW.esm.js +32 -0
- package/dist/{videoSelfieStepDetector-D3oo2ofo.d.ts → videoSelfieStepDetector-5YHFe0Mq.d.ts} +21 -5
- package/dist/virtualCameraCheck-WOloJ-do.esm.js +48 -0
- package/dist/warmup-CUUnwYxe.esm.js +714 -0
- package/dist/warmup-Cis2p6O0.d.ts +128 -0
- package/dist/wasm.d.ts +30 -6
- package/dist/wasm.esm.js +36 -4
- package/dist/{wasmDsFlagSync-BqUCwLY8.esm.js → wasmDsFlagSync-B2e8p268.esm.js} +2 -2
- package/dist/{wasmWebClient-DM8lkb0z.esm.js → wasmWebClient-B7baE-Wf.esm.js} +358 -28
- package/dist/watchlist-for-business.d.ts +2 -78
- package/dist/watchlist-for-business.esm.js +3 -102
- package/dist/watchlist.esm.js +2 -2
- package/dist/watchlistForBusinessManager-CpuuB1J2.esm.js +107 -0
- package/dist/watchlistForBusinessManager-CsnJnG-C.d.ts +99 -0
- package/dist/{watchlistForBusinessStateMachine-CxFnlshm.esm.js → watchlistForBusinessStateMachine-DEzgjz7C.esm.js} +13 -6
- package/dist/{watchlistManager-LoNZH9qm.esm.js → watchlistManager-CI8BHFob.esm.js} +2 -2
- package/dist/{watchlistStateMachine-DIKQDoUT.esm.js → watchlistStateMachine-DvOby3a-.esm.js} +1 -1
- package/dist/workflow.d.ts +12 -8
- package/dist/workflow.esm.js +48 -39
- package/package.json +4 -10
- package/dist/BrowserStorageProvider-k-FDkC4W.esm.js +0 -67
- package/dist/FaceDetectionProvider-Mh6q3EbA.d.ts +0 -349
- package/dist/IFaceAvatarCapability-BrL19G0s.d.ts +0 -23
- package/dist/IStorageCapability-ORkQfK3F.d.ts +0 -242
- package/dist/OpenViduRecordingProvider-Du98qevC.esm.js +0 -85
- package/dist/createFaceAvatar-BEj18KXi.d.ts +0 -50
- package/dist/document-upload.d.ts +0 -325
- package/dist/document-upload.esm.js +0 -197
- package/dist/electronicSignatureManager-CcUXQZS7.d.ts +0 -1300
- package/dist/faceCaptureSetup-BECAis8R.esm.js +0 -863
- package/dist/getBrowser-Cb8Zgrgp.esm.js +0 -7
- package/dist/getParsedUserAgent-pJjATANs.esm.js +0 -1622
- package/dist/governmentValidationStateMachine-CK9DrZXX.esm.js +0 -226
- package/dist/idCaptureDefaults-WeHbQM7W.esm.js +0 -225
- package/dist/idCaptureStateMachine-fi-Gq1AH.esm.js +0 -3342
- package/dist/lib-DAyUtOTj.esm.js +0 -12420
- package/dist/manualReviewService-D4IkipnN.esm.js +0 -15
- package/dist/mediaRecorderOptions-dALSV8af.esm.js +0 -40
- package/dist/onDeviceFaceResults-CB62pUQf.esm.js +0 -646
- package/dist/openviduLazy-CCDpFWg1.esm.js +0 -10
- package/dist/recordingService-BRgmVnUT.esm.js +0 -329
- package/dist/safeStorage-Ep56I-f_.esm.js +0 -982
- package/dist/selfieStateMachine-CPXEC4wV.esm.js +0 -55
- package/dist/trueSight-CY0Ibfm9.esm.js +0 -1
- package/dist/types-EELWyWpd.d.ts +0 -6
- package/dist/types-Vb4P9ovf.d.ts +0 -22
- package/dist/warmup-Dv2alr2-.d.ts +0 -82
- package/dist/wasmDefaults-DTUrftxR.esm.js +0 -125
- package/dist/{Face2DProvider-UUQt_vRC.esm.js → Face2DProvider-BF48sz5c.esm.js} +1 -1
- package/dist/{PrivacyLensProvider-D8PS7AJa.esm.js → PrivacyLensProvider-EwnC_C5n.esm.js} +1 -1
- /package/dist/{types-BfgmV7s72.d.ts → types-BfgmV7s7.d.ts} +0 -0
- /package/dist/{types-CJ7Yl9K-2.d.ts → types-CJ7Yl9K-.d.ts} +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { a as RegulationTypes } from "./types-Do5rEXij.js";
|
|
2
|
+
//#region src/internal/fingerprint/types.d.ts
|
|
3
|
+
type DeviceFingerprintResult = {
|
|
4
|
+
success: boolean;
|
|
5
|
+
sessionStatus: string;
|
|
6
|
+
showMandatoryConsent?: boolean;
|
|
7
|
+
regulationType?: RegulationTypes;
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { DeviceFingerprintResult as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DocumentUploadConfig } from "./types-Vb4P9ovf.js";
|
|
2
1
|
import { s as RiskAddon } from "./types-Bk_6dmDa.js";
|
|
2
|
+
import "./createFaceAvatar-BlcTYgJv.js";
|
|
3
3
|
//#region src/internal/avatar/concealment.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* Backend-aligned selfie/auth face-concealment options. The backend returns a
|
|
@@ -182,7 +182,6 @@ type FlowModuleConfig = {
|
|
|
182
182
|
scrapingV3: boolean;
|
|
183
183
|
failUnsupportedId: boolean;
|
|
184
184
|
dataValidation: boolean;
|
|
185
|
-
backgroundExecution: boolean;
|
|
186
185
|
mockConnectionError: boolean;
|
|
187
186
|
mockUserNotFoundError: boolean;
|
|
188
187
|
mockOK: boolean;
|
|
@@ -193,7 +192,6 @@ type FlowModuleConfig = {
|
|
|
193
192
|
dataValidation: boolean;
|
|
194
193
|
faceAndDataValidation: boolean;
|
|
195
194
|
addressValidation: boolean;
|
|
196
|
-
backgroundExecution: boolean;
|
|
197
195
|
faceMatchOverrideDataScore: boolean;
|
|
198
196
|
useCroppedIdFacePhoto: boolean;
|
|
199
197
|
};
|
|
@@ -201,7 +199,9 @@ type FlowModuleConfig = {
|
|
|
201
199
|
ID: TutorialIdConfig;
|
|
202
200
|
SECOND_ID: TutorialIdConfig;
|
|
203
201
|
/** @deprecated Third ID step is deprecated; SDK skips this step and continues flow */
|
|
204
|
-
THIRD_ID:
|
|
202
|
+
THIRD_ID: {
|
|
203
|
+
documentType: string;
|
|
204
|
+
};
|
|
205
205
|
ID_OCR: {
|
|
206
206
|
editableOcr: boolean;
|
|
207
207
|
cpfOnly?: boolean;
|
|
@@ -248,6 +248,7 @@ type FlowModuleConfig = {
|
|
|
248
248
|
validateClosedEyes: boolean;
|
|
249
249
|
validateBrightness: boolean;
|
|
250
250
|
deepsightLiveness: 'SINGLE_FRAME' | 'MULTIMODAL' | 'VIDEOLIVENESS';
|
|
251
|
+
manualUploadSelfieCapture?: boolean;
|
|
251
252
|
/**
|
|
252
253
|
* When true, the SELFIE module runs face analysis on-device via the
|
|
253
254
|
* OnDevice WASM workflow and POSTs only the results JSON to
|
|
@@ -290,6 +291,7 @@ type FlowModuleConfig = {
|
|
|
290
291
|
/** Whether the consent audio is validated by backend speech-to-text. Default true. */
|
|
291
292
|
speechToTextCheck?: boolean;
|
|
292
293
|
selfieQualityAffectsScore: boolean;
|
|
294
|
+
/** Maximum active Video Selfie recording duration, in seconds. */
|
|
293
295
|
maxWaitingVideoSelfieFile: number;
|
|
294
296
|
lastSecondsVideoQualityCheck: boolean;
|
|
295
297
|
lastSecondsVideoQualityCheckDuration: number;
|
|
@@ -322,6 +324,7 @@ type FlowModuleConfig = {
|
|
|
322
324
|
QE_SIGNATURE: {
|
|
323
325
|
uploadDocument: boolean;
|
|
324
326
|
downloadDocument: boolean;
|
|
327
|
+
providerCode?: string;
|
|
325
328
|
};
|
|
326
329
|
CERTIFICATE_ISSUANCE: {
|
|
327
330
|
region: string;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
|
|
2
|
+
import { t as BaseFaceCaptureConfig } from "./types-CM-jtjJ2.js";
|
|
3
|
+
//#region src/modules/authentication/types.d.ts
|
|
4
|
+
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { AuthenticationConfig as t };
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as WasmPipeline } from "./warmup-Cis2p6O0.js";
|
|
2
2
|
import { A as StateMachine, _ as MachineContext, c as AnyEventObject, p as EventObject, v as MetaObject, y as NonReducibleUnknown } from "./spawn-D9jgw9pW.js";
|
|
3
3
|
import "./StateMachine-EDpYWy0i.js";
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
|
+
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
5
6
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
6
|
-
import { t as DetectionOrientation } from "./IIdCaptureCapability-
|
|
7
|
-
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-
|
|
7
|
+
import { t as DetectionOrientation } from "./IIdCaptureCapability-RNiFhvXR.js";
|
|
8
|
+
import { a as FacingMode, i as CameraCompositor, n as VideoSelfieDetectionStatus, o as VideoSelfieConfig, r as VideoSelfieValidationFailure, s as VideoSelfieStep, t as StepDetector } from "./videoSelfieStepDetector-5YHFe0Mq.js";
|
|
9
|
+
//#region ../infra/src/capabilities/ITimerCapability.d.ts
|
|
10
|
+
type TimerHandle = ReturnType<typeof setTimeout>;
|
|
11
|
+
type ITimerCapability = {
|
|
12
|
+
setTimeout(callback: () => void, delayMs: number): TimerHandle;
|
|
13
|
+
setInterval(callback: () => void, delayMs: number): TimerHandle;
|
|
14
|
+
clearTimeout(handle: TimerHandle): void;
|
|
15
|
+
clearInterval(handle: TimerHandle): void;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/internal/recordings/videoSelfieUploadService.d.ts
|
|
19
|
+
/** What the multipart upload records. Must be sent on every protocol call. */
|
|
20
|
+
type VideoUploadScope = 'videoselfie' | 'selfie' | 'frontId' | 'backId';
|
|
21
|
+
//#endregion
|
|
8
22
|
//#region src/internal/recordings/multipartRecordingService.d.ts
|
|
9
23
|
type MultipartRecordingResult = {
|
|
10
24
|
/**
|
|
@@ -19,12 +33,10 @@ type MultipartRecordingResult = {
|
|
|
19
33
|
* captured, using the video-selfie-service multipart upload protocol
|
|
20
34
|
* (`/v1/video-upload/*`).
|
|
21
35
|
*
|
|
22
|
-
* This is the
|
|
23
|
-
*
|
|
24
|
-
* / `OpenViduRecordingService`) — it is the replacement for server-side
|
|
25
|
-
* (OpenVidu) recording, not a sibling of it.
|
|
36
|
+
* This is the client-side recorder for Video Selfie and for scoped regular
|
|
37
|
+
* Selfie and ID recordings. It replaces the former server-side recording path.
|
|
26
38
|
*
|
|
27
|
-
* Every ~
|
|
39
|
+
* Every ~0.5 s recorder blob uploads as its own chunk, concurrently with
|
|
28
40
|
* recording, through {@link VideoSelfieChunkUploader} (keep-until-ack +
|
|
29
41
|
* retry with backoff — see its doc for the full policy). The service stages
|
|
30
42
|
* sub-5 MiB chunks and combines them server-side, so `stop()` only drains
|
|
@@ -33,14 +45,23 @@ type MultipartRecordingResult = {
|
|
|
33
45
|
* (S3 SSE-AES-256).
|
|
34
46
|
*/
|
|
35
47
|
declare class MultipartRecordingService {
|
|
48
|
+
private readonly scope;
|
|
36
49
|
private recorder;
|
|
37
50
|
private timer;
|
|
38
51
|
private session;
|
|
39
52
|
private uploader;
|
|
40
53
|
private chunksEmitted;
|
|
54
|
+
private stopPromise;
|
|
55
|
+
private abandonRequested;
|
|
56
|
+
constructor(scope?: VideoUploadScope);
|
|
41
57
|
get isRecording(): boolean;
|
|
42
58
|
start(stream: MediaStream): Promise<void>;
|
|
59
|
+
/** Pause the current media container without finalizing its upload. */
|
|
60
|
+
pause(): boolean;
|
|
61
|
+
/** Resume the same media container after its video source has recovered. */
|
|
62
|
+
resume(): boolean;
|
|
43
63
|
stop(): Promise<MultipartRecordingResult>;
|
|
64
|
+
private finalizeRecording;
|
|
44
65
|
cleanup(): void;
|
|
45
66
|
/**
|
|
46
67
|
* `complete` is idempotent server-side ("safe to repeat if the response
|
|
@@ -66,21 +87,31 @@ type VideoSelfieRecordingDependencies = {
|
|
|
66
87
|
acquireCamera?: (facingMode: FacingMode, withAudio: boolean) => Promise<CameraStream>;
|
|
67
88
|
/** Runs WASM detection + backend validation per step; resolves to advance. */
|
|
68
89
|
detect?: StepDetector;
|
|
90
|
+
/** Timer used by the whole-session maximum recording duration. */
|
|
91
|
+
timer?: ITimerCapability;
|
|
92
|
+
/**
|
|
93
|
+
* Overrides the page-visibility source used to pause capture. The manager
|
|
94
|
+
* promotes this dependency to the machine's required top-level input.
|
|
95
|
+
*/
|
|
96
|
+
visibilityObserver?: IVisibilityObserverCapability;
|
|
69
97
|
/** Minimum time to hold the switching-camera screen before resuming capture. */
|
|
70
98
|
switchingCameraMinDwellMs?: number;
|
|
71
99
|
};
|
|
72
100
|
/**
|
|
73
101
|
* Why the module errored: `connection` means a transport-level failure the
|
|
74
102
|
* user can fix by getting back online (the UI shows the connection-error
|
|
75
|
-
* copy); `technical` is
|
|
76
|
-
* diagnostics/hosts, the UI shows its generic fallback)
|
|
103
|
+
* copy); `technical` is every other recoverable failure (raw detail stays in
|
|
104
|
+
* `error` for diagnostics/hosts, the UI shows its generic fallback);
|
|
105
|
+
* `maxVideoLengthReached` is the configured recording limit; and
|
|
106
|
+
* `validationAttemptsExhausted` terminates the module after the last allowed
|
|
107
|
+
* ID or selfie validation failure.
|
|
77
108
|
*/
|
|
78
|
-
type VideoSelfieErrorKind = 'connection' | 'technical';
|
|
109
|
+
type VideoSelfieErrorKind = 'connection' | 'technical' | 'maxVideoLengthReached' | 'validationAttemptsExhausted';
|
|
79
110
|
//#endregion
|
|
80
111
|
//#region src/modules/video-selfie/videoSelfieRecordingActor.d.ts
|
|
81
112
|
type CreateVideoSelfieRecordingActorOptions = {
|
|
82
|
-
/** Module config; its flags determine the active capture steps + validations. */
|
|
83
113
|
config?: VideoSelfieConfig;
|
|
114
|
+
steps?: VideoSelfieStep[];
|
|
84
115
|
dependencies?: VideoSelfieRecordingDependencies;
|
|
85
116
|
};
|
|
86
117
|
//#endregion
|
|
@@ -116,12 +147,19 @@ type VideoSelfieRecordingState = {
|
|
|
116
147
|
attemptsRemaining: number;
|
|
117
148
|
/** The completed upload id, available during `success` and `finished`. */
|
|
118
149
|
recordingId: string | null;
|
|
119
|
-
/**
|
|
150
|
+
/**
|
|
151
|
+
* Failure detail for diagnostics, or the stable
|
|
152
|
+
* `maxVideoLengthReached` reason when the configured limit expires.
|
|
153
|
+
* Set when `status === 'error'`.
|
|
154
|
+
*/
|
|
120
155
|
error: string | undefined;
|
|
121
156
|
/**
|
|
122
157
|
* Why the module errored: `connection` (transport failure — the UI shows
|
|
123
158
|
* the connection-error copy; raw detail stays in `error` for diagnostics)
|
|
124
|
-
* or `technical` (
|
|
159
|
+
* or `technical` (recoverable technical failures), or
|
|
160
|
+
* `maxVideoLengthReached` (the configured recording limit), or
|
|
161
|
+
* `validationAttemptsExhausted` (terminal ID/selfie validation failure).
|
|
162
|
+
* Set when `status === 'error'`.
|
|
125
163
|
*/
|
|
126
164
|
errorKind: VideoSelfieErrorKind | undefined;
|
|
127
165
|
};
|
|
@@ -172,27 +210,10 @@ declare function facingModeForStep(step: VideoSelfieStep): 'user' | 'environment
|
|
|
172
210
|
* the first well-framed frame.
|
|
173
211
|
*/
|
|
174
212
|
declare function resolveVideoSelfieSteps(config: VideoSelfieConfig): VideoSelfieStep[];
|
|
175
|
-
|
|
176
|
-
* The WASM pipelines a Video Selfie session loads. The selfie step always runs
|
|
177
|
-
* face detection (`videoSelfie`); the ID steps run the simplified ID-capture
|
|
178
|
-
* pipeline (`videoSelfieId`), gated by `checkIdScan`. Used both for the
|
|
179
|
-
* flow-level eager warmup ({@link getRequiredWasmPipelines}) and the
|
|
180
|
-
* tutorial-time lazy warmup (`warmupVideoSelfieWasm`).
|
|
181
|
-
*/
|
|
182
|
-
declare function videoSelfieWasmPipelines(config: VideoSelfieConfig): WasmPipeline[];
|
|
213
|
+
declare function videoSelfieWasmPipelines(config: VideoSelfieConfig, steps?: VideoSelfieStep[]): WasmPipeline[];
|
|
183
214
|
//#endregion
|
|
184
215
|
//#region src/modules/video-selfie/videoSelfieWasm.d.ts
|
|
185
|
-
|
|
186
|
-
* Warms the WASM pipelines the Video Selfie flow needs (face detection, plus the
|
|
187
|
-
* ID-capture pipeline when `checkIdScan` is on), reusing the WASM config stored
|
|
188
|
-
* by `setup({ wasm })`.
|
|
189
|
-
*
|
|
190
|
-
* Idempotent and safe to call eagerly — the UI invokes it when the tutorial
|
|
191
|
-
* mounts so the models finish loading while the user reads the instructions, and
|
|
192
|
-
* detection is ready the instant recording starts (mirrors how the selfie and ID
|
|
193
|
-
* modules warm up during their tutorials). No-op when WASM was not configured.
|
|
194
|
-
*/
|
|
195
|
-
declare function warmupVideoSelfieWasm(config: VideoSelfieConfig): Promise<void>;
|
|
216
|
+
declare function warmupVideoSelfieWasm(config: VideoSelfieConfig, steps?: VideoSelfieStep[]): Promise<void>;
|
|
196
217
|
//#endregion
|
|
197
218
|
//#region src/modules/video-selfie/videoSelfieCameraWarmer.d.ts
|
|
198
219
|
/**
|
|
@@ -230,7 +251,7 @@ type VideoSelfieCameraWarmer = {
|
|
|
230
251
|
* camera (and whether it needs audio) is derived from the resolved step order —
|
|
231
252
|
* the same first acquire the recording machine performs on `START`.
|
|
232
253
|
*/
|
|
233
|
-
declare function createVideoSelfieCameraWarmer(config: VideoSelfieConfig): VideoSelfieCameraWarmer;
|
|
254
|
+
declare function createVideoSelfieCameraWarmer(config: VideoSelfieConfig, steps?: VideoSelfieStep[]): VideoSelfieCameraWarmer;
|
|
234
255
|
//#endregion
|
|
235
256
|
//#region src/modules/video-selfie/videoSelfieSpeechService.d.ts
|
|
236
257
|
/** A single random question (and its expected answer) for the challenge step. */
|
|
@@ -304,4 +325,7 @@ declare const videoSelfieFlowModuleMachine: StateMachine<MachineContext, AnyEven
|
|
|
304
325
|
};
|
|
305
326
|
}>;
|
|
306
327
|
//#endregion
|
|
307
|
-
|
|
328
|
+
//#region src/internal/orchestration/advanceableErrors.d.ts
|
|
329
|
+
declare const VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE = "VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED";
|
|
330
|
+
//#endregion
|
|
331
|
+
export { type ConsentRecorder, type CreateVideoSelfieRecordingActorOptions, VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE, type VideoSelfieCameraWarmer, type VideoSelfieConfig, type VideoSelfieQuestion, type VideoSelfieRecordingManager, type VideoSelfieRecordingState, type VideoSelfieRecordingStatus, type VideoSelfieStep, createConsentRecorder, createVideoSelfieCameraWarmer, createVideoSelfieRecordingManager, facingModeForStep, getVideoSelfieQuestions, getVoiceConsentPhrase, resolveVideoSelfieSteps, videoSelfieFlowModuleMachine, videoSelfieWasmPipelines, warmupVideoSelfieWasm };
|