@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
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
|
|
2
|
-
import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-BECAis8R.esm.js";
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-CB62pUQf.esm.js";
|
|
5
|
-
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
|
-
import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C2PYBVsp.esm.js";
|
|
7
|
-
/**
|
|
8
|
-
* The selfie capture state machine.
|
|
9
|
-
*
|
|
10
|
-
* Note: Uses AnyStateMachine type for declaration file portability.
|
|
11
|
-
* Type safety is ensured via the machine configuration.
|
|
12
|
-
*/
|
|
13
|
-
const selfieMachine = faceCaptureMachine.provide({
|
|
14
|
-
actors: {
|
|
15
|
-
prepareFaceUpload: fromPromise(async ({ input }) => {
|
|
16
|
-
const ctx = input;
|
|
17
|
-
return isOnDeviceMode(ctx.config) ? prepareOnDeviceFaceUpload(ctx) : defaultPrepareFaceUpload(ctx);
|
|
18
|
-
}),
|
|
19
|
-
uploadFace: fromPromise(async ({ input, signal }) => {
|
|
20
|
-
const ctx = input;
|
|
21
|
-
if (isOnDeviceMode(ctx.config)) return postOnDeviceFaceResults(ctx, signal);
|
|
22
|
-
return uploadSelfie({
|
|
23
|
-
encryptedBase64Image: ctx.encryptedBase64Image,
|
|
24
|
-
faceCoordinates: ctx.faceCoordinates,
|
|
25
|
-
metadata: ctx.deepsightService?.getMetadata(),
|
|
26
|
-
recordingId: ctx.uploadRecordingId,
|
|
27
|
-
deepsightService: ctx.deepsightService ?? void 0,
|
|
28
|
-
signal
|
|
29
|
-
});
|
|
30
|
-
}),
|
|
31
|
-
processFace: fromPromise(async ({ input, signal }) => {
|
|
32
|
-
if (isOnDeviceMode(input.config)) return {};
|
|
33
|
-
return processFace("selfie", signal);
|
|
34
|
-
})
|
|
35
|
-
},
|
|
36
|
-
actions: { setUploadErrorFromUploadValidation: assign({ uploadError: ({ context }) => {
|
|
37
|
-
if (isOnDeviceMode(context.config)) return;
|
|
38
|
-
return validateUploadResponse({
|
|
39
|
-
config: context.config,
|
|
40
|
-
response: context.uploadResponse
|
|
41
|
-
}) ?? FACE_ERROR_CODES.SERVER;
|
|
42
|
-
} }) },
|
|
43
|
-
guards: {
|
|
44
|
-
hasUploadValidationError: ({ context }) => {
|
|
45
|
-
if (isOnDeviceMode(context.config)) return false;
|
|
46
|
-
return validateUploadResponse({
|
|
47
|
-
config: context.config,
|
|
48
|
-
response: context.uploadResponse
|
|
49
|
-
}) !== void 0;
|
|
50
|
-
},
|
|
51
|
-
isTerminalUploadError: () => false
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
//#endregion
|
|
55
|
-
export { selfieMachine as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./trueSightService-D05SY_Ij.esm.js";
|
package/dist/types-EELWyWpd.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { i as FlowModuleConfig } from "./types-KPvmag_B.js";
|
|
2
|
-
import { t as BaseFaceCaptureConfig } from "./types-Hmd7U0JA.js";
|
|
3
|
-
//#region src/modules/authentication/types.d.ts
|
|
4
|
-
type AuthenticationConfig = FlowModuleConfig['AUTHENTICATION'] & BaseFaceCaptureConfig;
|
|
5
|
-
//#endregion
|
|
6
|
-
export { AuthenticationConfig as t };
|
package/dist/types-Vb4P9ovf.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
2
|
-
//#region src/modules/document-upload/types.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* Configuration for document upload (e.g., third ID capture).
|
|
5
|
-
* The documentType determines the backend endpoint query parameter.
|
|
6
|
-
*/
|
|
7
|
-
type DocumentUploadConfig = {
|
|
8
|
-
/** Document type for the upload endpoint (e.g., 'thirdId') */
|
|
9
|
-
documentType: string;
|
|
10
|
-
};
|
|
11
|
-
type DocumentUploadContext = {
|
|
12
|
-
config: DocumentUploadConfig;
|
|
13
|
-
stream: CameraStream | undefined;
|
|
14
|
-
imageBase64: string | undefined;
|
|
15
|
-
progress: number;
|
|
16
|
-
error: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
type DocumentUploadInput = {
|
|
19
|
-
config: DocumentUploadConfig;
|
|
20
|
-
};
|
|
21
|
-
//#endregion
|
|
22
|
-
export { DocumentUploadContext as n, DocumentUploadInput as r, DocumentUploadConfig as t };
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
//#region ../infra/src/wasm/warmup.d.ts
|
|
2
|
-
/**
|
|
3
|
-
* All available ML pipelines in the SDK.
|
|
4
|
-
* - 'selfie' - Face detection for selfie capture (default 4-model bundle)
|
|
5
|
-
* - 'onDeviceSelfie' - Face detection + on-device liveness + age estimation
|
|
6
|
-
* (6-model bundle for the on-device face-results submission flow). Mutually
|
|
7
|
-
* exclusive with 'selfie' for a given session — both use FaceProcessingApi.
|
|
8
|
-
* - 'idCapture' - Document detection for ID capture
|
|
9
|
-
* - 'videoSelfie' - Face detection tuned for the video-selfie flow
|
|
10
|
-
* (frame-aggregation best-shot; same 4-model bundle as 'selfie').
|
|
11
|
-
* - 'videoSelfieId' - Document detection tuned for the video-selfie flow
|
|
12
|
-
* (simplified ID capture, no capturing-manager timer).
|
|
13
|
-
*/
|
|
14
|
-
type WasmPipeline = 'selfie' | 'onDeviceSelfie' | 'idCapture' | 'videoSelfie' | 'videoSelfieId';
|
|
15
|
-
interface WarmupConfig {
|
|
16
|
-
/**
|
|
17
|
-
* Self-hosted WASM root directory. When set, resolves standard filenames
|
|
18
|
-
* (`webLib.wasm`, `webLib.js`, `models/`, etc.) under this path.
|
|
19
|
-
* Individual path fields override values derived from `basePath`.
|
|
20
|
-
* Pin a specific ml-wasm-kit version here when self-hosting so SDK updates
|
|
21
|
-
* do not change which binaries your app loads.
|
|
22
|
-
*/
|
|
23
|
-
basePath?: string;
|
|
24
|
-
wasmPath: string;
|
|
25
|
-
wasmSimdPath?: string;
|
|
26
|
-
glueCodePath: string;
|
|
27
|
-
/**
|
|
28
|
-
* Path to the SIMD-optimized WASM glue code (paired with `wasmSimdPath`).
|
|
29
|
-
* If omitted, defaults to a sibling `.js` derived from `wasmSimdPath`.
|
|
30
|
-
*/
|
|
31
|
-
glueCodeSimdPath?: string;
|
|
32
|
-
useSimd?: boolean;
|
|
33
|
-
pipelines?: readonly WasmPipeline[];
|
|
34
|
-
/**
|
|
35
|
-
* Base path for ML model files. Models will be loaded from `${modelsBasePath}/${modelFileName}`.
|
|
36
|
-
* If not provided, models are expected to be in the same directory as the WASM files.
|
|
37
|
-
*/
|
|
38
|
-
modelsBasePath?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Custom model files per pipeline. If not provided, uses default models.
|
|
41
|
-
* Keys are pipeline names, values are arrays of model file names.
|
|
42
|
-
*/
|
|
43
|
-
pipelineModels?: Partial<Record<WasmPipeline, string[]>>;
|
|
44
|
-
/**
|
|
45
|
-
* On-device mode. When true, the native WASM module skips full fingerprint
|
|
46
|
-
* collection on init and keeps only the device-detection DTO. Applied just
|
|
47
|
-
* before the WASM module initializes. Omit to leave the current setting
|
|
48
|
-
* (e.g. one already set via setup()'s `fingerprint` option) unchanged.
|
|
49
|
-
*/
|
|
50
|
-
onDeviceMode?: boolean;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Preloads WASM binary and ML models at app startup.
|
|
54
|
-
* Runs asynchronously - app can continue while WASM loads in background.
|
|
55
|
-
*
|
|
56
|
-
* Model files are automatically loaded based on the pipeline type.
|
|
57
|
-
* By default, models are expected in a 'models' subdirectory relative to the WASM binary.
|
|
58
|
-
*
|
|
59
|
-
* @param config - Configuration for WASM warmup
|
|
60
|
-
* @returns Promise that resolves when WASM is ready
|
|
61
|
-
*
|
|
62
|
-
* @example
|
|
63
|
-
* ```ts
|
|
64
|
-
* // Basic usage - models loaded from /wasm/v2/models/
|
|
65
|
-
* warmupWasm({
|
|
66
|
-
* wasmPath: '/wasm/v2/ml-wasm.wasm',
|
|
67
|
-
* glueCodePath: '/wasm/v2/ml-wasm.js',
|
|
68
|
-
* pipelines: ['selfie', 'idCapture'],
|
|
69
|
-
* });
|
|
70
|
-
*
|
|
71
|
-
* // With explicit models path
|
|
72
|
-
* warmupWasm({
|
|
73
|
-
* wasmPath: '/wasm/v2/ml-wasm.wasm',
|
|
74
|
-
* glueCodePath: '/wasm/v2/ml-wasm.js',
|
|
75
|
-
* modelsBasePath: 'https://cdn.example.com/wasm/v2/models',
|
|
76
|
-
* pipelines: ['selfie'],
|
|
77
|
-
* });
|
|
78
|
-
* ```
|
|
79
|
-
*/
|
|
80
|
-
declare function warmupWasm(config: WarmupConfig): Promise<void>;
|
|
81
|
-
//#endregion
|
|
82
|
-
export { WasmPipeline as n, warmupWasm as r, WarmupConfig as t };
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { u as deriveSiblingJsPath } from "./wasmWebClient-DM8lkb0z.esm.js";
|
|
2
|
-
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
3
|
-
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
4
|
-
/** The WASM version bundled and tested with this SDK release. */
|
|
5
|
-
const DEFAULT_WASM_VERSION = "v2.14.07-post7-post3";
|
|
6
|
-
const PATH_KEYS = [
|
|
7
|
-
"wasmPath",
|
|
8
|
-
"wasmSimdPath",
|
|
9
|
-
"glueCodePath",
|
|
10
|
-
"glueCodeSimdPath",
|
|
11
|
-
"modelsBasePath"
|
|
12
|
-
];
|
|
13
|
-
function isBlank(value) {
|
|
14
|
-
return value.trim() === "";
|
|
15
|
-
}
|
|
16
|
-
function hasDisallowedControlChars(value) {
|
|
17
|
-
for (let i = 0; i < value.length; i += 1) {
|
|
18
|
-
const code = value.charCodeAt(i);
|
|
19
|
-
if (code < 32 || code === 127) return true;
|
|
20
|
-
}
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
function isMalformedPath(value) {
|
|
24
|
-
const trimmed = value.trim();
|
|
25
|
-
if (trimmed === "") return false;
|
|
26
|
-
if (hasDisallowedControlChars(trimmed)) return true;
|
|
27
|
-
if (/^https?:\/\//i.test(trimmed)) try {
|
|
28
|
-
new URL(trimmed);
|
|
29
|
-
return false;
|
|
30
|
-
} catch {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
function warnInvalidWasmPath(field, reason) {
|
|
36
|
-
if (reason === "empty") {
|
|
37
|
-
console.warn(`[Incode SDK] wasm.${field} is empty. Falling back to CDN default.`);
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
console.warn(`[Incode SDK] wasm.${field} appears malformed. Falling back to CDN default.`);
|
|
41
|
-
}
|
|
42
|
-
function warnMalformedWasmPath(field) {
|
|
43
|
-
console.warn(`[Incode SDK] wasm.${field} appears malformed. Check the URL or path.`);
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Validates merged WASM path strings. When overrides contained blank path
|
|
47
|
-
* values, callers should have already fallen back to defaults before this runs.
|
|
48
|
-
*/
|
|
49
|
-
function validateWasmPaths(config) {
|
|
50
|
-
for (const key of PATH_KEYS) {
|
|
51
|
-
const value = config[key];
|
|
52
|
-
if (typeof value === "string" && isMalformedPath(value)) warnMalformedWasmPath(key);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
function pickPath(key, overrides, defaultValue) {
|
|
56
|
-
if (!overrides || !(key in overrides)) return defaultValue;
|
|
57
|
-
const raw = overrides[key];
|
|
58
|
-
if (raw === void 0) return defaultValue;
|
|
59
|
-
if (typeof raw !== "string") return defaultValue;
|
|
60
|
-
if (isBlank(raw)) {
|
|
61
|
-
warnInvalidWasmPath(key, "empty");
|
|
62
|
-
return defaultValue;
|
|
63
|
-
}
|
|
64
|
-
if (isMalformedPath(raw)) {
|
|
65
|
-
warnInvalidWasmPath(key, "malformed");
|
|
66
|
-
return defaultValue;
|
|
67
|
-
}
|
|
68
|
-
return raw.trim();
|
|
69
|
-
}
|
|
70
|
-
/** Builds a WarmupConfig from a directory that mirrors the ml-wasm-kit CDN layout. */
|
|
71
|
-
function buildWasmConfigFromBasePath(basePath) {
|
|
72
|
-
const base = basePath.endsWith("/") ? basePath.slice(0, -1) : basePath;
|
|
73
|
-
return {
|
|
74
|
-
wasmPath: `${base}/webLib.wasm`,
|
|
75
|
-
wasmSimdPath: `${base}/webLibSimd.wasm`,
|
|
76
|
-
glueCodePath: `${base}/webLib.js`,
|
|
77
|
-
glueCodeSimdPath: `${base}/webLibSimd.js`,
|
|
78
|
-
modelsBasePath: `${base}/models`
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
/** Builds the standard WarmupConfig from the Incode CDN. */
|
|
82
|
-
function buildDefaultWasmConfig() {
|
|
83
|
-
return buildWasmConfigFromBasePath(`${WASM_CDN_BASE_URL}/${DEFAULT_WASM_VERSION}`);
|
|
84
|
-
}
|
|
85
|
-
const BARCODE_ENHANCE_MODEL_FILE = "barcode_enhance_896x224_fp16.ortmodelv2";
|
|
86
|
-
/**
|
|
87
|
-
* URL of the lazily-loaded PDF417 barcode enhancement model (US Smart Capture).
|
|
88
|
-
* Derived from the resolved `modelsBasePath` so self-hosted / air-gapped
|
|
89
|
-
* deployments resolve it correctly, falling back to the CDN default. Loaded on
|
|
90
|
-
* demand via `IIdCaptureCapability.setBarcodeEnhancementModel` — deliberately
|
|
91
|
-
* NOT part of any warmup model bundle.
|
|
92
|
-
*/
|
|
93
|
-
function getBarcodeEnhanceModelUrl(modelsBasePath) {
|
|
94
|
-
const base = modelsBasePath ?? `${WASM_CDN_BASE_URL}/v2.14.07-post7-post3/models`;
|
|
95
|
-
return `${base.endsWith("/") ? base.slice(0, -1) : base}/${BARCODE_ENHANCE_MODEL_FILE}`;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* Merges optional WASM path overrides with CDN defaults. Explicit non-blank
|
|
99
|
-
* paths take precedence. Blank override strings log a warning and fall back to defaults.
|
|
100
|
-
*/
|
|
101
|
-
function resolveWasmConfig(overrides) {
|
|
102
|
-
if (!overrides) return buildDefaultWasmConfig();
|
|
103
|
-
const defaults = buildWasmConfigFromBasePath(pickPath("basePath", overrides, `${WASM_CDN_BASE_URL}/${DEFAULT_WASM_VERSION}`));
|
|
104
|
-
const simdDefault = defaults.wasmSimdPath ?? defaults.wasmPath;
|
|
105
|
-
const modelsDefault = defaults.modelsBasePath ?? (() => {
|
|
106
|
-
const lastSlash = defaults.wasmPath.lastIndexOf("/");
|
|
107
|
-
return lastSlash === -1 ? "models" : `${defaults.wasmPath.substring(0, lastSlash)}/models`;
|
|
108
|
-
})();
|
|
109
|
-
const resolvedWasmSimdPath = pickPath("wasmSimdPath", overrides, simdDefault);
|
|
110
|
-
const glueCodeSimdDefault = deriveSiblingJsPath(resolvedWasmSimdPath);
|
|
111
|
-
const merged = {
|
|
112
|
-
wasmPath: pickPath("wasmPath", overrides, defaults.wasmPath),
|
|
113
|
-
wasmSimdPath: resolvedWasmSimdPath,
|
|
114
|
-
glueCodePath: pickPath("glueCodePath", overrides, defaults.glueCodePath),
|
|
115
|
-
glueCodeSimdPath: pickPath("glueCodeSimdPath", overrides, glueCodeSimdDefault),
|
|
116
|
-
modelsBasePath: pickPath("modelsBasePath", overrides, modelsDefault),
|
|
117
|
-
useSimd: overrides.useSimd,
|
|
118
|
-
pipelines: overrides.pipelines,
|
|
119
|
-
pipelineModels: overrides.pipelineModels
|
|
120
|
-
};
|
|
121
|
-
validateWasmPaths(merged);
|
|
122
|
-
return merged;
|
|
123
|
-
}
|
|
124
|
-
//#endregion
|
|
125
|
-
export { resolveWasmConfig as a, getBarcodeEnhanceModelUrl as i, buildDefaultWasmConfig as n, buildWasmConfigFromBasePath as r, DEFAULT_WASM_VERSION as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
|
|
2
1
|
import { a as publishAvatarStats, r as isAvatarStatsEnabled, t as createAvatarStatsReporter } from "./avatarStats-CdUOb3VD.esm.js";
|
|
2
|
+
import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
|
|
3
3
|
import { n as createFaceLandmarker, t as asRvfc } from "./mediapipeShared-B6oNoXEQ.esm.js";
|
|
4
4
|
import { i as detectWorkerSourceInstrumentation, o as createFramePacer, r as createTrackProcessor } from "./privacyLensWorker-DI-Rg83h.esm.js";
|
|
5
5
|
import { a as createAvatar2DPoseCore, c as SatinSmileyRenderer, i as AVATAR2D_POSE_CORE_DEFAULTS, l as resolveAvatar2DAssets, n as buildAvatar2DTrackWorkerSource, o as createAvatar2DPoseCoreDeps, r as canUseAvatar2DWorker, s as extractCompactFace, t as buildAvatar2DRenderWorkerSource, takeWarmAvatar2DWorker } from "./avatar2dWarm-DqucNFX4.esm.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
|
|
2
1
|
import { a as publishAvatarStats, r as isAvatarStatsEnabled, t as createAvatarStatsReporter } from "./avatarStats-CdUOb3VD.esm.js";
|
|
2
|
+
import { t as createHiddenVideoElement } from "./video-BtSWtHy1.esm.js";
|
|
3
3
|
import { a as createPrivacyLensGl, i as detectWorkerSourceInstrumentation, n as canUsePrivacyLensWorker, o as createFramePacer, r as createTrackProcessor, t as buildPrivacyLensWorkerSource } from "./privacyLensWorker-DI-Rg83h.esm.js";
|
|
4
4
|
//#region ../infra/src/avatar/privacy-lens/privacyLensShaders.ts
|
|
5
5
|
/** Starting point; tuned live via the privacy-lens demo sliders. */
|
|
File without changes
|
|
File without changes
|