@incodetech/core 0.0.0-dev-20260610-8787196e → 0.0.0-dev-20260610-e5b4c4d5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{OpenViduRecordingProvider-BtAVDH2Y.esm.js → OpenViduRecordingProvider-O4GjBseO.esm.js} +1 -1
- package/dist/StreamCanvasCapture-ImiDQdVA.esm.js +118 -0
- package/dist/StreamCanvasCapture-yyl20qd9.d.ts +152 -0
- package/dist/{addressSearch-DPmseXCM.esm.js → addressSearch-rHF9QriL.esm.js} +4 -4
- package/dist/{ae-signature-lqjX_h2U.esm.js → ae-signature-CQjOxLrv.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/ae-signature.esm.js +7 -7
- package/dist/antifraud.d.ts +3 -3
- package/dist/antifraud.esm.js +6 -6
- package/dist/{antifraudManager-DaUfoGLZ.esm.js → antifraudManager-CZDCQli0.esm.js} +3 -3
- package/dist/{antifraudManager-Bbgl_P0Y.d.ts → antifraudManager-CznnhyvD.d.ts} +2 -2
- package/dist/{antifraudStateMachine-DmhL7cti.esm.js → antifraudStateMachine-Bp7yS1LV.esm.js} +3 -3
- package/dist/authentication.d.ts +13 -12
- package/dist/authentication.esm.js +27 -25
- package/dist/{authenticationManager-DIN4eL_6.esm.js → authenticationManager-C3-IUymg.esm.js} +6 -6
- package/dist/{authenticationManager-ozJVUfiA.d.ts → authenticationManager-CIVY80H9.d.ts} +2 -2
- package/dist/{authenticationStateMachine-DzrcG7XX.esm.js → authenticationStateMachine-3HbNfPoL.esm.js} +8 -8
- package/dist/{backCameraStream-BtCwSIuT.esm.js → backCameraStream-D7Wo4Nbx.esm.js} +3 -3
- package/dist/{browserSimulation-CHpyEI-W.esm.js → browserSimulation-B1dWiXp7.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +4 -4
- package/dist/canvas-SKcRBxsk.esm.js +230 -0
- package/dist/consent.d.ts +3 -3
- package/dist/consent.esm.js +6 -6
- package/dist/{consentManager-CHV12fjQ.d.ts → consentManager-66SjOJ7U.d.ts} +52 -52
- package/dist/{consentManager-D0NGejCx.esm.js → consentManager-DOufCKTj.esm.js} +3 -3
- package/dist/{consentStateMachine-CUOuuC7d.esm.js → consentStateMachine-CUVp1kKY.esm.js} +3 -3
- package/dist/cpf-ocr.d.ts +3 -3
- package/dist/cpf-ocr.esm.js +6 -6
- package/dist/{cpfOcrManager-9ciXe_XT.esm.js → cpfOcrManager-Bm5OlZSa.esm.js} +5 -5
- package/dist/{cpfOcrManager-BR_dJaKV.d.ts → cpfOcrManager-DVSJov4W.d.ts} +22 -22
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +5 -5
- package/dist/curp-validation.d.ts +7 -7
- package/dist/curp-validation.esm.js +6 -6
- package/dist/{curpValidationManager-BJDxY7JH.esm.js → curpValidationManager-CMXS-tjU.esm.js} +3 -3
- package/dist/{curpValidationManager-VE0Ndj36.d.ts → curpValidationManager-DIFa6O03.d.ts} +3 -3
- package/dist/{curpValidationStateMachine-BBUREbWY.esm.js → curpValidationStateMachine-CD-npCgV.esm.js} +3 -3
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-fields.esm.js +5 -5
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/custom-watchlist.esm.js +5 -5
- package/dist/{customWatchlistStateMachine-qfxMGhCV.esm.js → customWatchlistStateMachine-CF4ETN-z.esm.js} +3 -3
- package/dist/{deepsightLoader-OlmqoVtS.esm.js → deepsightLoader-CTf5NdIB.esm.js} +13 -12
- package/dist/{deepsightService-CeXd7dhh.d.ts → deepsightService-B7ShOkWL.d.ts} +2 -152
- package/dist/{deepsightService-Dh9EiWze.esm.js → deepsightService-Da56SkD4.esm.js} +8 -236
- package/dist/device.esm.js +4 -4
- package/dist/document-capture.d.ts +235 -235
- package/dist/document-capture.esm.js +13 -13
- package/dist/document-upload.d.ts +53 -53
- package/dist/document-upload.esm.js +8 -8
- package/dist/{documentCaptureStateMachine-JqM4pyfY.esm.js → documentCaptureStateMachine-CV1dzgbn.esm.js} +7 -7
- package/dist/dynamic-forms.d.ts +2 -2
- package/dist/dynamic-forms.esm.js +5 -5
- package/dist/ekyb.d.ts +6 -6
- package/dist/ekyb.esm.js +16 -16
- package/dist/{ekybStateMachine-C0DLJplY.esm.js → ekybStateMachine-DWm7C2qW.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +8 -8
- package/dist/{ekycStateMachine-B5brX021.esm.js → ekycStateMachine-CRiViUGB.esm.js} +5 -5
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/electronic-signature.esm.js +6 -6
- package/dist/{electronicSignatureManager-BY6tiZPR.esm.js → electronicSignatureManager-DECEJ9hm.esm.js} +5 -5
- package/dist/email.d.ts +4 -4
- package/dist/email.esm.js +8 -8
- package/dist/{emailManager-DRUHedQg.esm.js → emailManager-DAIwweQa.esm.js} +4 -4
- package/dist/{emailManager-VP0mIGdj.d.ts → emailManager-lAzDoQOs.d.ts} +3 -3
- package/dist/{emailStateMachine-CZgKn7a1.esm.js → emailStateMachine-C-ltLrvi.esm.js} +5 -5
- package/dist/{endpoints-BPHddOTi.esm.js → endpoints-zEf_JIJU.esm.js} +2 -1
- package/dist/{events-Bsw1l0pH.esm.js → events-Dvvriq9l.esm.js} +3 -2
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +26 -25
- package/dist/extensibility.esm.js +56 -54
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-BTsmDJ06.d.ts → faceCaptureManagerFactory-C_hRHx8a.d.ts} +9 -8
- package/dist/{faceCaptureManagerFactory-DKE4-MLG.esm.js → faceCaptureManagerFactory-kqbUqtrr.esm.js} +4 -4
- package/dist/{faceCaptureSetup-0XUJwf3G.esm.js → faceCaptureSetup-CoZCFG0w.esm.js} +7 -6
- package/dist/{faceMatchStateMachine-i3qgZ176.esm.js → faceMatchStateMachine-CN81-J0s.esm.js} +3 -3
- package/dist/field-comparison.d.ts +3 -3
- package/dist/field-comparison.esm.js +5 -5
- package/dist/{fieldComparisonManager-Bfb3-iwn.esm.js → fieldComparisonManager-Bnuq1mA0.esm.js} +4 -4
- package/dist/{fieldComparisonManager-DAP7RbND.d.ts → fieldComparisonManager-Bu5TaSr3.d.ts} +2 -2
- package/dist/fiscal-qr.d.ts +59 -0
- package/dist/fiscal-qr.esm.js +323 -0
- package/dist/flow-events.d.ts +6 -6
- package/dist/flow.d.ts +12 -12
- package/dist/flow.esm.js +16 -16
- package/dist/{flowCompletionService-DFV8vmO3.esm.js → flowCompletionService-DHpnjBvp.esm.js} +3 -3
- package/dist/{flowServices-DhaF-fP3.esm.js → flowServices-BykryjdA.esm.js} +4 -4
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +6 -6
- package/dist/{geolocationStateMachine-DCG_hQkW.esm.js → geolocationStateMachine-D6yBlOQ_.esm.js} +4 -4
- package/dist/{getDeviceClass-cJ-TvND7.esm.js → getDeviceClass-C8Do2qYu.esm.js} +1 -1
- package/dist/government-validation.d.ts +3 -3
- package/dist/government-validation.esm.js +7 -7
- package/dist/{governmentValidationStateMachine-KY_Eu5b-.esm.js → governmentValidationStateMachine-M-iiovMY.esm.js} +5 -5
- package/dist/home.d.ts +15 -15
- package/dist/home.esm.js +3 -3
- package/dist/http-Cai3IoLS.esm.js +0 -0
- package/dist/http.esm.js +2 -1
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +6 -6
- package/dist/id-verification.d.ts +27 -27
- package/dist/id-verification.esm.js +5 -5
- package/dist/id.d.ts +12 -11
- package/dist/id.esm.js +31 -29
- package/dist/{idCaptureManager-BXkPnZIc.d.ts → idCaptureManager-D-QYESvF.d.ts} +8 -7
- package/dist/{idCaptureManager-CWG0Qgeq.esm.js → idCaptureManager-mQGmxqf1.esm.js} +5 -5
- package/dist/{idCaptureStateMachine-Dqfxbea3.esm.js → idCaptureStateMachine-DXeLlQa_.esm.js} +19 -18
- package/dist/{idOcrStateMachine-DVjkIw10.esm.js → idOcrStateMachine-Cj2uN_q_.esm.js} +5 -5
- package/dist/{idVerificationStateMachine-B_F3G-v-.esm.js → idVerificationStateMachine-DVrl68dQ.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +3 -3
- package/dist/identity-reuse.esm.js +6 -6
- package/dist/{identityReuseManager-CNcsh-xr.esm.js → identityReuseManager-DHYlQW3K.esm.js} +3 -3
- package/dist/{identityReuseManager-DVZLgcfm.d.ts → identityReuseManager-DYb7I3jf.d.ts} +36 -36
- package/dist/{identityReuseStateMachine-BrbaZto8.esm.js → identityReuseStateMachine-Dyfa7yzx.esm.js} +3 -3
- package/dist/{index-B1ijI7RD.d.ts → index-B2RUw1Th.d.ts} +169 -169
- package/dist/{index-C3KOkxmU.d.ts → index-B5hPA0Bg.d.ts} +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +12 -12
- package/dist/{invokeOnCaptureCallback-Bty7q0sC.esm.js → invokeOnCaptureCallback-ygByVdnn.esm.js} +1 -1
- package/dist/{lib-DmGBvFHu.esm.js → lib-BY67lgbq.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +7 -7
- package/dist/mandatory-consent.esm.js +6 -6
- package/dist/{mandatoryConsentManager-BUpEBczR.esm.js → mandatoryConsentManager-BTqe3YNU.esm.js} +3 -3
- package/dist/{mandatoryConsentManager-DwmDNt6y.d.ts → mandatoryConsentManager-DBc5NyKN.d.ts} +55 -55
- package/dist/{mandatoryConsentStateMachine-B6hfQFw1.esm.js → mandatoryConsentStateMachine-4yzCCY4e.esm.js} +3 -3
- package/dist/openviduLazy-B8L--0oe.esm.js +3 -0
- package/dist/{openviduLazy-6AQum7Ca.esm.js → openviduLazy-Dh14JNJc.esm.js} +2 -2
- package/dist/{permissionGuards-DUKOJ-Mt.esm.js → permissionGuards-C1ispV96.esm.js} +1 -1
- package/dist/{permissionServices-BjXAT5OT.esm.js → permissionServices-CG3bMSfG.esm.js} +3 -3
- package/dist/phone.d.ts +4 -4
- package/dist/phone.esm.js +8 -8
- package/dist/{phoneManager-Ddl_CeNb.esm.js → phoneManager-B44MT4ro.esm.js} +4 -4
- package/dist/{phoneManager-BgoX1fvQ.d.ts → phoneManager-fPmIBYQK.d.ts} +3 -3
- package/dist/{phoneStateMachine-CrjW4JrA.esm.js → phoneStateMachine-CMht9LLp.esm.js} +5 -5
- package/dist/{qe-signature-C8uvV_-H.esm.js → qe-signature-DCz2roEC.esm.js} +1 -1
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +7 -7
- package/dist/{recordingService-DCUipzC7.esm.js → recordingService-DwPmv6FZ.esm.js} +16 -131
- package/dist/redirect-to-mobile.d.ts +3 -3
- package/dist/redirect-to-mobile.esm.js +7 -7
- package/dist/{redirectToMobileManager-CQxCClRy.esm.js → redirectToMobileManager-BAzevDYW.esm.js} +4 -4
- package/dist/{redirectToMobileManager-xOasdN0s.d.ts → redirectToMobileManager-BNe3IzC_.d.ts} +2 -2
- package/dist/{redirectToMobileStateMachine-DHqdmBzc.esm.js → redirectToMobileStateMachine-BmwxrN1h.esm.js} +4 -4
- package/dist/{runChildModule-B1uVG8D-.esm.js → runChildModule-CuoHZ1cx.esm.js} +3 -3
- package/dist/selfie.d.ts +13 -12
- package/dist/selfie.esm.js +28 -26
- package/dist/{selfieManager-CeTXxT2U.d.ts → selfieManager-dUbKRzOh.d.ts} +2 -2
- package/dist/{selfieManager-DpFMP4Rk.esm.js → selfieManager-zH9pAVXE.esm.js} +6 -6
- package/dist/{selfieStateMachine-DCHihi8J.esm.js → selfieStateMachine-Dr5sCDgI.esm.js} +4 -4
- package/dist/{session-Ds1d84mn.esm.js → session-BEtpaQ6D.esm.js} +3 -3
- package/dist/session.d.ts +5 -5
- package/dist/session.esm.js +12 -12
- package/dist/{sessionInitializer-Be88b4WX.esm.js → sessionInitializer-D0Ei5Ol7.esm.js} +7 -7
- package/dist/{setup-BtLWJPSp.d.ts → setup-BbkprdVv.d.ts} +1 -1
- package/dist/{setup-BgxDnUDw.esm.js → setup-DotVj7UA.esm.js} +7 -7
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +5 -5
- package/dist/{signatureStateMachine-CY1u1o6J.esm.js → signatureStateMachine-CpcyA7CM.esm.js} +4 -4
- package/dist/{stats-AwLva7-C.esm.js → stats-SU3Linba.esm.js} +2 -2
- package/dist/stats.esm.js +3 -3
- package/dist/trust-graph.d.ts +3 -3
- package/dist/trust-graph.esm.js +3 -3
- package/dist/{types-BmZR-K77.d.ts → types-Bj9hdFjU.d.ts} +1 -1
- package/dist/{types-DJsgKeW0.d.ts → types-DOUhndhT.d.ts} +2 -2
- package/dist/{types-BI-jIO73.d.ts → types-NuT8ftBV.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +12 -12
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist-for-business.esm.js +5 -5
- package/dist/watchlist.d.ts +1 -1
- package/dist/watchlist.esm.js +5 -5
- package/dist/{watchlistForBusinessStateMachine-CGRko-GU.esm.js → watchlistForBusinessStateMachine-DsEq8xwX.esm.js} +3 -3
- package/dist/{watchlistStateMachine-CWVTWVJY.esm.js → watchlistStateMachine-CREpVW-C.esm.js} +3 -3
- package/dist/workflow.d.ts +97 -97
- package/dist/workflow.esm.js +60 -58
- package/package.json +9 -1
- package/dist/openviduLazy-Dge_R911.esm.js +0 -3
- /package/dist/{Actor-Ds20AUDY.d.ts → Actor-Y0_Fj-KL.d.ts} +0 -0
- /package/dist/{BrowserStorageProvider-BrJver0U.esm.js → BrowserStorageProvider-BpJM-gIl.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-BESs49g_.esm.js → BrowserTimerProvider-DhNc_x02.esm.js} +0 -0
- /package/dist/{ITimerCapability-gIlcIrAX.esm.js → ITimerCapability-CB0I1Uf2.esm.js} +0 -0
- /package/dist/{IpifyProvider-BQKB2PR-.esm.js → IpifyProvider-D4LWD15E.esm.js} +0 -0
- /package/dist/{Manager-Dh6pC-6V.d.ts → Manager-BHn8wH8K.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-D1JWpMLJ.esm.js → MotionSensorProvider-Bx7Mpzt0.esm.js} +0 -0
- /package/dist/{StateMachine-CENvPkCx.d.ts → StateMachine-BC_nGvrc.d.ts} +0 -0
- /package/dist/{WasmUtilProvider-CeyOvhU2.esm.js → WasmUtilProvider-CiEN7Gjn.esm.js} +0 -0
- /package/dist/{api-YxPMtty2.esm.js → api-CESGtpbH.esm.js} +0 -0
- /package/dist/{apiError-76Dulrw9.esm.js → apiError-B-j-gyDx.esm.js} +0 -0
- /package/dist/{camera-P7dse339.esm.js → camera-DJWm3V4g.esm.js} +0 -0
- /package/dist/{camera-D7qYpKeG.d.ts → camera-SRBpPq2X.d.ts} +0 -0
- /package/dist/{chunk-wtC55c3P.esm.js → chunk-CMUKZ2uL.esm.js} +0 -0
- /package/dist/{cpf-COPPtEoQ.esm.js → cpf-BRzggV8G.esm.js} +0 -0
- /package/dist/{dateUtils-CibceEoG.esm.js → dateUtils-AksLQmgV.esm.js} +0 -0
- /package/dist/{flowCompletionService-DOHFSAJ2.d.ts → flowCompletionService-BdR2cGgB.d.ts} +0 -0
- /package/dist/{getBrowser-CMJJeBF8.esm.js → getBrowser-C8DP7oTB.esm.js} +0 -0
- /package/dist/{getDeviceClass-C5yT6K2e.esm.js → getDeviceClass-C0olyNFS.esm.js} +0 -0
- /package/dist/{otp-lOELtCck.esm.js → otp-CGMdUzBC.esm.js} +0 -0
- /package/dist/{otp-Ci7E_eNt.d.ts → otp-DF5A0sFx.d.ts} +0 -0
- /package/dist/{platform-D871crJL.esm.js → platform-SKvEfCBh.esm.js} +0 -0
- /package/dist/{types-CRp-Maxh.esm.js → types-DsnEVMhr.esm.js} +0 -0
- /package/dist/{types-Cojkwi9p.d.ts → types-DvGZI7BF.d.ts} +0 -0
- /package/dist/{types-DI4L4PFE.d.ts → types-ya0LN_MX.d.ts} +0 -0
- /package/dist/{warmup-Bx2GXY3L.d.ts → warmup-Dg8Lh-50.d.ts} +0 -0
- /package/dist/{xstate.esm-CWoFJOio.esm.js → xstate.esm-C9wncMQa.esm.js} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { i as mlWasmJSApi_default, n as BaseWasmProvider, u as WasmPipelineType } from "./WasmUtilProvider-
|
|
2
|
-
import { r as getToken, t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { t as addDeviceStats } from "./stats-
|
|
5
|
-
import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-
|
|
6
|
-
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-
|
|
7
|
-
import { t as sleep } from "./ITimerCapability-
|
|
8
|
-
import {
|
|
9
|
-
import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-
|
|
10
|
-
import { t as getDeviceClass } from "./getDeviceClass-
|
|
11
|
-
import { t as FACE_ERROR_CODES } from "./types-
|
|
1
|
+
import { i as mlWasmJSApi_default, n as BaseWasmProvider, u as WasmPipelineType } from "./WasmUtilProvider-CiEN7Gjn.esm.js";
|
|
2
|
+
import { r as getToken, t as api } from "./api-CESGtpbH.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
4
|
+
import { t as addDeviceStats } from "./stats-SU3Linba.esm.js";
|
|
5
|
+
import { a as isIPhone14OrHigher, n as isDesktop, r as isIOS, t as isAndroid } from "./platform-SKvEfCBh.esm.js";
|
|
6
|
+
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-DJWm3V4g.esm.js";
|
|
7
|
+
import { t as sleep } from "./ITimerCapability-CB0I1Uf2.esm.js";
|
|
8
|
+
import { t as IncodeCanvas } from "./canvas-SKcRBxsk.esm.js";
|
|
9
|
+
import { n as getBackCameraStream, r as getDesktopCameraStream, t as ensureFrontCameraStream } from "./backCameraStream-D7Wo4Nbx.esm.js";
|
|
10
|
+
import { t as getDeviceClass } from "./getDeviceClass-C8Do2qYu.esm.js";
|
|
11
|
+
import { t as FACE_ERROR_CODES } from "./types-DsnEVMhr.esm.js";
|
|
12
12
|
|
|
13
13
|
//#region ../infra/src/scheduling/yieldUntilNextPaint.ts
|
|
14
14
|
/**
|
|
@@ -490,7 +490,7 @@ function buildResolutionFromStream(stream) {
|
|
|
490
490
|
if (typeof width === "number" && typeof height === "number") return `${width}x${height}`;
|
|
491
491
|
}
|
|
492
492
|
async function createOpenViduRecordingProvider() {
|
|
493
|
-
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-
|
|
493
|
+
const { OpenViduRecordingProvider } = await import("./OpenViduRecordingProvider-O4GjBseO.esm.js");
|
|
494
494
|
return new OpenViduRecordingProvider();
|
|
495
495
|
}
|
|
496
496
|
async function startRecordingSession(params) {
|
|
@@ -530,7 +530,7 @@ async function stopRecording(session) {
|
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
async function initializeDeepsightSession(options) {
|
|
533
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
533
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CTf5NdIB.esm.js");
|
|
534
534
|
return loadDeepsightSession({
|
|
535
535
|
ds: options.ds,
|
|
536
536
|
storage: options.storage
|
|
@@ -649,121 +649,6 @@ async function postOnDeviceFaceResults(ctx, signal) {
|
|
|
649
649
|
}) ?? {};
|
|
650
650
|
}
|
|
651
651
|
|
|
652
|
-
//#endregion
|
|
653
|
-
//#region ../infra/src/media/StreamCanvasCapture.ts
|
|
654
|
-
var StreamCanvasCapture = class {
|
|
655
|
-
constructor(stream, options) {
|
|
656
|
-
this.hasFrame = false;
|
|
657
|
-
this.disposed = false;
|
|
658
|
-
this.eventTarget = new EventTarget();
|
|
659
|
-
this.video = document.createElement("video");
|
|
660
|
-
this.video.srcObject = stream;
|
|
661
|
-
this.video.autoplay = true;
|
|
662
|
-
this.video.playsInline = true;
|
|
663
|
-
this.video.muted = true;
|
|
664
|
-
const settings = stream.getVideoTracks()[0]?.getSettings();
|
|
665
|
-
const initialWidth = options?.width ?? settings?.width ?? 1280;
|
|
666
|
-
const initialHeight = options?.height ?? settings?.height ?? 720;
|
|
667
|
-
this.canvas = document.createElement("canvas");
|
|
668
|
-
this.canvas.width = initialWidth;
|
|
669
|
-
this.canvas.height = initialHeight;
|
|
670
|
-
this.ctx = this.canvas.getContext("2d", { willReadFrequently: true });
|
|
671
|
-
const fps = options?.fps ?? 10;
|
|
672
|
-
const intervalMs = fps > 0 ? Math.max(16, Math.floor(1e3 / fps)) : 0;
|
|
673
|
-
this.video.addEventListener("loadedmetadata", () => {
|
|
674
|
-
if (this.video.videoWidth > 0 && this.video.videoHeight > 0) {
|
|
675
|
-
this.canvas.width = this.video.videoWidth;
|
|
676
|
-
this.canvas.height = this.video.videoHeight;
|
|
677
|
-
}
|
|
678
|
-
});
|
|
679
|
-
try {
|
|
680
|
-
this.video.play();
|
|
681
|
-
} catch {}
|
|
682
|
-
this.rafLoop(intervalMs);
|
|
683
|
-
}
|
|
684
|
-
addEventListener(type, listener, options) {
|
|
685
|
-
this.eventTarget.addEventListener(type, listener, options);
|
|
686
|
-
}
|
|
687
|
-
removeEventListener(type, listener, options) {
|
|
688
|
-
this.eventTarget.removeEventListener(type, listener, options);
|
|
689
|
-
}
|
|
690
|
-
/**
|
|
691
|
-
* Returns the latest cached frame as an {@link IncodeCanvas}.
|
|
692
|
-
*/
|
|
693
|
-
getLatestCanvas() {
|
|
694
|
-
if (!this.hasFrame) this.tick();
|
|
695
|
-
if (!this.hasFrame) return null;
|
|
696
|
-
return new IncodeCanvas(this.canvas);
|
|
697
|
-
}
|
|
698
|
-
/**
|
|
699
|
-
* Returns the latest cached frame as raw {@link ImageData}.
|
|
700
|
-
*/
|
|
701
|
-
getLatestFrame() {
|
|
702
|
-
if (!this.ctx) return null;
|
|
703
|
-
if (!this.hasFrame) this.tick();
|
|
704
|
-
if (!this.hasFrame) return null;
|
|
705
|
-
try {
|
|
706
|
-
return this.ctx.getImageData(0, 0, this.canvas.width, this.canvas.height);
|
|
707
|
-
} catch {
|
|
708
|
-
return null;
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
/**
|
|
712
|
-
* Disposes internal resources and stops the capture loop.
|
|
713
|
-
*/
|
|
714
|
-
dispose() {
|
|
715
|
-
if (this.disposed) return;
|
|
716
|
-
this.disposed = true;
|
|
717
|
-
if (this.rafId !== void 0) {
|
|
718
|
-
window.cancelAnimationFrame(this.rafId);
|
|
719
|
-
this.rafId = void 0;
|
|
720
|
-
}
|
|
721
|
-
this.video.srcObject = null;
|
|
722
|
-
this.canvas.width = 0;
|
|
723
|
-
this.canvas.height = 0;
|
|
724
|
-
this.hasFrame = false;
|
|
725
|
-
}
|
|
726
|
-
rafLoop(intervalMs) {
|
|
727
|
-
const loop = (timeMs) => {
|
|
728
|
-
if (this.disposed) return;
|
|
729
|
-
if (intervalMs <= 0 || this.lastTickTimeMs === void 0 || timeMs - this.lastTickTimeMs >= intervalMs) {
|
|
730
|
-
this.lastTickTimeMs = timeMs;
|
|
731
|
-
const previousFrameTimeSeconds = this.lastFrameTimeSeconds;
|
|
732
|
-
this.tick();
|
|
733
|
-
const currentFrameTimeSeconds = this.video.currentTime;
|
|
734
|
-
if (previousFrameTimeSeconds === void 0) {
|
|
735
|
-
if (this.hasFrame) {
|
|
736
|
-
this.lastFrameTimeSeconds = currentFrameTimeSeconds;
|
|
737
|
-
this.eventTarget.dispatchEvent(new Event("frame"));
|
|
738
|
-
}
|
|
739
|
-
} else if (this.hasFrame && currentFrameTimeSeconds !== previousFrameTimeSeconds) {
|
|
740
|
-
this.lastFrameTimeSeconds = currentFrameTimeSeconds;
|
|
741
|
-
this.eventTarget.dispatchEvent(new Event("frame"));
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
this.rafId = window.requestAnimationFrame(loop);
|
|
745
|
-
};
|
|
746
|
-
this.rafId = window.requestAnimationFrame(loop);
|
|
747
|
-
}
|
|
748
|
-
tick() {
|
|
749
|
-
if (!this.ctx) return;
|
|
750
|
-
if (this.video.readyState < HTMLMediaElement.HAVE_CURRENT_DATA) return;
|
|
751
|
-
const videoWidth = this.video.videoWidth;
|
|
752
|
-
const videoHeight = this.video.videoHeight;
|
|
753
|
-
if (videoWidth === 0 || videoHeight === 0) return;
|
|
754
|
-
if (this.canvas.width !== videoWidth || this.canvas.height !== videoHeight) {
|
|
755
|
-
this.canvas.width = videoWidth;
|
|
756
|
-
this.canvas.height = videoHeight;
|
|
757
|
-
}
|
|
758
|
-
try {
|
|
759
|
-
this.ctx.drawImage(this.video, 0, 0);
|
|
760
|
-
this.hasFrame = true;
|
|
761
|
-
} catch {
|
|
762
|
-
this.hasFrame = false;
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
};
|
|
766
|
-
|
|
767
652
|
//#endregion
|
|
768
653
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
769
654
|
async function flagFaceManualReview() {
|
|
@@ -1028,12 +913,12 @@ var LocalRecordingProvider = class {
|
|
|
1028
913
|
let openViduProviderImportPromise;
|
|
1029
914
|
let openViduBrowserImportPromise;
|
|
1030
915
|
function loadOpenViduProviderModule() {
|
|
1031
|
-
if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-
|
|
916
|
+
if (!openViduProviderImportPromise) openViduProviderImportPromise = import("./OpenViduRecordingProvider-O4GjBseO.esm.js");
|
|
1032
917
|
return openViduProviderImportPromise;
|
|
1033
918
|
}
|
|
1034
919
|
function loadOpenViduBrowserModule() {
|
|
1035
920
|
if (!openViduBrowserImportPromise) openViduBrowserImportPromise = (async () => {
|
|
1036
|
-
return (await import("./openviduLazy-
|
|
921
|
+
return (await import("./openviduLazy-B8L--0oe.esm.js")).loadOpenVidu();
|
|
1037
922
|
})();
|
|
1038
923
|
return openViduBrowserImportPromise;
|
|
1039
924
|
}
|
|
@@ -1133,4 +1018,4 @@ function createRecordingService(params) {
|
|
|
1133
1018
|
}
|
|
1134
1019
|
|
|
1135
1020
|
//#endregion
|
|
1136
|
-
export {
|
|
1021
|
+
export { startRecording as _, defaultPrepareFaceUpload as a, prepareOnDeviceFaceUpload as c, sendLabelInspectionEvent as d, startDetection as f, createRecordingSession as g, uploadSelfie as h, flagIdManualReview as i, initializeCamera as l, processFace as m, preloadOpenViduProvider as n, isOnDeviceMode as o, stopStream as p, flagFaceManualReview as r, postOnDeviceFaceResults as s, createRecordingService as t, initializeDeepsightSession as u, stopRecording$1 as v, StreamCanvasProcessingSession as y };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as RedirectToMobileActor, c as RedirectToMobileServices, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, s as RedirectToMobileConfig, t as RedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import "./Manager-BHn8wH8K.js";
|
|
2
|
+
import "./Actor-Y0_Fj-KL.js";
|
|
3
|
+
import { a as RedirectToMobileActor, c as RedirectToMobileServices, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, s as RedirectToMobileConfig, t as RedirectToMobileManager } from "./redirectToMobileManager-BNe3IzC_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.d.ts
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "./BrowserTimerProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import "./events-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./xstate.esm-
|
|
6
|
-
import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
7
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
2
|
+
import "./api-CESGtpbH.esm.js";
|
|
3
|
+
import "./events-Dvvriq9l.esm.js";
|
|
4
|
+
import "./endpoints-zEf_JIJU.esm.js";
|
|
5
|
+
import "./xstate.esm-C9wncMQa.esm.js";
|
|
6
|
+
import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-BmwxrN1h.esm.js";
|
|
7
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-BAzevDYW.esm.js";
|
|
8
8
|
|
|
9
9
|
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-CQxCClRy.esm.js → redirectToMobileManager-BAzevDYW.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as fromPromise, c as createManager, i as fromCallback, s as createActor } from "./xstate.esm-
|
|
4
|
-
import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import { a as fromPromise, c as createManager, i as fromCallback, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
|
+
import { n as defaultRedirectToMobileServices, t as redirectToMobileMachine } from "./redirectToMobileStateMachine-BmwxrN1h.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
7
7
|
const POLL_INTERVAL_MS = 5e3;
|
package/dist/{redirectToMobileManager-xOasdN0s.d.ts → redirectToMobileManager-BNe3IzC_.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-Y0_Fj-KL.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/redirect-to-mobile/types.d.ts
|
|
5
5
|
type RedirectToMobileConfig = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
2
|
+
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
4
|
+
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.ts
|
|
7
7
|
async function fetchRedirectUrl(signal) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as createEventBus, x as getTimestamp } from "./events-
|
|
2
|
-
import { i as fromCallback, s as createActor } from "./xstate.esm-
|
|
3
|
-
import { t as FACE_ERROR_CODES } from "./types-
|
|
1
|
+
import { b as createEventBus, x as getTimestamp } from "./events-Dvvriq9l.esm.js";
|
|
2
|
+
import { i as fromCallback, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
3
|
+
import { t as FACE_ERROR_CODES } from "./types-DsnEVMhr.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/flow-events/flowEvents.ts
|
|
6
6
|
function createFlowEventBus() {
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./Actor-
|
|
4
|
-
import "./StateMachine-
|
|
5
|
-
import { C as DetectionStatus, E as FaceErrorCode, T as FaceCapturedImageData, a as SelfieCaptureOnlyMachine, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, w as FaceCaptureOnlyResponse } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as CameraStream } from "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
11
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
12
|
-
import
|
|
1
|
+
import "./warmup-Dg8Lh-50.js";
|
|
2
|
+
import "./Manager-BHn8wH8K.js";
|
|
3
|
+
import "./Actor-Y0_Fj-KL.js";
|
|
4
|
+
import "./StateMachine-BC_nGvrc.js";
|
|
5
|
+
import { C as DetectionStatus, E as FaceErrorCode, T as FaceCapturedImageData, a as SelfieCaptureOnlyMachine, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, w as FaceCaptureOnlyResponse } from "./faceCaptureManagerFactory-C_hRHx8a.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-SRBpPq2X.js";
|
|
7
|
+
import "./types-Bj9hdFjU.js";
|
|
8
|
+
import "./types-DvGZI7BF.js";
|
|
9
|
+
import "./types-DOUhndhT.js";
|
|
10
|
+
import { t as DeepsightService } from "./deepsightService-B7ShOkWL.js";
|
|
11
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-ya0LN_MX.js";
|
|
12
|
+
import "./StreamCanvasCapture-yyl20qd9.js";
|
|
13
|
+
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-dUbKRzOh.js";
|
|
13
14
|
|
|
14
15
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
15
16
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import { n as eventModuleNames } from "./events-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./stats-
|
|
6
|
-
import "./browserSimulation-
|
|
7
|
-
import "./platform-
|
|
8
|
-
import "./getBrowser-
|
|
9
|
-
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-
|
|
10
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
11
|
-
import "./MotionSensorProvider-
|
|
12
|
-
import "./permissionServices-
|
|
13
|
-
import "./camera-
|
|
14
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
15
|
-
import {
|
|
16
|
-
import "./ITimerCapability-
|
|
17
|
-
import "./
|
|
18
|
-
import "./backCameraStream-
|
|
19
|
-
import "./
|
|
20
|
-
import "./getDeviceClass-
|
|
21
|
-
import "./
|
|
22
|
-
import "./
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import { t as
|
|
26
|
-
import { t as
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CiEN7Gjn.esm.js";
|
|
2
|
+
import "./api-CESGtpbH.esm.js";
|
|
3
|
+
import { n as eventModuleNames } from "./events-Dvvriq9l.esm.js";
|
|
4
|
+
import "./endpoints-zEf_JIJU.esm.js";
|
|
5
|
+
import "./stats-SU3Linba.esm.js";
|
|
6
|
+
import "./browserSimulation-B1dWiXp7.esm.js";
|
|
7
|
+
import "./platform-SKvEfCBh.esm.js";
|
|
8
|
+
import "./getBrowser-C8DP7oTB.esm.js";
|
|
9
|
+
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
10
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BpJM-gIl.esm.js";
|
|
11
|
+
import "./MotionSensorProvider-Bx7Mpzt0.esm.js";
|
|
12
|
+
import "./permissionServices-CG3bMSfG.esm.js";
|
|
13
|
+
import "./camera-DJWm3V4g.esm.js";
|
|
14
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-kqbUqtrr.esm.js";
|
|
15
|
+
import { m as processFace } from "./recordingService-DwPmv6FZ.esm.js";
|
|
16
|
+
import "./ITimerCapability-CB0I1Uf2.esm.js";
|
|
17
|
+
import "./canvas-SKcRBxsk.esm.js";
|
|
18
|
+
import "./backCameraStream-D7Wo4Nbx.esm.js";
|
|
19
|
+
import "./deepsightService-Da56SkD4.esm.js";
|
|
20
|
+
import "./getDeviceClass-C0olyNFS.esm.js";
|
|
21
|
+
import "./getDeviceClass-C8Do2qYu.esm.js";
|
|
22
|
+
import "./types-DsnEVMhr.esm.js";
|
|
23
|
+
import "./StreamCanvasCapture-ImiDQdVA.esm.js";
|
|
24
|
+
import "./permissionGuards-C1ispV96.esm.js";
|
|
25
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CoZCFG0w.esm.js";
|
|
26
|
+
import { t as selfieMachine } from "./selfieStateMachine-Dr5sCDgI.esm.js";
|
|
27
|
+
import { t as createSelfieManager } from "./selfieManager-zH9pAVXE.esm.js";
|
|
28
|
+
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-ygByVdnn.esm.js";
|
|
27
29
|
|
|
28
30
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
29
31
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
1
|
+
import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
2
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-C_hRHx8a.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
5
5
|
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
3
|
-
import { s as createActor } from "./xstate.esm-
|
|
4
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-CiEN7Gjn.esm.js";
|
|
2
|
+
import { n as eventModuleNames } from "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import { s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BpJM-gIl.esm.js";
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-kqbUqtrr.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-Dr5sCDgI.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as fromPromise, r as assign } from "./xstate.esm-
|
|
2
|
-
import {
|
|
3
|
-
import { t as FACE_ERROR_CODES } from "./types-
|
|
4
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
1
|
+
import { a as fromPromise, r as assign } from "./xstate.esm-C9wncMQa.esm.js";
|
|
2
|
+
import { a as defaultPrepareFaceUpload, c as prepareOnDeviceFaceUpload, h as uploadSelfie, m as processFace, o as isOnDeviceMode, s as postOnDeviceFaceResults } from "./recordingService-DwPmv6FZ.esm.js";
|
|
3
|
+
import { t as FACE_ERROR_CODES } from "./types-DsnEVMhr.esm.js";
|
|
4
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-CoZCFG0w.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
7
7
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as getApi } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
3
|
-
import { n as toIncodeApiError } from "./apiError-
|
|
1
|
+
import { n as getApi } from "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
3
|
+
import { n as toIncodeApiError } from "./apiError-B-j-gyDx.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/session/sessionService.ts
|
|
6
6
|
/**
|
package/dist/session.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./camera-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./types-
|
|
4
|
-
import { a as RegulationTypes } from "./types-
|
|
5
|
-
import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-
|
|
1
|
+
import "./camera-SRBpPq2X.js";
|
|
2
|
+
import "./types-Bj9hdFjU.js";
|
|
3
|
+
import "./types-DvGZI7BF.js";
|
|
4
|
+
import { a as RegulationTypes } from "./types-DOUhndhT.js";
|
|
5
|
+
import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-BdR2cGgB.js";
|
|
6
6
|
|
|
7
7
|
//#region src/internal/fingerprint/types.d.ts
|
|
8
8
|
|
package/dist/session.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import "./stats-
|
|
5
|
-
import "./IpifyProvider-
|
|
6
|
-
import "./browserSimulation-
|
|
7
|
-
import { r as initializeSession } from "./sessionInitializer-
|
|
8
|
-
import "./platform-
|
|
9
|
-
import "./getBrowser-
|
|
10
|
-
import { t as IncodeApiError } from "./apiError-
|
|
11
|
-
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-
|
|
12
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import "./api-CESGtpbH.esm.js";
|
|
2
|
+
import "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import "./endpoints-zEf_JIJU.esm.js";
|
|
4
|
+
import "./stats-SU3Linba.esm.js";
|
|
5
|
+
import "./IpifyProvider-D4LWD15E.esm.js";
|
|
6
|
+
import "./browserSimulation-B1dWiXp7.esm.js";
|
|
7
|
+
import { r as initializeSession } from "./sessionInitializer-D0Ei5Ol7.esm.js";
|
|
8
|
+
import "./platform-SKvEfCBh.esm.js";
|
|
9
|
+
import "./getBrowser-C8DP7oTB.esm.js";
|
|
10
|
+
import { t as IncodeApiError } from "./apiError-B-j-gyDx.esm.js";
|
|
11
|
+
import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-BEtpaQ6D.esm.js";
|
|
12
|
+
import { t as getFinishStatus } from "./flowCompletionService-DHpnjBvp.esm.js";
|
|
13
13
|
|
|
14
14
|
export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as getToken, s as setToken, t as api } from "./api-
|
|
2
|
-
import { g as getAnalyticsBatcher, h as addEvent } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-
|
|
5
|
-
import { n as resetIpifyCache, r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-
|
|
6
|
-
import { i as UAParser, n as getThumbmarkId, r as getParsedUserAgent, t as isBrowserSimulation } from "./browserSimulation-
|
|
1
|
+
import { r as getToken, s as setToken, t as api } from "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { g as getAnalyticsBatcher, h as addEvent } from "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
4
|
+
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-SU3Linba.esm.js";
|
|
5
|
+
import { n as resetIpifyCache, r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-D4LWD15E.esm.js";
|
|
6
|
+
import { i as UAParser, n as getThumbmarkId, r as getParsedUserAgent, t as isBrowserSimulation } from "./browserSimulation-B1dWiXp7.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region ../infra/src/providers/browser/BrowserInfoProvider.ts
|
|
9
9
|
var BrowserInfoProvider = class {
|
|
@@ -185,7 +185,7 @@ function resetFeatureConfigCache() {
|
|
|
185
185
|
|
|
186
186
|
//#endregion
|
|
187
187
|
//#region src/internal/version/sdkVersion.ts
|
|
188
|
-
const SDK_VERSION = "0.0.0-dev-20260610-
|
|
188
|
+
const SDK_VERSION = "0.0.0-dev-20260610-e5b4c4d5";
|
|
189
189
|
|
|
190
190
|
//#endregion
|
|
191
191
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as WasmWebClientError, c as setWebApiHttpTransport, f as deriveSiblingJsPath, l as setupWasmConnection, o as executeWasmRequest, r as warmupWasm, s as initializeWasmWebClient, t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
2
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
3
|
-
import { a as resetApi, i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-
|
|
4
|
-
import { _ as resetAnalyticsBatcher, g as getAnalyticsBatcher, m as createAnalyticsBatchingService, v as setAnalyticsBatcher } from "./events-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
6
|
-
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-
|
|
7
|
-
import { a as setClientIpLookupEnabled, i as resetSessionInit, r as initializeSession } from "./sessionInitializer-
|
|
1
|
+
import { a as WasmWebClientError, c as setWebApiHttpTransport, f as deriveSiblingJsPath, l as setupWasmConnection, o as executeWasmRequest, r as warmupWasm, s as initializeWasmWebClient, t as WasmUtilProvider } from "./WasmUtilProvider-CiEN7Gjn.esm.js";
|
|
2
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
3
|
+
import { a as resetApi, i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-CESGtpbH.esm.js";
|
|
4
|
+
import { _ as resetAnalyticsBatcher, g as getAnalyticsBatcher, m as createAnalyticsBatchingService, v as setAnalyticsBatcher } from "./events-Dvvriq9l.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
6
|
+
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-SU3Linba.esm.js";
|
|
7
|
+
import { a as setClientIpLookupEnabled, i as resetSessionInit, r as initializeSession } from "./sessionInitializer-D0Ei5Ol7.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
10
10
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
package/dist/signature.d.ts
CHANGED
package/dist/signature.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./endpoints-
|
|
4
|
-
import { c as createManager, s as createActor } from "./xstate.esm-
|
|
5
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
1
|
+
import "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import "./endpoints-zEf_JIJU.esm.js";
|
|
4
|
+
import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
+
import { t as signatureMachine } from "./signatureStateMachine-CpcyA7CM.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/signature/signatureActor.ts
|
|
8
8
|
function createSignatureActor(options) {
|
package/dist/{signatureStateMachine-CY1u1o6J.esm.js → signatureStateMachine-CpcyA7CM.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { h as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
4
|
-
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { h as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
4
|
+
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/signature/signatureServices.ts
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as getToken, t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { r as getToken, t as api } from "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-zEf_JIJU.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/stats/statsServices.ts
|
|
5
5
|
const deviceStatsQueue = [];
|
package/dist/stats.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./endpoints-
|
|
3
|
-
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-
|
|
1
|
+
import "./api-CESGtpbH.esm.js";
|
|
2
|
+
import "./endpoints-zEf_JIJU.esm.js";
|
|
3
|
+
import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-SU3Linba.esm.js";
|
|
4
4
|
|
|
5
5
|
export { addDeviceStats, flushDeviceStatsQueue, resetDeviceStatsQueue };
|
package/dist/trust-graph.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
2
|
+
import * as xstate734 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/trust-graph/trustGraphManager.d.ts
|
|
5
5
|
type TrustGraphIdleState = {
|
|
@@ -59,7 +59,7 @@ type TrustGraphContext = Record<string, never>;
|
|
|
59
59
|
* Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
|
|
60
60
|
* start directly in the `final` state.
|
|
61
61
|
*/
|
|
62
|
-
declare const trustGraphMachine:
|
|
62
|
+
declare const trustGraphMachine: xstate734.StateMachine<TrustGraphContext, xstate734.AnyEventObject, {}, never, never, never, never, "finished", string, xstate734.NonReducibleUnknown, xstate734.NonReducibleUnknown, xstate734.EventObject, xstate734.MetaObject, {
|
|
63
63
|
readonly id: "trust-graph";
|
|
64
64
|
readonly initial: "finished";
|
|
65
65
|
readonly context: {};
|
package/dist/trust-graph.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { c as createManager, s as createActor, t as setup } from "./xstate.esm-
|
|
1
|
+
import "./api-CESGtpbH.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dvvriq9l.esm.js";
|
|
3
|
+
import { c as createManager, s as createActor, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/trust-graph/trustGraphStateMachine.ts
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DocumentUploadConfig } from "./types-
|
|
2
|
-
import { s as RiskAddon } from "./types-
|
|
1
|
+
import { t as DocumentUploadConfig } from "./types-Bj9hdFjU.js";
|
|
2
|
+
import { s as RiskAddon } from "./types-DvGZI7BF.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/flow/types.d.ts
|
|
5
5
|
type EmptyConfig = Record<string, never>;
|