@incodetech/core 2.2.0 → 2.3.0-rc.1
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-B8vorxN5.esm.js → BrowserDiagnosticsCryptoProvider-CU6kBvqv.esm.js} +1 -1
- package/dist/{BrowserVisibilityObserverProvider-BX1BiLDK.esm.js → BrowserVisibilityObserverProvider-BrJN1B8A.esm.js} +2 -0
- package/dist/FaceDetectionProvider-BfhWkK90.esm.js +431 -0
- package/dist/FaceDetectionProvider-LdZ47bWy.d.ts +36 -0
- package/dist/{IIdCaptureCapability-DHTT3FC2.d.ts → IIdCaptureCapability-RNiFhvXR.d.ts} +7 -33
- package/dist/IWasmUtilCapability-CNWRl7jr.d.ts +117 -0
- package/dist/{MotionSensorProvider-DGiV77J_.esm.js → MotionSensorProvider-BgTYwg9L.esm.js} +1 -1
- package/dist/{StreamCanvasCapture-D2XcXCZ4.esm.js → StreamCanvasCapture-C9jtgBdT.esm.js} +2 -2
- package/dist/{deepsightService-DLVQS_RH.d.ts → StreamCanvasCapture-_8gdW5Lk.d.ts} +54 -41
- package/dist/StreamCanvasProcessingSession-CBnbTnOr.esm.js +42 -0
- package/dist/{addressSearch-D1XpBdUS.esm.js → addressSearch-DyHGgeX8.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-DNkw66oW.esm.js} +2 -2
- package/dist/{antifraudStateMachine-Bf_JVNwn.esm.js → antifraudStateMachine-DBeq47D2.esm.js} +1 -1
- package/dist/{apiError-BA1d_au0.esm.js → apiError-Budb6m6w.esm.js} +14 -2
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-BBMGTcwW.d.ts → authenticationManager-CjXBjC-c.d.ts} +7 -1
- package/dist/{authenticationManager-zh9TC62P.esm.js → authenticationManager-cMXhG70r.esm.js} +5 -5
- package/dist/{authenticationStateMachine-xzi-vnvE.esm.js → authenticationStateMachine-MOYz4HCf.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-C3-CI0_s.esm.js +69 -0
- package/dist/certificateIssuanceManager-DCgEidHz.d.ts +312 -0
- package/dist/{certificateIssuanceStateMachine-D_R92TYu.esm.js → certificateIssuanceStateMachine-CxqS_nD-.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-B6E1XJDw.esm.js} +2 -2
- package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-BhYFeKiG.d.ts} +4 -4
- package/dist/{consentStateMachine-D9D4ON8Z.esm.js → consentStateMachine-DTSfdGiW.esm.js} +1 -1
- package/dist/createCameraCycleOwnership-CX3hJGKc.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-9XhFVZ5S.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-DbIMYFcJ.esm.js} +2 -2
- package/dist/{curpValidationManager-DVGr7Fq7.d.ts → curpValidationManager-SSKNrm5Z.d.ts} +1 -1
- package/dist/{curpValidationStateMachine-Ds7KMacK.esm.js → curpValidationStateMachine-g5kMfuLj.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-8-W2KY4n.d.ts +141 -0
- package/dist/customFieldsManager-CzWZTkW-.esm.js +264 -0
- package/dist/customWatchlistManager-DWTED5Ur.esm.js +73 -0
- package/dist/customWatchlistManager-PBWHr_oM.d.ts +64 -0
- package/dist/{customWatchlistStateMachine-YWSgKLbF.esm.js → customWatchlistStateMachine-DOQou6TW.esm.js} +1 -1
- package/dist/{deepsightLoader--wMKWECS.esm.js → deepsightLoader-DDv3vhXU.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-CwAiM9WY.esm.js} +2 -2
- package/dist/{documentCaptureManager-B3t0ydtg.d.ts → documentCaptureManager-DensIj5F.d.ts} +83 -83
- package/dist/{documentCaptureStateMachine-BM4Ex_5x.esm.js → documentCaptureStateMachine-DfGOBapD.esm.js} +5 -5
- package/dist/dynamic-forms.d.ts +1 -1
- package/dist/dynamic-forms.esm.js +2 -2
- package/dist/{dynamicFormsManager-fFVIRBNv.esm.js → dynamicFormsManager-BbS-XMFc.esm.js} +16 -5
- package/dist/{dynamicFormsManager-fhK0yINk.d.ts → dynamicFormsManager-D5R_uxLQ.d.ts} +25 -3
- package/dist/{dynamicFormsStateMachine-D6D7oEYk.esm.js → dynamicFormsStateMachine-D8zHBCh4.esm.js} +35 -3
- package/dist/ekyb.d.ts +1 -1
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-Y3MkoXpC.esm.js → ekybManager-5aiac8wL.esm.js} +2 -2
- package/dist/{ekybStateMachine-3nlnqdlr.esm.js → ekybStateMachine-Bn2IE9rx.esm.js} +3 -3
- package/dist/ekyc.esm.js +2 -2
- package/dist/{ekycManager-DgT48ky6.esm.js → ekycManager-BlQ-Qj4E.esm.js} +2 -2
- package/dist/{ekycStateMachine-CQwqiR-R.esm.js → ekycStateMachine-CshSNJhh.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{electronicSignatureManager-DGbAJ00W.esm.js → electronicSignatureManager-BJJH0Tvi.esm.js} +357 -51
- package/dist/electronicSignatureManager-Ds-KEVTq.d.ts +2786 -0
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-BY0jeYwR.esm.js → emailManager-bR1N5rV_.esm.js} +2 -2
- package/dist/{emailStateMachine-Crw8QVmc.esm.js → emailStateMachine-Bc_6oIYw.esm.js} +1 -1
- package/dist/{endpoints-CCzL3XD_.esm.js → endpoints-B-3Q-LUw.esm.js} +24 -10
- 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-CVnZ0fa5.esm.js → faceCaptureManagerFactory-B7Ms6pSs.esm.js} +68 -7
- package/dist/{faceCaptureManagerFactory-BxWPpxyd.d.ts → faceCaptureManagerFactory-BeUl8fl1.d.ts} +86 -54
- package/dist/faceCaptureSetup-bkAlr5d8.esm.js +2067 -0
- package/dist/{faceMatchManager-Ri4UbNz0.esm.js → faceMatchManager-Bmv0HzuY.esm.js} +2 -2
- package/dist/{faceMatchStateMachine-20DdZ3jg.esm.js → faceMatchStateMachine-mRIHQ3dA.esm.js} +1 -1
- package/dist/{feature-management-CPQ4qv3F.esm.js → feature-management-E0mq0pMs.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-CC-klG0h.esm.js} +2 -2
- package/dist/fiscal-qr.d.ts +2 -56
- package/dist/fiscal-qr.esm.js +2 -308
- package/dist/fiscalQrManager-B1STmT6z.d.ts +71 -0
- package/dist/fiscalQrManager-BunLVFbd.esm.js +34143 -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-tfeoGre9.esm.js → flowCompletionService-DJp1odGN.esm.js} +2 -2
- package/dist/{flowServices-f5Ruz7R9.esm.js → flowServices-DjPFGs_D.esm.js} +91 -26
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationManager-CH6RfqFH.esm.js → geolocationManager-D5906YXx.esm.js} +2 -2
- package/dist/{geolocationStateMachine-DmbWFely.esm.js → geolocationStateMachine-BVOduc3y.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-CacFOtKO.esm.js +79 -0
- package/dist/governmentValidationManager-D02vT4yY.d.ts +63 -0
- package/dist/governmentValidationStateMachine-CoaZOSTP.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-CbPA-Auz.esm.js +727 -0
- package/dist/{idCaptureManager-CqrqSjJV.d.ts → idCaptureManager-DKESug0R.d.ts} +230 -43
- package/dist/{idCaptureManager-BYwTZ2H8.esm.js → idCaptureManager-rfV9dIXy.esm.js} +259 -46
- package/dist/{idCaptureServices-44kwQItl.esm.js → idCaptureServices-i1KxugN7.esm.js} +285 -72
- package/dist/idCaptureStateMachine-Ne_PXth_.esm.js +5333 -0
- package/dist/{idOcrManager-DXc_xRN7.d.ts → idOcrManager-BF_cXZq8.d.ts} +1 -1
- package/dist/{idOcrManager-BIQYQXXj.esm.js → idOcrManager-r46XfZGE.esm.js} +2 -2
- package/dist/{idOcrStateMachine-cSxzHpHt.esm.js → idOcrStateMachine-ClDEP-VI.esm.js} +1 -1
- package/dist/{idVerificationManager-JpV_SAsl.esm.js → idVerificationManager-DT42c77H.esm.js} +2 -2
- package/dist/{idVerificationStateMachine-nPeUNyFq.esm.js → idVerificationStateMachine-DbDVIh9t.esm.js} +1 -1
- package/dist/identity-reuse.esm.js +2 -2
- package/dist/{identityReuseManager-kNCg9AbD.esm.js → identityReuseManager-yG3acUrQ.esm.js} +2 -2
- package/dist/{identityReuseStateMachine-DyulxDjP.esm.js → identityReuseStateMachine-BhAkuIra.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-B4Niyg_u.esm.js → mandatoryConsentManager-7dI0D08q.esm.js} +2 -2
- package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-vhv1co_n.d.ts} +1 -1
- package/dist/{mandatoryConsentStateMachine-B4-1u-L8.esm.js → mandatoryConsentStateMachine-DC5Mo6M1.esm.js} +1 -1
- package/dist/multipartRecordingService-OEgIRvqC.esm.js +605 -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-IjhSv5XS.esm.js} +2 -2
- package/dist/{phoneStateMachine-Ba0wKHyX.esm.js → phoneStateMachine-CXdXufKg.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/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-y4VQB11M.esm.js → redirectToMobileManager-FLEWJtv8.esm.js} +2 -2
- package/dist/{redirectToMobileStateMachine-Cyv2x0PP.esm.js → redirectToMobileStateMachine-CSWWgUTO.esm.js} +1 -1
- package/dist/{rolldown-runtime-FZ4Itg2g.esm.js → rolldown-runtime-FDOR9p9I.esm.js} +1 -19
- package/dist/{runChildModule-Dukuw23X.esm.js → runChildModule-CI1gGWN1.esm.js} +3 -21
- package/dist/safeStorage-B-trhxg6.esm.js +423 -0
- package/dist/{sdkVersion-D1Bm59g6.esm.js → sdkVersion-BZh6dj53.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-UiQ46EBa.esm.js} +30 -4
- package/dist/{selfieManager-DwlCppg0.d.ts → selfieManager-4RRLi21P.d.ts} +8 -11
- package/dist/{selfieManager-Bj6B2ZVy.esm.js → selfieManager-B-2c1n_x.esm.js} +5 -5
- package/dist/selfieStateMachine-Bzx41R8d.esm.js +69 -0
- package/dist/{session-BFdLgN4i.esm.js → session-3LmvAU4S.esm.js} +4 -5
- package/dist/session.d.ts +21 -11
- package/dist/session.esm.js +5 -5
- package/dist/{sessionInitializer-dlfDehHk.esm.js → sessionInitializer-BFk33E67.esm.js} +187 -68
- package/dist/{setup-BIAtLa8k.esm.js → setup-BWG-hivt.esm.js} +226 -100
- package/dist/{setup-BgoWtvIS.d.ts → setup-Cv-JM9QC.d.ts} +63 -69
- package/dist/signature.esm.js +2 -2
- package/dist/{signatureManager-Ca43yhwk.esm.js → signatureManager-B72np4ZO.esm.js} +2 -2
- package/dist/{signatureStateMachine-K1LMRrxG.esm.js → signatureStateMachine-ce_XMA3l.esm.js} +1 -1
- package/dist/{src-0Jurt29N.esm.js → src-35ekGRzK.esm.js} +1 -1
- package/dist/{stats-B0nFKawG.esm.js → stats-CZcy2J53.esm.js} +1 -1
- package/dist/stats.esm.js +1 -1
- package/dist/{trueSightService---iW2KKJ.esm.js → trueSightService-BN-Hzw82.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-Bnl58jUQ.d.ts} +6 -85
- package/dist/types-ChAowIxT.d.ts +6 -0
- 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-Bdf8_LYB2.d.ts → types-byBHOzCG2.d.ts} +305 -25
- package/dist/video-selfie.d.ts +59 -35
- package/dist/video-selfie.esm.js +510 -601
- package/dist/{videoSelfieCameraWarmer-NEhFZvWx.esm.js → videoSelfieCameraWarmer-B8PcYqmz.esm.js} +14 -153
- package/dist/videoSelfieFlowModuleMachine-BUe2uACW.esm.js +32 -0
- package/dist/{videoSelfieStepDetector-D3oo2ofo.d.ts → videoSelfieStepDetector-Co0Gu2k2.d.ts} +59 -13
- package/dist/virtualCameraCheck-Cjab7FTI.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-CIMkpEhu.esm.js +107 -0
- package/dist/watchlistForBusinessManager-CsnJnG-C.d.ts +99 -0
- package/dist/{watchlistForBusinessStateMachine-CxFnlshm.esm.js → watchlistForBusinessStateMachine-CJ-MvUre.esm.js} +13 -6
- package/dist/{watchlistManager-LoNZH9qm.esm.js → watchlistManager-CixcLNDT.esm.js} +2 -2
- package/dist/{watchlistStateMachine-DIKQDoUT.esm.js → watchlistStateMachine-CBqk2w-h.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-Cd-04W_X.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-kZ5OpdfM.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-CUHwyZT4.esm.js +0 -646
- package/dist/openviduLazy-CCDpFWg1.esm.js +0 -10
- package/dist/recordingService-3NSENVwp.esm.js +0 -329
- package/dist/safeStorage-Ep56I-f_.esm.js +0 -982
- package/dist/selfieStateMachine-CHV_WNst.esm.js +0 -55
- package/dist/trueSight-B_icM8r2.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
package/dist/{faceCaptureManagerFactory-BxWPpxyd.d.ts → faceCaptureManagerFactory-BeUl8fl1.d.ts}
RENAMED
|
@@ -4,57 +4,21 @@ import { t as Manager } from "./Manager-CQQ99QOI.js";
|
|
|
4
4
|
import "./Actor-iTq7YY48.js";
|
|
5
5
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
6
6
|
import "./index-B8weJxmL.js";
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import { t as AvatarId } from "./createFaceAvatar-BEj18KXi.js";
|
|
11
|
-
import { i as FlowModuleConfig } from "./types-KPvmag_B.js";
|
|
12
|
-
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-Hmd7U0JA.js";
|
|
7
|
+
import { s as FaceFeed, t as AvatarId, u as FaceCoordinates, y as IncodeCanvas } from "./createFaceAvatar-BlcTYgJv.js";
|
|
8
|
+
import { i as FlowModuleConfig } from "./types-Do5rEXij.js";
|
|
9
|
+
import "./IWasmUtilCapability-CNWRl7jr.js";
|
|
13
10
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
|
|
14
|
-
import { t as
|
|
15
|
-
import {
|
|
11
|
+
import { a as FaceCapturedImageData, i as FaceCaptureOnlyResponse, n as DetectionStatus, o as FaceErrorCode, r as FaceCaptureDependencies, t as BaseFaceCaptureConfig } from "./types-Bnl58jUQ.js";
|
|
12
|
+
import { t as AuthenticationConfig } from "./types-ChAowIxT.js";
|
|
13
|
+
import "./types-BT_Oalip.js";
|
|
14
|
+
import { n as DeepsightService, t as StreamCanvasCapture } from "./StreamCanvasCapture-_8gdW5Lk.js";
|
|
15
|
+
import { t as FaceDetectionProvider } from "./FaceDetectionProvider-LdZ47bWy.js";
|
|
16
|
+
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
16
17
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
17
18
|
declare const _authenticationMachine: AnyStateMachine;
|
|
18
19
|
type AuthenticationMachine = typeof _authenticationMachine;
|
|
19
20
|
declare const authenticationMachine: AnyStateMachine;
|
|
20
21
|
//#endregion
|
|
21
|
-
//#region ../infra/src/avatar/faceFeed.d.ts
|
|
22
|
-
/**
|
|
23
|
-
* A tiny per-frame pub/sub channel for the Incode WASM pipeline's `FaceData`.
|
|
24
|
-
*
|
|
25
|
-
* The parked `incode-2d` avatar drives the cosmetic avatar from the **existing** Incode face-detection
|
|
26
|
-
* pipeline (no second MediaPipe model). The detection pipeline lives in core's
|
|
27
|
-
* detection actor, while the avatar lives in the avatar actor — so the avatar is
|
|
28
|
-
* *fed* `FaceData` through this channel rather than running its own model.
|
|
29
|
-
*
|
|
30
|
-
* Deliberately NOT routed through XState events/context: the pipeline emits
|
|
31
|
-
* ~10×/s, and assigning that into context would re-run `mapState` and notify all
|
|
32
|
-
* manager subscribers 10×/s — needless churn that could itself regress UI perf.
|
|
33
|
-
* The feed is a plain emitter passed as input to both actors (detection
|
|
34
|
-
* publishes, the avatar source subscribes); nothing else observes it.
|
|
35
|
-
*
|
|
36
|
-
* Strictly read-only w.r.t. the authoritative pipeline — the feed only forwards
|
|
37
|
-
* data the pipeline already computed; it never influences detection/autocapture.
|
|
38
|
-
*/
|
|
39
|
-
interface FaceFeedReader {
|
|
40
|
-
/** Subscribe to per-frame faces. Returns an unsubscribe function. */
|
|
41
|
-
subscribe(listener: (face: FaceData) => void): () => void;
|
|
42
|
-
/** The most recently published face, or null if none yet. */
|
|
43
|
-
getLatest(): FaceData | null;
|
|
44
|
-
/**
|
|
45
|
-
* Subscribe to the coarse "eyes closed" pulse — the only real eye signal the
|
|
46
|
-
* Incode pipeline exposes (a threshold event, both eyes, fired only when the
|
|
47
|
-
* closed-eyes check is enabled via `validateClosedEyes`). The avatar uses it
|
|
48
|
-
* to drive a real blink. Returns an unsubscribe function.
|
|
49
|
-
*/
|
|
50
|
-
onEyesClosed(listener: () => void): () => void;
|
|
51
|
-
}
|
|
52
|
-
interface FaceFeed extends FaceFeedReader {
|
|
53
|
-
publish(face: FaceData): void;
|
|
54
|
-
/** Fire the eyes-closed pulse (from the detection pipeline's threshold event). */
|
|
55
|
-
signalEyesClosed(): void;
|
|
56
|
-
}
|
|
57
|
-
//#endregion
|
|
58
22
|
//#region src/modules/authentication/authenticationActor.d.ts
|
|
59
23
|
type CreateAuthenticationActorOptions = {
|
|
60
24
|
config: AuthenticationConfig;
|
|
@@ -106,12 +70,36 @@ type SendFaceImageResponse = {
|
|
|
106
70
|
sessionStatus: string;
|
|
107
71
|
};
|
|
108
72
|
//#endregion
|
|
73
|
+
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
74
|
+
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
75
|
+
type ProcessFaceResponse = {
|
|
76
|
+
faceMatch: boolean;
|
|
77
|
+
confidence: number;
|
|
78
|
+
existingUser: boolean;
|
|
79
|
+
};
|
|
80
|
+
declare function processFace(imageType?: ProcessFaceImageType, signal?: AbortSignal): Promise<ProcessFaceResponse>;
|
|
81
|
+
//#endregion
|
|
109
82
|
//#region src/internal/faceCapture/recordingService.d.ts
|
|
110
83
|
type RecordingService = {
|
|
111
84
|
start(stream: MediaStream): Promise<void>;
|
|
85
|
+
/**
|
|
86
|
+
* Prepares the recording metadata needed by the face-image upload.
|
|
87
|
+
*
|
|
88
|
+
* Local video-liveness recordings must stop here because their upload id is
|
|
89
|
+
* sent with the image. Scoped face recordings return no legacy id, pause at
|
|
90
|
+
* the end of each attempt, and resume the same upload after a rejection; the
|
|
91
|
+
* state machine finalizes them only after the backend accepts the capture.
|
|
92
|
+
*/
|
|
93
|
+
prepareUpload(): Promise<{
|
|
94
|
+
recordingId: string | null;
|
|
95
|
+
}>;
|
|
112
96
|
stop(): Promise<{
|
|
113
97
|
recordingId: string | null;
|
|
114
98
|
}>;
|
|
99
|
+
/** Best-effort page-background handling for protected camera cycles. */
|
|
100
|
+
pauseForBackground?(): void;
|
|
101
|
+
/** Resumes the same recorder after its protected presentation track recovers. */
|
|
102
|
+
resumeFromBackground?(stream: MediaStream): Promise<void>;
|
|
115
103
|
/**
|
|
116
104
|
* Stops the recorder and returns the raw (un-encrypted, not uploaded)
|
|
117
105
|
* video as base64. Used by the captureOnly flow, which hands video bytes
|
|
@@ -120,8 +108,6 @@ type RecordingService = {
|
|
|
120
108
|
* Returns `{ videoBase64: undefined }` when video is not available for
|
|
121
109
|
* any reason, including:
|
|
122
110
|
* - the recorder was never started or is already stopped,
|
|
123
|
-
* - the provider is server-side (e.g. OpenVidu) and the client never
|
|
124
|
-
* holds the bytes,
|
|
125
111
|
* - video assembly fails.
|
|
126
112
|
*/
|
|
127
113
|
stopAndGetVideo(): Promise<{
|
|
@@ -153,8 +139,10 @@ type FaceCaptureContext = {
|
|
|
153
139
|
dependencies: FaceCaptureDependencies;
|
|
154
140
|
authHint: string | undefined;
|
|
155
141
|
stream: CameraStream | undefined;
|
|
156
|
-
|
|
157
|
-
|
|
142
|
+
/** @deprecated Protected capture authority is private and this is always absent. */
|
|
143
|
+
provider?: FaceDetectionProvider | undefined;
|
|
144
|
+
/** @deprecated Protected capture authority is private and this is always absent. */
|
|
145
|
+
frameCapturer?: StreamCanvasCapture | undefined;
|
|
158
146
|
usingBackCamera: boolean;
|
|
159
147
|
error: string | FaceErrorObject | undefined;
|
|
160
148
|
detectionStatus: DetectionStatus;
|
|
@@ -162,12 +150,17 @@ type FaceCaptureContext = {
|
|
|
162
150
|
faceCoordinates: FaceCoordinates | undefined;
|
|
163
151
|
uploadResponse: Record<string, unknown> | undefined;
|
|
164
152
|
processResponse: Record<string, unknown> | undefined;
|
|
165
|
-
|
|
153
|
+
/** @deprecated Recorder ownership is private and this is always absent. */
|
|
154
|
+
recordingService?: RecordingService | undefined;
|
|
166
155
|
attemptsRemaining: number;
|
|
167
156
|
uploadError: FaceErrorCode | undefined;
|
|
168
157
|
permissionResult: PermissionResult | 'refresh' | undefined;
|
|
169
|
-
|
|
170
|
-
|
|
158
|
+
/** @deprecated Detection callback ownership is private and this is always absent. */
|
|
159
|
+
resetDetection?: (() => void) | undefined;
|
|
160
|
+
/** @deprecated Deepsight ownership is private and this is always absent. */
|
|
161
|
+
deepsightService?: DeepsightService | undefined;
|
|
162
|
+
/** Internal semantic readiness marker; no service instance is exposed. */
|
|
163
|
+
deepsightReady?: boolean;
|
|
171
164
|
encryptedBase64Image: string | undefined;
|
|
172
165
|
uploadRecordingId: string | null | undefined;
|
|
173
166
|
manualCaptureTriggered: boolean;
|
|
@@ -229,6 +222,15 @@ type FaceCaptureEvent = {
|
|
|
229
222
|
canvas: HTMLCanvasElement;
|
|
230
223
|
} | {
|
|
231
224
|
type: 'RETRY_CAPTURE';
|
|
225
|
+
} | {
|
|
226
|
+
type: 'GO_TO_MANUAL_UPLOAD';
|
|
227
|
+
} | {
|
|
228
|
+
type: 'MANUAL_UPLOAD_FILE_SELECTED';
|
|
229
|
+
file: File;
|
|
230
|
+
} | {
|
|
231
|
+
type: 'MANUAL_UPLOAD_CONTINUE';
|
|
232
|
+
} | {
|
|
233
|
+
type: 'MANUAL_UPLOAD_RESET';
|
|
232
234
|
};
|
|
233
235
|
declare const faceCaptureMachine: AnyStateMachine;
|
|
234
236
|
//#endregion
|
|
@@ -291,6 +293,20 @@ type FaceCaptureLoadingState = {
|
|
|
291
293
|
type FaceCaptureTutorialState = {
|
|
292
294
|
status: 'tutorial';
|
|
293
295
|
ageAssurance?: boolean;
|
|
296
|
+
/** Whether to offer the manual file-upload alternative to live capture. */
|
|
297
|
+
showManualUploadLink: boolean;
|
|
298
|
+
};
|
|
299
|
+
/** Picking a photo from device storage instead of using the camera */
|
|
300
|
+
type FaceCaptureManualUploadState = {
|
|
301
|
+
status: 'manualUpload';
|
|
302
|
+
/** `uploading` covers both the file conversion and the network call. */
|
|
303
|
+
phase: 'selecting' | 'uploading';
|
|
304
|
+
/** Whether a file has been accepted by the backend. */
|
|
305
|
+
uploaded: boolean;
|
|
306
|
+
canContinue: boolean;
|
|
307
|
+
/** i18n key for the current rejection, or `null`. */
|
|
308
|
+
errorKey: string | null;
|
|
309
|
+
attemptsRemaining: number;
|
|
294
310
|
};
|
|
295
311
|
/** Handling camera permissions */
|
|
296
312
|
type FaceCapturePermissionsState = {
|
|
@@ -373,7 +389,7 @@ type FaceCaptureErrorState = {
|
|
|
373
389
|
moduleErrorCode?: string;
|
|
374
390
|
};
|
|
375
391
|
/** Union of all possible face capture states */
|
|
376
|
-
type FaceCaptureManagerState = FaceCaptureIdleState | FaceCaptureLoadingState | FaceCaptureTutorialState | FaceCapturePermissionsState | FaceCaptureCaptureState | FaceCaptureProcessingState | FaceCaptureFinishedState | FaceCaptureClosedState | FaceCaptureErrorState;
|
|
392
|
+
type FaceCaptureManagerState = FaceCaptureIdleState | FaceCaptureLoadingState | FaceCaptureTutorialState | FaceCapturePermissionsState | FaceCaptureCaptureState | FaceCaptureManualUploadState | FaceCaptureProcessingState | FaceCaptureFinishedState | FaceCaptureClosedState | FaceCaptureErrorState;
|
|
377
393
|
/**
|
|
378
394
|
* Builds a face capture manager (selfie / authentication / captureOnly) from an
|
|
379
395
|
* already-created actor.
|
|
@@ -433,7 +449,23 @@ declare function createFaceCaptureManagerFromActor(actor: FaceCaptureActor, modu
|
|
|
433
449
|
* Only effective when in `capture.detecting` state and `detectionStatus === 'manualCapture'`.
|
|
434
450
|
*/
|
|
435
451
|
capture(): void;
|
|
452
|
+
/**
|
|
453
|
+
* Leaves the tutorial for the manual file-upload screen.
|
|
454
|
+
* Only effective from `tutorial` and only when the module enables it, so a
|
|
455
|
+
* call from anywhere else — including the console — is a no-op.
|
|
456
|
+
*/
|
|
457
|
+
goToManualUpload(): void;
|
|
458
|
+
/**
|
|
459
|
+
* Submits a file the user picked from device storage.
|
|
460
|
+
* Only effective when in `manualUpload`.
|
|
461
|
+
*/
|
|
462
|
+
manualUploadSelectFile(file: File): void;
|
|
463
|
+
/**
|
|
464
|
+
* Accepts the uploaded photo and moves on to processing.
|
|
465
|
+
* Only effective when in `manualUpload` and an upload has succeeded.
|
|
466
|
+
*/
|
|
467
|
+
manualUploadContinue(): void;
|
|
436
468
|
};
|
|
437
469
|
type FaceCaptureManager = ReturnType<typeof createFaceCaptureManagerFromActor>;
|
|
438
470
|
//#endregion
|
|
439
|
-
export {
|
|
471
|
+
export { authenticationMachine as C, createAuthenticationActor as S, SelfieCaptureOnlyConfig as _, SelfieCaptureOnlyMachine as a, AuthenticationActor as b, SelfieActor as c, FaceCaptureContext as d, FaceCaptureEvent as f, processFace as g, ProcessFaceResponse as h, SelfieCaptureOnlyActor as i, SelfieMachine as l, faceCaptureMachine as m, FaceCaptureManagerState as n, selfieCaptureOnlyMachine as o, FaceCaptureInput as p, CreateSelfieCaptureOnlyActorOptions as r, CreateSelfieActorOptions as s, FaceCaptureManager as t, selfieMachine as u, SelfieConfig as v, CreateAuthenticationActorOptions as x, SendFaceImageResponse as y };
|