@incodetech/core 0.0.0-dev-20260728-677779f1 → 0.0.0-dev-20260728-dcd649b0
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-CckHXqtA.esm.js → authenticationManager-CXhA0lc5.esm.js} +2 -2
- package/dist/{authenticationStateMachine-efXnPTmb.esm.js → authenticationStateMachine-CwH4siI_.esm.js} +2 -2
- package/dist/{deepsightLoader-BTish2u9.esm.js → deepsightLoader-CXK44MVG.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/{documentCaptureManager-BiKjyojT.d.ts → documentCaptureManager-pEqMY_Oo.d.ts} +65 -65
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-HxBVP7NQ.esm.js → ekybManager-kWGFMAN5.esm.js} +1 -1
- package/dist/{ekybStateMachine-BYN8RMVj.esm.js → ekybStateMachine-DmwnW772.esm.js} +1 -1
- package/dist/extensibility.d.ts +2 -2
- package/dist/extensibility.esm.js +7 -7
- package/dist/{faceCaptureManagerFactory-DB2htMl-.esm.js → faceCaptureManagerFactory-DjcsAq8u.esm.js} +1 -1
- package/dist/{faceCaptureSetup-D6gIdvub.esm.js → faceCaptureSetup-8qt4c6tR.esm.js} +2 -2
- package/dist/flow.esm.js +1 -1
- package/dist/{flowServices-Biv5-c5o.esm.js → flowServices-BcWQgzDl.esm.js} +2 -2
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-Dosr76xf.esm.js → idCaptureManager-Cb7aXt7D.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-ztgBsj_W.esm.js → idCaptureStateMachine-DuQgO4_L.esm.js} +5 -5
- package/dist/index.esm.js +1 -1
- package/dist/{onDeviceFaceResults-Bm0slGBS.esm.js → onDeviceFaceResults-B7udIDIL.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/{recordingService-MZvU1l_T.esm.js → recordingService-DXircQgK.esm.js} +1 -1
- package/dist/redirect-to-mobile.d.ts +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileManager-Ct_5C_La.esm.js → redirectToMobileManager-BO0BVfgM.esm.js} +4 -1
- package/dist/{redirectToMobileManager-DZlJhqvq.d.ts → redirectToMobileManager-BiVH2Ymm.d.ts} +3 -0
- package/dist/{redirectToMobileStateMachine-D78eaxsp.esm.js → redirectToMobileStateMachine-BQuhw8_L.esm.js} +68 -10
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-B3XOQYl4.esm.js → selfieManager-5iJjQHdZ.esm.js} +2 -2
- package/dist/{selfieStateMachine-ooY0LtYy.esm.js → selfieStateMachine-DyoAe6Uh.esm.js} +2 -2
- package/dist/session-BzSGKQL2.esm.js +1 -0
- package/dist/session.esm.js +2 -2
- package/dist/{sessionInitializer-Czr4MNQJ.esm.js → sessionInitializer-oAi9ICPo.esm.js} +1 -1
- package/dist/{setup-BKp1TCFW.esm.js → setup-BpjU9IYU.esm.js} +2 -2
- package/dist/video-selfie.esm.js +3 -3
- package/dist/wasm.esm.js +1 -1
- package/dist/workflow.d.ts +4 -4
- package/dist/workflow.esm.js +7 -7
- package/package.json +3 -3
- package/dist/session-BmLmlfRm.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-CwH4siI_.esm.js";
|
|
2
|
+
import { r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-CXhA0lc5.esm.js";
|
|
3
3
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-CckHXqtA.esm.js → authenticationManager-CXhA0lc5.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-DjcsAq8u.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-CwH4siI_.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-8qt4c6tR.esm.js";
|
|
7
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B7udIDIL.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-oAi9ICPo.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-pEqMY_Oo.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 };
|
|
@@ -38,10 +38,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>, Values<{
|
|
41
|
-
setError: {
|
|
42
|
-
type: "setError";
|
|
43
|
-
params: NonReducibleUnknown;
|
|
44
|
-
};
|
|
45
41
|
setStream: {
|
|
46
42
|
type: "setStream";
|
|
47
43
|
params: NonReducibleUnknown;
|
|
@@ -54,6 +50,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
54
50
|
type: "setProgress";
|
|
55
51
|
params: NonReducibleUnknown;
|
|
56
52
|
};
|
|
53
|
+
setError: {
|
|
54
|
+
type: "setError";
|
|
55
|
+
params: NonReducibleUnknown;
|
|
56
|
+
};
|
|
57
57
|
clearError: {
|
|
58
58
|
type: "clearError";
|
|
59
59
|
params: NonReducibleUnknown;
|
|
@@ -72,6 +72,11 @@ 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
|
+
};
|
|
75
80
|
requestPermission: {
|
|
76
81
|
src: "requestPermission";
|
|
77
82
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -80,11 +85,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
80
85
|
}, EventObject>;
|
|
81
86
|
id: string | undefined;
|
|
82
87
|
};
|
|
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" | "initCamera" | "requestPermission" | "checkPermission" | "finalizeDocumentRequest">(logic: TSrc, ...[options]: ({
|
|
262
262
|
src: "uploadDocument";
|
|
263
263
|
logic: PromiseActorLogic<DocumentUploadResponse, {
|
|
264
264
|
capturedDocument: NonNullable<DocumentCaptureContext["capturedDocument"]>;
|
|
@@ -282,18 +282,12 @@ 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<
|
|
287
|
-
permissionResult?: PermissionResult;
|
|
288
|
-
requestMotionPermission: boolean;
|
|
289
|
-
}, EventObject>;
|
|
285
|
+
src: "initCamera";
|
|
286
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
290
287
|
id: string | undefined;
|
|
291
288
|
} extends (infer T_1) ? T_1 extends {
|
|
292
|
-
src: "
|
|
293
|
-
logic: PromiseActorLogic<
|
|
294
|
-
permissionResult?: PermissionResult;
|
|
295
|
-
requestMotionPermission: boolean;
|
|
296
|
-
}, EventObject>;
|
|
289
|
+
src: "initCamera";
|
|
290
|
+
logic: PromiseActorLogic<MediaStream, void, EventObject>;
|
|
297
291
|
id: string | undefined;
|
|
298
292
|
} ? T_1 extends {
|
|
299
293
|
src: TSrc;
|
|
@@ -303,12 +297,18 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
303
297
|
input?: InputFrom<T_1["logic"]> | undefined;
|
|
304
298
|
syncSnapshot?: boolean;
|
|
305
299
|
} & { [K_1 in RequiredActorOptions<T_1>]: unknown; }) | undefined], IsNotNever<RequiredActorOptions<T_1>>> : never : never : never) | ({
|
|
306
|
-
src: "
|
|
307
|
-
logic: PromiseActorLogic<
|
|
300
|
+
src: "requestPermission";
|
|
301
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
302
|
+
permissionResult?: PermissionResult;
|
|
303
|
+
requestMotionPermission: boolean;
|
|
304
|
+
}, EventObject>;
|
|
308
305
|
id: string | undefined;
|
|
309
306
|
} extends (infer T_2) ? T_2 extends {
|
|
310
|
-
src: "
|
|
311
|
-
logic: PromiseActorLogic<
|
|
307
|
+
src: "requestPermission";
|
|
308
|
+
logic: PromiseActorLogic<PermissionResult, {
|
|
309
|
+
permissionResult?: PermissionResult;
|
|
310
|
+
requestMotionPermission: boolean;
|
|
311
|
+
}, EventObject>;
|
|
312
312
|
id: string | undefined;
|
|
313
313
|
} ? T_2 extends {
|
|
314
314
|
src: TSrc;
|
|
@@ -361,6 +361,11 @@ 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
|
+
};
|
|
364
369
|
requestPermission: {
|
|
365
370
|
src: "requestPermission";
|
|
366
371
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -369,11 +374,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
369
374
|
}, EventObject>;
|
|
370
375
|
id: string | undefined;
|
|
371
376
|
};
|
|
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,6 +621,11 @@ 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
|
+
};
|
|
624
629
|
requestPermission: {
|
|
625
630
|
src: "requestPermission";
|
|
626
631
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -629,11 +634,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
629
634
|
}, EventObject>;
|
|
630
635
|
id: string | undefined;
|
|
631
636
|
};
|
|
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,6 +706,11 @@ 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
|
+
};
|
|
709
714
|
requestPermission: {
|
|
710
715
|
src: "requestPermission";
|
|
711
716
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -714,11 +719,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
714
719
|
}, EventObject>;
|
|
715
720
|
id: string | undefined;
|
|
716
721
|
};
|
|
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,6 +790,11 @@ 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
|
+
};
|
|
793
798
|
requestPermission: {
|
|
794
799
|
src: "requestPermission";
|
|
795
800
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -798,11 +803,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
798
803
|
}, EventObject>;
|
|
799
804
|
id: string | undefined;
|
|
800
805
|
};
|
|
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,6 +875,11 @@ 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
|
+
};
|
|
878
883
|
requestPermission: {
|
|
879
884
|
src: "requestPermission";
|
|
880
885
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -883,11 +888,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
883
888
|
}, EventObject>;
|
|
884
889
|
id: string | undefined;
|
|
885
890
|
};
|
|
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,6 +1129,11 @@ 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
|
+
};
|
|
1132
1137
|
requestPermission: {
|
|
1133
1138
|
src: "requestPermission";
|
|
1134
1139
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1137,11 +1142,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1137
1142
|
}, EventObject>;
|
|
1138
1143
|
id: string | undefined;
|
|
1139
1144
|
};
|
|
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,6 +1214,11 @@ 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
|
+
};
|
|
1217
1222
|
requestPermission: {
|
|
1218
1223
|
src: "requestPermission";
|
|
1219
1224
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1222,11 +1227,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1222
1227
|
}, EventObject>;
|
|
1223
1228
|
id: string | undefined;
|
|
1224
1229
|
};
|
|
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,6 +1298,11 @@ 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
|
+
};
|
|
1301
1306
|
requestPermission: {
|
|
1302
1307
|
src: "requestPermission";
|
|
1303
1308
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1306,11 +1311,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1306
1311
|
}, EventObject>;
|
|
1307
1312
|
id: string | undefined;
|
|
1308
1313
|
};
|
|
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,6 +1433,11 @@ 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
|
+
};
|
|
1436
1441
|
requestPermission: {
|
|
1437
1442
|
src: "requestPermission";
|
|
1438
1443
|
logic: PromiseActorLogic<PermissionResult, {
|
|
@@ -1441,11 +1446,6 @@ declare const documentCaptureMachine: StateMachine<DocumentCaptureContext, {
|
|
|
1441
1446
|
}, EventObject>;
|
|
1442
1447
|
id: string | undefined;
|
|
1443
1448
|
};
|
|
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-BcWQgzDl.esm.js";
|
|
2
|
+
import { t as ekybMachine } from "./ekybStateMachine-DmwnW772.esm.js";
|
|
3
|
+
import { t as createEkybManager } from "./ekybManager-kWGFMAN5.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-DmwnW772.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-BcWQgzDl.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-pEqMY_Oo.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";
|
|
@@ -25,7 +25,7 @@ import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as
|
|
|
25
25
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.js";
|
|
26
26
|
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Ck2e2W4o.js";
|
|
27
27
|
import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, t as IdOcrManager } from "./idOcrManager-5vi0uwLZ.js";
|
|
28
|
-
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-
|
|
28
|
+
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BiVH2Ymm.js";
|
|
29
29
|
import { a as GeolocationActor, i as createGeolocationManagerFromActor, n as GeolocationState, t as GeolocationManager } from "./geolocationManager-Cz744E5S.js";
|
|
30
30
|
import { a as IdVerificationActor, i as createIdVerificationManagerFromActor, n as IdVerificationState, t as IdVerificationManager } from "./idVerificationManager-BB4Pj_N6.js";
|
|
31
31
|
import { a as FaceMatchActor, i as createFaceMatchManagerFromActor, n as FaceMatchState, t as FaceMatchManager } from "./faceMatchManager-BnvrZM2F.js";
|
|
@@ -1,28 +1,28 @@
|
|
|
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-oAi9ICPo.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-8qt4c6tR.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-CXhA0lc5.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-kWGFMAN5.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-5iJjQHdZ.esm.js";
|
|
19
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-Cb7aXt7D.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";
|
|
23
23
|
import { n as createMandatoryConsentManagerFromActor } from "./mandatoryConsentManager-BOOjm7SU.esm.js";
|
|
24
24
|
import { n as createIdOcrManagerFromActor } from "./idOcrManager-gscmFPxD.esm.js";
|
|
25
|
-
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-
|
|
25
|
+
import { n as createRedirectToMobileManagerFromActor } from "./redirectToMobileManager-BO0BVfgM.esm.js";
|
|
26
26
|
import { n as createGeolocationManagerFromActor } from "./geolocationManager-zeqAcVHC.esm.js";
|
|
27
27
|
import { n as createIdVerificationManagerFromActor } from "./idVerificationManager-BTsyXjv6.esm.js";
|
|
28
28
|
import { n as createFaceMatchManagerFromActor } from "./faceMatchManager-fPX11GnX.esm.js";
|
package/dist/{faceCaptureManagerFactory-DB2htMl-.esm.js → faceCaptureManagerFactory-DjcsAq8u.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-8qt4c6tR.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-B7udIDIL.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-DXircQgK.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-BcWQgzDl.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-oAi9ICPo.esm.js";
|
|
5
5
|
import { r as toIncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-BzSGKQL2.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-DuQgO4_L.esm.js";
|
|
6
|
+
import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Cb7aXt7D.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-DuQgO4_L.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-ztgBsj_W.esm.js → idCaptureStateMachine-DuQgO4_L.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-oAi9ICPo.esm.js";
|
|
7
7
|
import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
|
|
8
|
-
import "./session-
|
|
8
|
+
import "./session-BzSGKQL2.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-B7udIDIL.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-DXircQgK.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-CXK44MVG.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-BpjU9IYU.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-CXK44MVG.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-oAi9ICPo.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-B7udIDIL.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-B7udIDIL.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() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as RedirectToMobileServices, t as RedirectToMobileConfig } from "./types-DPIDuhut2.js";
|
|
2
|
-
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-
|
|
2
|
+
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, o as redirectToMobileMachine, r as createRedirectToMobileManager, t as RedirectToMobileManager } from "./redirectToMobileManager-BiVH2Ymm.js";
|
|
3
3
|
//#region src/modules/redirect-to-mobile/redirectToMobileServices.d.ts
|
|
4
4
|
declare const defaultRedirectToMobileServices: RedirectToMobileServices;
|
|
5
5
|
//#endregion
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-
|
|
1
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices } from "./redirectToMobileStateMachine-BQuhw8_L.esm.js";
|
|
2
|
+
import { n as createRedirectToMobileManagerFromActor, t as createRedirectToMobileManager } from "./redirectToMobileManager-BO0BVfgM.esm.js";
|
|
3
3
|
export { createRedirectToMobileManager, createRedirectToMobileManagerFromActor, defaultRedirectToMobileServices, redirectToMobileMachine };
|
package/dist/{redirectToMobileManager-Ct_5C_La.esm.js → redirectToMobileManager-BO0BVfgM.esm.js}
RENAMED
|
@@ -2,7 +2,7 @@ import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.j
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dy8PyVO5.esm.js";
|
|
3
3
|
import { c as createManager, 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
|
-
import { n as defaultRedirectToMobileServices, t as
|
|
5
|
+
import { n as redirectToMobileMachine, r as defaultRedirectToMobileServices, t as canResendSmsFromContext } from "./redirectToMobileStateMachine-BQuhw8_L.esm.js";
|
|
6
6
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
7
7
|
const POLL_INTERVAL_MS = 5e3;
|
|
8
8
|
const QR_REFRESH_INTERVAL_MS = 5e3;
|
|
@@ -64,6 +64,9 @@ function mapState(snapshot) {
|
|
|
64
64
|
redirectUrl: context.redirectUrl,
|
|
65
65
|
phonePrefix: context.phonePrefix,
|
|
66
66
|
smsSent: context.smsSent,
|
|
67
|
+
smsFailed: context.smsFailed,
|
|
68
|
+
smsResendTimer: context.smsResendTimer,
|
|
69
|
+
canResendSms: canResendSmsFromContext(context),
|
|
67
70
|
error: context.error
|
|
68
71
|
};
|
|
69
72
|
if (typedSnapshot.matches("finished")) return { status: "finished" };
|
package/dist/{redirectToMobileManager-DZlJhqvq.d.ts → redirectToMobileManager-BiVH2Ymm.d.ts}
RENAMED
|
@@ -25,6 +25,9 @@ type RedirectToMobileRedirectingState = {
|
|
|
25
25
|
redirectUrl: string;
|
|
26
26
|
phonePrefix: string;
|
|
27
27
|
smsSent: boolean;
|
|
28
|
+
smsFailed: boolean;
|
|
29
|
+
smsResendTimer: number;
|
|
30
|
+
canResendSms: boolean;
|
|
28
31
|
error: string | undefined;
|
|
29
32
|
};
|
|
30
33
|
type RedirectToMobileFinishedState = {
|
|
@@ -45,6 +45,10 @@ const defaultRedirectToMobileServices = {
|
|
|
45
45
|
//#region src/modules/redirect-to-mobile/redirectToMobileStateMachine.ts
|
|
46
46
|
const POLL_INTERVAL_MS = 5e3;
|
|
47
47
|
const QR_REFRESH_INTERVAL_MS = 5e3;
|
|
48
|
+
const SMS_RESEND_TIMER_SECONDS = 30;
|
|
49
|
+
function canResendSmsFromContext(context) {
|
|
50
|
+
return !context.smsResendTimerActive && !context.smsFailed;
|
|
51
|
+
}
|
|
48
52
|
function buildRedirectUrl(baseUrl, customUrl, config, urlUuid) {
|
|
49
53
|
const uuid = getUrlSearchParam(baseUrl, "uuid") ?? "";
|
|
50
54
|
return buildUrlWithSearchParams(customUrl ?? baseUrl, {
|
|
@@ -103,6 +107,17 @@ const redirectToMobileMachine = setup({
|
|
|
103
107
|
uuid: input.uuid,
|
|
104
108
|
params
|
|
105
109
|
}, signal);
|
|
110
|
+
}),
|
|
111
|
+
smsResendTimer: fromCallback(({ input, sendBack }) => {
|
|
112
|
+
const timer = BrowserTimerProvider.getInstance();
|
|
113
|
+
let remaining = input.seconds;
|
|
114
|
+
if (remaining <= 0) return () => {};
|
|
115
|
+
const interval = timer.setInterval(() => {
|
|
116
|
+
sendBack({ type: "SMS_RESEND_TICK" });
|
|
117
|
+
remaining -= 1;
|
|
118
|
+
if (remaining <= 0) timer.clearInterval(interval);
|
|
119
|
+
}, 1e3);
|
|
120
|
+
return () => timer.clearInterval(interval);
|
|
106
121
|
})
|
|
107
122
|
},
|
|
108
123
|
actions: {
|
|
@@ -118,12 +133,36 @@ const redirectToMobileMachine = setup({
|
|
|
118
133
|
return { phonePrefix: event.output.phonePrefix };
|
|
119
134
|
}),
|
|
120
135
|
setError: assign(({ event }) => ({ error: String(event.error) })),
|
|
121
|
-
|
|
136
|
+
completeSmsSend: assign(() => {
|
|
137
|
+
return {
|
|
138
|
+
smsSent: true,
|
|
139
|
+
smsFailed: false,
|
|
140
|
+
smsResendTimer: SMS_RESEND_TIMER_SECONDS,
|
|
141
|
+
smsResendTimerActive: true,
|
|
142
|
+
error: void 0
|
|
143
|
+
};
|
|
144
|
+
}),
|
|
122
145
|
resetSmsSent: assign({
|
|
123
146
|
smsSent: () => false,
|
|
147
|
+
smsFailed: () => false,
|
|
148
|
+
smsResendTimer: () => 0,
|
|
149
|
+
smsResendTimerActive: () => false,
|
|
124
150
|
error: () => void 0
|
|
125
151
|
}),
|
|
126
|
-
|
|
152
|
+
completeSmsFailure: assign(({ event }) => ({
|
|
153
|
+
smsSent: false,
|
|
154
|
+
smsFailed: true,
|
|
155
|
+
error: String(event.error),
|
|
156
|
+
smsResendTimer: 0,
|
|
157
|
+
smsResendTimerActive: false
|
|
158
|
+
})),
|
|
159
|
+
tickSmsResendTimer: assign(({ context }) => {
|
|
160
|
+
const newTimer = Math.max(0, context.smsResendTimer - 1);
|
|
161
|
+
return {
|
|
162
|
+
smsResendTimer: newTimer,
|
|
163
|
+
smsResendTimerActive: newTimer > 0
|
|
164
|
+
};
|
|
165
|
+
}),
|
|
127
166
|
updateQrUrl: assign(({ context, event }) => {
|
|
128
167
|
const { urlUuid } = event;
|
|
129
168
|
return {
|
|
@@ -132,7 +171,10 @@ const redirectToMobileMachine = setup({
|
|
|
132
171
|
};
|
|
133
172
|
})
|
|
134
173
|
},
|
|
135
|
-
guards: {
|
|
174
|
+
guards: {
|
|
175
|
+
hasPhishingResistance: ({ context }) => context.config.qrPhishingResistance === true,
|
|
176
|
+
canResendSms: ({ context }) => canResendSmsFromContext(context)
|
|
177
|
+
}
|
|
136
178
|
}).createMachine({
|
|
137
179
|
id: "redirectToMobile",
|
|
138
180
|
initial: "idle",
|
|
@@ -144,6 +186,9 @@ const redirectToMobileMachine = setup({
|
|
|
144
186
|
urlUuid: "",
|
|
145
187
|
phonePrefix: "",
|
|
146
188
|
smsSent: false,
|
|
189
|
+
smsFailed: false,
|
|
190
|
+
smsResendTimer: 0,
|
|
191
|
+
smsResendTimerActive: false,
|
|
147
192
|
error: void 0
|
|
148
193
|
}),
|
|
149
194
|
states: {
|
|
@@ -215,14 +260,27 @@ const redirectToMobileMachine = setup({
|
|
|
215
260
|
}),
|
|
216
261
|
onDone: {
|
|
217
262
|
target: "sent",
|
|
218
|
-
actions: "
|
|
263
|
+
actions: "completeSmsSend"
|
|
219
264
|
},
|
|
220
|
-
onError: {
|
|
221
|
-
target: "
|
|
222
|
-
actions: "
|
|
223
|
-
}
|
|
265
|
+
onError: [{
|
|
266
|
+
target: "sent",
|
|
267
|
+
actions: "completeSmsFailure"
|
|
268
|
+
}]
|
|
224
269
|
} },
|
|
225
|
-
sent: {
|
|
270
|
+
sent: {
|
|
271
|
+
invoke: {
|
|
272
|
+
id: "smsResendTimer",
|
|
273
|
+
src: "smsResendTimer",
|
|
274
|
+
input: ({ context }) => ({ seconds: context.smsResendTimer })
|
|
275
|
+
},
|
|
276
|
+
on: {
|
|
277
|
+
SMS_RESEND_TICK: { actions: "tickSmsResendTimer" },
|
|
278
|
+
SEND_SMS: {
|
|
279
|
+
target: "sending",
|
|
280
|
+
guard: "canResendSms"
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
226
284
|
}
|
|
227
285
|
}
|
|
228
286
|
},
|
|
@@ -241,4 +299,4 @@ const redirectToMobileMachine = setup({
|
|
|
241
299
|
}
|
|
242
300
|
});
|
|
243
301
|
//#endregion
|
|
244
|
-
export {
|
|
302
|
+
export { redirectToMobileMachine as n, defaultRedirectToMobileServices as r, canResendSmsFromContext as t };
|
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-8qt4c6tR.esm.js";
|
|
6
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-DjcsAq8u.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-DyoAe6Uh.esm.js";
|
|
10
|
+
import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-5iJjQHdZ.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-DjcsAq8u.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-DyoAe6Uh.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-8qt4c6tR.esm.js";
|
|
4
|
+
import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B7udIDIL.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-oAi9ICPo.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-oAi9ICPo.esm.js";
|
|
4
4
|
import { r as toIncodeApiError, t as IncodeApiError } from "./apiError-B-PkYxln.esm.js";
|
|
5
|
-
import "./session-
|
|
5
|
+
import "./session-BzSGKQL2.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-dcd649b0";
|
|
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-oAi9ICPo.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-BcWQgzDl.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-BpjU9IYU.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-BcWQgzDl.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-B7udIDIL.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-BpjU9IYU.esm.js";
|
|
4
4
|
export { DEFAULT_WASM_VERSION, buildDefaultWasmConfig, buildWasmConfigFromBasePath, ensureWasmPipelines, initializeWasmUtil, resolveWasmConfig, setWasmConfig, upgradeToWasmHttpClient, warmupWasm };
|
package/dist/workflow.d.ts
CHANGED
|
@@ -320,6 +320,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
320
320
|
id: string | undefined;
|
|
321
321
|
};
|
|
322
322
|
}>, Values<{
|
|
323
|
+
setError: {
|
|
324
|
+
type: "setError";
|
|
325
|
+
params: NonReducibleUnknown;
|
|
326
|
+
};
|
|
323
327
|
setLoadingResult: {
|
|
324
328
|
type: "setLoadingResult";
|
|
325
329
|
params: NonReducibleUnknown;
|
|
@@ -348,10 +352,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
348
352
|
type: "setFinishStatusFailed";
|
|
349
353
|
params: NonReducibleUnknown;
|
|
350
354
|
};
|
|
351
|
-
setError: {
|
|
352
|
-
type: "setError";
|
|
353
|
-
params: NonReducibleUnknown;
|
|
354
|
-
};
|
|
355
355
|
setModuleError: {
|
|
356
356
|
type: "setModuleError";
|
|
357
357
|
params: NonReducibleUnknown;
|
package/dist/workflow.esm.js
CHANGED
|
@@ -2,32 +2,32 @@ 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-oAi9ICPo.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-BcWQgzDl.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-CwH4siI_.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-DmwnW772.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-DyoAe6Uh.esm.js";
|
|
25
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-DuQgO4_L.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";
|
|
29
29
|
import { t as idOcrStateMachine } from "./idOcrStateMachine-jfAyK4Bb.esm.js";
|
|
30
|
-
import {
|
|
30
|
+
import { n as redirectToMobileMachine } from "./redirectToMobileStateMachine-BQuhw8_L.esm.js";
|
|
31
31
|
import { t as geolocationMachine } from "./geolocationStateMachine-DxSETS9_.esm.js";
|
|
32
32
|
import { t as idVerificationMachine } from "./idVerificationStateMachine-7BSciEJk.esm.js";
|
|
33
33
|
import { t as faceMatchMachine } from "./faceMatchStateMachine-D_7UX1rV.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-dcd649b0",
|
|
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/infra": "1.2.0",
|
|
285
|
+
"@incodetech/config": "1.0.2"
|
|
286
286
|
},
|
|
287
287
|
"scripts": {
|
|
288
288
|
"build": "tsdown -c tsdown.config.ts",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "./sessionInitializer-Czr4MNQJ.esm.js";
|