@incodetech/core 0.0.0-dev-20260413-de45fd6 → 0.0.0-dev-20260414-db434be
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-JatjSE3h.esm.js → OpenViduRecordingProvider-CCUuM9nV.esm.js} +1 -1
- package/dist/{WasmUtilProvider-DRh0wrlm.esm.js → WasmUtilProvider-CYe0Xlh-.esm.js} +1 -1
- package/dist/{addressSearch-DdrQw-hp.esm.js → addressSearch-Ui2rQ1v-.esm.js} +4 -4
- package/dist/antifraud.d.ts +1 -1
- package/dist/antifraud.esm.js +4 -4
- package/dist/{antifraudStateMachine-DZKc03yw.esm.js → antifraudStateMachine-ZNM45OSv.esm.js} +3 -3
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +22 -22
- package/dist/{authenticationManager-FnMwzV2u.d.ts → authenticationManager-BuWdnIab.d.ts} +2 -2
- package/dist/{authenticationManager-BAYd8gOR.esm.js → authenticationManager-CwWzwxMp.esm.js} +6 -6
- package/dist/{authenticationStateMachine-D12jAEkO.esm.js → authenticationStateMachine-CAvcWS_b.esm.js} +6 -6
- package/dist/{backCameraStream-BihRmMzc.esm.js → backCameraStream-amVBjSd6.esm.js} +3 -3
- package/dist/camera.d.ts +1 -1
- package/dist/camera.esm.js +3 -3
- package/dist/consent.d.ts +55 -55
- package/dist/consent.esm.js +4 -4
- package/dist/{consentStateMachine-BPQ4O1Ye.esm.js → consentStateMachine-YbOlYveq.esm.js} +3 -3
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/cross-document-data-match.esm.js +4 -4
- package/dist/curp-validation.d.ts +5 -5
- package/dist/curp-validation.esm.js +4 -4
- package/dist/{curpValidationStateMachine-DxuEodU2.esm.js → curpValidationStateMachine-D3NZ1SVG.esm.js} +3 -3
- package/dist/{deepsightLoader-jIgoauFK.esm.js → deepsightLoader-BqeQIeno.esm.js} +10 -10
- package/dist/{deepsightService-D4mM8yJ2.esm.js → deepsightService-B14izXzw.esm.js} +5 -5
- package/dist/{deepsightService-DAeakjDd.d.ts → deepsightService-CNR9-7As.d.ts} +2 -2
- package/dist/device.esm.js +3 -3
- package/dist/document-capture.d.ts +3 -3
- package/dist/document-capture.esm.js +8 -8
- package/dist/document-upload.d.ts +44 -44
- package/dist/document-upload.esm.js +7 -7
- package/dist/{documentCaptureStateMachine-DLhPQTCu.esm.js → documentCaptureStateMachine-CFNsZHSs.esm.js} +5 -5
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +10 -10
- package/dist/{ekybStateMachine-M7Upw7fD.esm.js → ekybStateMachine-BJS8bjot.esm.js} +5 -5
- package/dist/ekyc.d.ts +3 -3
- package/dist/ekyc.esm.js +6 -6
- package/dist/{ekycStateMachine-DHyAEUnE.esm.js → ekycStateMachine-CYGpzMDd.esm.js} +4 -4
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +6 -6
- package/dist/{emailManager-C8Zbw5xl.esm.js → emailManager-BNmWTggA.esm.js} +3 -3
- package/dist/{emailManager-NVkr3gYf.d.ts → emailManager-DT0plT1F.d.ts} +2 -2
- package/dist/{emailStateMachine-DSaFON9T.esm.js → emailStateMachine-vD2VtYZM.esm.js} +4 -4
- package/dist/{events-BjiB9Q1C.esm.js → events-B3HfNWqp.esm.js} +3 -1
- package/dist/events.d.ts +1 -0
- package/dist/events.esm.js +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +33 -33
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +4 -4
- package/dist/{faceCaptureManagerFactory-D5WpBtSM.d.ts → faceCaptureManagerFactory-BBwp70tn.d.ts} +8 -8
- package/dist/{faceCaptureManagerFactory-B1-bhK3L.esm.js → faceCaptureManagerFactory-odfjA0d8.esm.js} +2 -2
- package/dist/{faceCaptureSetup-CnpsYL-c.esm.js → faceCaptureSetup-CdYYDgN6.esm.js} +4 -4
- package/dist/{faceMatchStateMachine-DfGqIm8j.esm.js → faceMatchStateMachine-DptHGpKT.esm.js} +3 -3
- package/dist/flow.d.ts +16 -11
- package/dist/flow.esm.js +9 -9
- package/dist/{flowCompletionService-8Udg-BwW.esm.js → flowCompletionService-BhzS182Y.esm.js} +2 -2
- package/dist/{flowServices-D4yGOYZG.esm.js → flowServices-D_yVNocO.esm.js} +16 -10
- package/dist/geolocation.d.ts +2 -2
- package/dist/geolocation.esm.js +5 -5
- package/dist/{geolocationStateMachine-NFrAD2gH.esm.js → geolocationStateMachine-DY8eWROq.esm.js} +4 -4
- package/dist/{getDeviceClass-BoiWvKAc.esm.js → getDeviceClass-CkdEWjAM.esm.js} +1 -1
- package/dist/government-validation.d.ts +2 -2
- package/dist/government-validation.esm.js +5 -5
- package/dist/{governmentValidationStateMachine-CAxpYlz3.esm.js → governmentValidationStateMachine-DCqdkm8Z.esm.js} +4 -4
- package/dist/home.d.ts +129 -0
- package/dist/home.esm.js +73 -0
- package/dist/http.esm.js +1 -1
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +22 -22
- package/dist/{idCaptureManager-DfaZzJV3.d.ts → idCaptureManager-D1MiNNuR.d.ts} +7 -7
- package/dist/{idCaptureManager-DruPQ5pA.esm.js → idCaptureManager-_e78xuEM.esm.js} +4 -4
- package/dist/{idCaptureStateMachine-CEHQVPXX.esm.js → idCaptureStateMachine-CYPfS8iO.esm.js} +16 -16
- package/dist/identity-reuse.d.ts +46 -46
- package/dist/identity-reuse.esm.js +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +8 -8
- package/dist/{lib-CxDxnzRd.esm.js → lib-BcTqNgYu.esm.js} +1 -1
- package/dist/mandatory-consent.d.ts +55 -55
- package/dist/mandatory-consent.esm.js +4 -4
- package/dist/{mandatoryConsentStateMachine-zHii57mc.esm.js → mandatoryConsentStateMachine-D0weA8Cn.esm.js} +3 -3
- package/dist/{openviduLazy-B8tinh9W.esm.js → openviduLazy-BiBkiXcn.esm.js} +2 -2
- package/dist/openviduLazy-CrjlHYIL.esm.js +3 -0
- package/dist/{permissionServices-Cj120WaT.esm.js → permissionServices-ElKNJ-9J.esm.js} +2 -2
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +6 -6
- package/dist/{phoneManager-KeGunMJF.d.ts → phoneManager-BxWESUBK.d.ts} +2 -2
- package/dist/{phoneManager-Cpd4VD3O.esm.js → phoneManager-CRVt9rvr.esm.js} +3 -3
- package/dist/{phoneStateMachine-Bhzv058R.esm.js → phoneStateMachine-BMTT0tvu.esm.js} +4 -4
- package/dist/{recordingService-Drvj5nOf.esm.js → recordingService-BNOxJMAM.esm.js} +13 -13
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +5 -5
- package/dist/{redirectToMobileStateMachine-ChdhlqsE.esm.js → redirectToMobileStateMachine-8yOC9dnH.esm.js} +4 -4
- package/dist/{runChildModule-B5DEiOS7.esm.js → runChildModule-eBqC5Z25.esm.js} +1 -1
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +22 -22
- package/dist/{selfieManager-LrnnqNh8.d.ts → selfieManager-B7XmNptL.d.ts} +2 -2
- package/dist/{selfieManager-VXvYzqpE.esm.js → selfieManager-C6pl5f2B.esm.js} +6 -6
- package/dist/{selfieStateMachine-UFiVoA2o.esm.js → selfieStateMachine-B88Q3SFX.esm.js} +3 -3
- package/dist/{session-DFNlZPO2.esm.js → session-D2s2kUoa.esm.js} +4 -4
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +6 -6
- package/dist/{setup-Bz3Ffaoc.d.ts → setup-DR4SBtyZ.d.ts} +1 -1
- package/dist/{setup-D4wIfKMo.esm.js → setup-nE0hEkGl.esm.js} +5 -5
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +4 -4
- package/dist/{signatureStateMachine-BwEaOwbU.esm.js → signatureStateMachine-BOdPhzPM.esm.js} +3 -3
- package/dist/{stats-wkQyDFV3.esm.js → stats-D0m-GAIR.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{types-CvrR1E0A.d.ts → types-BoV6HZZE.d.ts} +1 -1
- package/dist/{types-m43DfiSx.d.ts → types-DR5Xxm-c.d.ts} +3 -2
- package/dist/{types-CdlQrTiZ.d.ts → types-vklwHgIM.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +8 -8
- package/dist/watchlist.d.ts +62 -0
- package/dist/watchlist.esm.js +99 -0
- package/dist/workflow.d.ts +116 -116
- package/dist/workflow.esm.js +41 -41
- package/package.json +9 -1
- package/dist/openviduLazy-CItjpMfL.esm.js +0 -3
- /package/dist/{Actor-KC-0sV1E.d.ts → Actor-iMyH_hBY.d.ts} +0 -0
- /package/dist/{BaseWasmProvider-C73c2nV9.esm.js → BaseWasmProvider-DFM6aa1Z.esm.js} +0 -0
- /package/dist/{BrowserEnvironmentProvider-lxn4oxXn.esm.js → BrowserEnvironmentProvider-4Vr7ceoW.esm.js} +0 -0
- /package/dist/{BrowserStorageProvider-ByxoNfxC.esm.js → BrowserStorageProvider-Dp9k9EzW.esm.js} +0 -0
- /package/dist/{BrowserTimerProvider-CSdm7__S.esm.js → BrowserTimerProvider-BfL0cWbj.esm.js} +0 -0
- /package/dist/{ITimerCapability-DAIaq369.esm.js → ITimerCapability-_YySEUj7.esm.js} +0 -0
- /package/dist/{Manager-Bcnemkyi.d.ts → Manager-BzPNdMJn.d.ts} +0 -0
- /package/dist/{MotionSensorProvider-BLnFo6My.esm.js → MotionSensorProvider-Bi6DuLLP.esm.js} +0 -0
- /package/dist/{StateMachine-BQSmCXnT.d.ts → StateMachine-DIeoDJ7r.d.ts} +0 -0
- /package/dist/{api-CqKwkjJ3.esm.js → api-CGdjmBzR.esm.js} +0 -0
- /package/dist/{browserSimulation-7W5-A3RV.esm.js → browserSimulation-D9FTZt0Z.esm.js} +0 -0
- /package/dist/{camera-B-5traWf.esm.js → camera-C4T2nh2F.esm.js} +0 -0
- /package/dist/{camera-CgnuDuxy.d.ts → camera-DdgjYGQh.d.ts} +0 -0
- /package/dist/{chunk-Qw4qVmMx.esm.js → chunk-CT7w1OiQ.esm.js} +0 -0
- /package/dist/{displayErrors-C9-VaqmS.d.ts → displayErrors-CGztf2Nk.d.ts} +0 -0
- /package/dist/{flowCompletionService-CPLdZxe-.d.ts → flowCompletionService-CNpeRlnP.d.ts} +0 -0
- /package/dist/{getBrowser-DJkbzQ5t.esm.js → getBrowser-DR_WEE3I.esm.js} +0 -0
- /package/dist/{platform-BfoqeM61.esm.js → platform-B81QvKKx.esm.js} +0 -0
- /package/dist/{types-CxU9jTRl.d.ts → types-Bo7LR34d.d.ts} +0 -0
- /package/dist/{warmup-Cs0uqxUW.d.ts → warmup-C5bT21Jo.d.ts} +0 -0
- /package/dist/{xstate.esm-D7D6CGwY.esm.js → xstate.esm-DW_uPCba.esm.js} +0 -0
package/dist/{faceCaptureManagerFactory-D5WpBtSM.d.ts → faceCaptureManagerFactory-BBwp70tn.d.ts}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
4
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import {
|
|
7
|
-
import { a as IWasmUtilCapability, c as IMLProviderCapability, d as IRecordingCapability, i as IncodeCanvas, l as MLProviderConfig, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-
|
|
8
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-C5bT21Jo.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
3
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-DIeoDJ7r.js";
|
|
4
|
+
import { t as ActorRefFrom } from "./Actor-iMyH_hBY.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-DdgjYGQh.js";
|
|
6
|
+
import { i as FlowModuleConfig, n as Flow } from "./types-DR5Xxm-c.js";
|
|
7
|
+
import { a as IWasmUtilCapability, c as IMLProviderCapability, d as IRecordingCapability, i as IncodeCanvas, l as MLProviderConfig, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-CNR9-7As.js";
|
|
8
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Bo7LR34d.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
11
11
|
declare const _authenticationMachine: AnyStateMachine;
|
package/dist/{faceCaptureManagerFactory-B1-bhK3L.esm.js → faceCaptureManagerFactory-odfjA0d8.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
2
|
-
import { o as createManager } from "./xstate.esm-
|
|
1
|
+
import { o as createManagerInstrumentation, r as eventScreenNames } from "./events-B3HfNWqp.esm.js";
|
|
2
|
+
import { o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
5
5
|
function getPermissionStatus(snapshot) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { r as getToken } from "./api-
|
|
2
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
3
|
-
import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-
|
|
4
|
-
import { n as requestPermission, t as checkPermission } from "./permissionServices-
|
|
1
|
+
import { r as getToken } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
3
|
+
import { _ as StreamCanvasCapture, a as initializeDeepsightSession, c as stopStream, h as flagFaceManualReview, i as initializeCamera, n as preloadOpenViduProvider, o as sendLabelInspectionEvent, r as encryptSelfieImage, s as startDetection, t as createRecordingService, v as FACE_ERROR_CODES } from "./recordingService-BNOxJMAM.esm.js";
|
|
4
|
+
import { n as requestPermission, t as checkPermission } from "./permissionServices-ElKNJ-9J.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/faceCapture/faceCaptureSetup.ts
|
|
7
7
|
const getAttemptsFromConfig = (config) => {
|
package/dist/{faceMatchStateMachine-DfGqIm8j.esm.js → faceMatchStateMachine-DptHGpKT.esm.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/face-match/faceMatchServices.ts
|
|
6
6
|
/**
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as AnyStateMachine } from "./StateMachine-
|
|
4
|
-
import "./camera-
|
|
5
|
-
import "./types-
|
|
6
|
-
import {
|
|
7
|
-
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-
|
|
8
|
-
import { t as ModuleRegistry } from "./types-
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-C5bT21Jo.js";
|
|
2
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
3
|
+
import { t as AnyStateMachine } from "./StateMachine-DIeoDJ7r.js";
|
|
4
|
+
import "./camera-DdgjYGQh.js";
|
|
5
|
+
import "./types-vklwHgIM.js";
|
|
6
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-DR5Xxm-c.js";
|
|
7
|
+
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-CNpeRlnP.js";
|
|
8
|
+
import { t as ModuleRegistry } from "./types-BoV6HZZE.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/flow/flowUtils.d.ts
|
|
11
|
-
|
|
11
|
+
type NormalizeFlowModulesOptions = {
|
|
12
|
+
enableHome?: boolean;
|
|
13
|
+
};
|
|
12
14
|
/**
|
|
13
15
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
14
16
|
* Use this to conditionally warmup WASM only when required by the flow.
|
|
@@ -34,10 +36,13 @@ declare function getRequiredWasmPipelines(flow: Flow): WasmPipeline[];
|
|
|
34
36
|
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
35
37
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
36
38
|
*/
|
|
37
|
-
declare function normalizeFlowModules(modules: FlowModule[]): FlowModule[];
|
|
39
|
+
declare function normalizeFlowModules(modules: FlowModule[], options?: NormalizeFlowModulesOptions): FlowModule[];
|
|
38
40
|
//#endregion
|
|
39
41
|
//#region src/modules/flow/flowServices.d.ts
|
|
40
|
-
type
|
|
42
|
+
type GetFlowOptions = {
|
|
43
|
+
enableHome?: boolean;
|
|
44
|
+
};
|
|
45
|
+
type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
41
46
|
declare const getFlow: GetFlow;
|
|
42
47
|
//#endregion
|
|
43
48
|
//#region src/modules/flow/flowActor.d.ts
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import "./session-
|
|
4
|
-
import "./BrowserEnvironmentProvider-
|
|
5
|
-
import "./browserSimulation-
|
|
6
|
-
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-
|
|
7
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
8
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
9
|
-
import { t as runChildModule } from "./runChildModule-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import "./session-D2s2kUoa.esm.js";
|
|
4
|
+
import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
|
|
5
|
+
import "./browserSimulation-D9FTZt0Z.esm.js";
|
|
6
|
+
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
7
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-D_yVNocO.esm.js";
|
|
8
|
+
import { t as getFinishStatus } from "./flowCompletionService-BhzS182Y.esm.js";
|
|
9
|
+
import { t as runChildModule } from "./runChildModule-eBqC5Z25.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/modules/flow/flowStateMachine.ts
|
|
12
12
|
const flowMachine = setup({
|
package/dist/{flowCompletionService-8Udg-BwW.esm.js → flowCompletionService-BhzS182Y.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./session-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./session-D2s2kUoa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/flow/flowUtils.ts
|
|
6
6
|
const WASM_MODULE_PIPELINES = {
|
|
@@ -44,8 +44,8 @@ function getRequiredWasmPipelines(flow) {
|
|
|
44
44
|
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
45
45
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
46
46
|
*/
|
|
47
|
-
function normalizeFlowModules(modules) {
|
|
48
|
-
|
|
47
|
+
function normalizeFlowModules(modules, options = {}) {
|
|
48
|
+
const merged = modules.flatMap((module, idx, arr) => {
|
|
49
49
|
if (module.key === "TUTORIAL_ID") {
|
|
50
50
|
const idConfig = module.configuration;
|
|
51
51
|
const result = [{
|
|
@@ -65,6 +65,11 @@ function normalizeFlowModules(modules) {
|
|
|
65
65
|
if (module.key === "ID" && prev?.key === "TUTORIAL_ID") return [];
|
|
66
66
|
return [module];
|
|
67
67
|
});
|
|
68
|
+
if (options.enableHome !== true || merged.some((module) => module.key === "HOME")) return merged;
|
|
69
|
+
return [{
|
|
70
|
+
key: "HOME",
|
|
71
|
+
configuration: {}
|
|
72
|
+
}, ...merged];
|
|
68
73
|
}
|
|
69
74
|
|
|
70
75
|
//#endregion
|
|
@@ -111,16 +116,17 @@ function prependMandatoryConsent(flow) {
|
|
|
111
116
|
flowModules: [mandatoryConsentModule, ...flow.flowModules]
|
|
112
117
|
};
|
|
113
118
|
}
|
|
114
|
-
const getFlow = async (signal) => {
|
|
119
|
+
const getFlow = async (signal, options = {}) => {
|
|
115
120
|
await initializeSession({ signal }).catch(() => void 0);
|
|
116
121
|
const res = await api.get(endpoints.flow, { signal });
|
|
117
122
|
if (!res.ok) throw new Error(`GET /flow failed: ${res.status} ${res.statusText}`);
|
|
118
123
|
const data = res.data;
|
|
119
|
-
const
|
|
120
|
-
|
|
121
|
-
|
|
124
|
+
const flow = prependMandatoryConsent(data);
|
|
125
|
+
const normalizedModules = normalizeFlowModules(flow.flowModules ?? [], options);
|
|
126
|
+
return {
|
|
127
|
+
...flow,
|
|
122
128
|
flowModules: normalizedModules
|
|
123
|
-
}
|
|
129
|
+
};
|
|
124
130
|
};
|
|
125
131
|
|
|
126
132
|
//#endregion
|
package/dist/geolocation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./Actor-iMyH_hBY.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IGeolocationCapability.d.ts
|
|
5
5
|
type GeolocationCoords = {
|
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import "./platform-
|
|
5
|
-
import { t as geolocationMachine } from "./geolocationStateMachine-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import "./platform-B81QvKKx.esm.js";
|
|
5
|
+
import { t as geolocationMachine } from "./geolocationStateMachine-DY8eWROq.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
|
|
8
8
|
var BrowserGeolocationProvider = class {
|
package/dist/{geolocationStateMachine-NFrAD2gH.esm.js → geolocationStateMachine-DY8eWROq.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { r as isIOS, t as isAndroid } from "./platform-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import { r as isIOS, t as isAndroid } from "./platform-B81QvKKx.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
7
|
async function addGeolocation(params, signal) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./Actor-iMyH_hBY.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/government-validation/types.d.ts
|
|
5
5
|
type GovernmentValidationConfig = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import { o as createManagerInstrumentation } from "./events-
|
|
3
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
4
|
-
import "./BrowserTimerProvider-
|
|
5
|
-
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
5
|
+
import { t as governmentValidationMachine } from "./governmentValidationStateMachine-DCqdkm8Z.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/government-validation/governmentValidationActor.ts
|
|
8
8
|
function createGovernmentValidationActor(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
3
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-
|
|
1
|
+
import { t as api } from "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { _ as endpoints } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
7
7
|
async function processGovernmentValidation(signal) {
|
package/dist/home.d.ts
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import "./camera-DdgjYGQh.js";
|
|
3
|
+
import "./types-vklwHgIM.js";
|
|
4
|
+
import { t as EmptyConfig } from "./types-DR5Xxm-c.js";
|
|
5
|
+
import * as xstate658 from "xstate";
|
|
6
|
+
|
|
7
|
+
//#region src/modules/home/types.d.ts
|
|
8
|
+
type HomeConfig = EmptyConfig;
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/modules/home/homeManager.d.ts
|
|
11
|
+
type HomeIdleState = {
|
|
12
|
+
status: 'idle';
|
|
13
|
+
};
|
|
14
|
+
type HomeMainState = {
|
|
15
|
+
status: 'main';
|
|
16
|
+
};
|
|
17
|
+
type HomeSettingsState = {
|
|
18
|
+
status: 'settings';
|
|
19
|
+
};
|
|
20
|
+
type HomeFinishedState = {
|
|
21
|
+
status: 'finished';
|
|
22
|
+
};
|
|
23
|
+
type HomeState = HomeIdleState | HomeMainState | HomeSettingsState | HomeFinishedState;
|
|
24
|
+
declare function createHomeManager(options?: {
|
|
25
|
+
config?: HomeConfig;
|
|
26
|
+
}): Manager<HomeState> & {
|
|
27
|
+
load(): void;
|
|
28
|
+
complete(): void;
|
|
29
|
+
openSettings(): void;
|
|
30
|
+
closeSettings(): void;
|
|
31
|
+
reset(): void;
|
|
32
|
+
};
|
|
33
|
+
type HomeManager = ReturnType<typeof createHomeManager>;
|
|
34
|
+
//#endregion
|
|
35
|
+
//#region src/modules/home/homeStateMachine.d.ts
|
|
36
|
+
type HomeContext = {
|
|
37
|
+
config: EmptyConfig;
|
|
38
|
+
};
|
|
39
|
+
type HomeInput = {
|
|
40
|
+
config: EmptyConfig;
|
|
41
|
+
};
|
|
42
|
+
declare const homeMachine: xstate658.StateMachine<HomeContext, {
|
|
43
|
+
type: "LOAD";
|
|
44
|
+
} | {
|
|
45
|
+
type: "COMPLETE";
|
|
46
|
+
} | {
|
|
47
|
+
type: "RESET";
|
|
48
|
+
} | {
|
|
49
|
+
type: "OPEN_SETTINGS";
|
|
50
|
+
} | {
|
|
51
|
+
type: "CLOSE_SETTINGS";
|
|
52
|
+
}, {}, never, never, never, never, "finished" | "idle" | "main" | "settings", string, HomeInput, xstate658.NonReducibleUnknown, xstate658.EventObject, xstate658.MetaObject, {
|
|
53
|
+
readonly id: "home";
|
|
54
|
+
readonly initial: "idle";
|
|
55
|
+
readonly context: ({
|
|
56
|
+
input
|
|
57
|
+
}: {
|
|
58
|
+
spawn: {
|
|
59
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate658.ActorRefFromLogic<never>;
|
|
60
|
+
<TLogic extends xstate658.AnyActorLogic>(src: TLogic, ...[options]: xstate658.ConditionalRequired<[options?: ({
|
|
61
|
+
id?: never;
|
|
62
|
+
systemId?: string;
|
|
63
|
+
input?: xstate658.InputFrom<TLogic> | undefined;
|
|
64
|
+
syncSnapshot?: boolean;
|
|
65
|
+
} & { [K in xstate658.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate658.IsNotNever<xstate658.RequiredLogicInput<TLogic>>>): xstate658.ActorRefFromLogic<TLogic>;
|
|
66
|
+
};
|
|
67
|
+
input: HomeInput;
|
|
68
|
+
self: xstate658.ActorRef<xstate658.MachineSnapshot<HomeContext, {
|
|
69
|
+
type: "LOAD";
|
|
70
|
+
} | {
|
|
71
|
+
type: "COMPLETE";
|
|
72
|
+
} | {
|
|
73
|
+
type: "RESET";
|
|
74
|
+
} | {
|
|
75
|
+
type: "OPEN_SETTINGS";
|
|
76
|
+
} | {
|
|
77
|
+
type: "CLOSE_SETTINGS";
|
|
78
|
+
}, Record<string, xstate658.AnyActorRef | undefined>, xstate658.StateValue, string, unknown, any, any>, {
|
|
79
|
+
type: "LOAD";
|
|
80
|
+
} | {
|
|
81
|
+
type: "COMPLETE";
|
|
82
|
+
} | {
|
|
83
|
+
type: "RESET";
|
|
84
|
+
} | {
|
|
85
|
+
type: "OPEN_SETTINGS";
|
|
86
|
+
} | {
|
|
87
|
+
type: "CLOSE_SETTINGS";
|
|
88
|
+
}, xstate658.AnyEventObject>;
|
|
89
|
+
}) => {
|
|
90
|
+
config: EmptyConfig;
|
|
91
|
+
};
|
|
92
|
+
readonly states: {
|
|
93
|
+
readonly idle: {
|
|
94
|
+
readonly on: {
|
|
95
|
+
readonly LOAD: {
|
|
96
|
+
readonly target: "main";
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
readonly main: {
|
|
101
|
+
readonly on: {
|
|
102
|
+
readonly COMPLETE: {
|
|
103
|
+
readonly target: "finished";
|
|
104
|
+
};
|
|
105
|
+
readonly OPEN_SETTINGS: {
|
|
106
|
+
readonly target: "settings";
|
|
107
|
+
};
|
|
108
|
+
readonly RESET: {
|
|
109
|
+
readonly target: "idle";
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
readonly settings: {
|
|
114
|
+
readonly on: {
|
|
115
|
+
readonly CLOSE_SETTINGS: {
|
|
116
|
+
readonly target: "main";
|
|
117
|
+
};
|
|
118
|
+
readonly RESET: {
|
|
119
|
+
readonly target: "idle";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
readonly finished: {
|
|
124
|
+
readonly type: "final";
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
}>;
|
|
128
|
+
//#endregion
|
|
129
|
+
export { type HomeConfig, type HomeManager, type HomeState, createHomeManager, homeMachine };
|
package/dist/home.esm.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import "./api-CGdjmBzR.esm.js";
|
|
2
|
+
import { o as createManagerInstrumentation } from "./events-B3HfNWqp.esm.js";
|
|
3
|
+
import { a as createActor, o as createManager, t as setup } from "./xstate.esm-DW_uPCba.esm.js";
|
|
4
|
+
|
|
5
|
+
//#region src/modules/home/homeStateMachine.ts
|
|
6
|
+
const homeMachine = setup({ types: {
|
|
7
|
+
context: {},
|
|
8
|
+
events: {},
|
|
9
|
+
input: {}
|
|
10
|
+
} }).createMachine({
|
|
11
|
+
id: "home",
|
|
12
|
+
initial: "idle",
|
|
13
|
+
context: ({ input }) => ({ config: input.config }),
|
|
14
|
+
states: {
|
|
15
|
+
idle: { on: { LOAD: { target: "main" } } },
|
|
16
|
+
main: { on: {
|
|
17
|
+
COMPLETE: { target: "finished" },
|
|
18
|
+
OPEN_SETTINGS: { target: "settings" },
|
|
19
|
+
RESET: { target: "idle" }
|
|
20
|
+
} },
|
|
21
|
+
settings: { on: {
|
|
22
|
+
CLOSE_SETTINGS: { target: "main" },
|
|
23
|
+
RESET: { target: "idle" }
|
|
24
|
+
} },
|
|
25
|
+
finished: { type: "final" }
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/modules/home/homeActor.ts
|
|
31
|
+
function createHomeActor(options = {}) {
|
|
32
|
+
return createActor(homeMachine, { input: { config: options.config ?? {} } }).start();
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/modules/home/homeManager.ts
|
|
37
|
+
function mapState(snapshot) {
|
|
38
|
+
const typedSnapshot = snapshot;
|
|
39
|
+
if (typedSnapshot.matches("main")) return { status: "main" };
|
|
40
|
+
if (typedSnapshot.matches("settings")) return { status: "settings" };
|
|
41
|
+
if (typedSnapshot.matches("finished")) return { status: "finished" };
|
|
42
|
+
return { status: "idle" };
|
|
43
|
+
}
|
|
44
|
+
function createApi({ actor }) {
|
|
45
|
+
return {
|
|
46
|
+
load() {
|
|
47
|
+
actor.send({ type: "LOAD" });
|
|
48
|
+
},
|
|
49
|
+
complete() {
|
|
50
|
+
actor.send({ type: "COMPLETE" });
|
|
51
|
+
},
|
|
52
|
+
openSettings() {
|
|
53
|
+
actor.send({ type: "OPEN_SETTINGS" });
|
|
54
|
+
},
|
|
55
|
+
closeSettings() {
|
|
56
|
+
actor.send({ type: "CLOSE_SETTINGS" });
|
|
57
|
+
},
|
|
58
|
+
reset() {
|
|
59
|
+
actor.send({ type: "RESET" });
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function createHomeManager(options = {}) {
|
|
64
|
+
return createManager({
|
|
65
|
+
actor: createHomeActor({ config: options.config }),
|
|
66
|
+
mapState,
|
|
67
|
+
createApi,
|
|
68
|
+
instrumentation: createManagerInstrumentation("HOME")
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
//#endregion
|
|
73
|
+
export { createHomeManager, homeMachine };
|
package/dist/http.esm.js
CHANGED
package/dist/id.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import "./StateMachine-
|
|
4
|
-
import "./Actor-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import "./types-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./deepsightService-
|
|
9
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
10
|
-
import { A as IdCaptureDependencies, B as RecordingSession, C as CaptureIdResponse, D as ID_ERROR_CODES, E as DetectionStatus, F as IdCaptureThresholds, H as DetectionOrientation, I as IdDocumentType, L as IdError, M as IdCaptureGeometry, N as IdCaptureInput, O as IdCaptureConfig, P as IdCaptureMode, R as IdErrorCode, S as idCaptureMachine, T as DetectionArea, U as IdCaptureSettings, V as UploadIdResponse, _ as validateUploadResponse, a as IdCaptureInitResult, b as createIdCaptureActor, c as UploadIdImageParams, d as preloadIdRecordingProvider, f as processId, g as uploadIdImage, h as stopStream, j as IdCaptureEvent, k as IdCaptureContext, l as ValidationError, m as stopRecording, n as IdCaptureState, o as InitializeIdCaptureParams, p as startRecordingSession, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as CreateIdCaptureActorOptions, w as CapturedImage, x as IdCaptureMachine, y as IdCaptureActor, z as IdFlowStep } from "./idCaptureManager-
|
|
1
|
+
import "./warmup-C5bT21Jo.js";
|
|
2
|
+
import "./Manager-BzPNdMJn.js";
|
|
3
|
+
import "./StateMachine-DIeoDJ7r.js";
|
|
4
|
+
import "./Actor-iMyH_hBY.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-DdgjYGQh.js";
|
|
6
|
+
import "./types-vklwHgIM.js";
|
|
7
|
+
import "./types-DR5Xxm-c.js";
|
|
8
|
+
import "./deepsightService-CNR9-7As.js";
|
|
9
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Bo7LR34d.js";
|
|
10
|
+
import { A as IdCaptureDependencies, B as RecordingSession, C as CaptureIdResponse, D as ID_ERROR_CODES, E as DetectionStatus, F as IdCaptureThresholds, H as DetectionOrientation, I as IdDocumentType, L as IdError, M as IdCaptureGeometry, N as IdCaptureInput, O as IdCaptureConfig, P as IdCaptureMode, R as IdErrorCode, S as idCaptureMachine, T as DetectionArea, U as IdCaptureSettings, V as UploadIdResponse, _ as validateUploadResponse, a as IdCaptureInitResult, b as createIdCaptureActor, c as UploadIdImageParams, d as preloadIdRecordingProvider, f as processId, g as uploadIdImage, h as stopStream, j as IdCaptureEvent, k as IdCaptureContext, l as ValidationError, m as stopRecording, n as IdCaptureState, o as InitializeIdCaptureParams, p as startRecordingSession, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as CreateIdCaptureActorOptions, w as CapturedImage, x as IdCaptureMachine, y as IdCaptureActor, z as IdFlowStep } from "./idCaptureManager-D1MiNNuR.js";
|
|
11
11
|
export { CameraStream, CaptureIdResponse, CapturedImage, type CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, type IdCaptureActor, IdCaptureConfig, type IdCaptureContext, IdCaptureDependencies, type IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, type IdCaptureInput, type IdCaptureMachine, type IdCaptureManager, IdCaptureMode, IdCaptureSettings, type IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import "./BaseWasmProvider-
|
|
2
|
-
import "./api-
|
|
3
|
-
import "./events-
|
|
4
|
-
import "./session-
|
|
5
|
-
import "./BrowserEnvironmentProvider-
|
|
6
|
-
import "./browserSimulation-
|
|
7
|
-
import "./xstate.esm-
|
|
8
|
-
import "./BrowserStorageProvider-
|
|
9
|
-
import "./recordingService-
|
|
10
|
-
import "./deepsightService-
|
|
11
|
-
import "./camera-
|
|
12
|
-
import "./getBrowser-
|
|
13
|
-
import "./stats-
|
|
14
|
-
import "./MotionSensorProvider-
|
|
15
|
-
import "./permissionServices-
|
|
16
|
-
import "./platform-
|
|
17
|
-
import "./ITimerCapability-
|
|
18
|
-
import "./backCameraStream-
|
|
19
|
-
import "./getDeviceClass-
|
|
20
|
-
import "./BrowserTimerProvider-
|
|
21
|
-
import { a as startRecordingSession, c as uploadIdImage, i as processId, l as validateUploadResponse, n as initializeIdCapture, o as stopRecording, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as ID_ERROR_CODES } from "./idCaptureStateMachine-
|
|
22
|
-
import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
1
|
+
import "./BaseWasmProvider-DFM6aa1Z.esm.js";
|
|
2
|
+
import "./api-CGdjmBzR.esm.js";
|
|
3
|
+
import "./events-B3HfNWqp.esm.js";
|
|
4
|
+
import "./session-D2s2kUoa.esm.js";
|
|
5
|
+
import "./BrowserEnvironmentProvider-4Vr7ceoW.esm.js";
|
|
6
|
+
import "./browserSimulation-D9FTZt0Z.esm.js";
|
|
7
|
+
import "./xstate.esm-DW_uPCba.esm.js";
|
|
8
|
+
import "./BrowserStorageProvider-Dp9k9EzW.esm.js";
|
|
9
|
+
import "./recordingService-BNOxJMAM.esm.js";
|
|
10
|
+
import "./deepsightService-B14izXzw.esm.js";
|
|
11
|
+
import "./camera-C4T2nh2F.esm.js";
|
|
12
|
+
import "./getBrowser-DR_WEE3I.esm.js";
|
|
13
|
+
import "./stats-D0m-GAIR.esm.js";
|
|
14
|
+
import "./MotionSensorProvider-Bi6DuLLP.esm.js";
|
|
15
|
+
import "./permissionServices-ElKNJ-9J.esm.js";
|
|
16
|
+
import "./platform-B81QvKKx.esm.js";
|
|
17
|
+
import "./ITimerCapability-_YySEUj7.esm.js";
|
|
18
|
+
import "./backCameraStream-amVBjSd6.esm.js";
|
|
19
|
+
import "./getDeviceClass-CkdEWjAM.esm.js";
|
|
20
|
+
import "./BrowserTimerProvider-BfL0cWbj.esm.js";
|
|
21
|
+
import { a as startRecordingSession, c as uploadIdImage, i as processId, l as validateUploadResponse, n as initializeIdCapture, o as stopRecording, r as preloadIdRecordingProvider, s as stopStream, t as idCaptureMachine, u as ID_ERROR_CODES } from "./idCaptureStateMachine-CYPfS8iO.esm.js";
|
|
22
|
+
import { r as createIdCaptureActor, t as createIdCaptureManager } from "./idCaptureManager-_e78xuEM.esm.js";
|
|
23
23
|
|
|
24
24
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, preloadIdRecordingProvider, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
3
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
4
|
-
import { t as CameraStream } from "./camera-
|
|
5
|
-
import { a as
|
|
6
|
-
import { c as IMLProviderCapability, d as IRecordingCapability, f as RecordingConnection, i as IncodeCanvas, l as MLProviderConfig, n as IMotionSensorCapability, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-
|
|
7
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-BzPNdMJn.js";
|
|
2
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-DIeoDJ7r.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-iMyH_hBY.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-DdgjYGQh.js";
|
|
5
|
+
import { a as RegulationTypes, n as Flow, o as TutorialIdConfig } from "./types-DR5Xxm-c.js";
|
|
6
|
+
import { c as IMLProviderCapability, d as IRecordingCapability, f as RecordingConnection, i as IncodeCanvas, l as MLProviderConfig, n as IMotionSensorCapability, r as StreamCanvasCapture, t as DeepsightService, u as IStorageCapability } from "./deepsightService-CNR9-7As.js";
|
|
7
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-Bo7LR34d.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IIdCaptureCapability.d.ts
|
|
10
10
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-
|
|
2
|
-
import { a as createActor, o as createManager } from "./xstate.esm-
|
|
3
|
-
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-
|
|
4
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-B3HfNWqp.esm.js";
|
|
2
|
+
import { a as createActor, o as createManager } from "./xstate.esm-DW_uPCba.esm.js";
|
|
3
|
+
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Dp9k9EzW.esm.js";
|
|
4
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-CYPfS8iO.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/id/idCaptureActor.ts
|
|
7
7
|
function createIdCaptureActor(options) {
|