@incodetech/core 0.0.0-dev-20260304-fb1914c → 0.0.0-dev-20260306-aac8dd3
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 +9 -8
- package/dist/authentication.esm.js +10 -10
- package/dist/{backCameraStream-CvzBcQqz.esm.js → backCameraStream-DXS4n4yS.esm.js} +1 -1
- package/dist/camera-HI2fNiV5.d.ts +4 -0
- package/dist/curp-validation.d.ts +4 -3
- package/dist/curp-validation.esm.js +5 -5
- package/dist/{deepsightLoader-BYoe0Nsv.esm.js → deepsightLoader-CCuD-pzB.esm.js} +4 -4
- package/dist/{deepsightService-nqR8Q7AS.esm.js → deepsightService-D2rnPj53.esm.js} +3 -3
- package/dist/{deepsightService-BpVsx9qI.d.ts → deepsightService-Dv1ILk27.d.ts} +1 -1
- package/dist/document-capture.d.ts +660 -0
- package/dist/document-capture.esm.js +428 -0
- package/dist/document-upload.d.ts +49 -48
- package/dist/document-upload.esm.js +5 -5
- package/dist/ekyb.d.ts +2 -2
- package/dist/ekyb.esm.js +6 -6
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +6 -6
- package/dist/email.d.ts +1 -1
- package/dist/email.esm.js +5 -5
- package/dist/{endpoints-DZ8tQH8V.esm.js → endpoints-PMCuQkqs.esm.js} +4 -0
- package/dist/{events-B4Z68p21.esm.js → events-Bf73PAdv.esm.js} +2 -2
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +5 -5
- package/dist/{faceCaptureManagerFactory-tyJQU0bQ.d.ts → faceCaptureManagerFactory-CftLkmnH.d.ts} +5 -5
- package/dist/{faceCaptureSetup-C6JFWLvG.esm.js → faceCaptureSetup-D3cIjwWO.esm.js} +9 -9
- package/dist/flow.d.ts +7 -6
- package/dist/flow.esm.js +5 -5
- package/dist/{flowCompletionService-BxrOI23Q.esm.js → flowCompletionService-C2Cjw8WY.esm.js} +2 -2
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +5 -5
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +4 -4
- package/dist/{id-B_LxGdTF.esm.js → id-CbVfoXco.esm.js} +10 -10
- package/dist/id.d.ts +9 -8
- package/dist/id.esm.js +10 -10
- package/dist/{index-BRPR-rem.d.ts → index-_guGVj8K.d.ts} +7 -7
- package/dist/index.d.ts +47 -10
- package/dist/index.esm.js +11 -11
- package/dist/{lib-DhQ9gAaS.esm.js → lib-DVaeY7hq.esm.js} +1 -1
- package/dist/phone.d.ts +1 -1
- package/dist/phone.esm.js +5 -5
- package/dist/selfie.d.ts +9 -8
- package/dist/selfie.esm.js +10 -10
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +3 -3
- package/dist/{src-jvUXRQjK.esm.js → src-BJhTmsja.esm.js} +77 -3
- package/dist/{stats-CIdlLJwO.esm.js → stats-De--Z9N5.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{streamingEvents-evH8YUFP.esm.js → streamingEvents-BAYT4t4N.esm.js} +21 -4
- package/dist/{types-Cd8ODk69.d.ts → types-B_l5fu_D.d.ts} +4 -4
- package/dist/{types-CCmurMLG.d.ts → types-BcGRS3lW.d.ts} +1 -1
- package/package.json +5 -1
- /package/dist/{Actor-BWuqxR_a.d.ts → Actor-SKZvDOCc.d.ts} +0 -0
- /package/dist/{Manager-WfeWDo3j.d.ts → Manager-CVog-etk.d.ts} +0 -0
- /package/dist/{StateMachine-DQeBZwAJ.d.ts → StateMachine-Coiuk0UD.d.ts} +0 -0
- /package/dist/{api-utDuOVDZ.esm.js → api-CdJjfxTX.esm.js} +0 -0
- /package/dist/{chunk-B6vU4TSh.esm.js → chunk-3Wl3T5mL.esm.js} +0 -0
- /package/dist/{flowCompletionService-CSeT3Po7.d.ts → flowCompletionService-DtL1jOz4.d.ts} +0 -0
- /package/dist/{types-M1Q7M45h.d.ts → types-dSdX5z-n.d.ts} +0 -0
- /package/dist/{types-CnKs94Sr.d.ts → types-vXjqO0B-.d.ts} +0 -0
- /package/dist/{usStates-BAjX-Al7.esm.js → usStates-IoVg25OV.esm.js} +0 -0
- /package/dist/{warmup-G1qbIG0g.d.ts → warmup-CO10kO5G.d.ts} +0 -0
- /package/dist/{xstate.esm-Be4HOnoi.esm.js → xstate.esm-yA5caGbx.esm.js} +0 -0
package/dist/ekyc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Manager } from "./Manager-
|
|
2
|
-
import { t as FieldDef } from "./types-
|
|
1
|
+
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
2
|
+
import { t as FieldDef } from "./types-vXjqO0B-.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/ekyc/types.d.ts
|
|
5
5
|
type EkycFieldSource = 'user_input' | 'document_scan' | 'poa_document' | 'phone_module_input' | 'email_module_input' | false;
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import {
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
6
|
-
import { t as usStateOptions } from "./usStates-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import { O as createManager, m as BrowserTimerProvider } from "./src-BJhTmsja.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
4
|
+
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
6
|
+
import { t as usStateOptions } from "./usStates-IoVg25OV.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
9
9
|
var metadata_min_json_default = {
|
package/dist/email.d.ts
CHANGED
package/dist/email.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import {
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import { O as createManager, m as BrowserTimerProvider } from "./src-BJhTmsja.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
4
|
+
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/email/emailServices.ts
|
|
8
8
|
async function fetchEmail(signal) {
|
|
@@ -45,6 +45,10 @@ const endpoints = {
|
|
|
45
45
|
otpStatus: "/omni/session/otp-status",
|
|
46
46
|
moduleConfig: "/omni/flow/onboarding/configuration",
|
|
47
47
|
addDocument: "/omni/add/document/v2",
|
|
48
|
+
addressStatement: "/omni/add/address-statement/v2",
|
|
49
|
+
documentV3: "/omni/add/document/v3",
|
|
50
|
+
documentLegacy: "/omni/add/document",
|
|
51
|
+
cfdi: "/omni/process/cfdi",
|
|
48
52
|
finishStatus: "/omni/finish-status"
|
|
49
53
|
};
|
|
50
54
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isApiConfigured, r as getToken, t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { i as isApiConfigured, r as getToken, t as api } from "./api-CdJjfxTX.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.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,8 +1,8 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import {
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import { O as createManager } from "./src-BJhTmsja.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
4
|
+
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/face-match/faceMatchServices.ts
|
|
8
8
|
/**
|
package/dist/{faceCaptureManagerFactory-tyJQU0bQ.d.ts → faceCaptureManagerFactory-CftLkmnH.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-
|
|
2
|
-
import { t as WasmPipeline } from "./warmup-
|
|
3
|
-
import { t as Manager } from "./Manager-
|
|
4
|
-
import {
|
|
5
|
-
import { t as Flow } from "./types-
|
|
1
|
+
import { i as IRecordingCapability, n as PermissionStatus, r as IStorageCapability, s as MLProviderConfig } from "./types-dSdX5z-n.js";
|
|
2
|
+
import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
3
|
+
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
5
|
+
import { t as Flow } from "./types-BcGRS3lW.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/capabilities/IWasmUtilCapability.d.ts
|
|
8
8
|
type WasmUtilConfig = MLProviderConfig & {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import { D as
|
|
4
|
-
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
5
|
-
import { a as uploadDeepsightVideo,
|
|
6
|
-
import { r as getToken, t as api } from "./api-
|
|
7
|
-
import { t as endpoints } from "./endpoints-
|
|
8
|
-
import { t as addDeviceStats } from "./stats-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
|
+
import { D as stopCameraStream, E as requestCameraAccess, O as createManager, a as FaceDetectionProvider, b as StreamCanvasCapture, d as LocalRecordingProvider, l as OpenViduRecordingProvider, y as StreamCanvasProcessingSession } from "./src-BJhTmsja.esm.js";
|
|
4
|
+
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
+
import { a as uploadDeepsightVideo, i as stopRecording$1, l as getDeviceClass, n as createRecordingSession, o as checkPermission, r as startRecording, s as requestPermission, t as streamingEvents } from "./streamingEvents-BAYT4t4N.esm.js";
|
|
6
|
+
import { r as getToken, t as api } from "./api-CdJjfxTX.esm.js";
|
|
7
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
8
|
+
import { t as addDeviceStats } from "./stats-De--Z9N5.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
11
11
|
function getPermissionStatus(snapshot) {
|
|
@@ -445,7 +445,7 @@ async function stopRecording(session) {
|
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
447
|
async function initializeDeepsightSession(options) {
|
|
448
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
448
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CCuD-pzB.esm.js");
|
|
449
449
|
return loadDeepsightSession({
|
|
450
450
|
ds: options.ds,
|
|
451
451
|
storage: options.storage
|
package/dist/flow.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { t as WasmPipeline } from "./warmup-
|
|
2
|
-
import { t as Manager } from "./Manager-
|
|
3
|
-
import "./
|
|
4
|
-
import { t as AnyStateMachine } from "./StateMachine-
|
|
5
|
-
import
|
|
6
|
-
import { n as
|
|
1
|
+
import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
3
|
+
import "./camera-HI2fNiV5.js";
|
|
4
|
+
import { t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
5
|
+
import "./types-B_l5fu_D.js";
|
|
6
|
+
import { n as FlowModule, r as FlowModuleConfig, t as Flow } from "./types-BcGRS3lW.js";
|
|
7
|
+
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-DtL1jOz4.js";
|
|
7
8
|
|
|
8
9
|
//#region src/modules/flow/flowUtils.d.ts
|
|
9
10
|
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
3
|
-
import { t as api } from "./api-
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
5
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import { O as createManager } from "./src-BJhTmsja.esm.js";
|
|
2
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
3
|
+
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
5
|
+
import { t as getFinishStatus } from "./flowCompletionService-C2Cjw8WY.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/flow/flowUtils.ts
|
|
8
8
|
const WASM_MODULE_PIPELINES = {
|
package/dist/{flowCompletionService-BxrOI23Q.esm.js → flowCompletionService-C2Cjw8WY.esm.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as api } from "./api-
|
|
2
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
2
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/flow/flowCompletionService.ts
|
|
5
5
|
const getFinishStatus = async (flowId, signal) => {
|
package/dist/geolocation.d.ts
CHANGED
package/dist/geolocation.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
2
|
-
import {
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import { F as isIOS, N as isAndroid, O as createManager, v as BrowserGeolocationProvider } from "./src-BJhTmsja.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
4
|
+
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/geolocation/geolocationServices.ts
|
|
8
8
|
async function addGeolocation(params, signal) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
3
|
-
import { t as api } from "./api-
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { O as createManager, m as BrowserTimerProvider } from "./src-BJhTmsja.esm.js";
|
|
2
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
3
|
+
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/government-validation/governmentValidationServices.ts
|
|
7
7
|
async function processGovernmentValidation(signal) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import {
|
|
4
|
-
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
5
|
-
import {
|
|
6
|
-
import { n as isBrowserSimulation } from "./deepsightService-
|
|
7
|
-
import { n as getApi, r as getToken, t as api } from "./api-
|
|
8
|
-
import { t as endpoints } from "./endpoints-
|
|
9
|
-
import { t as addDeviceStats } from "./stats-
|
|
1
|
+
import { d as addEvent, m as revokeObjectURL, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
|
+
import { C as IncodeCanvas, O as createManager, P as isDesktop, _ as BrowserEnvironmentProvider, b as StreamCanvasCapture, f as IpifyProvider, g as BrowserInfoProvider, h as BrowserStorageProvider, i as IdCaptureProvider, j as getWindowDimensions, l as OpenViduRecordingProvider, m as BrowserTimerProvider, n as DEFAULT_ID_CAPTURE_THRESHOLDS, p as FingerprintProvider, t as DEFAULT_ID_CAPTURE_MODEL_VERSION, y as StreamCanvasProcessingSession } from "./src-BJhTmsja.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.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-BAYT4t4N.esm.js";
|
|
6
|
+
import { n as isBrowserSimulation } from "./deepsightService-D2rnPj53.esm.js";
|
|
7
|
+
import { n as getApi, r as getToken, t as api } from "./api-CdJjfxTX.esm.js";
|
|
8
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
9
|
+
import { t as addDeviceStats } from "./stats-De--Z9N5.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region src/internal/session/sessionService.ts
|
|
12
12
|
/**
|
|
@@ -896,7 +896,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
|
|
|
896
896
|
});
|
|
897
897
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
898
898
|
if (!input.dependencies) return;
|
|
899
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
899
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-CCuD-pzB.esm.js");
|
|
900
900
|
return loadDeepsightSession({
|
|
901
901
|
ds: input.ds,
|
|
902
902
|
storage: input.dependencies.storage,
|
package/dist/id.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-
|
|
2
|
-
import "./deepsightService-
|
|
3
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
4
|
-
import "./Manager-
|
|
5
|
-
import {
|
|
6
|
-
import "./Actor-
|
|
7
|
-
import "./StateMachine-
|
|
8
|
-
import "./types-
|
|
1
|
+
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-_guGVj8K.js";
|
|
2
|
+
import "./deepsightService-Dv1ILk27.js";
|
|
3
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
4
|
+
import "./Manager-CVog-etk.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
6
|
+
import "./Actor-SKZvDOCc.js";
|
|
7
|
+
import "./StateMachine-Coiuk0UD.js";
|
|
8
|
+
import "./types-B_l5fu_D.js";
|
|
9
|
+
import "./types-BcGRS3lW.js";
|
|
9
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
|
-
import "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
7
|
-
import "./api-
|
|
8
|
-
import "./endpoints-
|
|
9
|
-
import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-
|
|
10
|
-
import "./stats-
|
|
1
|
+
import "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
|
+
import "./src-BJhTmsja.esm.js";
|
|
4
|
+
import "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
+
import "./streamingEvents-BAYT4t4N.esm.js";
|
|
6
|
+
import "./deepsightService-D2rnPj53.esm.js";
|
|
7
|
+
import "./api-CdJjfxTX.esm.js";
|
|
8
|
+
import "./endpoints-PMCuQkqs.esm.js";
|
|
9
|
+
import { a as processId, c as stopStream, d as ID_ERROR_CODES, i as initializeIdCapture, l as uploadIdImage, n as createIdCaptureActor, o as startRecordingSession, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-CbVfoXco.esm.js";
|
|
10
|
+
import "./stats-De--Z9N5.esm.js";
|
|
11
11
|
|
|
12
12
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-
|
|
2
|
-
import { a as RecordingConnection, i as IRecordingCapability, n as PermissionStatus, o as IMLProviderCapability, r as IStorageCapability, s as MLProviderConfig, t as PermissionResult } from "./types-
|
|
3
|
-
import { t as Manager } from "./Manager-
|
|
4
|
-
import {
|
|
5
|
-
import { t as ActorRefFrom } from "./Actor-
|
|
6
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
7
|
-
import { i as TutorialIdConfig, t as Flow } from "./types-
|
|
1
|
+
import { i as IncodeCanvas, n as StreamCanvasCapture, r as IMotionSensorCapability, t as DeepsightService } from "./deepsightService-Dv1ILk27.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-dSdX5z-n.js";
|
|
3
|
+
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
5
|
+
import { t as ActorRefFrom } from "./Actor-SKZvDOCc.js";
|
|
6
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
7
|
+
import { i as TutorialIdConfig, t as Flow } from "./types-BcGRS3lW.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
10
10
|
interface IAnalyticsCapability {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
|
-
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-
|
|
2
|
-
import "./deepsightService-
|
|
3
|
-
import { n as PermissionStatus, t as PermissionResult } from "./types-
|
|
4
|
-
import { n as warmupWasm, t as WasmPipeline } from "./warmup-
|
|
5
|
-
import "./Manager-
|
|
6
|
-
import {
|
|
7
|
-
import "./Actor-
|
|
8
|
-
import "./StateMachine-
|
|
9
|
-
import "./types-
|
|
1
|
+
import { A as IdCaptureGeometry, B as DetectionOrientation, C as DetectionArea, D as IdCaptureContext, E as IdCaptureConfig, F as IdError, I as IdErrorCode, L as IdFlowStep, M as IdCaptureMode, N as IdCaptureThresholds, O as IdCaptureDependencies, P as IdDocumentType, R as RecordingSession, S as CapturedImage, T as ID_ERROR_CODES, V as IdCaptureSettings, _ as IdCaptureActor, a as InitializeIdCaptureParams, b as idCaptureMachine, c as ValidationError, d as startRecordingSession, f as stopRecording, g as CreateIdCaptureActorOptions, h as validateUploadResponse, i as IdCaptureInitResult, j as IdCaptureInput, k as IdCaptureEvent, l as initializeIdCapture, m as uploadIdImage, n as IdCaptureState, o as StartRecordingParams, p as stopStream, r as createIdCaptureManager, s as UploadIdImageParams, t as IdCaptureManager, u as processId, v as createIdCaptureActor, w as DetectionStatus, x as CaptureIdResponse, y as IdCaptureMachine, z as UploadIdResponse } from "./index-_guGVj8K.js";
|
|
2
|
+
import "./deepsightService-Dv1ILk27.js";
|
|
3
|
+
import { n as PermissionStatus, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
4
|
+
import { n as warmupWasm, t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
5
|
+
import "./Manager-CVog-etk.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
7
|
+
import "./Actor-SKZvDOCc.js";
|
|
8
|
+
import "./StateMachine-Coiuk0UD.js";
|
|
9
|
+
import "./types-B_l5fu_D.js";
|
|
10
|
+
import "./types-BcGRS3lW.js";
|
|
10
11
|
|
|
12
|
+
//#region ../infra/src/capabilities/IScreenOrientationCapability.d.ts
|
|
13
|
+
type ScreenOrientationState = 'portrait' | 'landscape';
|
|
14
|
+
type IScreenOrientationCapability = {
|
|
15
|
+
readonly current: ScreenOrientationState;
|
|
16
|
+
subscribe(callback: (state: ScreenOrientationState) => void): () => void;
|
|
17
|
+
cleanup(): void;
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../infra/src/capabilities/platform.d.ts
|
|
21
|
+
declare function isIPad(userAgent?: string): boolean;
|
|
22
|
+
//#endregion
|
|
11
23
|
//#region ../infra/src/http/types.d.ts
|
|
12
24
|
type CreateApiConfig = {
|
|
13
25
|
apiURL: string;
|
|
@@ -53,6 +65,23 @@ type HttpClient = {
|
|
|
53
65
|
//#region ../infra/src/http/createApi.d.ts
|
|
54
66
|
declare const createApi: (config: CreateApiConfig) => HttpClient;
|
|
55
67
|
//#endregion
|
|
68
|
+
//#region ../infra/src/providers/browser/ScreenOrientationProvider.d.ts
|
|
69
|
+
declare class ScreenOrientationProvider implements IScreenOrientationCapability {
|
|
70
|
+
private _current;
|
|
71
|
+
private subscribers;
|
|
72
|
+
private orientationChangeHandler;
|
|
73
|
+
private resizeHandler;
|
|
74
|
+
private mediaQueryList;
|
|
75
|
+
private mediaQueryHandler;
|
|
76
|
+
constructor();
|
|
77
|
+
get current(): ScreenOrientationState;
|
|
78
|
+
subscribe(callback: (state: ScreenOrientationState) => void): () => void;
|
|
79
|
+
cleanup(): void;
|
|
80
|
+
private handleOrientationChange;
|
|
81
|
+
private handleResize;
|
|
82
|
+
private updateState;
|
|
83
|
+
}
|
|
84
|
+
//#endregion
|
|
56
85
|
//#region src/internal/device/getBrowser.d.ts
|
|
57
86
|
type Browser = 'chrome' | 'firefox' | 'safari' | 'edge' | 'opera' | 'other';
|
|
58
87
|
declare function getBrowser(): Browser;
|
|
@@ -61,6 +90,14 @@ declare function getBrowser(): Browser;
|
|
|
61
90
|
type DeviceClass = 'ios' | 'android' | 'desktop';
|
|
62
91
|
declare function getDeviceClass(): DeviceClass;
|
|
63
92
|
//#endregion
|
|
93
|
+
//#region src/internal/device/screenOrientation.d.ts
|
|
94
|
+
type ScreenOrientationObserver = {
|
|
95
|
+
get isLandscapeMobile(): boolean;
|
|
96
|
+
subscribe(callback: (isLandscapeMobile: boolean) => void): () => void;
|
|
97
|
+
cleanup(): void;
|
|
98
|
+
};
|
|
99
|
+
declare function createScreenOrientationObserver(provider: IScreenOrientationCapability, deviceClass: DeviceClass): ScreenOrientationObserver;
|
|
100
|
+
//#endregion
|
|
64
101
|
//#region src/internal/http/api.d.ts
|
|
65
102
|
type MethodConfig = {
|
|
66
103
|
headers?: Record<string, string>;
|
|
@@ -525,4 +562,4 @@ declare function moduleClosed(module: EventModule | string, screen?: EventScreen
|
|
|
525
562
|
declare function screenOpened(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
526
563
|
declare function screenClosed(module: EventModule | string, screen: EventScreen | string, payload?: Record<string, unknown>): void;
|
|
527
564
|
//#endregion
|
|
528
|
-
export { type Browser, CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, type CreateSessionOptions, DetectionArea, DetectionOrientation, DetectionStatus, type DeviceClass, type Event, type EventModule, type EventScreen, type HttpClient, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, RecordingSession, type Session, type SessionInitOptions, type SessionInitResult, type SetupOptions, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, type WasmConfig, type WasmPipeline, addEvent, api, cameraScreenNamesMapper, checkPermission as checkCameraPermission, createApi, createIdCaptureActor, createIdCaptureManager, createSession, eventModuleNames, eventScreenNames, flushEventQueue, getApi, getBrowser, getDeviceClass, getDisableIpify, getSessionFeatures, idCaptureMachine, initializeIdCapture, initializeSession, initializeWasmUtil, isConfigured, isSessionInitialized, moduleClosed, moduleOpened, processId, requestPermission as requestCameraPermission, reset, resetSessionInit, screenClosed, screenEvent, screenOpened, setWasmConfig, setup, startRecordingSession, stopRecording, stopStream, subscribeEvent, tutorialScreenNamesMapper, uploadIdImage, validateUploadResponse, videoSelfieEvents, warmupWasm };
|
|
565
|
+
export { type Browser, CameraStream, CaptureIdResponse, CapturedImage, CreateIdCaptureActorOptions, type CreateSessionOptions, DetectionArea, DetectionOrientation, DetectionStatus, type DeviceClass, type Event, type EventModule, type EventScreen, type HttpClient, ID_ERROR_CODES, IdCaptureActor, IdCaptureConfig, IdCaptureContext, IdCaptureDependencies, IdCaptureEvent, IdCaptureGeometry, IdCaptureInitResult, IdCaptureInput, IdCaptureMachine, IdCaptureManager, IdCaptureMode, IdCaptureSettings, IdCaptureState, IdCaptureThresholds, IdDocumentType, IdError, IdErrorCode, IdFlowStep, InitializeIdCaptureParams, type PermissionResult, type PermissionStatus, RecordingSession, type ScreenOrientationObserver, ScreenOrientationProvider, type Session, type SessionInitOptions, type SessionInitResult, type SetupOptions, StartRecordingParams, UploadIdImageParams, UploadIdResponse, ValidationError, type WasmConfig, type WasmPipeline, addEvent, api, cameraScreenNamesMapper, checkPermission as checkCameraPermission, createApi, createIdCaptureActor, createIdCaptureManager, createScreenOrientationObserver, createSession, eventModuleNames, eventScreenNames, flushEventQueue, getApi, getBrowser, getDeviceClass, getDisableIpify, getSessionFeatures, idCaptureMachine, initializeIdCapture, initializeSession, initializeWasmUtil, isConfigured, isIPad, isSessionInitialized, moduleClosed, moduleOpened, processId, requestPermission as requestCameraPermission, reset, resetSessionInit, screenClosed, screenEvent, screenOpened, setWasmConfig, setup, startRecordingSession, stopRecording, stopStream, subscribeEvent, tutorialScreenNamesMapper, uploadIdImage, validateUploadResponse, videoSelfieEvents, warmupWasm };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as videoSelfieEvents, c as screenClosed, d as addEvent, f as flushEventQueue, i as tutorialScreenNamesMapper, l as screenEvent, n as eventModuleNames, o as moduleClosed, p as subscribeEvent, r as eventScreenNames, s as moduleOpened, t as cameraScreenNamesMapper, u as screenOpened } from "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import {
|
|
4
|
-
import "./xstate.esm-
|
|
5
|
-
import { c as
|
|
6
|
-
import "./deepsightService-
|
|
7
|
-
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-
|
|
8
|
-
import "./endpoints-
|
|
9
|
-
import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-
|
|
10
|
-
import "./stats-
|
|
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-Bf73PAdv.esm.js";
|
|
2
|
+
import "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
|
+
import { I as isIPad, c as ScreenOrientationProvider, k as createApi_default, o as warmupWasm, r as WasmUtilProvider } from "./src-BJhTmsja.esm.js";
|
|
4
|
+
import "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
+
import { c as createScreenOrientationObserver, l as getDeviceClass, o as checkPermission, s as requestPermission, u as getBrowser } from "./streamingEvents-BAYT4t4N.esm.js";
|
|
6
|
+
import "./deepsightService-D2rnPj53.esm.js";
|
|
7
|
+
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-CdJjfxTX.esm.js";
|
|
8
|
+
import "./endpoints-PMCuQkqs.esm.js";
|
|
9
|
+
import { _ as createSession, a as processId, c as stopStream, d as ID_ERROR_CODES, f as getDisableIpify, g as resetSessionInit, h as isSessionInitialized, i as initializeIdCapture, l as uploadIdImage, m as initializeSession, n as createIdCaptureActor, o as startRecordingSession, p as getSessionFeatures, r as idCaptureMachine, s as stopRecording, t as createIdCaptureManager, u as validateUploadResponse } from "./id-CbVfoXco.esm.js";
|
|
10
|
+
import "./stats-De--Z9N5.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/setup.ts
|
|
13
13
|
let wasmConfig;
|
|
@@ -128,4 +128,4 @@ function reset() {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
//#endregion
|
|
131
|
-
export { ID_ERROR_CODES, addEvent, api, cameraScreenNamesMapper, checkPermission as checkCameraPermission, createApi_default as createApi, createIdCaptureActor, createIdCaptureManager, createSession, eventModuleNames, eventScreenNames, flushEventQueue, getApi, getBrowser, getDeviceClass, getDisableIpify, getSessionFeatures, idCaptureMachine, initializeIdCapture, initializeSession, initializeWasmUtil, isConfigured, isSessionInitialized, moduleClosed, moduleOpened, processId, requestPermission as requestCameraPermission, reset, resetSessionInit, screenClosed, screenEvent, screenOpened, setWasmConfig, setup, startRecordingSession, stopRecording, stopStream, subscribeEvent, tutorialScreenNamesMapper, uploadIdImage, validateUploadResponse, videoSelfieEvents, warmupWasm };
|
|
131
|
+
export { ID_ERROR_CODES, ScreenOrientationProvider, addEvent, api, cameraScreenNamesMapper, checkPermission as checkCameraPermission, createApi_default as createApi, createIdCaptureActor, createIdCaptureManager, createScreenOrientationObserver, createSession, eventModuleNames, eventScreenNames, flushEventQueue, getApi, getBrowser, getDeviceClass, getDisableIpify, getSessionFeatures, idCaptureMachine, initializeIdCapture, initializeSession, initializeWasmUtil, isConfigured, isIPad, isSessionInitialized, moduleClosed, moduleOpened, processId, requestPermission as requestCameraPermission, reset, resetSessionInit, screenClosed, screenEvent, screenOpened, setWasmConfig, setup, startRecordingSession, stopRecording, stopStream, subscribeEvent, tutorialScreenNamesMapper, uploadIdImage, validateUploadResponse, videoSelfieEvents, warmupWasm };
|
|
@@ -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-3Wl3T5mL.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,8 +1,8 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-
|
|
2
|
-
import {
|
|
3
|
-
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-
|
|
4
|
-
import { t as api } from "./api-
|
|
5
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames, r as eventScreenNames } from "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import { O as createManager, m as BrowserTimerProvider } from "./src-BJhTmsja.esm.js";
|
|
3
|
+
import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-yA5caGbx.esm.js";
|
|
4
|
+
import { t as api } from "./api-CdJjfxTX.esm.js";
|
|
5
|
+
import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/phone/phoneServices.ts
|
|
8
8
|
async function fetchPhone(signal) {
|
package/dist/selfie.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-
|
|
2
|
-
import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-
|
|
3
|
-
import { t as WasmPipeline } from "./warmup-
|
|
4
|
-
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
5
|
-
import { t as Manager } from "./Manager-
|
|
6
|
-
import {
|
|
7
|
-
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-
|
|
8
|
-
import
|
|
1
|
+
import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-Dv1ILk27.js";
|
|
2
|
+
import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-dSdX5z-n.js";
|
|
3
|
+
import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
|
|
4
|
+
import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CftLkmnH.js";
|
|
5
|
+
import { t as Manager } from "./Manager-CVog-etk.js";
|
|
6
|
+
import { t as CameraStream } from "./camera-HI2fNiV5.js";
|
|
7
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
|
|
8
|
+
import "./types-B_l5fu_D.js";
|
|
9
|
+
import { r as FlowModuleConfig } from "./types-BcGRS3lW.js";
|
|
9
10
|
|
|
10
11
|
//#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
|
|
11
12
|
/**
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as addEvent, n as eventModuleNames } from "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import {
|
|
4
|
-
import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-
|
|
5
|
-
import "./streamingEvents-
|
|
6
|
-
import "./deepsightService-
|
|
7
|
-
import "./api-
|
|
8
|
-
import "./endpoints-
|
|
9
|
-
import "./stats-
|
|
10
|
-
import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-
|
|
1
|
+
import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
|
|
2
|
+
import "./backCameraStream-DXS4n4yS.esm.js";
|
|
3
|
+
import { h as BrowserStorageProvider, r as WasmUtilProvider } from "./src-BJhTmsja.esm.js";
|
|
4
|
+
import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-yA5caGbx.esm.js";
|
|
5
|
+
import "./streamingEvents-BAYT4t4N.esm.js";
|
|
6
|
+
import "./deepsightService-D2rnPj53.esm.js";
|
|
7
|
+
import "./api-CdJjfxTX.esm.js";
|
|
8
|
+
import "./endpoints-PMCuQkqs.esm.js";
|
|
9
|
+
import "./stats-De--Z9N5.esm.js";
|
|
10
|
+
import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-D3cIjwWO.esm.js";
|
|
11
11
|
|
|
12
12
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
13
13
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
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-DtL1jOz4.js";
|
|
2
2
|
export { type FinishStatus, type GetFinishStatusFn, getFinishStatus };
|
package/dist/session.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./api-
|
|
2
|
-
import "./endpoints-
|
|
3
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
1
|
+
import "./api-CdJjfxTX.esm.js";
|
|
2
|
+
import "./endpoints-PMCuQkqs.esm.js";
|
|
3
|
+
import { t as getFinishStatus } from "./flowCompletionService-C2Cjw8WY.esm.js";
|
|
4
4
|
|
|
5
5
|
export { getFinishStatus };
|