@incodetech/core 0.0.0-dev-20260728-bbd74326 → 0.0.0-dev-20260728-677779f1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/authentication.esm.js +2 -2
- package/dist/{authenticationManager-DAAdpM_f.esm.js → authenticationManager-CckHXqtA.esm.js} +2 -2
- package/dist/{authenticationStateMachine-oxArsYdg.esm.js → authenticationStateMachine-efXnPTmb.esm.js} +2 -2
- package/dist/{deepsightLoader-Dlc_Weco.esm.js → deepsightLoader-BTish2u9.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/{documentCaptureManager-pEqMY_Oo.d.ts → documentCaptureManager-BiKjyojT.d.ts} +65 -65
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-C8D2E58Z.esm.js → ekybManager-HxBVP7NQ.esm.js} +1 -1
- package/dist/{ekybStateMachine-vndKNS03.esm.js → ekybStateMachine-BYN8RMVj.esm.js} +1 -1
- package/dist/extensibility.d.ts +1 -1
- package/dist/extensibility.esm.js +6 -6
- package/dist/{faceCaptureManagerFactory-C6IocH9G.esm.js → faceCaptureManagerFactory-DB2htMl-.esm.js} +1 -1
- package/dist/{faceCaptureSetup-6sVLFiOS.esm.js → faceCaptureSetup-D6gIdvub.esm.js} +2 -2
- package/dist/flow.esm.js +1 -1
- package/dist/{flowServices-Cr7_BFYP.esm.js → flowServices-Biv5-c5o.esm.js} +2 -2
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-DmGinDs-.esm.js → idCaptureManager-Dosr76xf.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-B-txehAH.esm.js → idCaptureStateMachine-ztgBsj_W.esm.js} +5 -5
- package/dist/index.esm.js +1 -1
- package/dist/{onDeviceFaceResults-CWYb5Pry.esm.js → onDeviceFaceResults-Bm0slGBS.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/{recordingService-CWs4c_bi.esm.js → recordingService-MZvU1l_T.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-BG79dEch.esm.js → selfieManager-B3XOQYl4.esm.js} +2 -2
- package/dist/{selfieStateMachine-DIhTwBBG.esm.js → selfieStateMachine-ooY0LtYy.esm.js} +2 -2
- package/dist/session-BmLmlfRm.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-CMwm-WD5.esm.js → sessionInitializer-Czr4MNQJ.esm.js} +1 -1
- package/dist/{setup-DOqvwH5q.esm.js → setup-BKp1TCFW.esm.js} +2 -2
- package/dist/video-selfie.esm.js +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.esm.js +6 -6
- package/package.json +3 -3
- package/dist/session-5JaQ3ELc.esm.js +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
2
|
-
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
1
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-efXnPTmb.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CckHXqtA.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-DAAdpM_f.esm.js → authenticationManager-CckHXqtA.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DB2htMl-.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
6
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
6
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-efXnPTmb.esm.js";
|
|
7
7
|
//#region src/modules/authentication/authenticationActor.ts
|
|
8
8
|
function createAuthenticationActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -3,8 +3,8 @@ import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
4
4
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
7
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-D6gIdvub.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-Bm0slGBS.esm.js";
|
|
8
8
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
9
9
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
10
10
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
4
|
-
import { g as getThumbmarkId, m as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
4
|
+
import { g as getThumbmarkId, m as IpifyProvider, n as getFingerprintEnabled, p as isBrowserSimulation, t as getDisableIpify, v as BrowserEnvironmentProvider } from "./sessionInitializer-Czr4MNQJ.esm.js";
|
|
5
5
|
import { t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
|
|
6
6
|
import { t as getUserAgent } from "./getBrowser-Cb8Zgrgp.esm.js";
|
|
7
7
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as DocumentCaptureErrorCode, c as DocumentType, n as DOCUMENT_CAPTURE_ERROR_CODES, r as DocumentCaptureConfig, s as DocumentCaptureNextPageType } from "./types-B4BObr_7.js";
|
|
2
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
2
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, o as documentCaptureMachine, r as createDocumentCaptureManager, t as DocumentCaptureManager } from "./documentCaptureManager-BiKjyojT.js";
|
|
3
3
|
export { DOCUMENT_CAPTURE_ERROR_CODES, type DocumentCaptureActor, type DocumentCaptureConfig, type DocumentCaptureErrorCode, type DocumentCaptureManager, type DocumentCaptureNextPageType, type DocumentCaptureState, type DocumentType, createDocumentCaptureManager, createDocumentCaptureManagerFromActor, documentCaptureMachine };
|
|
@@ -72,11 +72,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
72
72
|
}, EventObject>;
|
|
73
73
|
id: string | undefined;
|
|
74
74
|
};
|
|
75
|
-
initCamera: {
|
|
76
|
-
src: "initCamera";
|
|
77
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
78
|
-
id: string | undefined;
|
|
79
|
-
};
|
|
80
75
|
requestPermission: {
|
|
81
76
|
src: "requestPermission";
|
|
82
77
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -85,6 +80,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
85
80
|
}, EventObject>;
|
|
86
81
|
id: string | undefined;
|
|
87
82
|
};
|
|
83
|
+
initCamera: {
|
|
84
|
+
src: "initCamera";
|
|
85
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
86
|
+
id: string | undefined;
|
|
87
|
+
};
|
|
88
88
|
checkPermission: {
|
|
89
89
|
src: "checkPermission";
|
|
90
90
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -258,7 +258,7 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
258
258
|
readonly initial: "tutorial";
|
|
259
259
|
readonly context: ({ input }: {
|
|
260
260
|
spawn: {
|
|
261
|
-
<TSrc extends "uploadDocument" | "
|
|
261
|
+
<TSrc extends "uploadDocument" | "requestPermission" | "initCamera" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
262
262
|
src: "uploadDocument";
|
|
263
263
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
264
264
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -282,12 +282,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
282
282
|
input?: InputFrom<T["logic"]> | undefined;
|
|
283
283
|
syncSnapshot?: boolean;
|
|
284
284
|
} & { [K in RequiredActorOptions<T>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T>>> : never : never : never) | ({
|
|
285
|
-
src: "
|
|
286
|
-
logic: PromiseActorLogic<
|
|
285
|
+
src: "requestPermission";
|
|
286
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
287
|
+
permissionResult?: PermissionResult;
|
|
288
|
+
requestMotionPermission: boolean;
|
|
289
|
+
}, EventObject>;
|
|
287
290
|
id: string | undefined;
|
|
288
291
|
} extends (infer T_1) ? T_1 extends {
|
|
289
|
-
src: "
|
|
290
|
-
logic: PromiseActorLogic<
|
|
292
|
+
src: "requestPermission";
|
|
293
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
294
|
+
permissionResult?: PermissionResult;
|
|
295
|
+
requestMotionPermission: boolean;
|
|
296
|
+
}, EventObject>;
|
|
291
297
|
id: string | undefined;
|
|
292
298
|
} ? T_1 extends {
|
|
293
299
|
src: TSrc;
|
|
@@ -297,18 +303,12 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
297
303
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
298
304
|
syncSnapshot?: boolean;
|
|
299
305
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
300
|
-
src: "
|
|
301
|
-
logic: PromiseActorLogic<
|
|
302
|
-
permissionResult?: PermissionResult;
|
|
303
|
-
requestMotionPermission: boolean;
|
|
304
|
-
}, EventObject>;
|
|
306
|
+
src: "initCamera";
|
|
307
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
305
308
|
id: string | undefined;
|
|
306
309
|
} extends (infer T_2) ? T_2 extends {
|
|
307
|
-
src: "
|
|
308
|
-
logic: PromiseActorLogic<
|
|
309
|
-
permissionResult?: PermissionResult;
|
|
310
|
-
requestMotionPermission: boolean;
|
|
311
|
-
}, EventObject>;
|
|
310
|
+
src: "initCamera";
|
|
311
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
312
312
|
id: string | undefined;
|
|
313
313
|
} ? T_2 extends {
|
|
314
314
|
src: TSrc;
|
|
@@ -361,11 +361,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
361
361
|
}, EventObject>;
|
|
362
362
|
id: string | undefined;
|
|
363
363
|
};
|
|
364
|
-
initCamera: {
|
|
365
|
-
src: "initCamera";
|
|
366
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
367
|
-
id: string | undefined;
|
|
368
|
-
};
|
|
369
364
|
requestPermission: {
|
|
370
365
|
src: "requestPermission";
|
|
371
366
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -374,6 +369,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
374
369
|
}, EventObject>;
|
|
375
370
|
id: string | undefined;
|
|
376
371
|
};
|
|
372
|
+
initCamera: {
|
|
373
|
+
src: "initCamera";
|
|
374
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
375
|
+
id: string | undefined;
|
|
376
|
+
};
|
|
377
377
|
checkPermission: {
|
|
378
378
|
src: "checkPermission";
|
|
379
379
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -621,11 +621,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
621
621
|
}, EventObject>;
|
|
622
622
|
id: string | undefined;
|
|
623
623
|
};
|
|
624
|
-
initCamera: {
|
|
625
|
-
src: "initCamera";
|
|
626
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
627
|
-
id: string | undefined;
|
|
628
|
-
};
|
|
629
624
|
requestPermission: {
|
|
630
625
|
src: "requestPermission";
|
|
631
626
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -634,6 +629,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
634
629
|
}, EventObject>;
|
|
635
630
|
id: string | undefined;
|
|
636
631
|
};
|
|
632
|
+
initCamera: {
|
|
633
|
+
src: "initCamera";
|
|
634
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
635
|
+
id: string | undefined;
|
|
636
|
+
};
|
|
637
637
|
checkPermission: {
|
|
638
638
|
src: "checkPermission";
|
|
639
639
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -706,11 +706,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
706
706
|
}, EventObject>;
|
|
707
707
|
id: string | undefined;
|
|
708
708
|
};
|
|
709
|
-
initCamera: {
|
|
710
|
-
src: "initCamera";
|
|
711
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
712
|
-
id: string | undefined;
|
|
713
|
-
};
|
|
714
709
|
requestPermission: {
|
|
715
710
|
src: "requestPermission";
|
|
716
711
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -719,6 +714,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
719
714
|
}, EventObject>;
|
|
720
715
|
id: string | undefined;
|
|
721
716
|
};
|
|
717
|
+
initCamera: {
|
|
718
|
+
src: "initCamera";
|
|
719
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
720
|
+
id: string | undefined;
|
|
721
|
+
};
|
|
722
722
|
checkPermission: {
|
|
723
723
|
src: "checkPermission";
|
|
724
724
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -790,11 +790,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
790
790
|
}, EventObject>;
|
|
791
791
|
id: string | undefined;
|
|
792
792
|
};
|
|
793
|
-
initCamera: {
|
|
794
|
-
src: "initCamera";
|
|
795
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
796
|
-
id: string | undefined;
|
|
797
|
-
};
|
|
798
793
|
requestPermission: {
|
|
799
794
|
src: "requestPermission";
|
|
800
795
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -803,6 +798,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
803
798
|
}, EventObject>;
|
|
804
799
|
id: string | undefined;
|
|
805
800
|
};
|
|
801
|
+
initCamera: {
|
|
802
|
+
src: "initCamera";
|
|
803
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
804
|
+
id: string | undefined;
|
|
805
|
+
};
|
|
806
806
|
checkPermission: {
|
|
807
807
|
src: "checkPermission";
|
|
808
808
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -875,11 +875,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
875
875
|
}, EventObject>;
|
|
876
876
|
id: string | undefined;
|
|
877
877
|
};
|
|
878
|
-
initCamera: {
|
|
879
|
-
src: "initCamera";
|
|
880
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
881
|
-
id: string | undefined;
|
|
882
|
-
};
|
|
883
878
|
requestPermission: {
|
|
884
879
|
src: "requestPermission";
|
|
885
880
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -888,6 +883,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
888
883
|
}, EventObject>;
|
|
889
884
|
id: string | undefined;
|
|
890
885
|
};
|
|
886
|
+
initCamera: {
|
|
887
|
+
src: "initCamera";
|
|
888
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
889
|
+
id: string | undefined;
|
|
890
|
+
};
|
|
891
891
|
checkPermission: {
|
|
892
892
|
src: "checkPermission";
|
|
893
893
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1129,11 +1129,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1129
1129
|
}, EventObject>;
|
|
1130
1130
|
id: string | undefined;
|
|
1131
1131
|
};
|
|
1132
|
-
initCamera: {
|
|
1133
|
-
src: "initCamera";
|
|
1134
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1135
|
-
id: string | undefined;
|
|
1136
|
-
};
|
|
1137
1132
|
requestPermission: {
|
|
1138
1133
|
src: "requestPermission";
|
|
1139
1134
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1142,6 +1137,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1142
1137
|
}, EventObject>;
|
|
1143
1138
|
id: string | undefined;
|
|
1144
1139
|
};
|
|
1140
|
+
initCamera: {
|
|
1141
|
+
src: "initCamera";
|
|
1142
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1143
|
+
id: string | undefined;
|
|
1144
|
+
};
|
|
1145
1145
|
checkPermission: {
|
|
1146
1146
|
src: "checkPermission";
|
|
1147
1147
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1214,11 +1214,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1214
1214
|
}, EventObject>;
|
|
1215
1215
|
id: string | undefined;
|
|
1216
1216
|
};
|
|
1217
|
-
initCamera: {
|
|
1218
|
-
src: "initCamera";
|
|
1219
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1220
|
-
id: string | undefined;
|
|
1221
|
-
};
|
|
1222
1217
|
requestPermission: {
|
|
1223
1218
|
src: "requestPermission";
|
|
1224
1219
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1227,6 +1222,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1227
1222
|
}, EventObject>;
|
|
1228
1223
|
id: string | undefined;
|
|
1229
1224
|
};
|
|
1225
|
+
initCamera: {
|
|
1226
|
+
src: "initCamera";
|
|
1227
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1228
|
+
id: string | undefined;
|
|
1229
|
+
};
|
|
1230
1230
|
checkPermission: {
|
|
1231
1231
|
src: "checkPermission";
|
|
1232
1232
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1298,11 +1298,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1298
1298
|
}, EventObject>;
|
|
1299
1299
|
id: string | undefined;
|
|
1300
1300
|
};
|
|
1301
|
-
initCamera: {
|
|
1302
|
-
src: "initCamera";
|
|
1303
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1304
|
-
id: string | undefined;
|
|
1305
|
-
};
|
|
1306
1301
|
requestPermission: {
|
|
1307
1302
|
src: "requestPermission";
|
|
1308
1303
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1311,6 +1306,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1311
1306
|
}, EventObject>;
|
|
1312
1307
|
id: string | undefined;
|
|
1313
1308
|
};
|
|
1309
|
+
initCamera: {
|
|
1310
|
+
src: "initCamera";
|
|
1311
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1312
|
+
id: string | undefined;
|
|
1313
|
+
};
|
|
1314
1314
|
checkPermission: {
|
|
1315
1315
|
src: "checkPermission";
|
|
1316
1316
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
|
@@ -1433,11 +1433,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1433
1433
|
}, EventObject>;
|
|
1434
1434
|
id: string | undefined;
|
|
1435
1435
|
};
|
|
1436
|
-
initCamera: {
|
|
1437
|
-
src: "initCamera";
|
|
1438
|
-
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1439
|
-
id: string | undefined;
|
|
1440
|
-
};
|
|
1441
1436
|
requestPermission: {
|
|
1442
1437
|
src: "requestPermission";
|
|
1443
1438
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1446,6 +1441,11 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1446
1441
|
}, EventObject>;
|
|
1447
1442
|
id: string | undefined;
|
|
1448
1443
|
};
|
|
1444
|
+
initCamera: {
|
|
1445
|
+
src: "initCamera";
|
|
1446
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
1447
|
+
id: string | undefined;
|
|
1448
|
+
};
|
|
1449
1449
|
checkPermission: {
|
|
1450
1450
|
src: "checkPermission";
|
|
1451
1451
|
logic: PromiseActorLogic<PermissionResult, void, EventObject>;
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-
|
|
2
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
3
|
-
import { t as createEkybManager } from "./ekybManager-
|
|
1
|
+
import { E as SUPPORTED_COUNTRIES, O as isSupportedCountry, S as DEV_ONLY_COUNTRIES, g as toEkybConfig, v as ALL_COUNTRIES } from "./flowServices-Biv5-c5o.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-BYN8RMVj.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-HxBVP7NQ.esm.js";
|
|
4
4
|
export { ALL_COUNTRIES, DEV_ONLY_COUNTRIES, SUPPORTED_COUNTRIES, createEkybManager, ekybMachine, isSupportedCountry, toEkybConfig };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
4
|
+
import { t as ekybMachine } from "./ekybStateMachine-BYN8RMVj.esm.js";
|
|
5
5
|
//#region src/modules/ekyb/ekybActor.ts
|
|
6
6
|
/**
|
|
7
7
|
* Creates and starts an eKYB actor.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-
|
|
3
|
+
import { C as FIELD_NAME_MAPPING, D as UBO_FIELD_LABELS, O as isSupportedCountry, T as INVALID_CNPJ_PATTERNS, _ as ADDRESS_FIELDS, b as CNPJ_SECOND_DIGIT_FACTORS, f as hasAtLeastOneAddressField, g as toEkybConfig, h as sortModulesByOrder, m as requiresAddressValidation, p as isFieldOptional, t as getFlow, v as ALL_COUNTRIES, w as FIELD_ORDER, x as COUNTRIES_WITH_CNPJ_VALIDATION, y as CNPJ_FIRST_DIGIT_FACTORS } from "./flowServices-Biv5-c5o.esm.js";
|
|
4
4
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
5
5
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
6
6
|
import { a as getPostalCodeMaxLength, c as STREET_LEVEL_REQUIRED_ERROR, d as usStateOptions, i as getPostalCodeErrorKey, l as fillFromSuggestion, n as FIXED_DIGIT_POSTAL_CODE_LENGTH, o as validatePostalCode, r as formatPostalCode, s as DYNAMIC_REQUIRED_KEY, t as debounceSearchActor, u as getStreetLevelErrorForSuggestion } from "./addressSearch-DEYnZoez.esm.js";
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentStat
|
|
|
13
13
|
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-C-3PWS2h.js";
|
|
14
14
|
import { a as CrossDocumentDataMatchActor, i as createCrossDocumentDataMatchManagerFromActor, n as CrossDocumentDataMatchState, t as CrossDocumentDataMatchManager } from "./crossDocumentDataMatchManager-Dq8Z3SOg.js";
|
|
15
15
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-DRQrbEhj.js";
|
|
16
|
-
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-
|
|
16
|
+
import { a as DocumentCaptureActor, i as createDocumentCaptureManagerFromActor, n as DocumentCaptureState, t as DocumentCaptureManager } from "./documentCaptureManager-BiKjyojT.js";
|
|
17
17
|
import { a as DynamicFormsActor, i as createDynamicFormsManagerFromActor, n as DynamicFormsState, t as DynamicFormsManager } from "./dynamicFormsManager-BYac2uEY.js";
|
|
18
18
|
import { a as EkybActor, i as createEkybManagerFromActor, n as EkybState, t as EkybManager } from "./ekybManager-Dzswb_b8.js";
|
|
19
19
|
import { a as EkycActor, i as createEkycManagerFromActor, n as EkycState, t as EkycManager } from "./ekycManager-BFpHbBoT.js";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
|
-
import { _ as getDeviceFingerprintInfo, h as FingerprintProvider, m as IpifyProvider, t as getDisableIpify } from "./sessionInitializer-
|
|
2
|
+
import { _ as getDeviceFingerprintInfo, h as FingerprintProvider, m as IpifyProvider, t as getDisableIpify } from "./sessionInitializer-Czr4MNQJ.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-CFsD4BgV.esm.js";
|
|
6
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-D6gIdvub.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
8
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-CckHXqtA.esm.js";
|
|
9
9
|
import { n as createConsentManagerFromActor } from "./consentManager-0EiBXYtL.esm.js";
|
|
10
10
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-Bu32le9u.esm.js";
|
|
11
11
|
import { n as createCrossDocumentDataMatchManagerFromActor } from "./crossDocumentDataMatchManager-Dw7euiiZ.esm.js";
|
|
12
12
|
import { n as createCurpValidationManagerFromActor } from "./curpValidationManager-BGj9U3E0.esm.js";
|
|
13
13
|
import { n as createDocumentCaptureManagerFromActor } from "./documentCaptureManager-DBRQX16v.esm.js";
|
|
14
14
|
import { n as createDynamicFormsManagerFromActor } from "./dynamicFormsManager-DI0sCyVB.esm.js";
|
|
15
|
-
import { n as createEkybManagerFromActor } from "./ekybManager-
|
|
15
|
+
import { n as createEkybManagerFromActor } from "./ekybManager-HxBVP7NQ.esm.js";
|
|
16
16
|
import { n as createEkycManagerFromActor } from "./ekycManager-DRrG5I6e.esm.js";
|
|
17
17
|
import { n as createEmailManagerFromActor } from "./emailManager-Dmt1YrtS.esm.js";
|
|
18
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
19
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
18
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-B3XOQYl4.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Dosr76xf.esm.js";
|
|
20
20
|
import { n as createPhoneManagerFromActor } from "./phoneManager-C3aqq6jS.esm.js";
|
|
21
21
|
import { n as createIdentityReuseManagerFromActor } from "./identityReuseManager-BjMJHKLP.esm.js";
|
|
22
22
|
import { n as createFieldComparisonManagerFromActor } from "./fieldComparisonManager-USUE9qDr.esm.js";
|
package/dist/{faceCaptureManagerFactory-C6IocH9G.esm.js → faceCaptureManagerFactory-DB2htMl-.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dy8PyVO5.esm.js";
|
|
2
2
|
import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
|
|
3
3
|
import { c as createManager } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { n as concealmentToAvatar } from "./faceCaptureSetup-
|
|
4
|
+
import { n as concealmentToAvatar } from "./faceCaptureSetup-D6gIdvub.esm.js";
|
|
5
5
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
6
6
|
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
|
|
7
7
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
@@ -2,12 +2,12 @@ import { r as getToken } from "./api-BDTZNnca.esm.js";
|
|
|
2
2
|
import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
5
|
-
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
5
|
+
import { c as sendLabelInspectionEvent, f as stopStream, l as startDetection, o as initializeCamera, s as initializeDeepsightSession } from "./onDeviceFaceResults-Bm0slGBS.esm.js";
|
|
6
6
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
7
7
|
import { t as createFaceAvatar } from "./createFaceAvatar-x5aaJwVM.esm.js";
|
|
8
8
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
9
9
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
10
|
-
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-
|
|
10
|
+
import { n as preloadOpenViduProvider, r as flagFaceManualReview, t as createRecordingService } from "./recordingService-MZvU1l_T.esm.js";
|
|
11
11
|
//#region src/internal/avatar/concealment.ts
|
|
12
12
|
/**
|
|
13
13
|
* Maps a backend concealment option to the internal avatar flags. `OPTION_NONE`
|
package/dist/flow.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as addEvent } from "./events-Dy8PyVO5.esm.js";
|
|
2
|
-
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
2
|
+
import { a as enrichFlowModuleConfig, c as resolveFlowModuleConfig, i as resolveDashboardModuleConfig, k as mergeDashboardConfig, n as preloadDashboardFlow, o as getRequiredWasmPipelines, s as normalizeFlowModules, t as getFlow } from "./flowServices-Biv5-c5o.esm.js";
|
|
3
3
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
5
|
import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-D5oIlcza.esm.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
4
|
-
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
4
|
+
import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Czr4MNQJ.esm.js";
|
|
5
5
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-BmLmlfRm.esm.js";
|
|
7
7
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
8
8
|
//#region src/modules/flow/dashboardConfig.ts
|
|
9
9
|
function isPlainObject(value) {
|
package/dist/id.esm.js
CHANGED
|
@@ -2,8 +2,8 @@ import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
|
2
2
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
3
3
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
4
4
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
5
|
-
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-
|
|
6
|
-
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-
|
|
5
|
+
import { _ as MANUAL_UPLOAD_MAX_RETRIES, a as initializeIdCapture, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, h as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, i as barcodeToBase64, l as stopRecording, m as ID_ERROR_CODES, o as preloadIdRecordingProvider, p as validateUploadResponse, r as addBarcode, s as processId, t as idCaptureMachine, u as stopStream } from "./idCaptureStateMachine-ztgBsj_W.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Dosr76xf.esm.js";
|
|
7
7
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
|
|
8
8
|
//#region src/modules/id/idCaptureOnlyStateMachine.ts
|
|
9
9
|
function buildSubImage(canvas) {
|
|
@@ -4,7 +4,7 @@ import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.
|
|
|
4
4
|
import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
|
|
5
5
|
import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-CkHL1BjH.esm.js";
|
|
6
6
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
7
|
-
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
7
|
+
import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-ztgBsj_W.esm.js";
|
|
8
8
|
//#region src/modules/id/digitalUpload/instrumentation.ts
|
|
9
9
|
const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
10
10
|
function isHoldingState(value) {
|
package/dist/{idCaptureStateMachine-B-txehAH.esm.js → idCaptureStateMachine-ztgBsj_W.esm.js}
RENAMED
|
@@ -3,20 +3,20 @@ import { r as getToken, t as api } from "./api-BDTZNnca.esm.js";
|
|
|
3
3
|
import { x as revokeObjectURL } from "./events-Dy8PyVO5.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
5
|
import { t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
6
|
-
import { t as getDisableIpify } from "./sessionInitializer-
|
|
6
|
+
import { t as getDisableIpify } from "./sessionInitializer-Czr4MNQJ.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
|
|
8
|
-
import "./session-
|
|
8
|
+
import "./session-BmLmlfRm.esm.js";
|
|
9
9
|
import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
10
10
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
11
11
|
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
12
|
-
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-
|
|
12
|
+
import { _ as StreamCanvasProcessingSession, h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-Bm0slGBS.esm.js";
|
|
13
13
|
import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
|
|
14
14
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
15
15
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
16
16
|
import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
|
|
17
17
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
18
18
|
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-5Cu6a8iN.esm.js";
|
|
19
|
-
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-
|
|
19
|
+
import { i as flagIdManualReview, n as preloadOpenViduProvider } from "./recordingService-MZvU1l_T.esm.js";
|
|
20
20
|
import { n as DEFAULT_ID_CAPTURE_THRESHOLDS$1, r as IdCaptureProvider } from "./idCaptureDefaults-DCrjeNl5.esm.js";
|
|
21
21
|
//#region src/modules/id/digitalUpload/digitalUploadErrors.ts
|
|
22
22
|
const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
|
|
@@ -1614,7 +1614,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1614
1614
|
});
|
|
1615
1615
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1616
1616
|
if (!input.dependencies) return;
|
|
1617
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1617
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BTish2u9.esm.js");
|
|
1618
1618
|
return loadDeepsightSession({
|
|
1619
1619
|
ds: input.ds,
|
|
1620
1620
|
storage: input.dependencies.storage,
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
1
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-BKp1TCFW.esm.js";
|
|
2
2
|
export { isConfigured, reset, setup };
|
|
@@ -516,7 +516,7 @@ async function stopRecording(session) {
|
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
518
|
async function initializeDeepsightSession(options) {
|
|
519
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
519
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BTish2u9.esm.js");
|
|
520
520
|
return loadDeepsightSession({
|
|
521
521
|
ds: options.ds,
|
|
522
522
|
storage: options.storage
|
package/dist/personhood.esm.js
CHANGED
|
@@ -4,13 +4,13 @@ import { t as api } from "./api-BDTZNnca.esm.js";
|
|
|
4
4
|
import { a as createApi$1, t as getStoredHttpConfig } from "./clientLifecycle-BX83zwtT.esm.js";
|
|
5
5
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
7
|
-
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-
|
|
7
|
+
import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-Czr4MNQJ.esm.js";
|
|
8
8
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
9
9
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
10
10
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
11
11
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
12
12
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
13
|
-
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
13
|
+
import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-Bm0slGBS.esm.js";
|
|
14
14
|
import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
|
|
15
15
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
|
|
16
16
|
//#region ../infra/src/crypto/randomUUID.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
3
|
import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
|
|
4
|
-
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-
|
|
4
|
+
import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-Bm0slGBS.esm.js";
|
|
5
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
|
|
6
6
|
//#region src/internal/manualReview/manualReviewService.ts
|
|
7
7
|
async function flagFaceManualReview() {
|
package/dist/selfie.esm.js
CHANGED
|
@@ -2,12 +2,12 @@ import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
4
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
5
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
5
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-D6gIdvub.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DB2htMl-.esm.js";
|
|
7
7
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
8
8
|
import { r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
|
|
9
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
10
|
-
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-
|
|
9
|
+
import { t as selfieMachine } from "./selfieStateMachine-ooY0LtYy.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-B3XOQYl4.esm.js";
|
|
11
11
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-B-QfsCQY.esm.js";
|
|
12
12
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
13
13
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DB2htMl-.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-ooY0LtYy.esm.js";
|
|
7
7
|
//#region src/modules/selfie/selfieActor.ts
|
|
8
8
|
function createSelfieActor(options) {
|
|
9
9
|
const dependencies = options.dependencies ?? {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
2
2
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
-
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-D6gIdvub.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-Bm0slGBS.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
|
6
6
|
import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-BAEYvNVr.esm.js";
|
|
7
7
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./sessionInitializer-Czr4MNQJ.esm.js";
|
package/dist/session.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as getApi } from "./api-BDTZNnca.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
3
|
-
import { i as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { i as initializeSession } from "./sessionInitializer-Czr4MNQJ.esm.js";
|
|
4
4
|
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
5
|
-
import "./session-
|
|
5
|
+
import "./session-BmLmlfRm.esm.js";
|
|
6
6
|
import { n as getFinishStatus } from "./flowCompletionService-D5oIlcza.esm.js";
|
|
7
7
|
//#region src/internal/session/sessionService.ts
|
|
8
8
|
/**
|
|
@@ -1614,7 +1614,7 @@ function isBrowserSimulation(browserEnv) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
//#endregion
|
|
1616
1616
|
//#region src/internal/version/sdkVersion.ts
|
|
1617
|
-
const SDK_VERSION = "0.0.0-dev-20260728-
|
|
1617
|
+
const SDK_VERSION = "0.0.0-dev-20260728-677779f1";
|
|
1618
1618
|
//#endregion
|
|
1619
1619
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
1620
1620
|
function formatOsVersion(os) {
|
|
@@ -7,9 +7,9 @@ import { i as upgradeToWasmHttpClient$1, n as installFreshHttpClient, r as reset
|
|
|
7
7
|
import { _ as setAnalyticsBatcher, g as resetAnalyticsBatcher, h as getAnalyticsBatcher } from "./events-Dy8PyVO5.esm.js";
|
|
8
8
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
9
9
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-4DAk7TYl.esm.js";
|
|
10
|
-
import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy } from "./sessionInitializer-
|
|
10
|
+
import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy } from "./sessionInitializer-Czr4MNQJ.esm.js";
|
|
11
11
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
|
|
12
|
-
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-
|
|
12
|
+
import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-Biv5-c5o.esm.js";
|
|
13
13
|
//#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
|
|
14
14
|
var BrowserPageLifecycleProvider = class {
|
|
15
15
|
sendBeacon(url, body, contentType = "application/json") {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-BKp1TCFW.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
|
|
4
4
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
6
|
-
import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-
|
|
6
|
+
import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-Biv5-c5o.esm.js";
|
|
7
7
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
8
8
|
import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
9
9
|
import { t as checkPermission } from "./permissionServices-CkHL1BjH.esm.js";
|
|
10
10
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
|
|
11
|
-
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-
|
|
11
|
+
import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-Bm0slGBS.esm.js";
|
|
12
12
|
import { n as getBackCameraStream } from "./backCameraStream-6XQp9RxG.esm.js";
|
|
13
13
|
import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
|
|
14
14
|
import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { a as warmupWasm } from "./WasmUtilProvider-BrWOTaVG.esm.js";
|
|
2
2
|
import { a as resolveWasmConfig, n as buildDefaultWasmConfig, r as buildWasmConfigFromBasePath, t as DEFAULT_WASM_VERSION } from "./wasmDefaults-B4DUtYET.esm.js";
|
|
3
|
-
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-
|
|
3
|
+
import { a as setWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines } from "./setup-BKp1TCFW.esm.js";
|
|
4
4
|
export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
|
package/dist/workflow.esm.js
CHANGED
|
@@ -2,27 +2,27 @@ import { g as updateFeatureManagementUser } from "./feature-management-Dw96qEMs.
|
|
|
2
2
|
import { t as api } from "./api-BDTZNnca.esm.js";
|
|
3
3
|
import { m as addEvent, n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CfRg7iAr.esm.js";
|
|
5
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
5
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Czr4MNQJ.esm.js";
|
|
6
6
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
7
|
-
import { g as toEkybConfig } from "./flowServices-
|
|
7
|
+
import { g as toEkybConfig } from "./flowServices-Biv5-c5o.esm.js";
|
|
8
8
|
import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
|
|
9
9
|
import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
|
|
10
10
|
import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
|
|
11
11
|
import { n as electronicSignatureMachine } from "./electronicSignatureManager-BXIpAJ5m.esm.js";
|
|
12
12
|
import "./ae-signature.esm.js";
|
|
13
13
|
import { t as antifraudMachine } from "./antifraudStateMachine-VB-aXHct.esm.js";
|
|
14
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
14
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-efXnPTmb.esm.js";
|
|
15
15
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-Di_bLlkP.esm.js";
|
|
16
16
|
import { t as consentMachine } from "./consentStateMachine-STURxpEc.esm.js";
|
|
17
17
|
import { t as curpValidationMachine } from "./curpValidationStateMachine-Dq6l4oeZ.esm.js";
|
|
18
18
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-BuQML-pk.esm.js";
|
|
19
19
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BXgH9gGq.esm.js";
|
|
20
20
|
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-BQqAwNQ-.esm.js";
|
|
21
|
-
import { t as ekybMachine } from "./ekybStateMachine-
|
|
21
|
+
import { t as ekybMachine } from "./ekybStateMachine-BYN8RMVj.esm.js";
|
|
22
22
|
import { t as ekycMachine } from "./ekycStateMachine-DRbbavZy.esm.js";
|
|
23
23
|
import { t as emailMachine } from "./emailStateMachine-DQS-QMgQ.esm.js";
|
|
24
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
25
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
24
|
+
import { t as selfieMachine } from "./selfieStateMachine-ooY0LtYy.esm.js";
|
|
25
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-ztgBsj_W.esm.js";
|
|
26
26
|
import { t as phoneMachine } from "./phoneStateMachine-CLGcLA8t.esm.js";
|
|
27
27
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-B0IFF3R7.esm.js";
|
|
28
28
|
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-BP3npRnI.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "0.0.0-dev-20260728-
|
|
3
|
+
"version": "0.0.0-dev-20260728-677779f1",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -281,8 +281,8 @@
|
|
|
281
281
|
"tsdown": "^0.22.8",
|
|
282
282
|
"typescript": "^5.9.3",
|
|
283
283
|
"vitest": "4.1.4",
|
|
284
|
-
"@incodetech/
|
|
285
|
-
"@incodetech/
|
|
284
|
+
"@incodetech/config": "1.0.2",
|
|
285
|
+
"@incodetech/infra": "1.2.0"
|
|
286
286
|
},
|
|
287
287
|
"scripts": {
|
|
288
288
|
"build": "tsdown -c tsdown.config.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./sessionInitializer-CMwm-WD5.esm.js";
|