@incodetech/core 0.0.0-dev-20260320-2b71e13 → 0.0.0-dev-20260320-80a2d6d
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-O-LFYClt.esm.js → addressSearch-BpdtojH_.esm.js} +4 -4
- package/dist/authentication.d.ts +10 -10
- package/dist/authentication.esm.js +10 -11
- package/dist/{authenticationManager-BH1ZY_16.d.ts → authenticationManager-BjTgDn8A.d.ts} +2 -2
- package/dist/{authenticationManager-BDCN6xbG.esm.js → authenticationManager-Yjdutfo0.esm.js} +8 -9
- package/dist/{backCameraStream-D-_dxon_.esm.js → backCameraStream-DQY36Tsq.esm.js} +1 -1
- package/dist/consent.d.ts +47 -47
- package/dist/consent.esm.js +6 -6
- package/dist/curp-validation.d.ts +4 -4
- package/dist/curp-validation.esm.js +6 -6
- package/dist/{deepsightLoader-DXU9BgO8.esm.js → deepsightLoader-De-U_lRn.esm.js} +4 -4
- package/dist/{deepsightService-B4HcyNDh.d.ts → deepsightService-CdGGD_BP.d.ts} +1 -1
- package/dist/{deepsightService-B4jCQAh8.esm.js → deepsightService-PlHPx0yD.esm.js} +3 -3
- package/dist/document-capture.d.ts +2 -2
- package/dist/document-capture.esm.js +7 -7
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +7 -6
- package/dist/ekyb.d.ts +2 -2
- package/dist/ekyb.esm.js +8 -15
- package/dist/ekyc.d.ts +2 -2
- package/dist/ekyc.esm.js +7 -14
- package/dist/email.d.ts +3 -3
- package/dist/email.esm.js +5 -6
- package/dist/{emailManager-BWKRZIDo.esm.js → emailManager-B5pmZ3O4.esm.js} +8 -7
- package/dist/{emailManager-jXfroijR.d.ts → emailManager-lUXVfa0R.d.ts} +2 -2
- package/dist/{xstate.esm-nEixMy7s.esm.js → events-BKOSYNaw.esm.js} +299 -1
- package/dist/extensibility.d.ts +14 -14
- package/dist/extensibility.esm.js +14 -15
- package/dist/face-match.d.ts +1 -1
- package/dist/face-match.esm.js +7 -17
- package/dist/{faceCaptureManagerFactory-CULlsJHa.d.ts → faceCaptureManagerFactory-BulU7xFu.d.ts} +8 -8
- package/dist/{faceCaptureSetup-ePWTb1VF.esm.js → faceCaptureSetup-BQ7cV8vo.esm.js} +11 -11
- package/dist/flow.d.ts +7 -7
- package/dist/flow.esm.js +10 -8
- package/dist/{flowCompletionService-BJ1cHA-d.esm.js → flowCompletionService-C-pC9OZ9.esm.js} +2 -2
- package/dist/{flowServices-B5BTeA3c.esm.js → flowServices-Cc1HxYIC.esm.js} +2 -2
- package/dist/geolocation.d.ts +1 -1
- package/dist/geolocation.esm.js +6 -6
- package/dist/government-validation.d.ts +1 -1
- package/dist/government-validation.esm.js +6 -5
- package/dist/id.d.ts +9 -9
- package/dist/id.esm.js +10 -11
- package/dist/{idCaptureManager-DY9Le1U5.d.ts → idCaptureManager-DCXMoCXo.d.ts} +6 -6
- package/dist/{idCaptureManager-DJaBQlDY.esm.js → idCaptureManager-hbqwL7Qt.esm.js} +13 -12
- package/dist/index.d.ts +10 -10
- package/dist/index.esm.js +10 -11
- package/dist/phone.d.ts +3 -3
- package/dist/phone.esm.js +5 -6
- package/dist/{phoneManager-CQKg7NiP.esm.js → phoneManager-CXYPFfUs.esm.js} +8 -7
- package/dist/{phoneManager-BXeQetqQ.d.ts → phoneManager-pTIOvlCD.d.ts} +2 -2
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +6 -5
- package/dist/selfie.d.ts +10 -10
- package/dist/selfie.esm.js +10 -11
- package/dist/{selfieManager-BzVXhKYT.d.ts → selfieManager-BqX2VFj1.d.ts} +2 -2
- package/dist/{selfieManager-DBIy2tuK.esm.js → selfieManager-DMnrP5LU.esm.js} +5 -6
- package/dist/session.d.ts +1 -1
- package/dist/session.esm.js +3 -3
- package/dist/{src-LjezYyPe.esm.js → src-xUbMTjnz.esm.js} +7 -2
- package/dist/{stats-DJ3CICeP.esm.js → stats-D76Thmqp.esm.js} +1 -1
- package/dist/stats.esm.js +2 -2
- package/dist/{streamingEvents-JeLmnOFf.esm.js → streamingEvents-BNVENF4-.esm.js} +3 -3
- package/dist/{types-CSgWWTDb.d.ts → types-CHzupruc.d.ts} +1 -1
- package/dist/{types-S1nlDDGB.d.ts → types-DSJflCEU.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/events-CcXL3VWp.esm.js +0 -289
- /package/dist/{Actor-Bd72Yikw.d.ts → Actor-D6rhGxJy.d.ts} +0 -0
- /package/dist/{Manager-DKHVvCA1.d.ts → Manager-CVDYGoSq.d.ts} +0 -0
- /package/dist/{StateMachine-D-N4dLZo.d.ts → StateMachine-BqtRw_hz.d.ts} +0 -0
- /package/dist/{api-G4JA8CXK.esm.js → api-3fZO5bmj.esm.js} +0 -0
- /package/dist/{camera-pEBK1r31.d.ts → camera-CVBwqx-j.d.ts} +0 -0
- /package/dist/{displayErrors-mVWkbnVw.d.ts → displayErrors-BgtBHbfb.d.ts} +0 -0
- /package/dist/{endpoints-BGaT9ldX.esm.js → endpoints-Bydn-Ave.esm.js} +0 -0
- /package/dist/{flowCompletionService-B89QmIQg.d.ts → flowCompletionService-De8JDo87.d.ts} +0 -0
- /package/dist/{id-B1BwT5Nd.esm.js → id-r_CoQ3r-.esm.js} +0 -0
- /package/dist/{index-DwdIY3SO.d.ts → index-LKrIp3Oo.d.ts} +0 -0
- /package/dist/{lib-DCX3_IAU.esm.js → lib-3ivDs79I.esm.js} +0 -0
- /package/dist/{warmup-LifmFv5i.d.ts → warmup-DoQLFT3z.d.ts} +0 -0
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-DCXMoCXo.js";
|
|
2
|
+
import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-CdGGD_BP.js";
|
|
3
|
+
import "./Manager-CVDYGoSq.js";
|
|
4
|
+
import { t as CameraStream } from "./camera-CVBwqx-j.js";
|
|
5
|
+
import "./Actor-D6rhGxJy.js";
|
|
6
|
+
import "./StateMachine-BqtRw_hz.js";
|
|
7
|
+
import "./types-CHzupruc.js";
|
|
8
|
+
import "./types-DSJflCEU.js";
|
|
9
|
+
import "./index-LKrIp3Oo.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,13 +1,12 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import "./id-B1BwT5Nd.esm.js";
|
|
1
|
+
import "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import "./backCameraStream-DQY36Tsq.esm.js";
|
|
3
|
+
import "./src-xUbMTjnz.esm.js";
|
|
4
|
+
import "./streamingEvents-BNVENF4-.esm.js";
|
|
5
|
+
import "./deepsightService-PlHPx0yD.esm.js";
|
|
6
|
+
import "./api-3fZO5bmj.esm.js";
|
|
7
|
+
import "./endpoints-Bydn-Ave.esm.js";
|
|
8
|
+
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-hbqwL7Qt.esm.js";
|
|
9
|
+
import "./stats-D76Thmqp.esm.js";
|
|
10
|
+
import "./id-r_CoQ3r-.esm.js";
|
|
12
11
|
|
|
13
12
|
export { ID_ERROR_CODES, createIdCaptureActor, createIdCaptureManager, idCaptureMachine, initializeIdCapture, processId, startRecordingSession, stopRecording, stopStream, uploadIdImage, validateUploadResponse };
|
|
@@ -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-CdGGD_BP.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CVDYGoSq.js";
|
|
3
|
+
import { t as CameraStream } from "./camera-CVBwqx-j.js";
|
|
4
|
+
import { t as ActorRefFrom } from "./Actor-D6rhGxJy.js";
|
|
5
|
+
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BqtRw_hz.js";
|
|
6
|
+
import { i as TutorialIdConfig, t as Flow } from "./types-DSJflCEU.js";
|
|
7
7
|
|
|
8
8
|
//#region ../infra/src/capabilities/IAnalyticsCapability.d.ts
|
|
9
9
|
interface IAnalyticsCapability {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { n as
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as addDeviceStats } from "./stats-DJ3CICeP.esm.js";
|
|
1
|
+
import { _ as fromCallback, b as revokeObjectURL, f as addEvent, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-DQY36Tsq.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-xUbMTjnz.esm.js";
|
|
4
|
+
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-BNVENF4-.esm.js";
|
|
5
|
+
import { n as isBrowserSimulation } from "./deepsightService-PlHPx0yD.esm.js";
|
|
6
|
+
import { n as getApi, r as getToken, t as api } from "./api-3fZO5bmj.esm.js";
|
|
7
|
+
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
8
|
+
import { t as addDeviceStats } from "./stats-D76Thmqp.esm.js";
|
|
10
9
|
|
|
11
10
|
//#region src/internal/session/sessionService.ts
|
|
12
11
|
/**
|
|
@@ -923,7 +922,7 @@ const checkMotionSensorActor = fromCallback(({ input, sendBack }) => {
|
|
|
923
922
|
});
|
|
924
923
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
925
924
|
if (!input.dependencies) return;
|
|
926
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
925
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-De-U_lRn.esm.js");
|
|
927
926
|
return loadDeepsightSession({
|
|
928
927
|
ds: input.ds,
|
|
929
928
|
storage: input.dependencies.storage,
|
|
@@ -2266,14 +2265,16 @@ function createIdCaptureManager(options) {
|
|
|
2266
2265
|
return createManager({
|
|
2267
2266
|
actor: createIdCaptureActor(options),
|
|
2268
2267
|
mapState,
|
|
2269
|
-
createApi
|
|
2268
|
+
createApi,
|
|
2269
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.id)
|
|
2270
2270
|
});
|
|
2271
2271
|
}
|
|
2272
2272
|
function createIdCaptureManagerFromActor(actor) {
|
|
2273
2273
|
return createManager({
|
|
2274
2274
|
actor,
|
|
2275
2275
|
mapState,
|
|
2276
|
-
createApi
|
|
2276
|
+
createApi,
|
|
2277
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.id)
|
|
2277
2278
|
});
|
|
2278
2279
|
}
|
|
2279
2280
|
|
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-DCXMoCXo.js";
|
|
2
|
+
import { n as PermissionResult, r as PermissionStatus } from "./deepsightService-CdGGD_BP.js";
|
|
3
|
+
import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-DoQLFT3z.js";
|
|
4
|
+
import "./Manager-CVDYGoSq.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-CVBwqx-j.js";
|
|
6
|
+
import "./Actor-D6rhGxJy.js";
|
|
7
|
+
import "./StateMachine-BqtRw_hz.js";
|
|
8
|
+
import "./types-CHzupruc.js";
|
|
9
|
+
import "./types-DSJflCEU.js";
|
|
10
|
+
import "./index-LKrIp3Oo.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,14 +1,13 @@
|
|
|
1
|
-
import { a as videoSelfieEvents, c as
|
|
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-
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import "./id-B1BwT5Nd.esm.js";
|
|
1
|
+
import { a as videoSelfieEvents, c as moduleOpened, d as screenOpened, f as addEvent, i as tutorialScreenNamesMapper, l as screenClosed, m as subscribeEvent, n as eventModuleNames, p as flushEventQueue, r as eventScreenNames, s as moduleClosed, t as cameraScreenNamesMapper, u as screenEvent } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import "./backCameraStream-DQY36Tsq.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-xUbMTjnz.esm.js";
|
|
4
|
+
import { c as createScreenOrientationObserver, l as getDeviceClass, o as checkPermission, s as requestPermission, u as getBrowser } from "./streamingEvents-BNVENF4-.esm.js";
|
|
5
|
+
import "./deepsightService-PlHPx0yD.esm.js";
|
|
6
|
+
import { a as resetApi, n as getApi, o as setClient, s as setToken, t as api } from "./api-3fZO5bmj.esm.js";
|
|
7
|
+
import "./endpoints-Bydn-Ave.esm.js";
|
|
8
|
+
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-hbqwL7Qt.esm.js";
|
|
9
|
+
import "./stats-D76Thmqp.esm.js";
|
|
10
|
+
import "./id-r_CoQ3r-.esm.js";
|
|
12
11
|
|
|
13
12
|
//#region src/setup.ts
|
|
14
13
|
let wasmConfig;
|
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-CVDYGoSq.js";
|
|
2
|
+
import "./Actor-D6rhGxJy.js";
|
|
3
|
+
import { a as phoneMachine, n as PhoneState, o as PhoneConfig, r as createPhoneManager, t as PhoneManager } from "./phoneManager-pTIOvlCD.js";
|
|
4
4
|
export { type PhoneConfig, type PhoneManager, type PhoneState, createPhoneManager, phoneMachine };
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
import "./src-
|
|
3
|
-
import "./
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import { r as phoneMachine, t as createPhoneManager } from "./phoneManager-CQKg7NiP.esm.js";
|
|
1
|
+
import "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import "./src-xUbMTjnz.esm.js";
|
|
3
|
+
import "./api-3fZO5bmj.esm.js";
|
|
4
|
+
import "./endpoints-Bydn-Ave.esm.js";
|
|
5
|
+
import { r as phoneMachine, t as createPhoneManager } from "./phoneManager-CXYPFfUs.esm.js";
|
|
7
6
|
|
|
8
7
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createManager, g as BrowserTimerProvider } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as endpoints } from "./endpoints-BGaT9ldX.esm.js";
|
|
1
|
+
import { _ as fromCallback, f as addEvent, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import { A as createManager, g as BrowserTimerProvider } from "./src-xUbMTjnz.esm.js";
|
|
3
|
+
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
6
5
|
|
|
7
6
|
//#region src/modules/phone/phoneServices.ts
|
|
8
7
|
async function fetchPhone(signal) {
|
|
@@ -545,14 +544,16 @@ function createPhoneManager(options) {
|
|
|
545
544
|
return createManager({
|
|
546
545
|
actor: createPhoneActor(options),
|
|
547
546
|
mapState,
|
|
548
|
-
createApi
|
|
547
|
+
createApi,
|
|
548
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.phone)
|
|
549
549
|
});
|
|
550
550
|
}
|
|
551
551
|
function createPhoneManagerFromActor(actor) {
|
|
552
552
|
return createManager({
|
|
553
553
|
actor,
|
|
554
554
|
mapState,
|
|
555
|
-
createApi
|
|
555
|
+
createApi,
|
|
556
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.phone)
|
|
556
557
|
});
|
|
557
558
|
}
|
|
558
559
|
|
|
@@ -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-CVDYGoSq.js";
|
|
2
|
+
import { t as ActorRefFrom } from "./Actor-D6rhGxJy.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/phone/types.d.ts
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as api } from "./api-
|
|
4
|
-
import { t as endpoints } from "./endpoints-
|
|
1
|
+
import { _ as fromCallback, g as assign, h as setup, n as eventModuleNames, o as createManagerInstrumentation, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import { A as createManager, g as BrowserTimerProvider } from "./src-xUbMTjnz.esm.js";
|
|
3
|
+
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
4
|
+
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region ../infra/src/url/urlUtils.ts
|
|
7
7
|
function getUrlSearchParam(url, param) {
|
|
@@ -330,7 +330,8 @@ function createRedirectToMobileManager(options) {
|
|
|
330
330
|
return createManager({
|
|
331
331
|
actor: createRedirectToMobileActor(options),
|
|
332
332
|
mapState,
|
|
333
|
-
createApi
|
|
333
|
+
createApi,
|
|
334
|
+
instrumentation: createManagerInstrumentation(eventModuleNames.qr)
|
|
334
335
|
});
|
|
335
336
|
}
|
|
336
337
|
|
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-CdGGD_BP.js";
|
|
2
|
+
import { _ as DetectionStatus, a as SelfieMachine, d as SelfieConfig, o as selfieMachine, v as FaceErrorCode } from "./faceCaptureManagerFactory-BulU7xFu.js";
|
|
3
|
+
import "./warmup-DoQLFT3z.js";
|
|
4
|
+
import "./Manager-CVDYGoSq.js";
|
|
5
|
+
import { t as CameraStream } from "./camera-CVBwqx-j.js";
|
|
6
|
+
import "./Actor-D6rhGxJy.js";
|
|
7
|
+
import "./StateMachine-BqtRw_hz.js";
|
|
8
|
+
import "./types-CHzupruc.js";
|
|
9
|
+
import "./types-DSJflCEU.js";
|
|
10
|
+
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-BqX2VFj1.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,12 @@
|
|
|
1
|
-
import "./events-
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import "./
|
|
9
|
-
import "./
|
|
10
|
-
import { r as
|
|
11
|
-
import { r as selfieMachine, t as createSelfieManager } from "./selfieManager-DBIy2tuK.esm.js";
|
|
1
|
+
import "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import "./backCameraStream-DQY36Tsq.esm.js";
|
|
3
|
+
import "./src-xUbMTjnz.esm.js";
|
|
4
|
+
import "./streamingEvents-BNVENF4-.esm.js";
|
|
5
|
+
import "./deepsightService-PlHPx0yD.esm.js";
|
|
6
|
+
import "./api-3fZO5bmj.esm.js";
|
|
7
|
+
import "./endpoints-Bydn-Ave.esm.js";
|
|
8
|
+
import "./stats-D76Thmqp.esm.js";
|
|
9
|
+
import { r as processFace } from "./faceCaptureSetup-BQ7cV8vo.esm.js";
|
|
10
|
+
import { r as selfieMachine, t as createSelfieManager } from "./selfieManager-DMnrP5LU.esm.js";
|
|
12
11
|
|
|
13
12
|
export { createSelfieManager, processFace, selfieMachine };
|
|
@@ -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-BulU7xFu.js";
|
|
2
|
+
import { t as Manager } from "./Manager-CVDYGoSq.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
5
5
|
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-
|
|
3
|
-
import { a as
|
|
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-ePWTb1VF.esm.js";
|
|
1
|
+
import { f as addEvent, g as assign, n as eventModuleNames, v as fromPromise, y as createActor } from "./events-BKOSYNaw.esm.js";
|
|
2
|
+
import { _ as BrowserStorageProvider, a as WasmUtilProvider } from "./src-xUbMTjnz.esm.js";
|
|
3
|
+
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-BQ7cV8vo.esm.js";
|
|
5
4
|
|
|
6
5
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
7
6
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -78,7 +77,7 @@ function createSelfieActor(options) {
|
|
|
78
77
|
//#endregion
|
|
79
78
|
//#region src/modules/selfie/selfieManager.ts
|
|
80
79
|
function createSelfieManagerFromActor(actor) {
|
|
81
|
-
return createFaceCaptureManagerFromActor(actor);
|
|
80
|
+
return createFaceCaptureManagerFromActor(actor, eventModuleNames.selfie);
|
|
82
81
|
}
|
|
83
82
|
/**
|
|
84
83
|
* Creates a selfie manager instance for handling selfie capture flow.
|
|
@@ -110,7 +109,7 @@ function createSelfieManagerFromActor(actor) {
|
|
|
110
109
|
* ```
|
|
111
110
|
*/
|
|
112
111
|
function createSelfieManager(options) {
|
|
113
|
-
return createFaceCaptureManagerFromActor(createSelfieActor(options));
|
|
112
|
+
return createFaceCaptureManagerFromActor(createSelfieActor(options), eventModuleNames.selfie);
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
//#endregion
|
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-De8JDo87.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-3fZO5bmj.esm.js";
|
|
2
|
+
import "./endpoints-Bydn-Ave.esm.js";
|
|
3
|
+
import { t as getFinishStatus } from "./flowCompletionService-C-pC9OZ9.esm.js";
|
|
4
4
|
|
|
5
5
|
export { getFinishStatus };
|
|
@@ -1988,7 +1988,7 @@ var createApi_default = createApi;
|
|
|
1988
1988
|
* ```
|
|
1989
1989
|
*/
|
|
1990
1990
|
function createManager(options) {
|
|
1991
|
-
const { actor, mapState, createApi: createApi$1 } = options;
|
|
1991
|
+
const { actor, mapState, createApi: createApi$1, instrumentation } = options;
|
|
1992
1992
|
function getSnapshot() {
|
|
1993
1993
|
return actor.getSnapshot();
|
|
1994
1994
|
}
|
|
@@ -2005,10 +2005,15 @@ function createManager(options) {
|
|
|
2005
2005
|
actor,
|
|
2006
2006
|
getSnapshot
|
|
2007
2007
|
});
|
|
2008
|
+
instrumentation.onModuleOpened(instrumentation.moduleName);
|
|
2009
|
+
let isStopped = false;
|
|
2008
2010
|
const base = {
|
|
2009
2011
|
getState,
|
|
2010
2012
|
subscribe,
|
|
2011
2013
|
stop() {
|
|
2014
|
+
if (isStopped) return;
|
|
2015
|
+
isStopped = true;
|
|
2016
|
+
instrumentation.onModuleClosed(instrumentation.moduleName);
|
|
2012
2017
|
actor.stop();
|
|
2013
2018
|
}
|
|
2014
2019
|
};
|
|
@@ -4419,7 +4424,7 @@ var MotionSensorProvider = class {
|
|
|
4419
4424
|
let openViduImport;
|
|
4420
4425
|
async function loadOpenVidu() {
|
|
4421
4426
|
if (openViduImport) return openViduImport;
|
|
4422
|
-
openViduImport = import("./lib-
|
|
4427
|
+
openViduImport = import("./lib-3ivDs79I.esm.js").then(__toDynamicImportESM(1));
|
|
4423
4428
|
return openViduImport;
|
|
4424
4429
|
}
|
|
4425
4430
|
|
package/dist/stats.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
2
|
-
import { t as api } from "./api-
|
|
3
|
-
import { t as endpoints } from "./endpoints-
|
|
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-xUbMTjnz.esm.js";
|
|
2
|
+
import { t as api } from "./api-3fZO5bmj.esm.js";
|
|
3
|
+
import { t as endpoints } from "./endpoints-Bydn-Ave.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/internal/device/getBrowser.ts
|
|
6
6
|
function getBrowser() {
|