@incodetech/core 0.0.0-dev-20260224-e49e03c → 0.0.0-dev-20260226-4cb58f5
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 -7
- package/dist/authentication.esm.js +9 -8
- package/dist/{backCameraStream-CCvHeGHQ.esm.js → backCameraStream-Ly-xbK9L.esm.js} +2 -103
- package/dist/curp-validation.d.ts +3 -2
- package/dist/curp-validation.esm.js +4 -4
- package/dist/{deepsightLoader-UBRWJ3MQ.esm.js → deepsightLoader-nGQDTgVU.esm.js} +4 -4
- package/dist/{deepsightService-Bn05rSAa.esm.js → deepsightService-CpmpXOnj.esm.js} +3 -3
- package/dist/{deepsightService-Un1ZwAHH.d.ts → deepsightService-p7oLftiG.d.ts} +1 -1
- package/dist/document-upload.d.ts +329 -0
- package/dist/document-upload.esm.js +194 -0
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +4 -4
- package/dist/{endpoints-DXp63GM6.esm.js → endpoints-BK1EjE1H.esm.js} +2 -1
- package/dist/{events-h8K9H3OM.esm.js → events-DuBPhaxY.esm.js} +2 -2
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +4 -4
- package/dist/{faceCaptureManagerFactory-CWGzTGlG.d.ts → faceCaptureManagerFactory-5Blo_gz0.d.ts} +5 -4
- package/dist/{faceCaptureSetup-BflAHwmc.esm.js → faceCaptureSetup-JLWm8_vt.esm.js} +8 -7
- package/dist/flow.d.ts +6 -5
- package/dist/flow.esm.js +6 -10
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +4 -4
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +3 -3
- package/dist/{id-CDh0aJOJ.esm.js → id-Dc5SneKA.esm.js} +9 -8
- package/dist/id.d.ts +8 -7
- package/dist/id.esm.js +9 -8
- package/dist/{index-O5gB82Up.d.ts → index-B_VIYINf.d.ts} +7 -6
- package/dist/index.d.ts +9 -8
- package/dist/index.esm.js +9 -8
- package/dist/{lib-DtNtprlI.esm.js → lib-EkjqkOuB.esm.js} +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +4 -4
- package/dist/selfie.d.ts +8 -7
- package/dist/selfie.esm.js +9 -8
- package/dist/{src-t0pt3B2r.esm.js → src-Bjg2C1oP.esm.js} +2 -2
- package/dist/{stats-GJMiTm5k.esm.js → stats-Baxc8J0w.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/streamingEvents-BrVlVGe7.esm.js +104 -0
- package/dist/types-B3jgq_IJ.d.ts +24 -0
- package/dist/{types-ee3LkWku.d.ts → types-CLuw51tO.d.ts} +1 -4
- package/dist/{types-c0XgGLsM.d.ts → types-Skrj9_8y.d.ts} +3 -1
- package/package.json +8 -4
- /package/dist/{Actor-Chvt8rE9.d.ts → Actor-DYtyiYF1.d.ts} +0 -0
- /package/dist/{Manager-DM1NlCX4.d.ts → Manager-C647XkuZ.d.ts} +0 -0
- /package/dist/{StateMachine-B7tKroZs.d.ts → StateMachine-B3u4LjaP.d.ts} +0 -0
- /package/dist/{api-DlSxxyGw.esm.js → api-J0YE3G-C.esm.js} +0 -0
- /package/dist/{chunk-BcpNb8MJ.esm.js → chunk-3k-zyWo_.esm.js} +0 -0
- /package/dist/{warmup-BUv67ifS.d.ts → warmup-BIZ_8rAa.d.ts} +0 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { t as getBackCameraStream } from "./backCameraStream-Ly-xbK9L.esm.js";
|
|
2
|
+
import { D as createManager, E as stopCameraStream } from "./src-Bjg2C1oP.esm.js";
|
|
3
|
+
import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
|
|
4
|
+
import { t as api } from "./api-J0YE3G-C.esm.js";
|
|
5
|
+
|
|
6
|
+
//#region src/modules/document-upload/documentUploadServices.ts
|
|
7
|
+
async function uploadDocument({ imageBase64, documentType, onProgress, signal }) {
|
|
8
|
+
const url = `${endpoints.addDocument}?type=${encodeURIComponent(documentType)}`;
|
|
9
|
+
const response = await api.post(url, { base64Image: imageBase64 }, {
|
|
10
|
+
signal,
|
|
11
|
+
onUploadProgress: onProgress
|
|
12
|
+
});
|
|
13
|
+
if (!response.ok) throw new Error(`Document upload failed: ${response.status} ${response.statusText}`);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/modules/document-upload/documentUploadStateMachine.ts
|
|
18
|
+
const documentUploadMachine = setup({
|
|
19
|
+
types: {
|
|
20
|
+
context: {},
|
|
21
|
+
events: {},
|
|
22
|
+
input: {}
|
|
23
|
+
},
|
|
24
|
+
actors: {
|
|
25
|
+
initCamera: fromPromise(async () => {
|
|
26
|
+
return getBackCameraStream(void 0);
|
|
27
|
+
}),
|
|
28
|
+
uploadDocument: fromPromise(async ({ input, signal }) => {
|
|
29
|
+
return uploadDocument({
|
|
30
|
+
imageBase64: input.imageBase64,
|
|
31
|
+
documentType: input.documentType,
|
|
32
|
+
onProgress: input.onProgress,
|
|
33
|
+
signal
|
|
34
|
+
});
|
|
35
|
+
})
|
|
36
|
+
},
|
|
37
|
+
actions: {
|
|
38
|
+
setStream: assign(({ event }) => ({ stream: event.output })),
|
|
39
|
+
setImageAndClearError: assign(({ event }) => {
|
|
40
|
+
return {
|
|
41
|
+
imageBase64: event.imageBase64,
|
|
42
|
+
error: void 0
|
|
43
|
+
};
|
|
44
|
+
}),
|
|
45
|
+
setProgress: assign(({ event }) => ({ progress: event.progress })),
|
|
46
|
+
setError: assign(({ event }) => ({ error: String(event.error) })),
|
|
47
|
+
clearError: assign({ error: () => void 0 }),
|
|
48
|
+
stopStream: assign(({ context }) => {
|
|
49
|
+
if (context.stream) stopCameraStream(context.stream);
|
|
50
|
+
return { stream: void 0 };
|
|
51
|
+
})
|
|
52
|
+
}
|
|
53
|
+
}).createMachine({
|
|
54
|
+
id: "documentUpload",
|
|
55
|
+
initial: "idle",
|
|
56
|
+
context: ({ input }) => ({
|
|
57
|
+
config: input.config,
|
|
58
|
+
stream: void 0,
|
|
59
|
+
imageBase64: void 0,
|
|
60
|
+
progress: 0,
|
|
61
|
+
error: void 0
|
|
62
|
+
}),
|
|
63
|
+
states: {
|
|
64
|
+
idle: { on: { START: { target: "initCamera" } } },
|
|
65
|
+
initCamera: {
|
|
66
|
+
invoke: {
|
|
67
|
+
id: "initCamera",
|
|
68
|
+
src: "initCamera",
|
|
69
|
+
input: void 0,
|
|
70
|
+
onDone: {
|
|
71
|
+
target: "capturing",
|
|
72
|
+
actions: "setStream"
|
|
73
|
+
},
|
|
74
|
+
onError: {
|
|
75
|
+
target: "error",
|
|
76
|
+
actions: "setError"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
on: { CLOSE: { target: "closed" } }
|
|
80
|
+
},
|
|
81
|
+
capturing: { on: {
|
|
82
|
+
CAPTURE: {
|
|
83
|
+
target: "uploading",
|
|
84
|
+
actions: "setImageAndClearError"
|
|
85
|
+
},
|
|
86
|
+
CLOSE: {
|
|
87
|
+
target: "closed",
|
|
88
|
+
actions: "stopStream"
|
|
89
|
+
}
|
|
90
|
+
} },
|
|
91
|
+
uploading: {
|
|
92
|
+
invoke: {
|
|
93
|
+
id: "uploadDocument",
|
|
94
|
+
src: "uploadDocument",
|
|
95
|
+
input: ({ context, self }) => {
|
|
96
|
+
const imageBase64 = context.imageBase64;
|
|
97
|
+
if (!imageBase64) throw new Error("No image to upload");
|
|
98
|
+
return {
|
|
99
|
+
imageBase64,
|
|
100
|
+
documentType: context.config.documentType,
|
|
101
|
+
onProgress: (progress) => {
|
|
102
|
+
self.send({
|
|
103
|
+
type: "UPLOAD_PROGRESS",
|
|
104
|
+
progress
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
},
|
|
109
|
+
onDone: {
|
|
110
|
+
target: "finished",
|
|
111
|
+
actions: "stopStream"
|
|
112
|
+
},
|
|
113
|
+
onError: {
|
|
114
|
+
target: "error",
|
|
115
|
+
actions: ["setError", "stopStream"]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
on: { UPLOAD_PROGRESS: { actions: "setProgress" } }
|
|
119
|
+
},
|
|
120
|
+
error: { on: {
|
|
121
|
+
RETRY: {
|
|
122
|
+
target: "initCamera",
|
|
123
|
+
actions: "clearError"
|
|
124
|
+
},
|
|
125
|
+
CLOSE: {
|
|
126
|
+
target: "closed",
|
|
127
|
+
actions: "stopStream"
|
|
128
|
+
}
|
|
129
|
+
} },
|
|
130
|
+
finished: { type: "final" },
|
|
131
|
+
closed: { type: "final" }
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
|
|
135
|
+
//#endregion
|
|
136
|
+
//#region src/modules/document-upload/documentUploadActor.ts
|
|
137
|
+
function createDocumentUploadActor(options) {
|
|
138
|
+
return createActor(documentUploadMachine, { input: { config: options.config } }).start();
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
//#endregion
|
|
142
|
+
//#region src/modules/document-upload/documentUploadManager.ts
|
|
143
|
+
function mapState(snapshot) {
|
|
144
|
+
const typedSnapshot = snapshot;
|
|
145
|
+
const { context } = typedSnapshot;
|
|
146
|
+
if (typedSnapshot.matches("idle") || typedSnapshot.matches("initCamera")) return { status: "initializing" };
|
|
147
|
+
if (typedSnapshot.matches("capturing")) {
|
|
148
|
+
if (!context.stream) return { status: "initializing" };
|
|
149
|
+
return {
|
|
150
|
+
status: "capturing",
|
|
151
|
+
stream: context.stream
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
if (typedSnapshot.matches("uploading")) return {
|
|
155
|
+
status: "uploading",
|
|
156
|
+
progress: context.progress
|
|
157
|
+
};
|
|
158
|
+
if (typedSnapshot.matches("error")) return {
|
|
159
|
+
status: "error",
|
|
160
|
+
error: context.error ?? "Upload failed"
|
|
161
|
+
};
|
|
162
|
+
if (typedSnapshot.matches("finished")) return { status: "finished" };
|
|
163
|
+
if (typedSnapshot.matches("closed")) return { status: "closed" };
|
|
164
|
+
return { status: "initializing" };
|
|
165
|
+
}
|
|
166
|
+
function createApi({ actor }) {
|
|
167
|
+
return {
|
|
168
|
+
load() {
|
|
169
|
+
actor.send({ type: "START" });
|
|
170
|
+
},
|
|
171
|
+
capture(imageBase64) {
|
|
172
|
+
actor.send({
|
|
173
|
+
type: "CAPTURE",
|
|
174
|
+
imageBase64
|
|
175
|
+
});
|
|
176
|
+
},
|
|
177
|
+
retry() {
|
|
178
|
+
actor.send({ type: "RETRY" });
|
|
179
|
+
},
|
|
180
|
+
close() {
|
|
181
|
+
actor.send({ type: "CLOSE" });
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
function createDocumentUploadManager(options) {
|
|
186
|
+
return createManager({
|
|
187
|
+
actor: createDocumentUploadActor(options),
|
|
188
|
+
mapState,
|
|
189
|
+
createApi
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
//#endregion
|
|
194
|
+
export { createDocumentUploadManager, documentUploadMachine };
|
package/dist/email.d.ts
CHANGED
package/dist/email.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-DuBPhaxY.esm.js";
|
|
2
|
+
import { D as createManager, p as BrowserTimerProvider } from "./src-Bjg2C1oP.esm.js";
|
|
3
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
|
|
4
|
+
import { t as api } from "./api-J0YE3G-C.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/email/emailServices.ts
|
|
7
7
|
async function fetchEmail(signal) {
|
|
@@ -3298,7 +3298,8 @@ const endpoints = {
|
|
|
3298
3298
|
ocrData: "/omni/get/ocr-data",
|
|
3299
3299
|
addCurp: "/omni/add/curp",
|
|
3300
3300
|
addCurpV2: "/omni/add/curp/v2",
|
|
3301
|
-
addGeolocation: "/omni/add/geolocation"
|
|
3301
|
+
addGeolocation: "/omni/add/geolocation",
|
|
3302
|
+
addDocument: "/omni/add/document/v2"
|
|
3302
3303
|
};
|
|
3303
3304
|
|
|
3304
3305
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
-
import { i as isApiConfigured, r as getToken, t as api } from "./api-
|
|
1
|
+
import { t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
|
|
2
|
+
import { i as isApiConfigured, r as getToken, t as api } from "./api-J0YE3G-C.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,7 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import { D as createManager } from "./src-
|
|
3
|
-
import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-DuBPhaxY.esm.js";
|
|
2
|
+
import { D as createManager } from "./src-Bjg2C1oP.esm.js";
|
|
3
|
+
import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
|
|
4
|
+
import { t as api } from "./api-J0YE3G-C.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/face-match/faceMatchServices.ts
|
|
7
7
|
/**
|
package/dist/{faceCaptureManagerFactory-CWGzTGlG.d.ts → faceCaptureManagerFactory-5Blo_gz0.d.ts}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as WasmPipeline } from "./warmup-
|
|
3
|
-
import { t as Manager } from "./Manager-
|
|
4
|
-
import {
|
|
1
|
+
import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-CLuw51tO.js";
|
|
2
|
+
import { t as WasmPipeline } from "./warmup-BIZ_8rAa.js";
|
|
3
|
+
import { t as Manager } from "./Manager-C647XkuZ.js";
|
|
4
|
+
import { i as CameraStream } from "./types-B3jgq_IJ.js";
|
|
5
|
+
import { t as Flow } from "./types-Skrj9_8y.js";
|
|
5
6
|
|
|
6
7
|
//#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
|
|
7
8
|
type WasmUtilConfig = MLProviderConfig & {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
2
|
-
import {
|
|
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 { a as fromPromise, i as fromCallback, n as setup, r as assign, t as endpoints } from "./endpoints-
|
|
5
|
-
import { r as
|
|
6
|
-
import { t as
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-DuBPhaxY.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-Ly-xbK9L.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-Bjg2C1oP.esm.js";
|
|
4
|
+
import { a as fromPromise, i as fromCallback, n as setup, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.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-BrVlVGe7.esm.js";
|
|
6
|
+
import { r as getToken, t as api } from "./api-J0YE3G-C.esm.js";
|
|
7
|
+
import { t as addDeviceStats } from "./stats-Baxc8J0w.esm.js";
|
|
7
8
|
|
|
8
9
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
9
10
|
function getPermissionStatus(snapshot) {
|
|
@@ -443,7 +444,7 @@ async function stopRecording(session) {
|
|
|
443
444
|
}
|
|
444
445
|
}
|
|
445
446
|
async function initializeDeepsightSession(options) {
|
|
446
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
447
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-nGQDTgVU.esm.js");
|
|
447
448
|
return loadDeepsightSession({
|
|
448
449
|
ds: options.ds,
|
|
449
450
|
storage: options.storage
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { t as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { t as WasmPipeline } from "./warmup-BIZ_8rAa.js";
|
|
2
|
+
import { t as Manager } from "./Manager-C647XkuZ.js";
|
|
3
|
+
import "./types-B3jgq_IJ.js";
|
|
4
|
+
import { t as AnyStateMachine } from "./StateMachine-B3u4LjaP.js";
|
|
5
|
+
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-Skrj9_8y.js";
|
|
5
6
|
|
|
6
7
|
//#region src/modules/flow/flowUtils.d.ts
|
|
7
8
|
|
|
@@ -27,7 +28,7 @@ declare function getRequiredWasmPipelines(flow: Flow): WasmPipeline[];
|
|
|
27
28
|
*
|
|
28
29
|
* - TUTORIAL_ID becomes ID (with same config)
|
|
29
30
|
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
30
|
-
* - If thirdId: true, adds THIRD_ID module with
|
|
31
|
+
* - If thirdId: true, adds THIRD_ID module with documentType: 'thirdId'
|
|
31
32
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
32
33
|
*/
|
|
33
34
|
declare function normalizeFlowModules(modules: FlowModule[]): FlowModule[];
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as createManager } from "./src-
|
|
2
|
-
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
3
|
-
import { t as api } from "./api-
|
|
1
|
+
import { D as createManager } from "./src-Bjg2C1oP.esm.js";
|
|
2
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
|
|
3
|
+
import { t as api } from "./api-J0YE3G-C.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/flow/flowUtils.ts
|
|
6
6
|
const WASM_MODULE_PIPELINES = {
|
|
@@ -10,8 +10,7 @@ const WASM_MODULE_PIPELINES = {
|
|
|
10
10
|
VIDEO_ONBOARDING: "selfie",
|
|
11
11
|
ID: "idCapture",
|
|
12
12
|
TUTORIAL_ID: "idCapture",
|
|
13
|
-
SECOND_ID: "idCapture"
|
|
14
|
-
THIRD_ID: "idCapture"
|
|
13
|
+
SECOND_ID: "idCapture"
|
|
15
14
|
};
|
|
16
15
|
/**
|
|
17
16
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
@@ -42,7 +41,7 @@ function getRequiredWasmPipelines(flow) {
|
|
|
42
41
|
*
|
|
43
42
|
* - TUTORIAL_ID becomes ID (with same config)
|
|
44
43
|
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
45
|
-
* - If thirdId: true, adds THIRD_ID module with
|
|
44
|
+
* - If thirdId: true, adds THIRD_ID module with documentType: 'thirdId'
|
|
46
45
|
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
47
46
|
*/
|
|
48
47
|
function normalizeFlowModules(modules) {
|
|
@@ -62,10 +61,7 @@ function normalizeFlowModules(modules) {
|
|
|
62
61
|
});
|
|
63
62
|
if (idConfig.thirdId) result.push({
|
|
64
63
|
key: "THIRD_ID",
|
|
65
|
-
configuration: {
|
|
66
|
-
...idConfig,
|
|
67
|
-
isSecondId: true
|
|
68
|
-
}
|
|
64
|
+
configuration: { documentType: "thirdId" }
|
|
69
65
|
});
|
|
70
66
|
return result;
|
|
71
67
|
}
|
package/dist/geolocation.d.ts
CHANGED
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-DuBPhaxY.esm.js";
|
|
2
|
+
import { D as createManager, M as isAndroid, P as isIOS, _ as BrowserGeolocationProvider } from "./src-Bjg2C1oP.esm.js";
|
|
3
|
+
import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
|
|
4
|
+
import { t as api } from "./api-J0YE3G-C.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
7
7
|
async function addGeolocation(params, signal) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as createManager, p as BrowserTimerProvider } from "./src-
|
|
2
|
-
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
3
|
-
import { t as api } from "./api-
|
|
1
|
+
import { D as createManager, p as BrowserTimerProvider } from "./src-Bjg2C1oP.esm.js";
|
|
2
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
|
|
3
|
+
import { t as api } from "./api-J0YE3G-C.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
6
6
|
async function processGovernmentValidation(signal) {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-
|
|
2
|
-
import {
|
|
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 fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
5
|
-
import { n as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
1
|
+
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-DuBPhaxY.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-Ly-xbK9L.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-Bjg2C1oP.esm.js";
|
|
4
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.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-BrVlVGe7.esm.js";
|
|
6
|
+
import { n as isBrowserSimulation } from "./deepsightService-CpmpXOnj.esm.js";
|
|
7
|
+
import { n as getApi, r as getToken, t as api } from "./api-J0YE3G-C.esm.js";
|
|
8
|
+
import { t as addDeviceStats } from "./stats-Baxc8J0w.esm.js";
|
|
8
9
|
|
|
9
10
|
//#region src/internal/session/sessionService.ts
|
|
10
11
|
/**
|
|
@@ -897,7 +898,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
|
|
|
897
898
|
});
|
|
898
899
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
899
900
|
if (!input.dependencies) return;
|
|
900
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
901
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-nGQDTgVU.esm.js");
|
|
901
902
|
return loadDeepsightSession({
|
|
902
903
|
ds: input.ds,
|
|
903
904
|
storage: input.dependencies.storage,
|
package/dist/id.d.ts
CHANGED
|
@@ -1,8 +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,
|
|
4
|
-
import "./Manager-
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
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-B_VIYINf.js";
|
|
2
|
+
import "./deepsightService-p7oLftiG.js";
|
|
3
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CLuw51tO.js";
|
|
4
|
+
import "./Manager-C647XkuZ.js";
|
|
5
|
+
import { i as CameraStream } from "./types-B3jgq_IJ.js";
|
|
6
|
+
import "./Actor-DYtyiYF1.js";
|
|
7
|
+
import "./StateMachine-B3u4LjaP.js";
|
|
8
|
+
import "./types-Skrj9_8y.js";
|
|
8
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,10 +1,11 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import "./
|
|
1
|
+
import "./events-DuBPhaxY.esm.js";
|
|
2
|
+
import "./backCameraStream-Ly-xbK9L.esm.js";
|
|
3
|
+
import "./src-Bjg2C1oP.esm.js";
|
|
4
|
+
import "./endpoints-BK1EjE1H.esm.js";
|
|
5
|
+
import "./streamingEvents-BrVlVGe7.esm.js";
|
|
6
|
+
import "./deepsightService-CpmpXOnj.esm.js";
|
|
7
|
+
import "./api-J0YE3G-C.esm.js";
|
|
8
|
+
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-Dc5SneKA.esm.js";
|
|
9
|
+
import "./stats-Baxc8J0w.esm.js";
|
|
9
10
|
|
|
10
11
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-
|
|
2
|
-
import { a as
|
|
3
|
-
import { t as Manager } from "./Manager-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-p7oLftiG.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-CLuw51tO.js";
|
|
3
|
+
import { t as Manager } from "./Manager-C647XkuZ.js";
|
|
4
|
+
import { i as CameraStream } from "./types-B3jgq_IJ.js";
|
|
5
|
+
import { t as ActorRefFrom } from "./Actor-DYtyiYF1.js";
|
|
6
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-B3u4LjaP.js";
|
|
7
|
+
import { i as TutorialIdConfig, t as Flow } from "./types-Skrj9_8y.js";
|
|
7
8
|
|
|
8
9
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
9
10
|
interface IAnalyticsCapability {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +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,
|
|
4
|
-
import { n as warmupWasm, t as WasmPipeline } from "./warmup-
|
|
5
|
-
import "./Manager-
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
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-B_VIYINf.js";
|
|
2
|
+
import "./deepsightService-p7oLftiG.js";
|
|
3
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-CLuw51tO.js";
|
|
4
|
+
import { n as warmupWasm, t as WasmPipeline } from "./warmup-BIZ_8rAa.js";
|
|
5
|
+
import "./Manager-C647XkuZ.js";
|
|
6
|
+
import { i as CameraStream } from "./types-B3jgq_IJ.js";
|
|
7
|
+
import "./Actor-DYtyiYF1.js";
|
|
8
|
+
import "./StateMachine-B3u4LjaP.js";
|
|
9
|
+
import "./types-Skrj9_8y.js";
|
|
9
10
|
|
|
10
11
|
//#region ../infra/src/http/types.d.ts
|
|
11
12
|
type CreateApiConfig = {
|
package/dist/index.esm.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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
|
|
3
|
-
import { O as createApi_default, o as warmupWasm, r as WasmUtilProvider } from "./src-
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
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-DuBPhaxY.esm.js";
|
|
2
|
+
import "./backCameraStream-Ly-xbK9L.esm.js";
|
|
3
|
+
import { O as createApi_default, o as warmupWasm, r as WasmUtilProvider } from "./src-Bjg2C1oP.esm.js";
|
|
4
|
+
import "./endpoints-BK1EjE1H.esm.js";
|
|
5
|
+
import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-BrVlVGe7.esm.js";
|
|
6
|
+
import "./deepsightService-CpmpXOnj.esm.js";
|
|
7
|
+
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-J0YE3G-C.esm.js";
|
|
8
|
+
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-Dc5SneKA.esm.js";
|
|
9
|
+
import "./stats-Baxc8J0w.esm.js";
|
|
9
10
|
|
|
10
11
|
//#region src/setup.ts
|
|
11
12
|
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-3k-zyWo_.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,7 @@
|
|
|
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 fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
4
|
-
import { t as api } from "./api-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-DuBPhaxY.esm.js";
|
|
2
|
+
import { D as createManager, p as BrowserTimerProvider } from "./src-Bjg2C1oP.esm.js";
|
|
3
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-BK1EjE1H.esm.js";
|
|
4
|
+
import { t as api } from "./api-J0YE3G-C.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/phone/phoneServices.ts
|
|
7
7
|
async function fetchPhone(signal) {
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-
|
|
2
|
-
import {
|
|
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 {
|
|
7
|
-
import {
|
|
1
|
+
import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-p7oLftiG.js";
|
|
2
|
+
import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-CLuw51tO.js";
|
|
3
|
+
import { t as WasmPipeline } from "./warmup-BIZ_8rAa.js";
|
|
4
|
+
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-5Blo_gz0.js";
|
|
5
|
+
import { t as Manager } from "./Manager-C647XkuZ.js";
|
|
6
|
+
import { i as CameraStream } from "./types-B3jgq_IJ.js";
|
|
7
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-B3u4LjaP.js";
|
|
8
|
+
import { r as FlowModuleConfig } from "./types-Skrj9_8y.js";
|
|
8
9
|
|
|
9
10
|
//#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
|
|
10
11
|
/**
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
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 fromPromise, o as createActor, r as assign } from "./endpoints-
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-DuBPhaxY.esm.js";
|
|
2
|
+
import "./backCameraStream-Ly-xbK9L.esm.js";
|
|
3
|
+
import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-Bjg2C1oP.esm.js";
|
|
4
|
+
import { a as fromPromise, o as createActor, r as assign } from "./endpoints-BK1EjE1H.esm.js";
|
|
5
|
+
import "./streamingEvents-BrVlVGe7.esm.js";
|
|
6
|
+
import "./deepsightService-CpmpXOnj.esm.js";
|
|
7
|
+
import "./api-J0YE3G-C.esm.js";
|
|
8
|
+
import "./stats-Baxc8J0w.esm.js";
|
|
9
|
+
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-JLWm8_vt.esm.js";
|
|
9
10
|
|
|
10
11
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
11
12
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|