@incodetech/core 0.0.0-dev-20260302-10177f1 → 0.0.0-dev-20260303-3dab9f2
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/authentication.d.ts +8 -8
- package/dist/authentication.esm.js +10 -9
- package/dist/{backCameraStream-u3xcpGFM.esm.js → backCameraStream-CvzBcQqz.esm.js} +1 -1
- package/dist/curp-validation.d.ts +3 -3
- package/dist/curp-validation.esm.js +5 -4
- package/dist/{deepsightLoader-C3qKZdo7.esm.js → deepsightLoader-BYoe0Nsv.esm.js} +4 -4
- package/dist/{deepsightService-c3UUVOav.d.ts → deepsightService-BpVsx9qI.d.ts} +1 -1
- package/dist/{deepsightService-BaQxZ72c.esm.js → deepsightService-nqR8Q7AS.esm.js} +3 -3
- package/dist/document-upload.d.ts +45 -45
- package/dist/document-upload.esm.js +5 -4
- package/dist/ekyb.d.ts +2 -2
- package/dist/ekyb.esm.js +6 -5
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +6 -5
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +5 -4
- package/dist/endpoints-DZ8tQH8V.esm.js +52 -0
- package/dist/{events-1rBD3IOL.esm.js → events-B4Z68p21.esm.js} +2 -2
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -4
- package/dist/{faceCaptureManagerFactory-YsqEukVD.d.ts → faceCaptureManagerFactory-tyJQU0bQ.d.ts} +5 -5
- package/dist/{faceCaptureSetup-D5B3BosZ.esm.js → faceCaptureSetup-C6JFWLvG.esm.js} +9 -8
- package/dist/flow.d.ts +6 -13
- package/dist/flow.esm.js +5 -12
- package/dist/flowCompletionService-BxrOI23Q.esm.js +13 -0
- package/dist/flowCompletionService-CSeT3Po7.d.ts +10 -0
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +5 -4
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +4 -3
- package/dist/{id-C5k61nTP.esm.js → id-C1xB8Evt.esm.js} +11 -13
- package/dist/id.d.ts +8 -8
- package/dist/id.esm.js +10 -9
- package/dist/{index-DjI-ueIb.d.ts → index-BRPR-rem.d.ts} +7 -7
- package/dist/index.d.ts +9 -9
- package/dist/index.esm.js +10 -9
- package/dist/{lib-0ctN_ZlJ.esm.js → lib-DhQ9gAaS.esm.js} +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +5 -4
- package/dist/selfie.d.ts +8 -8
- package/dist/selfie.esm.js +10 -9
- package/dist/session.d.ts +2 -0
- package/dist/session.esm.js +5 -0
- package/dist/{src-BAxRO0Rv.esm.js → src-jvUXRQjK.esm.js} +2 -2
- package/dist/{stats-Df76BRkJ.esm.js → stats-CIdlLJwO.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{streamingEvents-Cf-UwbXh.esm.js → streamingEvents-evH8YUFP.esm.js} +3 -3
- package/dist/{types-Lr7oy_-5.d.ts → types-CCmurMLG.d.ts} +1 -1
- package/dist/{endpoints-DsYhzvVt.esm.js → xstate.esm-Be4HOnoi.esm.js} +1 -51
- package/package.json +5 -1
- /package/dist/{Actor-pA_tOrQP.d.ts → Actor-BWuqxR_a.d.ts} +0 -0
- /package/dist/{Manager-DxhSby9F.d.ts → Manager-WfeWDo3j.d.ts} +0 -0
- /package/dist/{StateMachine-CZg50Irf.d.ts → StateMachine-DQeBZwAJ.d.ts} +0 -0
- /package/dist/{api-BgBQu3t4.esm.js → api-utDuOVDZ.esm.js} +0 -0
- /package/dist/{chunk-DdchHsRp.esm.js → chunk-B6vU4TSh.esm.js} +0 -0
- /package/dist/{types-Za6hs44v.d.ts → types-Cd8ODk69.d.ts} +0 -0
- /package/dist/{types-BOC09Z_x.d.ts → types-CnKs94Sr.d.ts} +0 -0
- /package/dist/{types-DGmAf_rg.d.ts → types-M1Q7M45h.d.ts} +0 -0
- /package/dist/{usStates-D0l6Y6l7.esm.js → usStates-BAjX-Al7.esm.js} +0 -0
- /package/dist/{warmup-Cli0uoFe.d.ts → warmup-G1qbIG0g.d.ts} +0 -0
package/dist/authentication.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./types-
|
|
2
|
-
import "./warmup-
|
|
3
|
-
import { a as FaceCaptureDependencies, n as FaceCaptureManagerState, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
4
|
-
import { t as Manager } from "./Manager-
|
|
5
|
-
import "./types-
|
|
6
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
7
|
-
import { t as AnyStateMachine } from "./StateMachine-
|
|
8
|
-
import { r as FlowModuleConfig } from "./types-
|
|
1
|
+
import "./types-M1Q7M45h.js";
|
|
2
|
+
import "./warmup-G1qbIG0g.js";
|
|
3
|
+
import { a as FaceCaptureDependencies, n as FaceCaptureManagerState, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-tyJQU0bQ.js";
|
|
4
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
5
|
+
import "./types-Cd8ODk69.js";
|
|
6
|
+
import { t as ActorRefFrom } from "./Actor-BWuqxR_a.js";
|
|
7
|
+
import { t as AnyStateMachine } from "./StateMachine-DQeBZwAJ.js";
|
|
8
|
+
import { r as FlowModuleConfig } from "./types-CCmurMLG.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/authentication/authenticationStateMachine.d.ts
|
|
11
11
|
declare const _authenticationMachine: AnyStateMachine;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-
|
|
4
|
-
import { a as
|
|
5
|
-
import { c as getDeviceClass } from "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
7
|
-
import { t as api } from "./api-
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import "./backCameraStream-CvzBcQqz.esm.js";
|
|
3
|
+
import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-jvUXRQjK.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
5
|
+
import { c as getDeviceClass } from "./streamingEvents-evH8YUFP.esm.js";
|
|
6
|
+
import "./deepsightService-nqR8Q7AS.esm.js";
|
|
7
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
8
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
9
|
+
import "./stats-CIdlLJwO.esm.js";
|
|
10
|
+
import { a as FACE_ERROR_CODES, n as faceCaptureMachine, o as createFaceCaptureManager, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-C6JFWLvG.esm.js";
|
|
10
11
|
|
|
11
12
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
12
13
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as applyTrackConstraints, E as stopCameraStream, F as isIPhone14OrHigher, I as isSafari, M as isAndroid, P as isIOS, T as requestCameraAccess, w as enumerateVideoDevices } from "./src-
|
|
1
|
+
import { C as applyTrackConstraints, E as stopCameraStream, F as isIPhone14OrHigher, I as isSafari, M as isAndroid, P as isIOS, T as requestCameraAccess, w as enumerateVideoDevices } from "./src-jvUXRQjK.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/capabilities/ITimerCapability.ts
|
|
4
4
|
function sleep(ms) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import "./types-
|
|
3
|
-
import { r as FlowModuleConfig } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
2
|
+
import "./types-Cd8ODk69.js";
|
|
3
|
+
import { r as FlowModuleConfig } from "./types-CCmurMLG.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/curp-validation/types.d.ts
|
|
6
6
|
type CurpValidationConfig = FlowModuleConfig['CURP_VALIDATION'] & {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { n as eventModuleNames, r as eventScreenNames, u as screenOpened } from "./events-
|
|
2
|
-
import { D as createManager } from "./src-
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { n as eventModuleNames, r as eventScreenNames, u as screenOpened } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { D as createManager } from "./src-jvUXRQjK.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
4
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
|
7
8
|
const CURP_PATTERN = /^([A-Z][AEIOUX][A-Z]{2}\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\d|3[01])[HMX](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\d])(\d)$/;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as BrowserEnvironmentProvider, l as MotionSensorProvider, r as WasmUtilProvider, s as VisibilityProvider } from "./src-
|
|
2
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
3
|
-
import "./api-
|
|
4
|
-
import "./stats-
|
|
1
|
+
import { g as BrowserEnvironmentProvider, l as MotionSensorProvider, r as WasmUtilProvider, s as VisibilityProvider } from "./src-jvUXRQjK.esm.js";
|
|
2
|
+
import { t as createDeepsightService } from "./deepsightService-nqR8Q7AS.esm.js";
|
|
3
|
+
import "./api-utDuOVDZ.esm.js";
|
|
4
|
+
import "./stats-CIdlLJwO.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/deepsight/deepsightLoader.ts
|
|
7
7
|
const SDK_VERSION = "2.0.0";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as stopCameraStream, S as IncodeCanvas, T as requestCameraAccess, j as getUserAgent, k as getDeviceInfo, x as createHiddenVideoElement } from "./src-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as addDeviceStats } from "./stats-
|
|
1
|
+
import { E as stopCameraStream, S as IncodeCanvas, T as requestCameraAccess, j as getUserAgent, k as getDeviceInfo, x as createHiddenVideoElement } from "./src-jvUXRQjK.esm.js";
|
|
2
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
3
|
+
import { t as addDeviceStats } from "./stats-CIdlLJwO.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/device/browserSimulation.ts
|
|
6
6
|
const AUTOMATION_MARKERS = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-
|
|
3
|
-
import * as
|
|
1
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
2
|
+
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-Cd8ODk69.js";
|
|
3
|
+
import * as xstate212 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
6
|
-
declare const documentUploadMachine:
|
|
6
|
+
declare const documentUploadMachine: xstate212.StateMachine<DocumentUploadContext, {
|
|
7
7
|
type: "START";
|
|
8
8
|
} | {
|
|
9
9
|
type: "CAPTURE";
|
|
@@ -16,52 +16,52 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
|
|
|
16
16
|
} | {
|
|
17
17
|
type: "CLOSE";
|
|
18
18
|
}, {
|
|
19
|
-
[x: string]:
|
|
19
|
+
[x: string]: xstate212.ActorRefFromLogic<xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>> | xstate212.ActorRefFromLogic<xstate212.PromiseActorLogic<void, {
|
|
20
20
|
imageBase64: string;
|
|
21
21
|
documentType: string;
|
|
22
22
|
onProgress: (progress: number) => void;
|
|
23
|
-
},
|
|
24
|
-
},
|
|
23
|
+
}, xstate212.EventObject>> | undefined;
|
|
24
|
+
}, xstate212.Values<{
|
|
25
25
|
initCamera: {
|
|
26
26
|
src: "initCamera";
|
|
27
|
-
logic:
|
|
27
|
+
logic: xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>;
|
|
28
28
|
id: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
uploadDocument: {
|
|
31
31
|
src: "uploadDocument";
|
|
32
|
-
logic:
|
|
32
|
+
logic: xstate212.PromiseActorLogic<void, {
|
|
33
33
|
imageBase64: string;
|
|
34
34
|
documentType: string;
|
|
35
35
|
onProgress: (progress: number) => void;
|
|
36
|
-
},
|
|
36
|
+
}, xstate212.EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
|
-
}>,
|
|
39
|
+
}>, xstate212.Values<{
|
|
40
|
+
setError: {
|
|
41
|
+
type: "setError";
|
|
42
|
+
params: xstate212.NonReducibleUnknown;
|
|
43
|
+
};
|
|
40
44
|
setStream: {
|
|
41
45
|
type: "setStream";
|
|
42
|
-
params:
|
|
46
|
+
params: xstate212.NonReducibleUnknown;
|
|
43
47
|
};
|
|
44
48
|
setImageAndClearError: {
|
|
45
49
|
type: "setImageAndClearError";
|
|
46
|
-
params:
|
|
50
|
+
params: xstate212.NonReducibleUnknown;
|
|
47
51
|
};
|
|
48
52
|
setProgress: {
|
|
49
53
|
type: "setProgress";
|
|
50
|
-
params:
|
|
51
|
-
};
|
|
52
|
-
setError: {
|
|
53
|
-
type: "setError";
|
|
54
|
-
params: xstate0.NonReducibleUnknown;
|
|
54
|
+
params: xstate212.NonReducibleUnknown;
|
|
55
55
|
};
|
|
56
56
|
clearError: {
|
|
57
57
|
type: "clearError";
|
|
58
|
-
params:
|
|
58
|
+
params: xstate212.NonReducibleUnknown;
|
|
59
59
|
};
|
|
60
60
|
stopStream: {
|
|
61
61
|
type: "stopStream";
|
|
62
|
-
params:
|
|
62
|
+
params: xstate212.NonReducibleUnknown;
|
|
63
63
|
};
|
|
64
|
-
}>, never, never, "error" | "
|
|
64
|
+
}>, never, never, "error" | "idle" | "finished" | "initCamera" | "capturing" | "closed" | "uploading", string, DocumentUploadInput, xstate212.NonReducibleUnknown, xstate212.EventObject, xstate212.MetaObject, {
|
|
65
65
|
readonly id: "documentUpload";
|
|
66
66
|
readonly initial: "idle";
|
|
67
67
|
readonly context: ({
|
|
@@ -70,67 +70,67 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
|
|
|
70
70
|
spawn: {
|
|
71
71
|
<TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
|
|
72
72
|
src: "initCamera";
|
|
73
|
-
logic:
|
|
73
|
+
logic: xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
} extends infer T ? T extends {
|
|
76
76
|
src: "initCamera";
|
|
77
|
-
logic:
|
|
77
|
+
logic: xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>;
|
|
78
78
|
id: string | undefined;
|
|
79
79
|
} ? T extends {
|
|
80
80
|
src: TSrc;
|
|
81
|
-
} ?
|
|
81
|
+
} ? xstate212.ConditionalRequired<[options?: ({
|
|
82
82
|
id?: T["id"] | undefined;
|
|
83
83
|
systemId?: string;
|
|
84
|
-
input?:
|
|
84
|
+
input?: xstate212.InputFrom<T["logic"]> | undefined;
|
|
85
85
|
syncSnapshot?: boolean;
|
|
86
|
-
} & { [K in
|
|
86
|
+
} & { [K in xstate212.RequiredActorOptions<T>]: unknown }) | undefined], xstate212.IsNotNever<xstate212.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
87
87
|
src: "uploadDocument";
|
|
88
|
-
logic:
|
|
88
|
+
logic: xstate212.PromiseActorLogic<void, {
|
|
89
89
|
imageBase64: string;
|
|
90
90
|
documentType: string;
|
|
91
91
|
onProgress: (progress: number) => void;
|
|
92
|
-
},
|
|
92
|
+
}, xstate212.EventObject>;
|
|
93
93
|
id: string | undefined;
|
|
94
94
|
} extends infer T_1 ? T_1 extends {
|
|
95
95
|
src: "uploadDocument";
|
|
96
|
-
logic:
|
|
96
|
+
logic: xstate212.PromiseActorLogic<void, {
|
|
97
97
|
imageBase64: string;
|
|
98
98
|
documentType: string;
|
|
99
99
|
onProgress: (progress: number) => void;
|
|
100
|
-
},
|
|
100
|
+
}, xstate212.EventObject>;
|
|
101
101
|
id: string | undefined;
|
|
102
102
|
} ? T_1 extends {
|
|
103
103
|
src: TSrc;
|
|
104
|
-
} ?
|
|
104
|
+
} ? xstate212.ConditionalRequired<[options?: ({
|
|
105
105
|
id?: T_1["id"] | undefined;
|
|
106
106
|
systemId?: string;
|
|
107
|
-
input?:
|
|
107
|
+
input?: xstate212.InputFrom<T_1["logic"]> | undefined;
|
|
108
108
|
syncSnapshot?: boolean;
|
|
109
|
-
} & { [K_1 in
|
|
109
|
+
} & { [K_1 in xstate212.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate212.IsNotNever<xstate212.RequiredActorOptions<T_1>>> : never : never : never)): xstate212.ActorRefFromLogic<xstate212.GetConcreteByKey<xstate212.Values<{
|
|
110
110
|
initCamera: {
|
|
111
111
|
src: "initCamera";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate212.PromiseActorLogic<MediaStream, void, xstate212.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
};
|
|
115
115
|
uploadDocument: {
|
|
116
116
|
src: "uploadDocument";
|
|
117
|
-
logic:
|
|
117
|
+
logic: xstate212.PromiseActorLogic<void, {
|
|
118
118
|
imageBase64: string;
|
|
119
119
|
documentType: string;
|
|
120
120
|
onProgress: (progress: number) => void;
|
|
121
|
-
},
|
|
121
|
+
}, xstate212.EventObject>;
|
|
122
122
|
id: string | undefined;
|
|
123
123
|
};
|
|
124
124
|
}>, "src", TSrc>["logic"]>;
|
|
125
|
-
<TLogic extends
|
|
125
|
+
<TLogic extends xstate212.AnyActorLogic>(src: TLogic, ...[options]: xstate212.ConditionalRequired<[options?: ({
|
|
126
126
|
id?: never;
|
|
127
127
|
systemId?: string;
|
|
128
|
-
input?:
|
|
128
|
+
input?: xstate212.InputFrom<TLogic> | undefined;
|
|
129
129
|
syncSnapshot?: boolean;
|
|
130
|
-
} & { [K in
|
|
130
|
+
} & { [K in xstate212.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate212.IsNotNever<xstate212.RequiredLogicInput<TLogic>>>): xstate212.ActorRefFromLogic<TLogic>;
|
|
131
131
|
};
|
|
132
132
|
input: DocumentUploadInput;
|
|
133
|
-
self:
|
|
133
|
+
self: xstate212.ActorRef<xstate212.MachineSnapshot<DocumentUploadContext, {
|
|
134
134
|
type: "START";
|
|
135
135
|
} | {
|
|
136
136
|
type: "CAPTURE";
|
|
@@ -142,7 +142,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
|
|
|
142
142
|
type: "RETRY";
|
|
143
143
|
} | {
|
|
144
144
|
type: "CLOSE";
|
|
145
|
-
}, Record<string,
|
|
145
|
+
}, Record<string, xstate212.AnyActorRef | undefined>, xstate212.StateValue, string, unknown, any, any>, {
|
|
146
146
|
type: "START";
|
|
147
147
|
} | {
|
|
148
148
|
type: "CAPTURE";
|
|
@@ -154,7 +154,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
|
|
|
154
154
|
type: "RETRY";
|
|
155
155
|
} | {
|
|
156
156
|
type: "CLOSE";
|
|
157
|
-
},
|
|
157
|
+
}, xstate212.AnyEventObject>;
|
|
158
158
|
}) => {
|
|
159
159
|
config: DocumentUploadConfig;
|
|
160
160
|
stream: undefined;
|
|
@@ -224,7 +224,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
|
|
|
224
224
|
} | {
|
|
225
225
|
type: "CLOSE";
|
|
226
226
|
};
|
|
227
|
-
self:
|
|
227
|
+
self: xstate212.ActorRef<xstate212.MachineSnapshot<DocumentUploadContext, {
|
|
228
228
|
type: "START";
|
|
229
229
|
} | {
|
|
230
230
|
type: "CAPTURE";
|
|
@@ -236,7 +236,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "CLOSE";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate212.AnyActorRef>, xstate212.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "START";
|
|
241
241
|
} | {
|
|
242
242
|
type: "CAPTURE";
|
|
@@ -248,7 +248,7 @@ declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext,
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "CLOSE";
|
|
251
|
-
},
|
|
251
|
+
}, xstate212.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
imageBase64: string;
|
|
254
254
|
documentType: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
2
|
-
import { D as createManager, E as stopCameraStream } from "./src-
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { t as getBackCameraStream } from "./backCameraStream-CvzBcQqz.esm.js";
|
|
2
|
+
import { D as createManager, E as stopCameraStream } from "./src-jvUXRQjK.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
4
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/document-upload/documentUploadServices.ts
|
|
7
8
|
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
package/dist/ekyb.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as FieldDef } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
2
|
+
import { t as FieldDef } from "./types-CnKs94Sr.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/ekyb/types.d.ts
|
|
5
5
|
type UboEntry = {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import { D as createManager } from "./src-
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import { t as
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { D as createManager } from "./src-jvUXRQjK.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
4
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
6
|
+
import { t as usStateOptions } from "./usStates-BAjX-Al7.esm.js";
|
|
6
7
|
|
|
7
8
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
9
|
const UBO_INPUT_LIMIT = 8;
|
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as FieldDef } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
2
|
+
import { t as FieldDef } from "./types-CnKs94Sr.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/ekyc/types.d.ts
|
|
5
5
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import { D as createManager, p as BrowserTimerProvider } from "./src-
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import { t as
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { D as createManager, p as BrowserTimerProvider } from "./src-jvUXRQjK.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
4
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
6
|
+
import { t as usStateOptions } from "./usStates-BAjX-Al7.esm.js";
|
|
6
7
|
|
|
7
8
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
8
9
|
var metadata_min_json_default = {
|
package/dist/email.d.ts
CHANGED
package/dist/email.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import { D as createManager, p as BrowserTimerProvider } from "./src-
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { D as createManager, p as BrowserTimerProvider } from "./src-jvUXRQjK.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
4
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/email/emailServices.ts
|
|
7
8
|
async function fetchEmail(signal) {
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
//#region src/internal/http/endpoints.ts
|
|
2
|
+
const endpoints = {
|
|
3
|
+
createSession: "/omni/start",
|
|
4
|
+
flow: "/omni/onboarding/flow",
|
|
5
|
+
events: "/omni/interview-events",
|
|
6
|
+
selfie: "/omni/add/face",
|
|
7
|
+
authenticate: "/omni/onboarding-authentications/authenticate",
|
|
8
|
+
recordingCreateSessionV2: "/omni/recordings/create-session/v2",
|
|
9
|
+
recordingStartV2: "/omni/recordings/record-start/v2",
|
|
10
|
+
recordingStopV2: "/omni/recordings/record-stop/v2",
|
|
11
|
+
deepsightVideoImport: "/omni/recordings/import",
|
|
12
|
+
phone: "/omni/add/phone",
|
|
13
|
+
phoneInstant: "/omni/instant/add/phone",
|
|
14
|
+
getPhone: "/omni/get/phone",
|
|
15
|
+
startInfo: "/omni/start-info",
|
|
16
|
+
sendSmsOtp: "/omni/send/sms-otp",
|
|
17
|
+
compareOtp: "/omni/compare/otp",
|
|
18
|
+
email: "/omni/add/email",
|
|
19
|
+
getEmail: "/omni/get/email",
|
|
20
|
+
frontId: "/omni/add/front-id/v2",
|
|
21
|
+
backId: "/omni/add/back-id/v2",
|
|
22
|
+
frontSecondId: "/omni/add/front-second-id/v2",
|
|
23
|
+
backSecondId: "/omni/add/back-second-id/v2",
|
|
24
|
+
getImages: "/omni/get/images",
|
|
25
|
+
getImagesV2: "/omni/get/images/v2",
|
|
26
|
+
getScore: "/omni/get/score",
|
|
27
|
+
getImagesSecondId: "/omni/get/images-second-id",
|
|
28
|
+
processId: "/omni/process/id",
|
|
29
|
+
processSecondId: "/omni/process/second-id",
|
|
30
|
+
processFace: "/omni/process/face",
|
|
31
|
+
governmentValidation: "/omni/process/government-validation",
|
|
32
|
+
deviceStats: "/omni/device/stats",
|
|
33
|
+
featureConfig: "/omni/feature-config",
|
|
34
|
+
deviceFingerprint: "/omni/add/device-fingerprint",
|
|
35
|
+
onboardingStatus: "/omni/get/onboarding/status",
|
|
36
|
+
customFields: "/omni/get/custom-fields",
|
|
37
|
+
deviceRiskClientId: "/omni/device-risk-client-id",
|
|
38
|
+
ocrData: "/omni/get/ocr-data",
|
|
39
|
+
addCurp: "/omni/add/curp",
|
|
40
|
+
addCurpV2: "/omni/add/curp/v2",
|
|
41
|
+
addGeolocation: "/omni/add/geolocation",
|
|
42
|
+
ekycSubmit: "/omni/externalVerification/ekyc",
|
|
43
|
+
ekybSubmit: "/omni/externalVerification/ekyb",
|
|
44
|
+
addressAutocomplete: "/omni/externalVerification/addressAutocomplete",
|
|
45
|
+
otpStatus: "/omni/session/otp-status",
|
|
46
|
+
moduleConfig: "/omni/flow/onboarding/configuration",
|
|
47
|
+
addDocument: "/omni/add/document/v2",
|
|
48
|
+
finishStatus: "/omni/finish-status"
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
//#endregion
|
|
52
|
+
export { endpoints as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import {
|
|
1
|
+
import { i as isApiConfigured, r as getToken, t as api } from "./api-utDuOVDZ.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
|
|
5
5
|
function getTimestamp() {
|
package/dist/face-match.d.ts
CHANGED
package/dist/face-match.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import { D as createManager } from "./src-
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { D as createManager } from "./src-jvUXRQjK.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
4
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/face-match/faceMatchServices.ts
|
|
7
8
|
/**
|
package/dist/{faceCaptureManagerFactory-YsqEukVD.d.ts → faceCaptureManagerFactory-tyJQU0bQ.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-
|
|
2
|
-
import { t as WasmPipeline } from "./warmup-
|
|
3
|
-
import { t as Manager } from "./Manager-
|
|
4
|
-
import { i as CameraStream } from "./types-
|
|
5
|
-
import { t as Flow } from "./types-
|
|
1
|
+
import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-M1Q7M45h.js";
|
|
2
|
+
import { t as WasmPipeline } from "./warmup-G1qbIG0g.js";
|
|
3
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
4
|
+
import { i as CameraStream } from "./types-Cd8ODk69.js";
|
|
5
|
+
import { t as Flow } from "./types-CCmurMLG.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
|
|
8
8
|
type WasmUtilConfig = MLProviderConfig & {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import { D as createManager, E as stopCameraStream, T as requestCameraAccess, a as FaceDetectionProvider, c as OpenViduRecordingProvider, u as LocalRecordingProvider, v as StreamCanvasProcessingSession, y as StreamCanvasCapture } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { a as uploadDeepsightVideo, c as getDeviceClass, i as stopRecording$1, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-
|
|
6
|
-
import { r as getToken, t as api } from "./api-
|
|
7
|
-
import { t as
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-CvzBcQqz.esm.js";
|
|
3
|
+
import { D as createManager, E as stopCameraStream, T as requestCameraAccess, a as FaceDetectionProvider, c as OpenViduRecordingProvider, u as LocalRecordingProvider, v as StreamCanvasProcessingSession, y as StreamCanvasCapture } from "./src-jvUXRQjK.esm.js";
|
|
4
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
5
|
+
import { a as uploadDeepsightVideo, c as getDeviceClass, i as stopRecording$1, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-evH8YUFP.esm.js";
|
|
6
|
+
import { r as getToken, t as api } from "./api-utDuOVDZ.esm.js";
|
|
7
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
8
|
+
import { t as addDeviceStats } from "./stats-CIdlLJwO.esm.js";
|
|
8
9
|
|
|
9
10
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
10
11
|
function getPermissionStatus(snapshot) {
|
|
@@ -444,7 +445,7 @@ async function stopRecording(session) {
|
|
|
444
445
|
}
|
|
445
446
|
}
|
|
446
447
|
async function initializeDeepsightSession(options) {
|
|
447
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
448
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BYoe0Nsv.esm.js");
|
|
448
449
|
return loadDeepsightSession({
|
|
449
450
|
ds: options.ds,
|
|
450
451
|
storage: options.storage
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { t as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./types-
|
|
4
|
-
import { t as AnyStateMachine } from "./StateMachine-
|
|
5
|
-
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-
|
|
1
|
+
import { t as WasmPipeline } from "./warmup-G1qbIG0g.js";
|
|
2
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
3
|
+
import "./types-Cd8ODk69.js";
|
|
4
|
+
import { t as AnyStateMachine } from "./StateMachine-DQeBZwAJ.js";
|
|
5
|
+
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-CCmurMLG.js";
|
|
6
|
+
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-CSeT3Po7.js";
|
|
6
7
|
|
|
7
8
|
//#region src/modules/flow/flowUtils.d.ts
|
|
8
9
|
|
|
@@ -33,14 +34,6 @@ declare function getRequiredWasmPipelines(flow: Flow): WasmPipeline[];
|
|
|
33
34
|
*/
|
|
34
35
|
declare function normalizeFlowModules(modules: FlowModule[]): FlowModule[];
|
|
35
36
|
//#endregion
|
|
36
|
-
//#region src/modules/flow/flowCompletionService.d.ts
|
|
37
|
-
type FinishStatus = {
|
|
38
|
-
redirectionUrl: string;
|
|
39
|
-
action: 'approved' | 'rejected' | 'none';
|
|
40
|
-
scoreStatus: 'OK' | 'WARN' | 'MANUAL_OK' | 'FAIL' | 'UNKNOWN' | 'MANUAL_FAIL';
|
|
41
|
-
};
|
|
42
|
-
type GetFinishStatusFn = (flowId: string | undefined | null, signal?: AbortSignal) => Promise<FinishStatus>;
|
|
43
|
-
//#endregion
|
|
44
37
|
//#region src/modules/flow/flowServices.d.ts
|
|
45
38
|
type GetFlow = (signal: AbortSignal) => Promise<Flow>;
|
|
46
39
|
//#endregion
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { D as createManager } from "./src-
|
|
2
|
-
import { a as
|
|
3
|
-
import { t as api } from "./api-
|
|
1
|
+
import { D as createManager } from "./src-jvUXRQjK.esm.js";
|
|
2
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
3
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
5
|
+
import { t as getFinishStatus } from "./flowCompletionService-BxrOI23Q.esm.js";
|
|
4
6
|
|
|
5
7
|
//#region src/modules/flow/flowUtils.ts
|
|
6
8
|
const WASM_MODULE_PIPELINES = {
|
|
@@ -358,15 +360,6 @@ function createModuleLoader(registry) {
|
|
|
358
360
|
return new ModuleLoaderImpl(registry);
|
|
359
361
|
}
|
|
360
362
|
|
|
361
|
-
//#endregion
|
|
362
|
-
//#region src/modules/flow/flowCompletionService.ts
|
|
363
|
-
const getFinishStatus = async (flowId, signal) => {
|
|
364
|
-
const url = `/omni/finish-status${flowId ? `?flowId=${flowId}` : ""}`;
|
|
365
|
-
const res = await api.get(url, { signal });
|
|
366
|
-
if (!res.ok) throw new Error(`GET ${url} failed: ${res.status} ${res.statusText}`);
|
|
367
|
-
return res.data;
|
|
368
|
-
};
|
|
369
|
-
|
|
370
363
|
//#endregion
|
|
371
364
|
//#region src/modules/flow/orchestratedFlowStateMachine.ts
|
|
372
365
|
const orchestratedFlowMachine = setup({
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
3
|
+
|
|
4
|
+
//#region src/modules/flow/flowCompletionService.ts
|
|
5
|
+
const getFinishStatus = async (flowId, signal) => {
|
|
6
|
+
const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
|
|
7
|
+
const res = await api.get(url, { signal });
|
|
8
|
+
if (!res.ok) throw new Error(`GET ${url} failed: ${res.status} ${res.statusText}`);
|
|
9
|
+
return res.data;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { getFinishStatus as t };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/modules/flow/flowCompletionService.d.ts
|
|
2
|
+
type FinishStatus = {
|
|
3
|
+
redirectionUrl: string;
|
|
4
|
+
action: 'approved' | 'rejected' | 'none';
|
|
5
|
+
scoreStatus: 'OK' | 'WARN' | 'MANUAL_OK' | 'FAIL' | 'UNKNOWN' | 'MANUAL_FAIL';
|
|
6
|
+
};
|
|
7
|
+
type GetFinishStatusFn = (flowId: string | undefined | null, signal?: AbortSignal) => Promise<FinishStatus>;
|
|
8
|
+
declare const getFinishStatus: GetFinishStatusFn;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { GetFinishStatusFn as n, getFinishStatus as r, FinishStatus as t };
|
package/dist/geolocation.d.ts
CHANGED
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
2
|
-
import { D as createManager, M as isAndroid, P as isIOS, _ as BrowserGeolocationProvider } from "./src-
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { D as createManager, M as isAndroid, P as isIOS, _ as BrowserGeolocationProvider } from "./src-jvUXRQjK.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
4
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
8
|
async function addGeolocation(params, signal) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { D as createManager, p as BrowserTimerProvider } from "./src-
|
|
2
|
-
import { a as
|
|
3
|
-
import { t as api } from "./api-
|
|
1
|
+
import { D as createManager, p as BrowserTimerProvider } from "./src-jvUXRQjK.esm.js";
|
|
2
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
3
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
4
5
|
|
|
5
6
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
6
7
|
async function processGovernmentValidation(signal) {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import { A as getWindowDimensions, D as createManager, N as isDesktop, S as IncodeCanvas, c as OpenViduRecordingProvider, d as IpifyProvider, f as FingerprintProvider, g as BrowserEnvironmentProvider, h as BrowserInfoProvider, i as IdCaptureProvider, m as BrowserStorageProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as BrowserTimerProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as StreamCanvasProcessingSession, y as StreamCanvasCapture } from "./src-
|
|
4
|
-
import { a as
|
|
5
|
-
import { c as getDeviceClass, i as stopRecording$1, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-
|
|
6
|
-
import { n as isBrowserSimulation } from "./deepsightService-
|
|
7
|
-
import { n as getApi, r as getToken, t as api } from "./api-
|
|
8
|
-
import { t as
|
|
1
|
+
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-CvzBcQqz.esm.js";
|
|
3
|
+
import { A as getWindowDimensions, D as createManager, N as isDesktop, S as IncodeCanvas, c as OpenViduRecordingProvider, d as IpifyProvider, f as FingerprintProvider, g as BrowserEnvironmentProvider, h as BrowserInfoProvider, i as IdCaptureProvider, m as BrowserStorageProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as BrowserTimerProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as StreamCanvasProcessingSession, y as StreamCanvasCapture } from "./src-jvUXRQjK.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
5
|
+
import { c as getDeviceClass, i as stopRecording$1, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-evH8YUFP.esm.js";
|
|
6
|
+
import { n as isBrowserSimulation } from "./deepsightService-nqR8Q7AS.esm.js";
|
|
7
|
+
import { n as getApi, r as getToken, t as api } from "./api-utDuOVDZ.esm.js";
|
|
8
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
9
|
+
import { t as addDeviceStats } from "./stats-CIdlLJwO.esm.js";
|
|
9
10
|
|
|
10
11
|
//#region src/internal/session/sessionService.ts
|
|
11
12
|
/**
|
|
@@ -720,10 +721,7 @@ const runDetectionActor = fromCallback(({ input, sendBack }) => {
|
|
|
720
721
|
},
|
|
721
722
|
onSwitchToManualCapture: () => {
|
|
722
723
|
isCapturing = false;
|
|
723
|
-
sendBack({
|
|
724
|
-
type: "DETECTION_UPDATE",
|
|
725
|
-
status: "manualCapture"
|
|
726
|
-
});
|
|
724
|
+
sendBack({ type: "SWITCH_TO_MANUAL_CAPTURE" });
|
|
727
725
|
},
|
|
728
726
|
onCapturing: () => {
|
|
729
727
|
clearNotificationTimeout();
|
|
@@ -898,7 +896,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
|
|
|
898
896
|
});
|
|
899
897
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
900
898
|
if (!input.dependencies) return;
|
|
901
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
899
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BYoe0Nsv.esm.js");
|
|
902
900
|
return loadDeepsightSession({
|
|
903
901
|
ds: input.ds,
|
|
904
902
|
storage: input.dependencies.storage,
|
package/dist/id.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-
|
|
2
|
-
import "./deepsightService-
|
|
3
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
4
|
-
import "./Manager-
|
|
5
|
-
import { i as CameraStream } from "./types-
|
|
6
|
-
import "./Actor-
|
|
7
|
-
import "./StateMachine-
|
|
8
|
-
import "./types-
|
|
1
|
+
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-BRPR-rem.js";
|
|
2
|
+
import "./deepsightService-BpVsx9qI.js";
|
|
3
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-M1Q7M45h.js";
|
|
4
|
+
import "./Manager-WfeWDo3j.js";
|
|
5
|
+
import { i as CameraStream } from "./types-Cd8ODk69.js";
|
|
6
|
+
import "./Actor-BWuqxR_a.js";
|
|
7
|
+
import "./StateMachine-DQeBZwAJ.js";
|
|
8
|
+
import "./types-CCmurMLG.js";
|
|
9
9
|
export { CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, DetectionArea, DetectionOrientation, DetectionStatus, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, PermissionResult, PermissionStatus, RecordingSession, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
package/dist/id.esm.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
4
|
-
import "./
|
|
5
|
-
import "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
7
|
-
import "./api-
|
|
8
|
-
import
|
|
9
|
-
import "./
|
|
1
|
+
import "./events-B4Z68p21.esm.js";
|
|
2
|
+
import "./backCameraStream-CvzBcQqz.esm.js";
|
|
3
|
+
import "./src-jvUXRQjK.esm.js";
|
|
4
|
+
import "./xstate.esm-Be4HOnoi.esm.js";
|
|
5
|
+
import "./streamingEvents-evH8YUFP.esm.js";
|
|
6
|
+
import "./deepsightService-nqR8Q7AS.esm.js";
|
|
7
|
+
import "./api-utDuOVDZ.esm.js";
|
|
8
|
+
import "./endpoints-DZ8tQH8V.esm.js";
|
|
9
|
+
import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-C1xB8Evt.esm.js";
|
|
10
|
+
import "./stats-CIdlLJwO.esm.js";
|
|
10
11
|
|
|
11
12
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-
|
|
2
|
-
import { a as RecordingConnection, i as IRecordingCapability, n as PermissionStatus, o as IMLProviderCapability, r as IStorageCapability, s as MLProviderConfig, t as PermissionResult } from "./types-
|
|
3
|
-
import { t as Manager } from "./Manager-
|
|
4
|
-
import { i as CameraStream } from "./types-
|
|
5
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
6
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
7
|
-
import { i as TutorialIdConfig, t as Flow } from "./types-
|
|
1
|
+
import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-BpVsx9qI.js";
|
|
2
|
+
import { a as RecordingConnection, i as IRecordingCapability, n as PermissionStatus, o as IMLProviderCapability, r as IStorageCapability, s as MLProviderConfig, t as PermissionResult } from "./types-M1Q7M45h.js";
|
|
3
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
4
|
+
import { i as CameraStream } from "./types-Cd8ODk69.js";
|
|
5
|
+
import { t as ActorRefFrom } from "./Actor-BWuqxR_a.js";
|
|
6
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-DQeBZwAJ.js";
|
|
7
|
+
import { i as TutorialIdConfig, t as Flow } from "./types-CCmurMLG.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
10
10
|
interface IAnalyticsCapability {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-
|
|
2
|
-
import "./deepsightService-
|
|
3
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
4
|
-
import { n as warmupWasm, t as WasmPipeline } from "./warmup-
|
|
5
|
-
import "./Manager-
|
|
6
|
-
import { i as CameraStream } from "./types-
|
|
7
|
-
import "./Actor-
|
|
8
|
-
import "./StateMachine-
|
|
9
|
-
import "./types-
|
|
1
|
+
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-BRPR-rem.js";
|
|
2
|
+
import "./deepsightService-BpVsx9qI.js";
|
|
3
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-M1Q7M45h.js";
|
|
4
|
+
import { n as warmupWasm, t as WasmPipeline } from "./warmup-G1qbIG0g.js";
|
|
5
|
+
import "./Manager-WfeWDo3j.js";
|
|
6
|
+
import { i as CameraStream } from "./types-Cd8ODk69.js";
|
|
7
|
+
import "./Actor-BWuqxR_a.js";
|
|
8
|
+
import "./StateMachine-DQeBZwAJ.js";
|
|
9
|
+
import "./types-CCmurMLG.js";
|
|
10
10
|
|
|
11
11
|
//#region ../infra/src/http/types.d.ts
|
|
12
12
|
type CreateApiConfig = {
|
package/dist/index.esm.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { a as videoSelfieEvents, c as screenClosed, d as addEvent, f as flushEventQueue, i as tutorialScreenNamesMapper, l as screenEvent, n as eventModuleNames, o as moduleClosed, p as subscribeEvent, r as eventScreenNames, s as moduleOpened, t as cameraScreenNamesMapper, u as screenOpened } from "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import { O as createApi_default, o as warmupWasm, r as WasmUtilProvider } from "./src-
|
|
4
|
-
import "./
|
|
5
|
-
import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
7
|
-
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-
|
|
8
|
-
import
|
|
9
|
-
import "./
|
|
1
|
+
import { a as videoSelfieEvents, c as screenClosed, d as addEvent, f as flushEventQueue, i as tutorialScreenNamesMapper, l as screenEvent, n as eventModuleNames, o as moduleClosed, p as subscribeEvent, r as eventScreenNames, s as moduleOpened, t as cameraScreenNamesMapper, u as screenOpened } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import "./backCameraStream-CvzBcQqz.esm.js";
|
|
3
|
+
import { O as createApi_default, o as warmupWasm, r as WasmUtilProvider } from "./src-jvUXRQjK.esm.js";
|
|
4
|
+
import "./xstate.esm-Be4HOnoi.esm.js";
|
|
5
|
+
import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-evH8YUFP.esm.js";
|
|
6
|
+
import "./deepsightService-nqR8Q7AS.esm.js";
|
|
7
|
+
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-utDuOVDZ.esm.js";
|
|
8
|
+
import "./endpoints-DZ8tQH8V.esm.js";
|
|
9
|
+
import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-C1xB8Evt.esm.js";
|
|
10
|
+
import "./stats-CIdlLJwO.esm.js";
|
|
10
11
|
|
|
11
12
|
//#region src/setup.ts
|
|
12
13
|
let wasmConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-
|
|
1
|
+
import { i as __toCommonJS, n as __esm, r as __export, t as __commonJS } from "./chunk-B6vU4TSh.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js
|
|
4
4
|
var require_jsnlog = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/jsnlog@2.30.0/node_modules/jsnlog/jsnlog.js": ((exports) => {
|
package/dist/phone.d.ts
CHANGED
package/dist/phone.esm.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import { D as createManager, p as BrowserTimerProvider } from "./src-
|
|
3
|
-
import { a as
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import { D as createManager, p as BrowserTimerProvider } from "./src-jvUXRQjK.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
4
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/phone/phoneServices.ts
|
|
7
8
|
async function fetchPhone(signal) {
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-
|
|
2
|
-
import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-
|
|
3
|
-
import { t as WasmPipeline } from "./warmup-
|
|
4
|
-
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
5
|
-
import { t as Manager } from "./Manager-
|
|
6
|
-
import { i as CameraStream } from "./types-
|
|
7
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
8
|
-
import { r as FlowModuleConfig } from "./types-
|
|
1
|
+
import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-BpVsx9qI.js";
|
|
2
|
+
import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-M1Q7M45h.js";
|
|
3
|
+
import { t as WasmPipeline } from "./warmup-G1qbIG0g.js";
|
|
4
|
+
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-tyJQU0bQ.js";
|
|
5
|
+
import { t as Manager } from "./Manager-WfeWDo3j.js";
|
|
6
|
+
import { i as CameraStream } from "./types-Cd8ODk69.js";
|
|
7
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-DQeBZwAJ.js";
|
|
8
|
+
import { r as FlowModuleConfig } from "./types-CCmurMLG.js";
|
|
9
9
|
|
|
10
10
|
//#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
|
|
11
11
|
/**
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-
|
|
4
|
-
import { a as
|
|
5
|
-
import "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
7
|
-
import "./api-
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-B4Z68p21.esm.js";
|
|
2
|
+
import "./backCameraStream-CvzBcQqz.esm.js";
|
|
3
|
+
import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-jvUXRQjK.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-Be4HOnoi.esm.js";
|
|
5
|
+
import "./streamingEvents-evH8YUFP.esm.js";
|
|
6
|
+
import "./deepsightService-nqR8Q7AS.esm.js";
|
|
7
|
+
import "./api-utDuOVDZ.esm.js";
|
|
8
|
+
import "./endpoints-DZ8tQH8V.esm.js";
|
|
9
|
+
import "./stats-CIdlLJwO.esm.js";
|
|
10
|
+
import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-C6JFWLvG.esm.js";
|
|
10
11
|
|
|
11
12
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
12
13
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __toDynamicImportESM } from "./chunk-
|
|
1
|
+
import { a as __toDynamicImportESM } from "./chunk-B6vU4TSh.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/capabilities/platform.ts
|
|
4
4
|
/**
|
|
@@ -4414,7 +4414,7 @@ var MotionSensorProvider = class {
|
|
|
4414
4414
|
let openViduImport;
|
|
4415
4415
|
async function loadOpenVidu() {
|
|
4416
4416
|
if (openViduImport) return openViduImport;
|
|
4417
|
-
openViduImport = import("./lib-
|
|
4417
|
+
openViduImport = import("./lib-DhQ9gAaS.esm.js").then(__toDynamicImportESM(1));
|
|
4418
4418
|
return openViduImport;
|
|
4419
4419
|
}
|
|
4420
4420
|
|
package/dist/stats.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as stopCameraStream, T as requestCameraAccess, b as queryCameraPermission, j as getUserAgent, k as getDeviceInfo, l as MotionSensorProvider } from "./src-
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
1
|
+
import { E as stopCameraStream, T as requestCameraAccess, b as queryCameraPermission, j as getUserAgent, k as getDeviceInfo, l as MotionSensorProvider } from "./src-jvUXRQjK.esm.js";
|
|
2
|
+
import { t as api } from "./api-utDuOVDZ.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-DZ8tQH8V.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/device/getBrowser.ts
|
|
6
6
|
function getBrowser() {
|
|
@@ -3258,54 +3258,4 @@ function setup({ schemas, actors, actions, guards, delays }) {
|
|
|
3258
3258
|
}
|
|
3259
3259
|
|
|
3260
3260
|
//#endregion
|
|
3261
|
-
|
|
3262
|
-
const endpoints = {
|
|
3263
|
-
createSession: "/omni/start",
|
|
3264
|
-
flow: "/omni/onboarding/flow",
|
|
3265
|
-
events: "/omni/interview-events",
|
|
3266
|
-
selfie: "/omni/add/face",
|
|
3267
|
-
authenticate: "/omni/onboarding-authentications/authenticate",
|
|
3268
|
-
recordingCreateSessionV2: "/omni/recordings/create-session/v2",
|
|
3269
|
-
recordingStartV2: "/omni/recordings/record-start/v2",
|
|
3270
|
-
recordingStopV2: "/omni/recordings/record-stop/v2",
|
|
3271
|
-
deepsightVideoImport: "/omni/recordings/import",
|
|
3272
|
-
phone: "/omni/add/phone",
|
|
3273
|
-
phoneInstant: "/omni/instant/add/phone",
|
|
3274
|
-
getPhone: "/omni/get/phone",
|
|
3275
|
-
startInfo: "/omni/start-info",
|
|
3276
|
-
sendSmsOtp: "/omni/send/sms-otp",
|
|
3277
|
-
compareOtp: "/omni/compare/otp",
|
|
3278
|
-
email: "/omni/add/email",
|
|
3279
|
-
getEmail: "/omni/get/email",
|
|
3280
|
-
frontId: "/omni/add/front-id/v2",
|
|
3281
|
-
backId: "/omni/add/back-id/v2",
|
|
3282
|
-
frontSecondId: "/omni/add/front-second-id/v2",
|
|
3283
|
-
backSecondId: "/omni/add/back-second-id/v2",
|
|
3284
|
-
getImages: "/omni/get/images",
|
|
3285
|
-
getImagesV2: "/omni/get/images/v2",
|
|
3286
|
-
getScore: "/omni/get/score",
|
|
3287
|
-
getImagesSecondId: "/omni/get/images-second-id",
|
|
3288
|
-
processId: "/omni/process/id",
|
|
3289
|
-
processSecondId: "/omni/process/second-id",
|
|
3290
|
-
processFace: "/omni/process/face",
|
|
3291
|
-
governmentValidation: "/omni/process/government-validation",
|
|
3292
|
-
deviceStats: "/omni/device/stats",
|
|
3293
|
-
featureConfig: "/omni/feature-config",
|
|
3294
|
-
deviceFingerprint: "/omni/add/device-fingerprint",
|
|
3295
|
-
onboardingStatus: "/omni/get/onboarding/status",
|
|
3296
|
-
customFields: "/omni/get/custom-fields",
|
|
3297
|
-
deviceRiskClientId: "/omni/device-risk-client-id",
|
|
3298
|
-
ocrData: "/omni/get/ocr-data",
|
|
3299
|
-
addCurp: "/omni/add/curp",
|
|
3300
|
-
addCurpV2: "/omni/add/curp/v2",
|
|
3301
|
-
addGeolocation: "/omni/add/geolocation",
|
|
3302
|
-
ekycSubmit: "/omni/externalVerification/ekyc",
|
|
3303
|
-
ekybSubmit: "/omni/externalVerification/ekyb",
|
|
3304
|
-
addressAutocomplete: "/omni/externalVerification/addressAutocomplete",
|
|
3305
|
-
otpStatus: "/omni/session/otp-status",
|
|
3306
|
-
moduleConfig: "/omni/flow/onboarding/configuration",
|
|
3307
|
-
addDocument: "/omni/add/document/v2"
|
|
3308
|
-
};
|
|
3309
|
-
|
|
3310
|
-
//#endregion
|
|
3311
|
-
export { fromPromise as a, fromCallback as i, setup as n, createActor as o, assign as r, endpoints as t };
|
|
3261
|
+
export { createActor as a, fromPromise as i, assign as n, fromCallback as r, setup as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260303-3dab9f2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -64,6 +64,10 @@
|
|
|
64
64
|
"./document-upload": {
|
|
65
65
|
"types": "./dist/document-upload.d.ts",
|
|
66
66
|
"import": "./dist/document-upload.esm.js"
|
|
67
|
+
},
|
|
68
|
+
"./session": {
|
|
69
|
+
"types": "./dist/session.d.ts",
|
|
70
|
+
"import": "./dist/session.esm.js"
|
|
67
71
|
}
|
|
68
72
|
},
|
|
69
73
|
"files": [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|