@incodetech/core 0.0.0-dev-20260218-b7223be → 0.0.0-dev-20260218-d80e4b9
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.esm.js +4 -4
- package/dist/curp-validation.esm.js +2 -2
- package/dist/email.esm.js +2 -2
- package/dist/{endpoints-D8PkEWyi.esm.js → endpoints-CAXIQnl3.esm.js} +2 -0
- package/dist/{events-DaWYPjV7.esm.js → events-BvAMgEuE.esm.js} +1 -1
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureSetup-D7eXNsxo.esm.js → faceCaptureSetup-CsQR0xAH.esm.js} +5 -12
- package/dist/flow.d.ts +12 -2
- package/dist/flow.esm.js +47 -4
- package/dist/government-validation.esm.js +1 -1
- package/dist/{id-CDDijEMo.esm.js → id-rO0YXNl_.esm.js} +13 -7
- package/dist/id.esm.js +4 -4
- package/dist/index.esm.js +4 -4
- package/dist/phone.esm.js +2 -2
- package/dist/selfie.esm.js +4 -4
- package/dist/{streamingEvents-DenKMpAy.esm.js → streamingEvents-BCUCioa1.esm.js} +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-BvAMgEuE.esm.js";
|
|
2
2
|
import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-BfSGepfs.esm.js";
|
|
3
|
-
import { a as fromPromise, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
4
|
-
import { c as getDeviceClass } from "./streamingEvents-
|
|
3
|
+
import { a as fromPromise, o as createActor, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
4
|
+
import { c as getDeviceClass } from "./streamingEvents-BCUCioa1.esm.js";
|
|
5
5
|
import "./deepsightService-B_mt2btN.esm.js";
|
|
6
6
|
import { t as api } from "./api-CmRbOLxk.esm.js";
|
|
7
7
|
import "./stats-Bv2CLzQ0.esm.js";
|
|
8
|
-
import { a as FACE_ERROR_CODES, n as faceCaptureMachine, o as createFaceCaptureManager, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-
|
|
8
|
+
import { a as FACE_ERROR_CODES, n as faceCaptureMachine, o as createFaceCaptureManager, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-CsQR0xAH.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
11
11
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, r as eventScreenNames, u as screenOpened } from "./events-
|
|
1
|
+
import { n as eventModuleNames, r as eventScreenNames, u as screenOpened } from "./events-BvAMgEuE.esm.js";
|
|
2
2
|
import { E as createManager } from "./src-BfSGepfs.esm.js";
|
|
3
|
-
import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
3
|
+
import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
4
4
|
import { t as api } from "./api-CmRbOLxk.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/curp-validation/curpValidationUtils.ts
|
package/dist/email.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-BvAMgEuE.esm.js";
|
|
2
2
|
import { E as createManager, p as BrowserTimerProvider } from "./src-BfSGepfs.esm.js";
|
|
3
|
-
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
3
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
4
4
|
import { t as api } from "./api-CmRbOLxk.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/email/emailServices.ts
|
|
@@ -3279,6 +3279,8 @@ const endpoints = {
|
|
|
3279
3279
|
getEmail: "/omni/get/email",
|
|
3280
3280
|
frontId: "/omni/add/front-id/v2",
|
|
3281
3281
|
backId: "/omni/add/back-id/v2",
|
|
3282
|
+
frontSecondId: "/omni/add/front-second-id/v2",
|
|
3283
|
+
backSecondId: "/omni/add/back-second-id/v2",
|
|
3282
3284
|
getImages: "/omni/get/images",
|
|
3283
3285
|
getImagesV2: "/omni/get/images/v2",
|
|
3284
3286
|
getScore: "/omni/get/score",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
2
2
|
import { i as isApiConfigured, r as getToken, t as api } from "./api-CmRbOLxk.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/capabilities/IBrowserEnvironmentCapability.ts
|
package/dist/face-match.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-BvAMgEuE.esm.js";
|
|
2
2
|
import { E as createManager } from "./src-BfSGepfs.esm.js";
|
|
3
|
-
import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
3
|
+
import { a as fromPromise, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
4
4
|
import { t as api } from "./api-CmRbOLxk.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/face-match/faceMatchServices.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-BvAMgEuE.esm.js";
|
|
2
2
|
import { E as createManager, T as stopCameraStream, _ as StreamCanvasProcessingSession, a as FaceDetectionProvider, c as OpenViduRecordingProvider, u as LocalRecordingProvider, v as StreamCanvasCapture, w as requestCameraAccess } from "./src-BfSGepfs.esm.js";
|
|
3
|
-
import { a as fromPromise, i as fromCallback, n as setup, r as assign, t as endpoints } from "./endpoints-
|
|
4
|
-
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-
|
|
3
|
+
import { a as fromPromise, i as fromCallback, n as setup, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
4
|
+
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-BCUCioa1.esm.js";
|
|
5
5
|
import { r as getToken, t as api } from "./api-CmRbOLxk.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-Bv2CLzQ0.esm.js";
|
|
7
7
|
|
|
@@ -599,16 +599,9 @@ const _faceCaptureMachine = setup({
|
|
|
599
599
|
prepareFaceUpload: fromPromise(async ({ input }) => {
|
|
600
600
|
const ctx = input;
|
|
601
601
|
const sessionToken = getToken();
|
|
602
|
-
|
|
602
|
+
const recordingId = (await ctx.recordingService?.stop())?.recordingId ?? null;
|
|
603
603
|
try {
|
|
604
|
-
if (ctx.deepsightService)
|
|
605
|
-
const [_, recordingResult] = await Promise.all([
|
|
606
|
-
ctx.deepsightService.performVirtualCameraCheck(sessionToken, "SELFIE"),
|
|
607
|
-
ctx.recordingService?.stop(),
|
|
608
|
-
ctx.deepsightService.analyzeFrame(ctx.capturedImage.getImageData())
|
|
609
|
-
]);
|
|
610
|
-
recordingId = recordingResult?.recordingId ?? null;
|
|
611
|
-
}
|
|
604
|
+
if (ctx.deepsightService) await Promise.all([ctx.deepsightService.performVirtualCameraCheck(sessionToken, "SELFIE"), ctx.deepsightService.analyzeFrame(ctx.capturedImage.getImageData())]);
|
|
612
605
|
} catch (error) {}
|
|
613
606
|
return {
|
|
614
607
|
encryptedBase64Image: await encryptSelfieImage({
|
package/dist/flow.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { r as WasmPipeline, t as AnyStateMachine } from "./StateMachine-UXl65oQ4
|
|
|
2
2
|
import { t as Manager } from "./Manager-C647XkuZ.js";
|
|
3
3
|
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-9w6h_a6Y.js";
|
|
4
4
|
|
|
5
|
-
//#region src/modules/flow/
|
|
5
|
+
//#region src/modules/flow/flowUtils.d.ts
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
@@ -20,6 +20,16 @@ import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-9w6h_
|
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
declare function getRequiredWasmPipelines(flow: Flow): WasmPipeline[];
|
|
23
|
+
/**
|
|
24
|
+
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID + THIRD_ID
|
|
25
|
+
* based on configuration flags. Matches legacy flowService behavior.
|
|
26
|
+
*
|
|
27
|
+
* - TUTORIAL_ID becomes ID (with same config)
|
|
28
|
+
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
29
|
+
* - If thirdId: true, adds THIRD_ID module with isSecondId: true
|
|
30
|
+
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
31
|
+
*/
|
|
32
|
+
declare function normalizeFlowModules(modules: FlowModule[]): FlowModule[];
|
|
23
33
|
//#endregion
|
|
24
34
|
//#region src/modules/flow/flowCompletionService.d.ts
|
|
25
35
|
type FinishStatus = {
|
|
@@ -276,4 +286,4 @@ declare function createOrchestratedFlowManager(options: CreateOrchestratedFlowAc
|
|
|
276
286
|
isModuleEnabled: (moduleKey: string) => boolean;
|
|
277
287
|
};
|
|
278
288
|
//#endregion
|
|
279
|
-
export { type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowReadyState, type FlowState, type LazyModule, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowFinishedState, type OrchestratedFlowInput, type OrchestratedFlowReadyState, type OrchestratedFlowState, createFlowManager, createModuleLoader, createOrchestratedFlowManager, getRequiredWasmPipelines };
|
|
289
|
+
export { type FinishStatus, type Flow, type FlowModule, type FlowModuleConfig, type FlowReadyState, type FlowState, type LazyModule, type ModuleLoader, type ModuleLoaderRegistry, type ModuleRegistry, type OrchestratedFlowFinishedState, type OrchestratedFlowInput, type OrchestratedFlowReadyState, type OrchestratedFlowState, createFlowManager, createModuleLoader, createOrchestratedFlowManager, getRequiredWasmPipelines, normalizeFlowModules };
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { E as createManager } from "./src-BfSGepfs.esm.js";
|
|
2
|
-
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
2
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
3
3
|
import { t as api } from "./api-CmRbOLxk.esm.js";
|
|
4
4
|
|
|
5
|
-
//#region src/modules/flow/
|
|
5
|
+
//#region src/modules/flow/flowUtils.ts
|
|
6
6
|
const WASM_MODULE_PIPELINES = {
|
|
7
7
|
SELFIE: "selfie",
|
|
8
8
|
AUTHENTICATION: "selfie",
|
|
@@ -36,13 +36,56 @@ function getRequiredWasmPipelines(flow) {
|
|
|
36
36
|
}
|
|
37
37
|
return [...pipelines];
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID + THIRD_ID
|
|
41
|
+
* based on configuration flags. Matches legacy flowService behavior.
|
|
42
|
+
*
|
|
43
|
+
* - TUTORIAL_ID becomes ID (with same config)
|
|
44
|
+
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
45
|
+
* - If thirdId: true, adds THIRD_ID module with isSecondId: true
|
|
46
|
+
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
47
|
+
*/
|
|
48
|
+
function normalizeFlowModules(modules) {
|
|
49
|
+
return modules.flatMap((module, idx, arr) => {
|
|
50
|
+
if (module.key === "TUTORIAL_ID") {
|
|
51
|
+
const idConfig = module.configuration;
|
|
52
|
+
const result = [{
|
|
53
|
+
key: "ID",
|
|
54
|
+
configuration: idConfig
|
|
55
|
+
}];
|
|
56
|
+
if (idConfig.secondId) result.push({
|
|
57
|
+
key: "SECOND_ID",
|
|
58
|
+
configuration: {
|
|
59
|
+
...idConfig,
|
|
60
|
+
isSecondId: true
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
if (idConfig.thirdId) result.push({
|
|
64
|
+
key: "THIRD_ID",
|
|
65
|
+
configuration: {
|
|
66
|
+
...idConfig,
|
|
67
|
+
isSecondId: true
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
return result;
|
|
71
|
+
}
|
|
72
|
+
const prev = arr[idx - 1];
|
|
73
|
+
if (module.key === "ID" && prev?.key === "TUTORIAL_ID") return [];
|
|
74
|
+
return [module];
|
|
75
|
+
});
|
|
76
|
+
}
|
|
39
77
|
|
|
40
78
|
//#endregion
|
|
41
79
|
//#region src/modules/flow/flowServices.ts
|
|
42
80
|
const getFlow = async (signal) => {
|
|
43
81
|
const res = await api.get(endpoints.flow, { signal });
|
|
44
82
|
if (!res.ok) throw new Error(`GET /flow failed: ${res.status} ${res.statusText}`);
|
|
45
|
-
|
|
83
|
+
const data = res.data;
|
|
84
|
+
const normalizedModules = normalizeFlowModules(data.flowModules ?? []);
|
|
85
|
+
return {
|
|
86
|
+
...data,
|
|
87
|
+
flowModules: normalizedModules
|
|
88
|
+
};
|
|
46
89
|
};
|
|
47
90
|
|
|
48
91
|
//#endregion
|
|
@@ -638,4 +681,4 @@ function createOrchestratedFlowManager(options) {
|
|
|
638
681
|
}
|
|
639
682
|
|
|
640
683
|
//#endregion
|
|
641
|
-
export { createFlowManager, createModuleLoader, createOrchestratedFlowManager, getRequiredWasmPipelines };
|
|
684
|
+
export { createFlowManager, createModuleLoader, createOrchestratedFlowManager, getRequiredWasmPipelines, normalizeFlowModules };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { E as createManager, p as BrowserTimerProvider } from "./src-BfSGepfs.esm.js";
|
|
2
|
-
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
2
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
3
3
|
import { t as api } from "./api-CmRbOLxk.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-
|
|
1
|
+
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-BvAMgEuE.esm.js";
|
|
2
2
|
import { C as enumerateVideoDevices, E as createManager, F as isSafari, M as isDesktop, N as isIOS, P as isIPhone14OrHigher, S as applyTrackConstraints, T as stopCameraStream, _ as StreamCanvasProcessingSession, c as OpenViduRecordingProvider, d as IpifyProvider, f as FingerprintProvider, g as BrowserEnvironmentProvider, h as BrowserInfoProvider, j as isAndroid, k as getWindowDimensions, m as BrowserStorageProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as BrowserTimerProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as StreamCanvasCapture, w as requestCameraAccess, x as IncodeCanvas } from "./src-BfSGepfs.esm.js";
|
|
3
|
-
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
4
|
-
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-
|
|
3
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
4
|
+
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-BCUCioa1.esm.js";
|
|
5
5
|
import { n as isBrowserSimulation } from "./deepsightService-B_mt2btN.esm.js";
|
|
6
6
|
import { n as getApi, r as getToken, t as api } from "./api-CmRbOLxk.esm.js";
|
|
7
7
|
import { t as addDeviceStats } from "./stats-Bv2CLzQ0.esm.js";
|
|
@@ -502,6 +502,10 @@ function getPrcCameraConstraints() {
|
|
|
502
502
|
height: { ideal: 720 }
|
|
503
503
|
} };
|
|
504
504
|
}
|
|
505
|
+
function getUploadEndpoint(type, isSecondId) {
|
|
506
|
+
if (isSecondId) return type === "front" ? endpoints.frontSecondId : endpoints.backSecondId;
|
|
507
|
+
return type === "front" ? endpoints.frontId : endpoints.backId;
|
|
508
|
+
}
|
|
505
509
|
const SHARPNESS_THRESHOLD = 10;
|
|
506
510
|
const GLARE_THRESHOLD = 10;
|
|
507
511
|
const DEFAULT_ID_CAPTURE_THRESHOLDS$1 = {
|
|
@@ -606,7 +610,7 @@ async function getExtraImages(params) {
|
|
|
606
610
|
}
|
|
607
611
|
const getRealQualityValue = (value) => (1 - value) * 100;
|
|
608
612
|
async function uploadIdImage(params) {
|
|
609
|
-
const { type, image, onProgress, signal, metadata, ageAssurance, glare, sharpness, shouldSkipGlareBack, analyticsProvider, imageData } = params;
|
|
613
|
+
const { type, image, onProgress, signal, metadata, ageAssurance, glare, sharpness, shouldSkipGlareBack, analyticsProvider, imageData, isSecondId } = params;
|
|
610
614
|
addEvent({
|
|
611
615
|
code: "captureAttemptFinished",
|
|
612
616
|
module: eventModuleNames.id,
|
|
@@ -627,7 +631,7 @@ async function uploadIdImage(params) {
|
|
|
627
631
|
} catch (error) {
|
|
628
632
|
console.warn("[IdCapture] Analytics failed:", error);
|
|
629
633
|
}
|
|
630
|
-
const endpoint = type
|
|
634
|
+
const endpoint = getUploadEndpoint(type, isSecondId);
|
|
631
635
|
const body = {
|
|
632
636
|
base64Image: image,
|
|
633
637
|
metadata: finalMetadata
|
|
@@ -1085,7 +1089,8 @@ const uploadIdImageActor = fromPromise(async ({ input, signal }) => {
|
|
|
1085
1089
|
onProgress: input.onProgress,
|
|
1086
1090
|
metadata,
|
|
1087
1091
|
analyticsProvider: input.analyticsProvider,
|
|
1088
|
-
imageData
|
|
1092
|
+
imageData,
|
|
1093
|
+
isSecondId: input.isSecondId
|
|
1089
1094
|
});
|
|
1090
1095
|
});
|
|
1091
1096
|
const processIdActor = fromPromise(async ({ input, signal }) => {
|
|
@@ -2017,7 +2022,8 @@ const _idCaptureMachine = setup({
|
|
|
2017
2022
|
});
|
|
2018
2023
|
},
|
|
2019
2024
|
deepsightService: context.deepsightService,
|
|
2020
|
-
stream: context.stream
|
|
2025
|
+
stream: context.stream,
|
|
2026
|
+
isSecondId: context.config.isSecondId ?? false
|
|
2021
2027
|
};
|
|
2022
2028
|
},
|
|
2023
2029
|
onDone: {
|
package/dist/id.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
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-
|
|
1
|
+
import "./events-BvAMgEuE.esm.js";
|
|
2
|
+
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-rO0YXNl_.esm.js";
|
|
3
3
|
import { i as IdCaptureProvider } from "./src-BfSGepfs.esm.js";
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import "./streamingEvents-
|
|
4
|
+
import "./endpoints-CAXIQnl3.esm.js";
|
|
5
|
+
import "./streamingEvents-BCUCioa1.esm.js";
|
|
6
6
|
import "./deepsightService-B_mt2btN.esm.js";
|
|
7
7
|
import "./api-CmRbOLxk.esm.js";
|
|
8
8
|
import "./stats-Bv2CLzQ0.esm.js";
|
package/dist/index.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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 { _ 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-
|
|
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-BvAMgEuE.esm.js";
|
|
2
|
+
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-rO0YXNl_.esm.js";
|
|
3
3
|
import { D as createApi_default, i as IdCaptureProvider, o as warmupWasm, r as WasmUtilProvider } from "./src-BfSGepfs.esm.js";
|
|
4
|
-
import "./endpoints-
|
|
5
|
-
import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-
|
|
4
|
+
import "./endpoints-CAXIQnl3.esm.js";
|
|
5
|
+
import { c as getDeviceClass, l as getBrowser, o as checkPermission, s as requestPermission } from "./streamingEvents-BCUCioa1.esm.js";
|
|
6
6
|
import "./deepsightService-B_mt2btN.esm.js";
|
|
7
7
|
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-CmRbOLxk.esm.js";
|
|
8
8
|
import "./stats-Bv2CLzQ0.esm.js";
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-BvAMgEuE.esm.js";
|
|
2
2
|
import { E as createManager, p as BrowserTimerProvider } from "./src-BfSGepfs.esm.js";
|
|
3
|
-
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-
|
|
3
|
+
import { a as fromPromise, i as fromCallback, n as setup, o as createActor, r as assign, t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
4
4
|
import { t as api } from "./api-CmRbOLxk.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/phone/phoneServices.ts
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-BvAMgEuE.esm.js";
|
|
2
2
|
import { m as BrowserStorageProvider, r as WasmUtilProvider } from "./src-BfSGepfs.esm.js";
|
|
3
|
-
import { a as fromPromise, o as createActor, r as assign } from "./endpoints-
|
|
4
|
-
import "./streamingEvents-
|
|
3
|
+
import { a as fromPromise, o as createActor, r as assign } from "./endpoints-CAXIQnl3.esm.js";
|
|
4
|
+
import "./streamingEvents-BCUCioa1.esm.js";
|
|
5
5
|
import "./deepsightService-B_mt2btN.esm.js";
|
|
6
6
|
import "./api-CmRbOLxk.esm.js";
|
|
7
7
|
import "./stats-Bv2CLzQ0.esm.js";
|
|
8
|
-
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-
|
|
8
|
+
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-CsQR0xAH.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
11
11
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as getUserAgent, O as getDeviceInfo, T as stopCameraStream, l as MotionSensorProvider, w as requestCameraAccess, y as queryCameraPermission } from "./src-BfSGepfs.esm.js";
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
2
|
+
import { t as endpoints } from "./endpoints-CAXIQnl3.esm.js";
|
|
3
3
|
import { t as api } from "./api-CmRbOLxk.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/device/getBrowser.ts
|