@incodetech/core 0.0.0-dev-20260313-bc2dab4 → 0.0.0-dev-20260317-ce5d28b
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/addressSearch-B446UZn4.esm.js +423 -0
- package/dist/authentication.d.ts +10 -10
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-DQL9XsaI.d.ts → authenticationManager-BWtUIJXV.d.ts} +2 -2
- package/dist/{authenticationManager-4j4j8ac9.esm.js → authenticationManager-IChdnUM9.esm.js} +3 -3
- package/dist/{backCameraStream-4aLwsDOv.esm.js → backCameraStream-DDzfvhxo.esm.js} +1 -1
- package/dist/curp-validation.d.ts +4 -4
- package/dist/curp-validation.esm.js +1 -1
- package/dist/{deepsightLoader-C-Xil8cg.esm.js → deepsightLoader-IPtIRYqd.esm.js} +2 -2
- package/dist/{deepsightService-UhtHJCFb.d.ts → deepsightService-CP5OM4Fc.d.ts} +1 -1
- package/dist/{deepsightService-BgqD33AH.esm.js → deepsightService-Ca85OHZ-.esm.js} +1 -1
- package/dist/document-capture.d.ts +37 -37
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +2 -2
- package/dist/ekyb.d.ts +16 -5
- package/dist/ekyb.esm.js +241 -61
- package/dist/ekyc.d.ts +2 -12
- package/dist/ekyc.esm.js +31 -194
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-e7j__XBB.esm.js → emailManager-BRFO9OW6.esm.js} +1 -1
- package/dist/{emailManager-DZeOYBQ6.d.ts → emailManager-DcYzBeT-.d.ts} +2 -2
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +10 -10
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-CiQWYHp2.d.ts → faceCaptureManagerFactory-Dm3dO_r0.d.ts} +7 -7
- package/dist/{faceCaptureSetup-CF9TJlsc.esm.js → faceCaptureSetup-I9wFuT1d.esm.js} +4 -4
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +5 -83
- package/dist/flowServices-B5YbZJ7r.esm.js +83 -0
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +1 -1
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +1 -1
- package/dist/id.d.ts +9 -9
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-B9BsU7-M.esm.js → idCaptureManager-BdlS0WrG.esm.js} +5 -5
- package/dist/{idCaptureManager-D8FwP0TW.d.ts → idCaptureManager-dTZ7KTot.d.ts} +6 -6
- package/dist/index.d.ts +10 -10
- package/dist/index.esm.js +5 -5
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-BsamACjL.d.ts → phoneManager-BwJpxm-D.d.ts} +2 -2
- package/dist/{phoneManager-B6fNmxhw.esm.js → phoneManager-TWj65pNG.esm.js} +1 -1
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/selfie.d.ts +10 -10
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-ByV0akn-.esm.js → selfieManager-BeVNeGVa.esm.js} +2 -2
- package/dist/{selfieManager-Czysy-lv.d.ts → selfieManager-BgSkTLJj.d.ts} +2 -2
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +1 -1
- package/dist/{src-BmVrWkLJ.esm.js → src-D0bFtylT.esm.js} +1 -1
- package/dist/{streamingEvents-Cw6kqXEh.esm.js → streamingEvents-BjxVqrJP.esm.js} +1 -1
- package/dist/{types-BugcSDaO.d.ts → types-BHnsBsl_.d.ts} +1 -1
- package/dist/{types-DTieLton.d.ts → types-CWa0DQcn.d.ts} +12 -1
- package/dist/{types-C9Jo2XOb.d.ts → types-seztsdvN.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/usStates-vWM_ZgEH.esm.js +0 -210
- /package/dist/{Actor-BAf9LRYf.d.ts → Actor-D3GOC38V.d.ts} +0 -0
- /package/dist/{Manager-CXnC-tN_.d.ts → Manager-DsNvecSe.d.ts} +0 -0
- /package/dist/{StateMachine-DJpZF_HP.d.ts → StateMachine-BFurBmbZ.d.ts} +0 -0
- /package/dist/{camera-DDn9ILon.d.ts → camera-Bzi6CMAW.d.ts} +0 -0
- /package/dist/{flowCompletionService-D4YDcHQR.d.ts → flowCompletionService-BiICW3B-.d.ts} +0 -0
- /package/dist/{flowCompletionService-CV8Ywiut.esm.js → flowCompletionService-D1bhU2uN.esm.js} +0 -0
- /package/dist/{index-BtQzTfU9.d.ts → index-Km_6UPBI.d.ts} +0 -0
- /package/dist/{lib-COh1FH9n.esm.js → lib-DJozC192.esm.js} +0 -0
- /package/dist/{warmup-Bp_1oXoL.d.ts → warmup-4e5k___O.d.ts} +0 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { t as api } from "./api-C2uzxrpN.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-IAlXA1zN.esm.js";
|
|
3
|
+
|
|
4
|
+
//#region src/modules/flow/flowUtils.ts
|
|
5
|
+
const WASM_MODULE_PIPELINES = {
|
|
6
|
+
SELFIE: "selfie",
|
|
7
|
+
AUTHENTICATION: "selfie",
|
|
8
|
+
FACE_MATCH: "selfie",
|
|
9
|
+
VIDEO_ONBOARDING: "selfie",
|
|
10
|
+
ID: "idCapture",
|
|
11
|
+
TUTORIAL_ID: "idCapture",
|
|
12
|
+
SECOND_ID: "idCapture"
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Analyzes a flow configuration and returns the WASM pipelines needed.
|
|
16
|
+
* Use this to conditionally warmup WASM only when required by the flow.
|
|
17
|
+
*
|
|
18
|
+
* @param flow - The flow configuration from /omni/onboarding/flow
|
|
19
|
+
* @returns Array of WASM pipelines needed (e.g., ['selfie', 'idCapture'])
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```typescript
|
|
23
|
+
* const pipelines = getRequiredWasmPipelines(flow);
|
|
24
|
+
* if (pipelines.length > 0) {
|
|
25
|
+
* warmupWasm({ ...wasmConfig, pipelines });
|
|
26
|
+
* }
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
function getRequiredWasmPipelines(flow) {
|
|
30
|
+
const pipelines = /* @__PURE__ */ new Set();
|
|
31
|
+
for (const module of flow.flowModules) {
|
|
32
|
+
const pipeline = WASM_MODULE_PIPELINES[module.key];
|
|
33
|
+
if (pipeline) pipelines.add(pipeline);
|
|
34
|
+
}
|
|
35
|
+
return [...pipelines];
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Normalizes flow modules by expanding TUTORIAL_ID into ID + SECOND_ID
|
|
39
|
+
* based on configuration flags. Matches legacy flowService behavior.
|
|
40
|
+
*
|
|
41
|
+
* - TUTORIAL_ID becomes ID (with same config)
|
|
42
|
+
* - If secondId: true, adds SECOND_ID module with isSecondId: true
|
|
43
|
+
* - thirdId is deprecated and ignored; the flow continues to the next step
|
|
44
|
+
* - Bare ID following TUTORIAL_ID is dropped (already merged)
|
|
45
|
+
*/
|
|
46
|
+
function normalizeFlowModules(modules) {
|
|
47
|
+
return modules.flatMap((module, idx, arr) => {
|
|
48
|
+
if (module.key === "TUTORIAL_ID") {
|
|
49
|
+
const idConfig = module.configuration;
|
|
50
|
+
const result = [{
|
|
51
|
+
key: "ID",
|
|
52
|
+
configuration: idConfig
|
|
53
|
+
}];
|
|
54
|
+
if (idConfig.secondId) result.push({
|
|
55
|
+
key: "SECOND_ID",
|
|
56
|
+
configuration: {
|
|
57
|
+
...idConfig,
|
|
58
|
+
isSecondId: true
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
return result;
|
|
62
|
+
}
|
|
63
|
+
const prev = arr[idx - 1];
|
|
64
|
+
if (module.key === "ID" && prev?.key === "TUTORIAL_ID") return [];
|
|
65
|
+
return [module];
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
//#endregion
|
|
70
|
+
//#region src/modules/flow/flowServices.ts
|
|
71
|
+
const getFlow = async (signal) => {
|
|
72
|
+
const res = await api.get(endpoints.flow, { signal });
|
|
73
|
+
if (!res.ok) throw new Error(`GET /flow failed: ${res.status} ${res.statusText}`);
|
|
74
|
+
const data = res.data;
|
|
75
|
+
const normalizedModules = normalizeFlowModules(data.flowModules ?? []);
|
|
76
|
+
return {
|
|
77
|
+
...data,
|
|
78
|
+
flowModules: normalizedModules
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
//#endregion
|
|
83
|
+
export { getRequiredWasmPipelines as n, normalizeFlowModules as r, getFlow as t };
|
package/dist/geolocation.d.ts
CHANGED
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as addEvent, n as eventModuleNames } from "./events-3HzCcoEy.esm.js";
|
|
2
|
-
import { A as createManager, F as isAndroid, L as isIOS, b as BrowserGeolocationProvider } from "./src-
|
|
2
|
+
import { A as createManager, F as isAndroid, L as isIOS, b as BrowserGeolocationProvider } from "./src-D0bFtylT.esm.js";
|
|
3
3
|
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-CcoTezCZ.esm.js";
|
|
4
4
|
import { t as api } from "./api-C2uzxrpN.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-IAlXA1zN.esm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as createManager, g as BrowserTimerProvider } from "./src-
|
|
1
|
+
import { A as createManager, g as BrowserTimerProvider } from "./src-D0bFtylT.esm.js";
|
|
2
2
|
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CcoTezCZ.esm.js";
|
|
3
3
|
import { t as api } from "./api-C2uzxrpN.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-IAlXA1zN.esm.js";
|
package/dist/id.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-
|
|
2
|
-
import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-
|
|
3
|
-
import "./Manager-
|
|
4
|
-
import { t as CameraStream } from "./camera-
|
|
5
|
-
import "./Actor-
|
|
6
|
-
import "./StateMachine-
|
|
7
|
-
import "./types-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./index-
|
|
1
|
+
import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-dTZ7KTot.js";
|
|
2
|
+
import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-CP5OM4Fc.js";
|
|
3
|
+
import "./Manager-DsNvecSe.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
5
|
+
import "./Actor-D3GOC38V.js";
|
|
6
|
+
import "./StateMachine-BFurBmbZ.js";
|
|
7
|
+
import "./types-BHnsBsl_.js";
|
|
8
|
+
import "./types-seztsdvN.js";
|
|
9
|
+
import "./index-Km_6UPBI.js";
|
|
10
10
|
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,12 +1,12 @@
|
|
|
1
1
|
import "./events-3HzCcoEy.esm.js";
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
2
|
+
import "./backCameraStream-DDzfvhxo.esm.js";
|
|
3
|
+
import "./src-D0bFtylT.esm.js";
|
|
4
4
|
import "./xstate.esm-CcoTezCZ.esm.js";
|
|
5
|
-
import "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
5
|
+
import "./streamingEvents-BjxVqrJP.esm.js";
|
|
6
|
+
import "./deepsightService-Ca85OHZ-.esm.js";
|
|
7
7
|
import "./api-C2uzxrpN.esm.js";
|
|
8
8
|
import "./endpoints-IAlXA1zN.esm.js";
|
|
9
|
-
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-
|
|
9
|
+
import { a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, i as idCaptureMachine, l as stopStream, o as processId, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage } from "./idCaptureManager-BdlS0WrG.esm.js";
|
|
10
10
|
import "./stats-kLtQIgsA.esm.js";
|
|
11
11
|
import "./id-A_upgNRR.esm.js";
|
|
12
12
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-3HzCcoEy.esm.js";
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import { A as createManager, I as isDesktop, N as getWindowDimensions, S as StreamCanvasCapture, T as IncodeCanvas, _ as BrowserStorageProvider, d as OpenViduRecordingProvider, g as BrowserTimerProvider, h as FingerprintProvider, i as DEFAULT_ID_CAPTURE_THRESHOLDS, m as IpifyProvider, o as IdCaptureProvider, r as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as BrowserInfoProvider, x as StreamCanvasProcessingSession, y as BrowserEnvironmentProvider } from "./src-
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-DDzfvhxo.esm.js";
|
|
3
|
+
import { A as createManager, I as isDesktop, N as getWindowDimensions, S as StreamCanvasCapture, T as IncodeCanvas, _ as BrowserStorageProvider, d as OpenViduRecordingProvider, g as BrowserTimerProvider, h as FingerprintProvider, i as DEFAULT_ID_CAPTURE_THRESHOLDS, m as IpifyProvider, o as IdCaptureProvider, r as DEFAULT_ID_CAPTURE_MODEL_VERSION, v as BrowserInfoProvider, x as StreamCanvasProcessingSession, y as BrowserEnvironmentProvider } from "./src-D0bFtylT.esm.js";
|
|
4
4
|
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CcoTezCZ.esm.js";
|
|
5
|
-
import { i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-
|
|
6
|
-
import { n as isBrowserSimulation } from "./deepsightService-
|
|
5
|
+
import { i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-BjxVqrJP.esm.js";
|
|
6
|
+
import { n as isBrowserSimulation } from "./deepsightService-Ca85OHZ-.esm.js";
|
|
7
7
|
import { n as getApi, r as getToken, t as api } from "./api-C2uzxrpN.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-IAlXA1zN.esm.js";
|
|
9
9
|
import { t as addDeviceStats } from "./stats-kLtQIgsA.esm.js";
|
|
@@ -898,7 +898,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
|
|
|
898
898
|
});
|
|
899
899
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
900
900
|
if (!input.dependencies) return;
|
|
901
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
901
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-IPtIRYqd.esm.js");
|
|
902
902
|
return loadDeepsightSession({
|
|
903
903
|
ds: input.ds,
|
|
904
904
|
storage: input.dependencies.storage,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as IStorageCapability, c as IMotionSensorCapability, d as IncodeCanvas, i as StreamCanvasCapture, l as IMLProviderCapability, n as PermissionResult, o as IRecordingCapability, r as PermissionStatus, s as RecordingConnection, t as DeepsightService, u as MLProviderConfig } from "./deepsightService-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import { t as CameraStream } from "./camera-
|
|
4
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
5
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
6
|
-
import { i as TutorialIdConfig, t as Flow } from "./types-
|
|
1
|
+
import { a as IStorageCapability, c as IMotionSensorCapability, d as IncodeCanvas, i as StreamCanvasCapture, l as IMLProviderCapability, n as PermissionResult, o as IRecordingCapability, r as PermissionStatus, s as RecordingConnection, t as DeepsightService, u as MLProviderConfig } from "./deepsightService-CP5OM4Fc.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
3
|
+
import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
4
|
+
import { t as ActorRefFrom } from "./Actor-D3GOC38V.js";
|
|
5
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BFurBmbZ.js";
|
|
6
|
+
import { i as TutorialIdConfig, t as Flow } from "./types-seztsdvN.js";
|
|
7
7
|
|
|
8
8
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
9
9
|
interface IAnalyticsCapability {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-
|
|
2
|
-
import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-
|
|
3
|
-
import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-
|
|
4
|
-
import "./Manager-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import "./Actor-
|
|
7
|
-
import "./StateMachine-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import "./index-
|
|
1
|
+
import { A as IdCaptureEvent, B as UploadIdResponse, C as CapturedImage, D as IdCaptureConfig, E as ID_ERROR_CODES, F as IdDocumentType, H as IdCaptureSettings, I as IdError, L as IdErrorCode, M as IdCaptureInput, N as IdCaptureMode, O as IdCaptureContext, P as IdCaptureThresholds, R as IdFlowStep, S as CaptureIdResponse, T as DetectionStatus, V as DetectionOrientation, _ as CreateIdCaptureActorOptions, a as IdCaptureInitResult, b as IdCaptureMachine, c as UploadIdImageParams, d as processId, f as startRecordingSession, g as validateUploadResponse, h as uploadIdImage, j as IdCaptureGeometry, k as IdCaptureDependencies, l as ValidationError, m as stopStream, n as IdCaptureState, o as InitializeIdCaptureParams, p as stopRecording, r as createIdCaptureManager, s as StartRecordingParams, t as IdCaptureManager, u as initializeIdCapture, v as IdCaptureActor, w as DetectionArea, x as idCaptureMachine, y as createIdCaptureActor, z as RecordingSession } from "./idCaptureManager-dTZ7KTot.js";
|
|
2
|
+
import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-CP5OM4Fc.js";
|
|
3
|
+
import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-4e5k___O.js";
|
|
4
|
+
import "./Manager-DsNvecSe.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
6
|
+
import "./Actor-D3GOC38V.js";
|
|
7
|
+
import "./StateMachine-BFurBmbZ.js";
|
|
8
|
+
import "./types-BHnsBsl_.js";
|
|
9
|
+
import "./types-seztsdvN.js";
|
|
10
|
+
import "./index-Km_6UPBI.js";
|
|
11
11
|
|
|
12
12
|
//#region ../infra/src/capabilities/IScreenOrientationCapability.d.ts
|
|
13
13
|
type ScreenOrientationState = 'portrait' | 'landscape';
|
package/dist/index.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
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-3HzCcoEy.esm.js";
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import { R as isIPad, a as WasmUtilProvider, c as warmupWasm, j as createApi_default, n as buildDefaultWasmConfig, t as DEFAULT_WASM_VERSION, u as ScreenOrientationProvider } from "./src-
|
|
2
|
+
import "./backCameraStream-DDzfvhxo.esm.js";
|
|
3
|
+
import { R as isIPad, a as WasmUtilProvider, c as warmupWasm, j as createApi_default, n as buildDefaultWasmConfig, t as DEFAULT_WASM_VERSION, u as ScreenOrientationProvider } from "./src-D0bFtylT.esm.js";
|
|
4
4
|
import "./xstate.esm-CcoTezCZ.esm.js";
|
|
5
|
-
import { c as createScreenOrientationObserver, l as getDeviceClass, o as checkPermission, s as requestPermission, u as getBrowser } from "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
5
|
+
import { c as createScreenOrientationObserver, l as getDeviceClass, o as checkPermission, s as requestPermission, u as getBrowser } from "./streamingEvents-BjxVqrJP.esm.js";
|
|
6
|
+
import "./deepsightService-Ca85OHZ-.esm.js";
|
|
7
7
|
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-C2uzxrpN.esm.js";
|
|
8
8
|
import "./endpoints-IAlXA1zN.esm.js";
|
|
9
|
-
import { _ as resetSessionInit, a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, g as isSessionInitialized, h as initializeSession, i as idCaptureMachine, l as stopStream, m as getSessionFeatures, o as processId, p as getDisableIpify, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage, v as createSession } from "./idCaptureManager-
|
|
9
|
+
import { _ as resetSessionInit, a as initializeIdCapture, c as stopRecording, d as validateUploadResponse, f as ID_ERROR_CODES, g as isSessionInitialized, h as initializeSession, i as idCaptureMachine, l as stopStream, m as getSessionFeatures, o as processId, p as getDisableIpify, r as createIdCaptureActor, s as startRecordingSession, t as createIdCaptureManager, u as uploadIdImage, v as createSession } from "./idCaptureManager-BdlS0WrG.esm.js";
|
|
10
10
|
import "./stats-kLtQIgsA.esm.js";
|
|
11
11
|
import "./id-A_upgNRR.esm.js";
|
|
12
12
|
|
package/dist/phone.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./Manager-
|
|
2
|
-
import "./Actor-
|
|
3
|
-
import { a as phoneMachine, n as PhoneState, o as PhoneConfig, r as createPhoneManager, t as PhoneManager } from "./phoneManager-
|
|
1
|
+
import "./Manager-DsNvecSe.js";
|
|
2
|
+
import "./Actor-D3GOC38V.js";
|
|
3
|
+
import { a as phoneMachine, n as PhoneState, o as PhoneConfig, r as createPhoneManager, t as PhoneManager } from "./phoneManager-BwJpxm-D.js";
|
|
4
4
|
export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./events-3HzCcoEy.esm.js";
|
|
2
|
-
import "./src-
|
|
2
|
+
import "./src-D0bFtylT.esm.js";
|
|
3
3
|
import "./xstate.esm-CcoTezCZ.esm.js";
|
|
4
4
|
import "./api-C2uzxrpN.esm.js";
|
|
5
5
|
import "./endpoints-IAlXA1zN.esm.js";
|
|
6
|
-
import { r as phoneMachine, t as createPhoneManager } from "./phoneManager-
|
|
6
|
+
import { r as phoneMachine, t as createPhoneManager } from "./phoneManager-TWj65pNG.esm.js";
|
|
7
7
|
|
|
8
8
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
1
|
+
import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-D3GOC38V.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/phone/types.d.ts
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-3HzCcoEy.esm.js";
|
|
2
|
-
import { A as createManager, g as BrowserTimerProvider } from "./src-
|
|
2
|
+
import { A as createManager, g as BrowserTimerProvider } from "./src-D0bFtylT.esm.js";
|
|
3
3
|
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CcoTezCZ.esm.js";
|
|
4
4
|
import { t as api } from "./api-C2uzxrpN.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-IAlXA1zN.esm.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as createManager, g as BrowserTimerProvider } from "./src-
|
|
1
|
+
import { A as createManager, g as BrowserTimerProvider } from "./src-D0bFtylT.esm.js";
|
|
2
2
|
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-CcoTezCZ.esm.js";
|
|
3
3
|
import { t as api } from "./api-C2uzxrpN.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-IAlXA1zN.esm.js";
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as PermissionResult, r as PermissionStatus, t as DeepsightService } from "./deepsightService-
|
|
2
|
-
import { _ as DetectionStatus, a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as FaceErrorCode } from "./faceCaptureManagerFactory-
|
|
3
|
-
import "./warmup-
|
|
4
|
-
import "./Manager-
|
|
5
|
-
import { t as CameraStream } from "./camera-
|
|
6
|
-
import "./Actor-
|
|
7
|
-
import "./StateMachine-
|
|
8
|
-
import "./types-
|
|
9
|
-
import "./types-
|
|
10
|
-
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
1
|
+
import { n as PermissionResult, r as PermissionStatus, t as DeepsightService } from "./deepsightService-CP5OM4Fc.js";
|
|
2
|
+
import { _ as DetectionStatus, a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as FaceErrorCode } from "./faceCaptureManagerFactory-Dm3dO_r0.js";
|
|
3
|
+
import "./warmup-4e5k___O.js";
|
|
4
|
+
import "./Manager-DsNvecSe.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-Bzi6CMAW.js";
|
|
6
|
+
import "./Actor-D3GOC38V.js";
|
|
7
|
+
import "./StateMachine-BFurBmbZ.js";
|
|
8
|
+
import "./types-BHnsBsl_.js";
|
|
9
|
+
import "./types-seztsdvN.js";
|
|
10
|
+
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-BgSkTLJj.js";
|
|
11
11
|
export { type CameraStream, type DeepsightService, type DetectionStatus, type FaceErrorCode, type PermissionResult, type PermissionStatus, type ProcessFaceResponse, type SelfieConfig, type SelfieMachine, type SelfieManager, type SelfieState, createSelfieManager, processFace, selfieMachine };
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./events-3HzCcoEy.esm.js";
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
2
|
+
import "./backCameraStream-DDzfvhxo.esm.js";
|
|
3
|
+
import "./src-D0bFtylT.esm.js";
|
|
4
4
|
import "./xstate.esm-CcoTezCZ.esm.js";
|
|
5
|
-
import "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
5
|
+
import "./streamingEvents-BjxVqrJP.esm.js";
|
|
6
|
+
import "./deepsightService-Ca85OHZ-.esm.js";
|
|
7
7
|
import "./api-C2uzxrpN.esm.js";
|
|
8
8
|
import "./endpoints-IAlXA1zN.esm.js";
|
|
9
9
|
import "./stats-kLtQIgsA.esm.js";
|
|
10
|
-
import { r as processFace } from "./faceCaptureSetup-
|
|
11
|
-
import { r as selfieMachine, t as createSelfieManager } from "./selfieManager-
|
|
10
|
+
import { r as processFace } from "./faceCaptureSetup-I9wFuT1d.esm.js";
|
|
11
|
+
import { r as selfieMachine, t as createSelfieManager } from "./selfieManager-BeVNeGVa.esm.js";
|
|
12
12
|
|
|
13
13
|
export { createSelfieManager, processFace, selfieMachine };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as addEvent, n as eventModuleNames } from "./events-3HzCcoEy.esm.js";
|
|
2
|
-
import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-
|
|
2
|
+
import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-D0bFtylT.esm.js";
|
|
3
3
|
import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-CcoTezCZ.esm.js";
|
|
4
|
-
import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManagerFromActor, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-
|
|
4
|
+
import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManagerFromActor, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-I9wFuT1d.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
7
7
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
1
|
+
import { i as SelfieActor, n as FaceCaptureManagerState, r as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-Dm3dO_r0.js";
|
|
2
|
+
import { t as Manager } from "./Manager-DsNvecSe.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
5
5
|
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
package/dist/session.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-BiICW3B-.js";
|
|
2
2
|
export { type FinishStatus, type GetFinishStatusFn, getFinishStatus };
|
package/dist/session.esm.js
CHANGED
|
@@ -4419,7 +4419,7 @@ var MotionSensorProvider = class {
|
|
|
4419
4419
|
let openViduImport;
|
|
4420
4420
|
async function loadOpenVidu() {
|
|
4421
4421
|
if (openViduImport) return openViduImport;
|
|
4422
|
-
openViduImport = import("./lib-
|
|
4422
|
+
openViduImport = import("./lib-DJozC192.esm.js").then(__toDynamicImportESM(1));
|
|
4423
4423
|
return openViduImport;
|
|
4424
4424
|
}
|
|
4425
4425
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as queryCameraPermission, M as getDeviceInfo, O as requestCameraAccess, P as getUserAgent, R as isIPad, f as MotionSensorProvider, k as stopCameraStream } from "./src-
|
|
1
|
+
import { C as queryCameraPermission, M as getDeviceInfo, O as requestCameraAccess, P as getUserAgent, R as isIPad, f as MotionSensorProvider, k as stopCameraStream } from "./src-D0bFtylT.esm.js";
|
|
2
2
|
import { t as api } from "./api-C2uzxrpN.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-IAlXA1zN.esm.js";
|
|
4
4
|
|
|
@@ -17,5 +17,16 @@ type FieldDef = {
|
|
|
17
17
|
section?: string;
|
|
18
18
|
disableCountrySelector?: boolean;
|
|
19
19
|
};
|
|
20
|
+
/** An address suggestion returned by the address autocomplete API. */
|
|
21
|
+
type AddressSuggestion = {
|
|
22
|
+
id: string | number;
|
|
23
|
+
label: string;
|
|
24
|
+
street?: string;
|
|
25
|
+
city?: string;
|
|
26
|
+
stateCode?: string;
|
|
27
|
+
postalCode?: string;
|
|
28
|
+
houseNumber?: string;
|
|
29
|
+
countryCode?: string;
|
|
30
|
+
};
|
|
20
31
|
//#endregion
|
|
21
|
-
export { FieldDef as t };
|
|
32
|
+
export { FieldDef as n, AddressSuggestion 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-20260317-ce5d28b",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.esm.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -90,8 +90,8 @@
|
|
|
90
90
|
"tsdown": "^0.16.6",
|
|
91
91
|
"typescript": "^5.9.3",
|
|
92
92
|
"vitest": "^4.0.13",
|
|
93
|
-
"@incodetech/
|
|
94
|
-
"@incodetech/
|
|
93
|
+
"@incodetech/infra": "1.0.0",
|
|
94
|
+
"@incodetech/config": "1.0.0"
|
|
95
95
|
},
|
|
96
96
|
"scripts": {
|
|
97
97
|
"build": "tsdown -c tsdown.config.ts",
|