@incodetech/core 0.0.0-dev-20260506-135ee70 → 0.0.0-dev-20260507-e005279
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-uonkP2qT.esm.js → OpenViduRecordingProvider-VSC4Wgmh.esm.js} +1 -1
- package/dist/ae-signature.d.ts +3 -3
- package/dist/antifraud.d.ts +1 -1
- package/dist/authentication.d.ts +11 -11
- package/dist/authentication.esm.js +4 -4
- package/dist/{authenticationManager-DoYYNtAB.esm.js → authenticationManager-BmRvJPaH.esm.js} +1 -1
- package/dist/{authenticationManager-B8GvzIqz.d.ts → authenticationManager-ii8ZNmw2.d.ts} +2 -2
- package/dist/{authenticationStateMachine-DM9magHC.esm.js → authenticationStateMachine-wCMzEk11.esm.js} +2 -2
- package/dist/camera.d.ts +1 -1
- package/dist/consent.d.ts +49 -49
- package/dist/cpf-ocr.d.ts +24 -24
- package/dist/cross-document-data-match.d.ts +1 -1
- package/dist/curp-validation.d.ts +5 -5
- package/dist/custom-fields.d.ts +2 -2
- package/dist/custom-watchlist.d.ts +1 -1
- package/dist/{deepsightService-GnSzshni.d.ts → deepsightService-DljAhyUS.d.ts} +2 -2
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-upload.d.ts +44 -44
- package/dist/ekyb.d.ts +3 -3
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-jDkRkJdd.esm.js → ekybStateMachine-aK9Zeaz0.esm.js} +1 -1
- package/dist/ekyc.d.ts +3 -3
- package/dist/electronic-signature.d.ts +3 -3
- package/dist/email.d.ts +3 -3
- package/dist/{emailManager-_R1h46gY.d.ts → emailManager-CveAxTDP.d.ts} +2 -2
- package/dist/extensibility.d.ts +15 -15
- package/dist/extensibility.esm.js +9 -9
- package/dist/face-match.d.ts +1 -1
- package/dist/{faceCaptureManagerFactory-Djy4IlDy.d.ts → faceCaptureManagerFactory-trA9Rn6f.d.ts} +8 -8
- package/dist/{faceCaptureSetup-BS_YbgPv.esm.js → faceCaptureSetup-9eFWtwWI.esm.js} +1 -1
- package/dist/flow-events.d.ts +5 -5
- package/dist/flow.d.ts +11 -11
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-O6vB_fWX.esm.js → flowServices-DAz4XU4K.esm.js} +1 -1
- package/dist/geolocation.d.ts +2 -2
- package/dist/government-validation.d.ts +2 -2
- package/dist/home.d.ts +14 -14
- package/dist/id-ocr.d.ts +54 -54
- package/dist/id-ocr.esm.js +6 -386
- package/dist/id.d.ts +10 -10
- package/dist/id.esm.js +4 -4
- package/dist/{idCaptureManager-CPTyaHJV.esm.js → idCaptureManager-CSD21nvL.esm.js} +1 -1
- package/dist/{idCaptureManager-Bqg9zlPG.d.ts → idCaptureManager-DcGzjbMw.d.ts} +7 -7
- package/dist/{idCaptureStateMachine-BamGe_4p.esm.js → idCaptureStateMachine-DNP1IiM8.esm.js} +4 -4
- package/dist/idOcrStateMachine-BpMmG450.esm.js +388 -0
- package/dist/identity-reuse.d.ts +42 -42
- package/dist/{index-CzOhiwDF.d.ts → index-BpTtY0jy.d.ts} +2 -2
- package/dist/{index-DQ9F_jHn.d.ts → index-DxHpELN_.d.ts} +120 -120
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +55 -55
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/openviduLazy-C35XN0G5.esm.js +3 -0
- package/dist/{openviduLazy-aNR44E71.esm.js → openviduLazy-CH1qVdk4.esm.js} +1 -1
- package/dist/phone.d.ts +3 -3
- package/dist/{phoneManager-Co_KRbXI.d.ts → phoneManager-CXU5qAEp.d.ts} +2 -2
- package/dist/qe-signature.d.ts +3 -3
- package/dist/qe-signature.esm.js +1 -1
- package/dist/{recordingService-Dfbz2eLt.esm.js → recordingService-DmAnFiD_.esm.js} +4 -4
- package/dist/redirect-to-mobile.d.ts +2 -2
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/selfie.d.ts +11 -11
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-nb4RVuY8.d.ts → selfieManager-BM3gX8wt.d.ts} +2 -2
- package/dist/{selfieManager-DZAiQU3s.esm.js → selfieManager-BfsykqaD.esm.js} +1 -1
- package/dist/{selfieStateMachine-DBEkKHvx.esm.js → selfieStateMachine-CzExLyb6.esm.js} +2 -2
- package/dist/{session-z8mDIfNZ.esm.js → session-DeQFkqNh.esm.js} +1 -1
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +1 -1
- package/dist/{setup-Bj5ZkdOq.d.ts → setup-DR-GXYcF.d.ts} +1 -1
- package/dist/{setup-CePh1s7T.esm.js → setup-Dnt4R04d.esm.js} +1 -1
- package/dist/signature.d.ts +2 -2
- package/dist/signature.esm.js +1 -1
- package/dist/{types-C7dI6ci8.d.ts → types-BRSrJ9_B.d.ts} +1 -1
- package/dist/{types-DP2M29nE.d.ts → types-BYfGowzf.d.ts} +1 -1
- package/dist/{types-BWX0ell9.d.ts → types-CB9HxtLU.d.ts} +1 -1
- package/dist/wasm.d.ts +2 -2
- package/dist/wasm.esm.js +2 -2
- package/dist/watchlist-for-business.d.ts +1 -1
- package/dist/watchlist.d.ts +1 -1
- package/dist/workflow.d.ts +120 -120
- package/dist/workflow.esm.js +14 -12
- package/package.json +3 -3
- package/dist/openviduLazy-npBduPje.esm.js +0 -3
- /package/dist/{Actor-Bmv1bZHV.d.ts → Actor-DPJ2L-q1.d.ts} +0 -0
- /package/dist/{Manager-B29-VhX7.d.ts → Manager-D09zXsjJ.d.ts} +0 -0
- /package/dist/{StateMachine-B69HEnJB.d.ts → StateMachine-Dg9ghlLh.d.ts} +0 -0
- /package/dist/{camera-m4482v-4.d.ts → camera-DV8Ep-_K.d.ts} +0 -0
- /package/dist/{deepsightLoader-CmYeKifo.esm.js → deepsightLoader-Czuy5gmc.esm.js} +0 -0
- /package/dist/{displayErrors-CbV0IBtb.d.ts → displayErrors-Qx-DuMvI.d.ts} +0 -0
- /package/dist/{flowCompletionService-BqSRUWAg.d.ts → flowCompletionService-B4VbRg-J.d.ts} +0 -0
- /package/dist/{lib-By_d_iUN.esm.js → lib-e9A3TaUp.esm.js} +0 -0
- /package/dist/{mandatoryConsentStateMachine-BK246N9V.esm.js → mandatoryConsentStateMachine-u2Dejbsq.esm.js} +0 -0
- /package/dist/{qe-signature-TspdCZZA.esm.js → qe-signature-C5aBKDWr.esm.js} +0 -0
- /package/dist/{redirectToMobileStateMachine-SEyTm9zV.esm.js → redirectToMobileStateMachine-CcwBfjQG.esm.js} +0 -0
- /package/dist/{signatureStateMachine-DbyKqwWg.esm.js → signatureStateMachine-Bs0_U_Lo.esm.js} +0 -0
- /package/dist/{types-CvEiKWkW.d.ts → types--DdSD2gk.d.ts} +0 -0
- /package/dist/{warmup-CyH7UzFj.d.ts → warmup-Br1UnuWP.d.ts} +0 -0
|
@@ -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-D09zXsjJ.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-DPJ2L-q1.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/email/types.d.ts
|
|
5
5
|
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import "./warmup-
|
|
2
|
-
import "./Manager-
|
|
3
|
-
import { n as createActor } from "./Actor-
|
|
4
|
-
import { r as fromPromise } from "./StateMachine-
|
|
5
|
-
import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-
|
|
6
|
-
import "./camera-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-
|
|
10
|
-
import "./types
|
|
11
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
12
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
13
|
-
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-
|
|
14
|
-
import { T as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-
|
|
15
|
-
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-
|
|
1
|
+
import "./warmup-Br1UnuWP.js";
|
|
2
|
+
import "./Manager-D09zXsjJ.js";
|
|
3
|
+
import { n as createActor } from "./Actor-DPJ2L-q1.js";
|
|
4
|
+
import { r as fromPromise } from "./StateMachine-Dg9ghlLh.js";
|
|
5
|
+
import { c as FaceCaptureEvent, f as SendFaceImageResponse, l as FaceCaptureInput, n as FaceCaptureManagerState, p as BaseWasmProvider, s as FaceCaptureContext, t as FaceCaptureManager, u as faceCaptureMachine } from "./faceCaptureManagerFactory-trA9Rn6f.js";
|
|
6
|
+
import "./camera-DV8Ep-_K.js";
|
|
7
|
+
import "./types-CB9HxtLU.js";
|
|
8
|
+
import "./types-BYfGowzf.js";
|
|
9
|
+
import { a as IWasmUtilCapability, o as VirtualCameraCheckOutput, s as WasmUtilConfig, u as IStorageCapability } from "./deepsightService-DljAhyUS.js";
|
|
10
|
+
import "./types--DdSD2gk.js";
|
|
11
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-BM3gX8wt.js";
|
|
12
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-ii8ZNmw2.js";
|
|
13
|
+
import { i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CveAxTDP.js";
|
|
14
|
+
import { T as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureState, t as IdCaptureManager } from "./idCaptureManager-DcGzjbMw.js";
|
|
15
|
+
import { i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-CXU5qAEp.js";
|
|
16
16
|
|
|
17
17
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
18
18
|
type AuthenticationUploadResponse = {
|
|
@@ -4,13 +4,13 @@ import "./BrowserTimerProvider-OUipjf3B.esm.js";
|
|
|
4
4
|
import "./api-DZdHZLhE.esm.js";
|
|
5
5
|
import "./events-uIxiN9N7.esm.js";
|
|
6
6
|
import "./endpoints-DNtRS0G7.esm.js";
|
|
7
|
-
import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-
|
|
7
|
+
import { a as FingerprintProvider, o as getDeviceFingerprintInfo, t as getDisableIpify } from "./session-DeQFkqNh.esm.js";
|
|
8
8
|
import { t as IpifyProvider } from "./IpifyProvider-wp6qqO1v.esm.js";
|
|
9
9
|
import "./browserSimulation-B5_Amlr4.esm.js";
|
|
10
10
|
import { a as createActor, i as fromPromise } from "./xstate.esm-COokXZK9.esm.js";
|
|
11
11
|
import "./faceCaptureManagerFactory-BmFLgwZH.esm.js";
|
|
12
12
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-DVqF8tnD.esm.js";
|
|
13
|
-
import "./recordingService-
|
|
13
|
+
import "./recordingService-DmAnFiD_.esm.js";
|
|
14
14
|
import "./deepsightService-Bcszplg_.esm.js";
|
|
15
15
|
import "./permissionServices-eL_s8LM6.esm.js";
|
|
16
16
|
import "./camera-3XOyIO-y.esm.js";
|
|
@@ -21,15 +21,15 @@ import "./platform-C3jlX5mh.esm.js";
|
|
|
21
21
|
import "./ITimerCapability-CSQe9nqt.esm.js";
|
|
22
22
|
import "./backCameraStream-5ADnns4R.esm.js";
|
|
23
23
|
import "./getDeviceClass-DheTn1ak.esm.js";
|
|
24
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
25
|
-
import "./authenticationStateMachine-
|
|
26
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
24
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-9eFWtwWI.esm.js";
|
|
25
|
+
import "./authenticationStateMachine-wCMzEk11.esm.js";
|
|
26
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BmRvJPaH.esm.js";
|
|
27
27
|
import "./emailStateMachine-D2rWFesQ.esm.js";
|
|
28
28
|
import { n as createEmailManagerFromActor } from "./emailManager-4RL2kin0.esm.js";
|
|
29
|
-
import "./selfieStateMachine-
|
|
30
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
31
|
-
import "./idCaptureStateMachine-
|
|
32
|
-
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
29
|
+
import "./selfieStateMachine-CzExLyb6.esm.js";
|
|
30
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-BfsykqaD.esm.js";
|
|
31
|
+
import "./idCaptureStateMachine-DNP1IiM8.esm.js";
|
|
32
|
+
import { n as createIdCaptureManagerFromActor } from "./idCaptureManager-CSD21nvL.esm.js";
|
|
33
33
|
import "./phoneStateMachine-QEx9QC81.esm.js";
|
|
34
34
|
import { n as createPhoneManagerFromActor } from "./phoneManager-DTsFubQ_.esm.js";
|
|
35
35
|
|
package/dist/face-match.d.ts
CHANGED
package/dist/{faceCaptureManagerFactory-Djy4IlDy.d.ts → faceCaptureManagerFactory-trA9Rn6f.d.ts}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
4
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import { i as FlowModuleConfig, n as Flow } from "./types-
|
|
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-Br1UnuWP.js";
|
|
2
|
+
import { t as Manager } from "./Manager-D09zXsjJ.js";
|
|
3
|
+
import { t as ActorRefFrom } from "./Actor-DPJ2L-q1.js";
|
|
4
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Dg9ghlLh.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-DV8Ep-_K.js";
|
|
6
|
+
import { i as FlowModuleConfig, n as Flow } from "./types-BYfGowzf.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-DljAhyUS.js";
|
|
8
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types--DdSD2gk.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
11
11
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as getToken } from "./api-DZdHZLhE.esm.js";
|
|
2
2
|
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-COokXZK9.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-
|
|
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-DmAnFiD_.esm.js";
|
|
4
4
|
import { n as requestPermission, r as clearCameraPermissionCache, t as checkPermission } from "./permissionServices-eL_s8LM6.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/faceCapture/faceCaptureSetup.ts
|
package/dist/flow-events.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./camera-
|
|
2
|
-
import "./types-
|
|
3
|
-
import "./types-
|
|
4
|
-
import "./flowCompletionService-
|
|
5
|
-
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-
|
|
1
|
+
import "./camera-DV8Ep-_K.js";
|
|
2
|
+
import "./types-CB9HxtLU.js";
|
|
3
|
+
import "./types-BYfGowzf.js";
|
|
4
|
+
import "./flowCompletionService-B4VbRg-J.js";
|
|
5
|
+
import { a as FlowEventListener, c as FlowModuleStartedEvent, i as FlowEvent, l as FlowReadyEvent, n as FlowCompletedEvent, o as FlowEventSubscribable, r as FlowErrorEvent, s as FlowModuleCompletedEvent, t as FlowClosedEvent, u as FlowStartedEvent } from "./index-BpTtY0jy.js";
|
|
6
6
|
export { FlowClosedEvent, FlowCompletedEvent, FlowErrorEvent, FlowEvent, FlowEventListener, FlowEventSubscribable, FlowModuleCompletedEvent, FlowModuleStartedEvent, FlowReadyEvent, FlowStartedEvent };
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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 { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-
|
|
7
|
-
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-
|
|
8
|
-
import { o as FlowEventSubscribable } from "./index-
|
|
9
|
-
import { t as ModuleRegistry } from "./types-
|
|
10
|
-
import * as
|
|
1
|
+
import { n as WasmPipeline } from "./warmup-Br1UnuWP.js";
|
|
2
|
+
import { t as Manager } from "./Manager-D09zXsjJ.js";
|
|
3
|
+
import { t as AnyStateMachine } from "./StateMachine-Dg9ghlLh.js";
|
|
4
|
+
import "./camera-DV8Ep-_K.js";
|
|
5
|
+
import "./types-CB9HxtLU.js";
|
|
6
|
+
import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-BYfGowzf.js";
|
|
7
|
+
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-B4VbRg-J.js";
|
|
8
|
+
import { o as FlowEventSubscribable } from "./index-BpTtY0jy.js";
|
|
9
|
+
import { t as ModuleRegistry } from "./types-BRSrJ9_B.js";
|
|
10
|
+
import * as xstate786 from "xstate";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/flow/flowUtils.d.ts
|
|
13
13
|
type NormalizeFlowModulesOptions = {
|
|
@@ -55,7 +55,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
55
55
|
declare const getFlow: GetFlow;
|
|
56
56
|
//#endregion
|
|
57
57
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
58
|
-
declare const noOpFlowModuleMachine:
|
|
58
|
+
declare const noOpFlowModuleMachine: xstate786.StateMachine<xstate786.MachineContext, xstate786.AnyEventObject, {}, never, never, never, never, "finished", string, xstate786.NonReducibleUnknown, xstate786.NonReducibleUnknown, xstate786.EventObject, xstate786.MetaObject, {
|
|
59
59
|
readonly id: "noOpFlowModule";
|
|
60
60
|
readonly initial: "finished";
|
|
61
61
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./api-DZdHZLhE.esm.js";
|
|
2
2
|
import "./events-uIxiN9N7.esm.js";
|
|
3
3
|
import "./endpoints-DNtRS0G7.esm.js";
|
|
4
|
-
import "./session-
|
|
4
|
+
import "./session-DeQFkqNh.esm.js";
|
|
5
5
|
import "./IpifyProvider-wp6qqO1v.esm.js";
|
|
6
6
|
import "./browserSimulation-B5_Amlr4.esm.js";
|
|
7
7
|
import { a as createActor, i as fromPromise, n as assign, o as createManager, t as setup } from "./xstate.esm-COokXZK9.esm.js";
|
|
8
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
8
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-DAz4XU4K.esm.js";
|
|
9
9
|
import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DKpZakUb.esm.js";
|
|
10
10
|
import { t as getFinishStatus } from "./flowCompletionService-BWnQnePV.esm.js";
|
|
11
11
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-DZdHZLhE.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-DNtRS0G7.esm.js";
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./session-
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./session-DeQFkqNh.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/flow/flowUtils.ts
|
|
6
6
|
const WASM_MODULE_PIPELINES = {
|
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-D09zXsjJ.js";
|
|
2
|
+
import "./Actor-DPJ2L-q1.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IGeolocationCapability.d.ts
|
|
5
5
|
type GeolocationCoords = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-D09zXsjJ.js";
|
|
2
|
+
import "./Actor-DPJ2L-q1.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/government-validation/types.d.ts
|
|
5
5
|
type GovernmentValidationConfig = {
|
package/dist/home.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./camera-
|
|
3
|
-
import "./types-
|
|
4
|
-
import { t as EmptyConfig } from "./types-
|
|
5
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-D09zXsjJ.js";
|
|
2
|
+
import "./camera-DV8Ep-_K.js";
|
|
3
|
+
import "./types-CB9HxtLU.js";
|
|
4
|
+
import { t as EmptyConfig } from "./types-BYfGowzf.js";
|
|
5
|
+
import * as xstate204 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/home/types.d.ts
|
|
8
8
|
type HomeConfig = EmptyConfig;
|
|
@@ -34,41 +34,41 @@ type HomeContext = {
|
|
|
34
34
|
type HomeInput = {
|
|
35
35
|
config: EmptyConfig;
|
|
36
36
|
};
|
|
37
|
-
declare const homeMachine:
|
|
37
|
+
declare const homeMachine: xstate204.StateMachine<HomeContext, {
|
|
38
38
|
type: "LOAD";
|
|
39
39
|
} | {
|
|
40
40
|
type: "COMPLETE";
|
|
41
41
|
} | {
|
|
42
42
|
type: "RESET";
|
|
43
|
-
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput,
|
|
43
|
+
}, {}, never, never, never, never, "idle" | "finished" | "main", string, HomeInput, xstate204.NonReducibleUnknown, xstate204.EventObject, xstate204.MetaObject, {
|
|
44
44
|
readonly id: "home";
|
|
45
45
|
readonly initial: "idle";
|
|
46
46
|
readonly context: ({
|
|
47
47
|
input
|
|
48
48
|
}: {
|
|
49
49
|
spawn: {
|
|
50
|
-
<TSrc extends never>(logic: TSrc, ...[options]: never):
|
|
51
|
-
<TLogic extends
|
|
50
|
+
<TSrc extends never>(logic: TSrc, ...[options]: never): xstate204.ActorRefFromLogic<never>;
|
|
51
|
+
<TLogic extends xstate204.AnyActorLogic>(src: TLogic, ...[options]: xstate204.ConditionalRequired<[options?: ({
|
|
52
52
|
id?: never;
|
|
53
53
|
systemId?: string;
|
|
54
|
-
input?:
|
|
54
|
+
input?: xstate204.InputFrom<TLogic> | undefined;
|
|
55
55
|
syncSnapshot?: boolean;
|
|
56
|
-
} & { [K in
|
|
56
|
+
} & { [K in xstate204.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate204.IsNotNever<xstate204.RequiredLogicInput<TLogic>>>): xstate204.ActorRefFromLogic<TLogic>;
|
|
57
57
|
};
|
|
58
58
|
input: HomeInput;
|
|
59
|
-
self:
|
|
59
|
+
self: xstate204.ActorRef<xstate204.MachineSnapshot<HomeContext, {
|
|
60
60
|
type: "LOAD";
|
|
61
61
|
} | {
|
|
62
62
|
type: "COMPLETE";
|
|
63
63
|
} | {
|
|
64
64
|
type: "RESET";
|
|
65
|
-
}, Record<string,
|
|
65
|
+
}, Record<string, xstate204.AnyActorRef | undefined>, xstate204.StateValue, string, unknown, any, any>, {
|
|
66
66
|
type: "LOAD";
|
|
67
67
|
} | {
|
|
68
68
|
type: "COMPLETE";
|
|
69
69
|
} | {
|
|
70
70
|
type: "RESET";
|
|
71
|
-
},
|
|
71
|
+
}, xstate204.AnyEventObject>;
|
|
72
72
|
}) => {
|
|
73
73
|
config: EmptyConfig;
|
|
74
74
|
};
|
package/dist/id-ocr.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-D09zXsjJ.js";
|
|
2
|
+
import "./Actor-DPJ2L-q1.js";
|
|
3
|
+
import * as xstate615 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/id-ocr/types.d.ts
|
|
6
6
|
type IdOcrConfig = {
|
|
@@ -177,7 +177,7 @@ type IdOcrContext = {
|
|
|
177
177
|
type IdOcrInput = {
|
|
178
178
|
config: IdOcrConfig;
|
|
179
179
|
};
|
|
180
|
-
declare const idOcrStateMachine:
|
|
180
|
+
declare const idOcrStateMachine: xstate615.StateMachine<IdOcrContext, {
|
|
181
181
|
type: "LOAD";
|
|
182
182
|
} | {
|
|
183
183
|
type: "DATA_CHANGED";
|
|
@@ -191,66 +191,66 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
191
191
|
} | {
|
|
192
192
|
type: "RETRY";
|
|
193
193
|
}, {
|
|
194
|
-
[x: string]:
|
|
194
|
+
[x: string]: xstate615.ActorRefFromLogic<xstate615.PromiseActorLogic<OcrData, {
|
|
195
195
|
isSecondId: boolean;
|
|
196
|
-
},
|
|
196
|
+
}, xstate615.EventObject>> | xstate615.ActorRefFromLogic<xstate615.PromiseActorLogic<UpdateOcrResponse, {
|
|
197
197
|
params: UpdateOcrDataParams;
|
|
198
198
|
isSecondId: boolean;
|
|
199
|
-
},
|
|
200
|
-
},
|
|
199
|
+
}, xstate615.EventObject>> | undefined;
|
|
200
|
+
}, xstate615.Values<{
|
|
201
201
|
getOcrData: {
|
|
202
202
|
src: "getOcrData";
|
|
203
|
-
logic:
|
|
203
|
+
logic: xstate615.PromiseActorLogic<OcrData, {
|
|
204
204
|
isSecondId: boolean;
|
|
205
|
-
},
|
|
205
|
+
}, xstate615.EventObject>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
208
|
updateOcrData: {
|
|
209
209
|
src: "updateOcrData";
|
|
210
|
-
logic:
|
|
210
|
+
logic: xstate615.PromiseActorLogic<UpdateOcrResponse, {
|
|
211
211
|
params: UpdateOcrDataParams;
|
|
212
212
|
isSecondId: boolean;
|
|
213
|
-
},
|
|
213
|
+
}, xstate615.EventObject>;
|
|
214
214
|
id: string | undefined;
|
|
215
215
|
};
|
|
216
|
-
}>,
|
|
216
|
+
}>, xstate615.Values<{
|
|
217
217
|
setError: {
|
|
218
218
|
type: "setError";
|
|
219
|
-
params:
|
|
219
|
+
params: xstate615.NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
setInitialData: {
|
|
222
222
|
type: "setInitialData";
|
|
223
|
-
params:
|
|
223
|
+
params: xstate615.NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateField: {
|
|
226
226
|
type: "updateField";
|
|
227
|
-
params:
|
|
227
|
+
params: xstate615.NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
clearFieldValidationError: {
|
|
230
230
|
type: "clearFieldValidationError";
|
|
231
|
-
params:
|
|
231
|
+
params: xstate615.NonReducibleUnknown;
|
|
232
232
|
};
|
|
233
233
|
setOcrValidationErrors: {
|
|
234
234
|
type: "setOcrValidationErrors";
|
|
235
|
-
params:
|
|
235
|
+
params: xstate615.NonReducibleUnknown;
|
|
236
236
|
};
|
|
237
237
|
validateFormField: {
|
|
238
238
|
type: "validateFormField";
|
|
239
|
-
params:
|
|
239
|
+
params: xstate615.NonReducibleUnknown;
|
|
240
240
|
};
|
|
241
241
|
beginSecondIdOcrPhase: {
|
|
242
242
|
type: "beginSecondIdOcrPhase";
|
|
243
|
-
params:
|
|
243
|
+
params: xstate615.NonReducibleUnknown;
|
|
244
244
|
};
|
|
245
245
|
resetForRetry: {
|
|
246
246
|
type: "resetForRetry";
|
|
247
|
-
params:
|
|
247
|
+
params: xstate615.NonReducibleUnknown;
|
|
248
248
|
};
|
|
249
249
|
computeValidationResult: {
|
|
250
250
|
type: "computeValidationResult";
|
|
251
|
-
params:
|
|
251
|
+
params: xstate615.NonReducibleUnknown;
|
|
252
252
|
};
|
|
253
|
-
}>,
|
|
253
|
+
}>, xstate615.Values<{
|
|
254
254
|
isOcrEditable: {
|
|
255
255
|
type: "isOcrEditable";
|
|
256
256
|
params: unknown;
|
|
@@ -271,7 +271,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
271
271
|
type: "shouldProceedWithoutSubmitToSecondId";
|
|
272
272
|
params: unknown;
|
|
273
273
|
};
|
|
274
|
-
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "
|
|
274
|
+
}>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, xstate615.NonReducibleUnknown, xstate615.EventObject, xstate615.MetaObject, {
|
|
275
275
|
readonly id: "idOcr";
|
|
276
276
|
readonly initial: "idle";
|
|
277
277
|
readonly context: ({
|
|
@@ -280,70 +280,70 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
280
280
|
spawn: {
|
|
281
281
|
<TSrc extends "getOcrData" | "updateOcrData">(logic: TSrc, ...[options]: ({
|
|
282
282
|
src: "getOcrData";
|
|
283
|
-
logic:
|
|
283
|
+
logic: xstate615.PromiseActorLogic<OcrData, {
|
|
284
284
|
isSecondId: boolean;
|
|
285
|
-
},
|
|
285
|
+
}, xstate615.EventObject>;
|
|
286
286
|
id: string | undefined;
|
|
287
287
|
} extends infer T ? T extends {
|
|
288
288
|
src: "getOcrData";
|
|
289
|
-
logic:
|
|
289
|
+
logic: xstate615.PromiseActorLogic<OcrData, {
|
|
290
290
|
isSecondId: boolean;
|
|
291
|
-
},
|
|
291
|
+
}, xstate615.EventObject>;
|
|
292
292
|
id: string | undefined;
|
|
293
293
|
} ? T extends {
|
|
294
294
|
src: TSrc;
|
|
295
|
-
} ?
|
|
295
|
+
} ? xstate615.ConditionalRequired<[options?: ({
|
|
296
296
|
id?: T["id"] | undefined;
|
|
297
297
|
systemId?: string;
|
|
298
|
-
input?:
|
|
298
|
+
input?: xstate615.InputFrom<T["logic"]> | undefined;
|
|
299
299
|
syncSnapshot?: boolean;
|
|
300
|
-
} & { [K in
|
|
300
|
+
} & { [K in xstate615.RequiredActorOptions<T>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
301
301
|
src: "updateOcrData";
|
|
302
|
-
logic:
|
|
302
|
+
logic: xstate615.PromiseActorLogic<UpdateOcrResponse, {
|
|
303
303
|
params: UpdateOcrDataParams;
|
|
304
304
|
isSecondId: boolean;
|
|
305
|
-
},
|
|
305
|
+
}, xstate615.EventObject>;
|
|
306
306
|
id: string | undefined;
|
|
307
307
|
} extends infer T_1 ? T_1 extends {
|
|
308
308
|
src: "updateOcrData";
|
|
309
|
-
logic:
|
|
309
|
+
logic: xstate615.PromiseActorLogic<UpdateOcrResponse, {
|
|
310
310
|
params: UpdateOcrDataParams;
|
|
311
311
|
isSecondId: boolean;
|
|
312
|
-
},
|
|
312
|
+
}, xstate615.EventObject>;
|
|
313
313
|
id: string | undefined;
|
|
314
314
|
} ? T_1 extends {
|
|
315
315
|
src: TSrc;
|
|
316
|
-
} ?
|
|
316
|
+
} ? xstate615.ConditionalRequired<[options?: ({
|
|
317
317
|
id?: T_1["id"] | undefined;
|
|
318
318
|
systemId?: string;
|
|
319
|
-
input?:
|
|
319
|
+
input?: xstate615.InputFrom<T_1["logic"]> | undefined;
|
|
320
320
|
syncSnapshot?: boolean;
|
|
321
|
-
} & { [K_1 in
|
|
321
|
+
} & { [K_1 in xstate615.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredActorOptions<T_1>>> : never : never : never)): xstate615.ActorRefFromLogic<xstate615.GetConcreteByKey<xstate615.Values<{
|
|
322
322
|
getOcrData: {
|
|
323
323
|
src: "getOcrData";
|
|
324
|
-
logic:
|
|
324
|
+
logic: xstate615.PromiseActorLogic<OcrData, {
|
|
325
325
|
isSecondId: boolean;
|
|
326
|
-
},
|
|
326
|
+
}, xstate615.EventObject>;
|
|
327
327
|
id: string | undefined;
|
|
328
328
|
};
|
|
329
329
|
updateOcrData: {
|
|
330
330
|
src: "updateOcrData";
|
|
331
|
-
logic:
|
|
331
|
+
logic: xstate615.PromiseActorLogic<UpdateOcrResponse, {
|
|
332
332
|
params: UpdateOcrDataParams;
|
|
333
333
|
isSecondId: boolean;
|
|
334
|
-
},
|
|
334
|
+
}, xstate615.EventObject>;
|
|
335
335
|
id: string | undefined;
|
|
336
336
|
};
|
|
337
337
|
}>, "src", TSrc>["logic"]>;
|
|
338
|
-
<TLogic extends
|
|
338
|
+
<TLogic extends xstate615.AnyActorLogic>(src: TLogic, ...[options]: xstate615.ConditionalRequired<[options?: ({
|
|
339
339
|
id?: never;
|
|
340
340
|
systemId?: string;
|
|
341
|
-
input?:
|
|
341
|
+
input?: xstate615.InputFrom<TLogic> | undefined;
|
|
342
342
|
syncSnapshot?: boolean;
|
|
343
|
-
} & { [K in
|
|
343
|
+
} & { [K in xstate615.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate615.IsNotNever<xstate615.RequiredLogicInput<TLogic>>>): xstate615.ActorRefFromLogic<TLogic>;
|
|
344
344
|
};
|
|
345
345
|
input: IdOcrInput;
|
|
346
|
-
self:
|
|
346
|
+
self: xstate615.ActorRef<xstate615.MachineSnapshot<IdOcrContext, {
|
|
347
347
|
type: "LOAD";
|
|
348
348
|
} | {
|
|
349
349
|
type: "DATA_CHANGED";
|
|
@@ -356,7 +356,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
356
356
|
type: "CONTINUE";
|
|
357
357
|
} | {
|
|
358
358
|
type: "RETRY";
|
|
359
|
-
}, Record<string,
|
|
359
|
+
}, Record<string, xstate615.AnyActorRef | undefined>, xstate615.StateValue, string, unknown, any, any>, {
|
|
360
360
|
type: "LOAD";
|
|
361
361
|
} | {
|
|
362
362
|
type: "DATA_CHANGED";
|
|
@@ -369,7 +369,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
369
369
|
type: "CONTINUE";
|
|
370
370
|
} | {
|
|
371
371
|
type: "RETRY";
|
|
372
|
-
},
|
|
372
|
+
}, xstate615.AnyEventObject>;
|
|
373
373
|
}) => {
|
|
374
374
|
config: IdOcrConfig;
|
|
375
375
|
formData: UpdateOcrDataParams;
|
|
@@ -405,7 +405,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
405
405
|
} | {
|
|
406
406
|
type: "RETRY";
|
|
407
407
|
};
|
|
408
|
-
self:
|
|
408
|
+
self: xstate615.ActorRef<xstate615.MachineSnapshot<IdOcrContext, {
|
|
409
409
|
type: "LOAD";
|
|
410
410
|
} | {
|
|
411
411
|
type: "DATA_CHANGED";
|
|
@@ -418,7 +418,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
418
418
|
type: "CONTINUE";
|
|
419
419
|
} | {
|
|
420
420
|
type: "RETRY";
|
|
421
|
-
}, Record<string,
|
|
421
|
+
}, Record<string, xstate615.AnyActorRef>, xstate615.StateValue, string, unknown, any, any>, {
|
|
422
422
|
type: "LOAD";
|
|
423
423
|
} | {
|
|
424
424
|
type: "DATA_CHANGED";
|
|
@@ -431,7 +431,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
431
431
|
type: "CONTINUE";
|
|
432
432
|
} | {
|
|
433
433
|
type: "RETRY";
|
|
434
|
-
},
|
|
434
|
+
}, xstate615.AnyEventObject>;
|
|
435
435
|
}) => {
|
|
436
436
|
isSecondId: boolean;
|
|
437
437
|
};
|
|
@@ -510,7 +510,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
510
510
|
} | {
|
|
511
511
|
type: "RETRY";
|
|
512
512
|
};
|
|
513
|
-
self:
|
|
513
|
+
self: xstate615.ActorRef<xstate615.MachineSnapshot<IdOcrContext, {
|
|
514
514
|
type: "LOAD";
|
|
515
515
|
} | {
|
|
516
516
|
type: "DATA_CHANGED";
|
|
@@ -523,7 +523,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
523
523
|
type: "CONTINUE";
|
|
524
524
|
} | {
|
|
525
525
|
type: "RETRY";
|
|
526
|
-
}, Record<string,
|
|
526
|
+
}, Record<string, xstate615.AnyActorRef>, xstate615.StateValue, string, unknown, any, any>, {
|
|
527
527
|
type: "LOAD";
|
|
528
528
|
} | {
|
|
529
529
|
type: "DATA_CHANGED";
|
|
@@ -536,7 +536,7 @@ declare const idOcrStateMachine: xstate487.StateMachine<IdOcrContext, {
|
|
|
536
536
|
type: "CONTINUE";
|
|
537
537
|
} | {
|
|
538
538
|
type: "RETRY";
|
|
539
|
-
},
|
|
539
|
+
}, xstate615.AnyEventObject>;
|
|
540
540
|
}) => {
|
|
541
541
|
params: UpdateOcrDataParams;
|
|
542
542
|
isSecondId: boolean;
|