@incodetech/core 0.0.0-dev-20260727-6d540cf0 → 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-BugCSsnK.esm.js → authenticationManager-CckHXqtA.esm.js} +2 -2
- package/dist/{authenticationStateMachine-B15J5KEE.esm.js → authenticationStateMachine-efXnPTmb.esm.js} +2 -2
- package/dist/{deepsightLoader-3f48VAWS.esm.js → deepsightLoader-BTish2u9.esm.js} +1 -1
- package/dist/document-capture.d.ts +1 -1
- package/dist/document-upload.d.ts +4 -4
- package/dist/{documentCaptureManager-pEqMY_Oo.d.ts → documentCaptureManager-BiKjyojT.d.ts} +65 -65
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybManager-D86lOKbu.esm.js → ekybManager-HxBVP7NQ.esm.js} +1 -1
- package/dist/{ekybStateMachine-CscfKZxA.esm.js → ekybStateMachine-BYN8RMVj.esm.js} +1 -1
- package/dist/extensibility.d.ts +3 -3
- package/dist/extensibility.esm.js +6 -6
- package/dist/{faceCaptureManagerFactory-CWqmMqXq.esm.js → faceCaptureManagerFactory-DB2htMl-.esm.js} +1 -1
- package/dist/{faceCaptureSetup-DJSy9KIH.esm.js → faceCaptureSetup-D6gIdvub.esm.js} +2 -2
- package/dist/flow.d.ts +1 -1
- package/dist/flow.esm.js +1 -1
- package/dist/{flowServices-BxqjVAV0.esm.js → flowServices-Biv5-c5o.esm.js} +2 -2
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +2 -2
- package/dist/{idCaptureManager-DECjdrKj.d.ts → idCaptureManager-DmVmaxd9.d.ts} +1 -1
- package/dist/{idCaptureManager-CpqVWwfk.esm.js → idCaptureManager-Dosr76xf.esm.js} +4 -2
- package/dist/{idCaptureStateMachine-f9guPQn1.esm.js → idCaptureStateMachine-ztgBsj_W.esm.js} +24 -9
- package/dist/index.esm.js +1 -1
- package/dist/{onDeviceFaceResults-CXPJhFPL.esm.js → onDeviceFaceResults-Bm0slGBS.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/{recordingService-rNoh1PIz.esm.js → recordingService-MZvU1l_T.esm.js} +1 -1
- package/dist/selfie.esm.js +4 -4
- package/dist/{selfieManager-Br-jyeHB.esm.js → selfieManager-B3XOQYl4.esm.js} +2 -2
- package/dist/{selfieStateMachine-BKelTRVc.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-JZoRl_kK.esm.js → sessionInitializer-Czr4MNQJ.esm.js} +1 -1
- package/dist/{setup-D8Ptyi5X.esm.js → setup-BKp1TCFW.esm.js} +2 -2
- package/dist/{types-B02qlnfB.d.ts → types-DByREvr1.d.ts} +2 -0
- 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 +6 -6
- package/package.json +1 -1
- package/dist/session-Dvgjq8G1.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-BugCSsnK.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 };
|
|
@@ -38,6 +38,10 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
38
38
|
id: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
}>, Values<{
|
|
41
|
+
setError: {
|
|
42
|
+
type: "setError";
|
|
43
|
+
params: NonReducibleUnknown;
|
|
44
|
+
};
|
|
41
45
|
setStream: {
|
|
42
46
|
type: "setStream";
|
|
43
47
|
params: NonReducibleUnknown;
|
|
@@ -50,10 +54,6 @@ declare const documentUploadMachine: StateMachine<DocumentUploadContext, {
|
|
|
50
54
|
type: "setProgress";
|
|
51
55
|
params: NonReducibleUnknown;
|
|
52
56
|
};
|
|
53
|
-
setError: {
|
|
54
|
-
type: "setError";
|
|
55
|
-
params: NonReducibleUnknown;
|
|
56
|
-
};
|
|
57
57
|
clearError: {
|
|
58
58
|
type: "clearError";
|
|
59
59
|
params: NonReducibleUnknown;
|
|
@@ -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,13 +13,13 @@ 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";
|
|
20
20
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-CADXW_9X.js";
|
|
21
|
-
import { n as CaptureIdResponse } from "./types-
|
|
22
|
-
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
21
|
+
import { n as CaptureIdResponse } from "./types-DByREvr1.js";
|
|
22
|
+
import { i as createIdCaptureManagerFromActor, k as IdCaptureActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-DmVmaxd9.js";
|
|
23
23
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-BBU8Lq0O.js";
|
|
24
24
|
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-v2TH5g7e.js";
|
|
25
25
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-CBvEGxFx.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-CWqmMqXq.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.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import { t as AuthenticationConfig } from "./types-BAvkiv6L.js";
|
|
|
9
9
|
import { r as DocumentCaptureConfig } from "./types-B4BObr_7.js";
|
|
10
10
|
import { t as DynamicFormsConfig } from "./types-xIEGXWk8.js";
|
|
11
11
|
import { t as EkybConfig } from "./types-BfHiko5D.js";
|
|
12
|
-
import { c as IdCaptureConfig } from "./types-
|
|
12
|
+
import { c as IdCaptureConfig } from "./types-DByREvr1.js";
|
|
13
13
|
import { r as MandatoryConsentConfig } from "./types-BQgIv5p8.js";
|
|
14
14
|
import { t as IdOcrConfig } from "./types-CBJI9n6h2.js";
|
|
15
15
|
import { t as RedirectToMobileConfig } from "./types-DPIDuhut2.js";
|
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.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
|
|
2
2
|
import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
3
3
|
import { n as PermissionStatus, t as PermissionResult } from "./types-BT-aiBYV.js";
|
|
4
|
-
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-
|
|
5
|
-
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-
|
|
4
|
+
import { A as ManualUploadSide, C as RecordingSession, D as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, E as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, M as DetectionOrientation, O as MANUAL_UPLOAD_MAX_RETRIES, P as IdCaptureSettings, S as IdFlowStep, _ as IdCaptureThresholds, a as DetectionArea, b as IdError, c as IdCaptureConfig, d as IdCaptureEvent, f as IdCaptureGeometry, g as IdCaptureOutput, h as IdCaptureOnlyConfig, i as CapturedImage, j as ManualUploadTab, k as ManualUploadContext, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, r as CaptureOnlyResponse, s as ID_ERROR_CODES, t as AddBarcodeV3Response, u as IdCaptureDependencies, v as IdCapturedImageData, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-DByREvr1.js";
|
|
5
|
+
import { A as createIdCaptureActor, C as CreateIdCaptureOnlyActorOptions, D as idCaptureOnlyMachine, E as IdCaptureOnlyMachine, M as idCaptureMachine, O as CreateIdCaptureActorOptions, S as validateUploadResponse, T as createIdCaptureOnlyActor, _ as startRecordingSession, a as AddBarcodeParams, b as uploadIdImage, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as processId, h as preloadIdRecordingProvider, j as IdCaptureMachine, k as IdCaptureActor, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as stopRecording, w as IdCaptureOnlyActor, x as uploadManualIdFile, y as stopStream } from "./idCaptureManager-DmVmaxd9.js";
|
|
6
6
|
//#region src/modules/id/idCaptureOnlyManager.d.ts
|
|
7
7
|
type IdCaptureOnlyManager = IdCaptureManager;
|
|
8
8
|
/**
|
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) {
|
|
@@ -8,7 +8,7 @@ import { t as CameraStream } from "./camera-9wWD-pwg.js";
|
|
|
8
8
|
import { t as DeepsightService } from "./deepsightService-CR-CYdka.js";
|
|
9
9
|
import { a as RegulationTypes } from "./types-BjTTkLmd.js";
|
|
10
10
|
import { n as PermissionStatus } from "./types-BT-aiBYV.js";
|
|
11
|
-
import { A as ManualUploadSide, C as RecordingSession, F as Pdf417DecodeResult, M as DetectionOrientation, N as IIdCaptureCapability, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-
|
|
11
|
+
import { A as ManualUploadSide, C as RecordingSession, F as Pdf417DecodeResult, M as DetectionOrientation, N as IIdCaptureCapability, T as IAnalyticsCapability, a as DetectionArea, c as IdCaptureConfig, d as IdCaptureEvent, g as IdCaptureOutput, h as IdCaptureOnlyConfig, j as ManualUploadTab, l as IdCaptureContext, m as IdCaptureMode, n as CaptureIdResponse, o as DetectionStatus, p as IdCaptureInput, t as AddBarcodeV3Response, u as IdCaptureDependencies, w as UploadIdResponse, x as IdErrorCode, y as IdDocumentType } from "./types-DByREvr1.js";
|
|
12
12
|
//#region src/modules/id/idCaptureStateMachine.d.ts
|
|
13
13
|
declare const idCaptureMachine: AnyStateMachine;
|
|
14
14
|
type IdCaptureMachine = StateMachine<IdCaptureContext, IdCaptureEvent, any, any, any, any, any, any, any, IdCaptureInput, any, any, any, any>;
|
|
@@ -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) {
|
|
@@ -118,6 +118,7 @@ function getCaptureStatus(snapshot) {
|
|
|
118
118
|
capturing: snapshot.matches({ capture: "capturing" }),
|
|
119
119
|
capturingManual: snapshot.matches({ capture: "capturingManual" }),
|
|
120
120
|
uploading: snapshot.matches({ capture: "uploading" }),
|
|
121
|
+
uploadCompleted: snapshot.matches({ capture: "uploadCompleted" }),
|
|
121
122
|
submittingBarcode: snapshot.matches({ capture: "submittingBarcode" }),
|
|
122
123
|
uploadError: snapshot.matches({ capture: "uploadError" }),
|
|
123
124
|
success: snapshot.matches({ capture: "success" })
|
|
@@ -125,7 +126,7 @@ function getCaptureStatus(snapshot) {
|
|
|
125
126
|
if (matches.initializing) return "initializing";
|
|
126
127
|
if (matches.detecting || matches.manualCaptureWaiting) return "detecting";
|
|
127
128
|
if (matches.capturing || matches.capturingManual) return "capturing";
|
|
128
|
-
if (matches.uploading || matches.submittingBarcode) return "uploading";
|
|
129
|
+
if (matches.uploading || matches.uploadCompleted || matches.submittingBarcode) return "uploading";
|
|
129
130
|
if (matches.uploadError) return "uploadError";
|
|
130
131
|
if (matches.success) return "success";
|
|
131
132
|
}
|
|
@@ -581,6 +582,7 @@ function getCaptureSubstateScreen(snapshot, screens) {
|
|
|
581
582
|
case "capturing": return `${screens.capturePrefix}.takingphoto`;
|
|
582
583
|
case "capturingManual": return `${screens.capturePrefix}.manual`;
|
|
583
584
|
case "uploading":
|
|
585
|
+
case "uploadCompleted":
|
|
584
586
|
case "validatingUpload": return `${screens.analyzingPrefix}.uploading`;
|
|
585
587
|
case "uploadError": return getCaptureErrorScreen(screens, context.uploadError);
|
|
586
588
|
case "success": return getSuccessScreen(snapshot, screens);
|
package/dist/{idCaptureStateMachine-f9guPQn1.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"]);
|
|
@@ -1534,6 +1534,13 @@ const runDetectionActor = fromCallback(({ input, sendBack }) => {
|
|
|
1534
1534
|
session?.dispose();
|
|
1535
1535
|
};
|
|
1536
1536
|
});
|
|
1537
|
+
const uploadProgressTickerActor = fromCallback(({ sendBack }) => {
|
|
1538
|
+
const timer = BrowserTimerProvider.getInstance();
|
|
1539
|
+
const interval = timer.setInterval(() => {
|
|
1540
|
+
sendBack({ type: "UPLOAD_PROGRESS_TICK" });
|
|
1541
|
+
}, 400);
|
|
1542
|
+
return () => timer.clearInterval(interval);
|
|
1543
|
+
});
|
|
1537
1544
|
const uploadIdImageActor = fromPromise(async ({ input, signal }) => {
|
|
1538
1545
|
const image = input.canvas.getBase64Image();
|
|
1539
1546
|
if (!image) throw new Error(ID_ERROR_CODES.UPLOAD_ERROR);
|
|
@@ -1607,7 +1614,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
|
|
|
1607
1614
|
});
|
|
1608
1615
|
const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
|
|
1609
1616
|
if (!input.dependencies) return;
|
|
1610
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
1617
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-BTish2u9.esm.js");
|
|
1611
1618
|
return loadDeepsightSession({
|
|
1612
1619
|
ds: input.ds,
|
|
1613
1620
|
storage: input.dependencies.storage,
|
|
@@ -1919,6 +1926,7 @@ const idCaptureMachine = setup({
|
|
|
1919
1926
|
initializeCamera: initializeCameraActor,
|
|
1920
1927
|
runDetection: runDetectionActor,
|
|
1921
1928
|
uploadIdImage: uploadIdImageActor,
|
|
1929
|
+
uploadProgressTicker: uploadProgressTickerActor,
|
|
1922
1930
|
processId: processIdActor,
|
|
1923
1931
|
submitBarcode: submitBarcodeActor,
|
|
1924
1932
|
startRecording: startRecordingActor,
|
|
@@ -2670,7 +2678,10 @@ const idCaptureMachine = setup({
|
|
|
2670
2678
|
},
|
|
2671
2679
|
uploading: {
|
|
2672
2680
|
entry: assign({ uploadProgress: () => 0 }),
|
|
2673
|
-
invoke: {
|
|
2681
|
+
invoke: [{
|
|
2682
|
+
id: "uploadProgressTicker",
|
|
2683
|
+
src: "uploadProgressTicker"
|
|
2684
|
+
}, {
|
|
2674
2685
|
id: "uploadIdImage",
|
|
2675
2686
|
src: "uploadIdImage",
|
|
2676
2687
|
input: ({ context, self }) => {
|
|
@@ -2699,7 +2710,7 @@ const idCaptureMachine = setup({
|
|
|
2699
2710
|
};
|
|
2700
2711
|
},
|
|
2701
2712
|
onDone: {
|
|
2702
|
-
target: "
|
|
2713
|
+
target: "uploadCompleted",
|
|
2703
2714
|
actions: [assign({
|
|
2704
2715
|
uploadResponse: ({ event }) => event.output,
|
|
2705
2716
|
uploadProgress: () => 100,
|
|
@@ -2713,9 +2724,13 @@ const idCaptureMachine = setup({
|
|
|
2713
2724
|
attemptsRemaining: context.attemptsRemaining - 1
|
|
2714
2725
|
}))
|
|
2715
2726
|
}
|
|
2716
|
-
},
|
|
2717
|
-
on: {
|
|
2727
|
+
}],
|
|
2728
|
+
on: {
|
|
2729
|
+
UPLOAD_PROGRESS: { actions: assign({ uploadProgress: ({ context, event }) => Math.max(context.uploadProgress ?? 0, Math.round(event.progress / 100 * 80)) }) },
|
|
2730
|
+
UPLOAD_PROGRESS_TICK: { actions: assign({ uploadProgress: ({ context }) => Math.min(95, (context.uploadProgress ?? 0) + 1) }) }
|
|
2731
|
+
}
|
|
2718
2732
|
},
|
|
2733
|
+
uploadCompleted: { after: { [800]: { target: "validatingUpload" } } },
|
|
2719
2734
|
validatingUpload: { always: [
|
|
2720
2735
|
{
|
|
2721
2736
|
target: "uploadError",
|
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-
|
|
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.d.ts
CHANGED
|
@@ -320,10 +320,6 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
320
320
|
id: string | undefined;
|
|
321
321
|
};
|
|
322
322
|
}>, Values<{
|
|
323
|
-
setError: {
|
|
324
|
-
type: "setError";
|
|
325
|
-
params: NonReducibleUnknown;
|
|
326
|
-
};
|
|
327
323
|
setLoadingResult: {
|
|
328
324
|
type: "setLoadingResult";
|
|
329
325
|
params: NonReducibleUnknown;
|
|
@@ -352,6 +348,10 @@ declare const workflowMachine: StateMachine<WorkflowContext, {
|
|
|
352
348
|
type: "setFinishStatusFailed";
|
|
353
349
|
params: NonReducibleUnknown;
|
|
354
350
|
};
|
|
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,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 +0,0 @@
|
|
|
1
|
-
import "./sessionInitializer-JZoRl_kK.esm.js";
|