@incodetech/core 2.1.0-rc.0 → 2.1.0-rc.1
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/{WasmUtilProvider-CiEN7Gjn.esm.js → WasmUtilProvider-BKWm8rSA.esm.js} +19 -0
- package/dist/authentication.d.ts +3 -3
- package/dist/authentication.esm.js +8 -8
- package/dist/{authenticationManager-ZNotsWnC.esm.js → authenticationManager-BlR6mSaG.esm.js} +3 -3
- package/dist/{authenticationManager-CIVY80H9.d.ts → authenticationManager-CaiQbp-q.d.ts} +1 -1
- package/dist/{authenticationStateMachine-DksVbF_H.esm.js → authenticationStateMachine-DkcGUMw5.esm.js} +2 -2
- package/dist/camera.esm.js +2 -2
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-BLd51QiW.d.ts → consentManager-Cg5Sk2tv.d.ts} +53 -53
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-BnieFXuG.d.ts → cpfOcrManager-Dg1s_TY5.d.ts} +17 -17
- package/dist/{deepsightLoader-65k1Appi.esm.js → deepsightLoader-8tnddNx-.esm.js} +1 -1
- package/dist/{deepsightService-B7ShOkWL.d.ts → deepsightService-Dh5P-hLf.d.ts} +5 -0
- package/dist/document-capture.d.ts +222 -222
- package/dist/document-capture.esm.js +4 -4
- package/dist/document-upload.d.ts +43 -43
- package/dist/{documentCaptureStateMachine-WYV1r9le.esm.js → documentCaptureStateMachine-CUTUzUw_.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-aYixw2sL.esm.js → ekybStateMachine-klc-AImJ.esm.js} +1 -1
- package/dist/extensibility.d.ts +18 -9
- package/dist/extensibility.esm.js +13 -13
- package/dist/face-match.d.ts +0 -11
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureManagerFactory-C_hRHx8a.d.ts → faceCaptureManagerFactory-CjdBUS6s.d.ts} +14 -7
- package/dist/{faceCaptureManagerFactory-kqbUqtrr.esm.js → faceCaptureManagerFactory-ej2j1LMr.esm.js} +1 -1
- package/dist/{faceCaptureSetup-CtvHWd3x.esm.js → faceCaptureSetup-B9t6bYze.esm.js} +3 -3
- package/dist/{faceMatchStateMachine-DdGXUBnx.esm.js → faceMatchStateMachine-DeXXzSuz.esm.js} +6 -4
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -9
- package/dist/{flowServices-BTuHLHVr.esm.js → flowServices-ChgTNggJ.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +52 -52
- package/dist/id-verification.d.ts +25 -25
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +41 -8
- package/dist/{idCaptureManager-D-QYESvF.d.ts → idCaptureManager-ChCNmgBj.d.ts} +13 -7
- package/dist/{idCaptureManager-DGVv5l1_.esm.js → idCaptureManager-D3pwWutw.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-DHi7HydI.esm.js → idCaptureStateMachine-B3AiDIsT.esm.js} +6 -6
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-DwLtVzUn.d.ts → identityReuseManager-Cww-NDtd.d.ts} +34 -34
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-KfIlURRY.d.ts → mandatoryConsentManager-Dq6WiOZh.d.ts} +50 -50
- package/dist/{permissionGuards-C1ispV96.esm.js → permissionGuards-D0wGddy7.esm.js} +1 -1
- package/dist/{permissionServices-CG3bMSfG.esm.js → permissionServices-Doec4X5L.esm.js} +1 -1
- package/dist/{recordingService-Bn9EdCmz.esm.js → recordingService-yRw7hfzU.esm.js} +2 -2
- package/dist/selfie.d.ts +3 -3
- package/dist/selfie.esm.js +34 -9
- package/dist/{selfieManager-BjCoKRy0.esm.js → selfieManager-BNuTIGAz.esm.js} +3 -3
- package/dist/{selfieManager-dUbKRzOh.d.ts → selfieManager-C2y_t6DG.d.ts} +1 -1
- package/dist/{selfieStateMachine-b4F2q9zw.esm.js → selfieStateMachine-Bv99bZJE.esm.js} +2 -2
- package/dist/session.esm.js +1 -1
- package/dist/{sessionInitializer-B8H5MsXM.esm.js → sessionInitializer-DRB-hgbV.esm.js} +1 -1
- package/dist/{setup-BbkprdVv.d.ts → setup-BwCluiw3.d.ts} +29 -0
- package/dist/{setup-BqEfrdja.esm.js → setup-CUO4mErT.esm.js} +16 -4
- package/dist/trust-graph.d.ts +2 -2
- package/dist/wasm.d.ts +1 -1
- package/dist/wasm.esm.js +3 -3
- package/dist/workflow.d.ts +88 -95
- package/dist/workflow.esm.js +27 -53
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
1
|
+
import "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
2
|
import "./api-CESGtpbH.esm.js";
|
|
3
3
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dvvriq9l.esm.js";
|
|
4
4
|
import "./endpoints-BeTK0Mlt.esm.js";
|
|
5
5
|
import "./platform-SKvEfCBh.esm.js";
|
|
6
6
|
import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
7
7
|
import "./MotionSensorProvider-Bx7Mpzt0.esm.js";
|
|
8
|
-
import "./permissionServices-
|
|
8
|
+
import "./permissionServices-Doec4X5L.esm.js";
|
|
9
9
|
import "./camera-DJWm3V4g.esm.js";
|
|
10
10
|
import "./ITimerCapability-CB0I1Uf2.esm.js";
|
|
11
11
|
import "./backCameraStream-D7Wo4Nbx.esm.js";
|
|
12
|
-
import "./permissionGuards-
|
|
13
|
-
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-
|
|
12
|
+
import "./permissionGuards-D0wGddy7.esm.js";
|
|
13
|
+
import { n as DOCUMENT_CAPTURE_ERROR_CODES, t as documentCaptureMachine } from "./documentCaptureStateMachine-CUTUzUw_.esm.js";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/document-capture/documentCaptureActor.ts
|
|
16
16
|
function createDocumentCaptureActor(options) {
|
|
@@ -2,10 +2,10 @@ import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
|
2
2
|
import "./Actor-Y0_Fj-KL.js";
|
|
3
3
|
import "./camera-SRBpPq2X.js";
|
|
4
4
|
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-Bj9hdFjU.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as xstate294 from "xstate";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
8
|
-
declare const documentUploadMachine:
|
|
8
|
+
declare const documentUploadMachine: xstate294.StateMachine<DocumentUploadContext, {
|
|
9
9
|
type: "START";
|
|
10
10
|
} | {
|
|
11
11
|
type: "CAPTURE";
|
|
@@ -18,52 +18,52 @@ declare const documentUploadMachine: xstate368.StateMachine<DocumentUploadContex
|
|
|
18
18
|
} | {
|
|
19
19
|
type: "CLOSE";
|
|
20
20
|
}, {
|
|
21
|
-
[x: string]:
|
|
21
|
+
[x: string]: xstate294.ActorRefFromLogic<xstate294.PromiseActorLogic<void, {
|
|
22
22
|
imageBase64: string;
|
|
23
23
|
documentType: string;
|
|
24
24
|
onProgress: (progress: number) => void;
|
|
25
|
-
},
|
|
26
|
-
},
|
|
25
|
+
}, xstate294.EventObject>> | xstate294.ActorRefFromLogic<xstate294.PromiseActorLogic<MediaStream, void, xstate294.EventObject>> | undefined;
|
|
26
|
+
}, xstate294.Values<{
|
|
27
27
|
uploadDocument: {
|
|
28
28
|
src: "uploadDocument";
|
|
29
|
-
logic:
|
|
29
|
+
logic: xstate294.PromiseActorLogic<void, {
|
|
30
30
|
imageBase64: string;
|
|
31
31
|
documentType: string;
|
|
32
32
|
onProgress: (progress: number) => void;
|
|
33
|
-
},
|
|
33
|
+
}, xstate294.EventObject>;
|
|
34
34
|
id: string | undefined;
|
|
35
35
|
};
|
|
36
36
|
initCamera: {
|
|
37
37
|
src: "initCamera";
|
|
38
|
-
logic:
|
|
38
|
+
logic: xstate294.PromiseActorLogic<MediaStream, void, xstate294.EventObject>;
|
|
39
39
|
id: string | undefined;
|
|
40
40
|
};
|
|
41
|
-
}>,
|
|
41
|
+
}>, xstate294.Values<{
|
|
42
42
|
setError: {
|
|
43
43
|
type: "setError";
|
|
44
|
-
params:
|
|
44
|
+
params: xstate294.NonReducibleUnknown;
|
|
45
45
|
};
|
|
46
46
|
clearError: {
|
|
47
47
|
type: "clearError";
|
|
48
|
-
params:
|
|
48
|
+
params: xstate294.NonReducibleUnknown;
|
|
49
49
|
};
|
|
50
50
|
setStream: {
|
|
51
51
|
type: "setStream";
|
|
52
|
-
params:
|
|
52
|
+
params: xstate294.NonReducibleUnknown;
|
|
53
|
+
};
|
|
54
|
+
setImageAndClearError: {
|
|
55
|
+
type: "setImageAndClearError";
|
|
56
|
+
params: xstate294.NonReducibleUnknown;
|
|
53
57
|
};
|
|
54
58
|
setProgress: {
|
|
55
59
|
type: "setProgress";
|
|
56
|
-
params:
|
|
60
|
+
params: xstate294.NonReducibleUnknown;
|
|
57
61
|
};
|
|
58
62
|
stopStream: {
|
|
59
63
|
type: "stopStream";
|
|
60
|
-
params:
|
|
61
|
-
};
|
|
62
|
-
setImageAndClearError: {
|
|
63
|
-
type: "setImageAndClearError";
|
|
64
|
-
params: xstate368.NonReducibleUnknown;
|
|
64
|
+
params: xstate294.NonReducibleUnknown;
|
|
65
65
|
};
|
|
66
|
-
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput,
|
|
66
|
+
}>, never, never, "error" | "idle" | "uploading" | "closed" | "finished" | "initCamera" | "capturing", string, DocumentUploadInput, xstate294.NonReducibleUnknown, xstate294.EventObject, xstate294.MetaObject, {
|
|
67
67
|
readonly id: "documentUpload";
|
|
68
68
|
readonly initial: "idle";
|
|
69
69
|
readonly context: ({
|
|
@@ -72,67 +72,67 @@ declare const documentUploadMachine: xstate368.StateMachine<DocumentUploadContex
|
|
|
72
72
|
spawn: {
|
|
73
73
|
<TSrc extends "uploadDocument" | "initCamera">(logic: TSrc, ...[options]: ({
|
|
74
74
|
src: "uploadDocument";
|
|
75
|
-
logic:
|
|
75
|
+
logic: xstate294.PromiseActorLogic<void, {
|
|
76
76
|
imageBase64: string;
|
|
77
77
|
documentType: string;
|
|
78
78
|
onProgress: (progress: number) => void;
|
|
79
|
-
},
|
|
79
|
+
}, xstate294.EventObject>;
|
|
80
80
|
id: string | undefined;
|
|
81
81
|
} extends infer T ? T extends {
|
|
82
82
|
src: "uploadDocument";
|
|
83
|
-
logic:
|
|
83
|
+
logic: xstate294.PromiseActorLogic<void, {
|
|
84
84
|
imageBase64: string;
|
|
85
85
|
documentType: string;
|
|
86
86
|
onProgress: (progress: number) => void;
|
|
87
|
-
},
|
|
87
|
+
}, xstate294.EventObject>;
|
|
88
88
|
id: string | undefined;
|
|
89
89
|
} ? T extends {
|
|
90
90
|
src: TSrc;
|
|
91
|
-
} ?
|
|
91
|
+
} ? xstate294.ConditionalRequired<[options?: ({
|
|
92
92
|
id?: T["id"] | undefined;
|
|
93
93
|
systemId?: string;
|
|
94
|
-
input?:
|
|
94
|
+
input?: xstate294.InputFrom<T["logic"]> | undefined;
|
|
95
95
|
syncSnapshot?: boolean;
|
|
96
|
-
} & { [K in
|
|
96
|
+
} & { [K in xstate294.RequiredActorOptions<T>]: unknown }) | undefined], xstate294.IsNotNever<xstate294.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
97
97
|
src: "initCamera";
|
|
98
|
-
logic:
|
|
98
|
+
logic: xstate294.PromiseActorLogic<MediaStream, void, xstate294.EventObject>;
|
|
99
99
|
id: string | undefined;
|
|
100
100
|
} extends infer T_1 ? T_1 extends {
|
|
101
101
|
src: "initCamera";
|
|
102
|
-
logic:
|
|
102
|
+
logic: xstate294.PromiseActorLogic<MediaStream, void, xstate294.EventObject>;
|
|
103
103
|
id: string | undefined;
|
|
104
104
|
} ? T_1 extends {
|
|
105
105
|
src: TSrc;
|
|
106
|
-
} ?
|
|
106
|
+
} ? xstate294.ConditionalRequired<[options?: ({
|
|
107
107
|
id?: T_1["id"] | undefined;
|
|
108
108
|
systemId?: string;
|
|
109
|
-
input?:
|
|
109
|
+
input?: xstate294.InputFrom<T_1["logic"]> | undefined;
|
|
110
110
|
syncSnapshot?: boolean;
|
|
111
|
-
} & { [K_1 in
|
|
111
|
+
} & { [K_1 in xstate294.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate294.IsNotNever<xstate294.RequiredActorOptions<T_1>>> : never : never : never)): xstate294.ActorRefFromLogic<xstate294.GetConcreteByKey<xstate294.Values<{
|
|
112
112
|
uploadDocument: {
|
|
113
113
|
src: "uploadDocument";
|
|
114
|
-
logic:
|
|
114
|
+
logic: xstate294.PromiseActorLogic<void, {
|
|
115
115
|
imageBase64: string;
|
|
116
116
|
documentType: string;
|
|
117
117
|
onProgress: (progress: number) => void;
|
|
118
|
-
},
|
|
118
|
+
}, xstate294.EventObject>;
|
|
119
119
|
id: string | undefined;
|
|
120
120
|
};
|
|
121
121
|
initCamera: {
|
|
122
122
|
src: "initCamera";
|
|
123
|
-
logic:
|
|
123
|
+
logic: xstate294.PromiseActorLogic<MediaStream, void, xstate294.EventObject>;
|
|
124
124
|
id: string | undefined;
|
|
125
125
|
};
|
|
126
126
|
}>, "src", TSrc>["logic"]>;
|
|
127
|
-
<TLogic extends
|
|
127
|
+
<TLogic extends xstate294.AnyActorLogic>(src: TLogic, ...[options]: xstate294.ConditionalRequired<[options?: ({
|
|
128
128
|
id?: never;
|
|
129
129
|
systemId?: string;
|
|
130
|
-
input?:
|
|
130
|
+
input?: xstate294.InputFrom<TLogic> | undefined;
|
|
131
131
|
syncSnapshot?: boolean;
|
|
132
|
-
} & { [K in
|
|
132
|
+
} & { [K in xstate294.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate294.IsNotNever<xstate294.RequiredLogicInput<TLogic>>>): xstate294.ActorRefFromLogic<TLogic>;
|
|
133
133
|
};
|
|
134
134
|
input: DocumentUploadInput;
|
|
135
|
-
self:
|
|
135
|
+
self: xstate294.ActorRef<xstate294.MachineSnapshot<DocumentUploadContext, {
|
|
136
136
|
type: "START";
|
|
137
137
|
} | {
|
|
138
138
|
type: "CAPTURE";
|
|
@@ -144,7 +144,7 @@ declare const documentUploadMachine: xstate368.StateMachine<DocumentUploadContex
|
|
|
144
144
|
type: "RETRY";
|
|
145
145
|
} | {
|
|
146
146
|
type: "CLOSE";
|
|
147
|
-
}, Record<string,
|
|
147
|
+
}, Record<string, xstate294.AnyActorRef | undefined>, xstate294.StateValue, string, unknown, any, any>, {
|
|
148
148
|
type: "START";
|
|
149
149
|
} | {
|
|
150
150
|
type: "CAPTURE";
|
|
@@ -156,7 +156,7 @@ declare const documentUploadMachine: xstate368.StateMachine<DocumentUploadContex
|
|
|
156
156
|
type: "RETRY";
|
|
157
157
|
} | {
|
|
158
158
|
type: "CLOSE";
|
|
159
|
-
},
|
|
159
|
+
}, xstate294.AnyEventObject>;
|
|
160
160
|
}) => {
|
|
161
161
|
config: DocumentUploadConfig;
|
|
162
162
|
stream: undefined;
|
|
@@ -226,7 +226,7 @@ declare const documentUploadMachine: xstate368.StateMachine<DocumentUploadContex
|
|
|
226
226
|
} | {
|
|
227
227
|
type: "CLOSE";
|
|
228
228
|
};
|
|
229
|
-
self:
|
|
229
|
+
self: xstate294.ActorRef<xstate294.MachineSnapshot<DocumentUploadContext, {
|
|
230
230
|
type: "START";
|
|
231
231
|
} | {
|
|
232
232
|
type: "CAPTURE";
|
|
@@ -238,7 +238,7 @@ declare const documentUploadMachine: xstate368.StateMachine<DocumentUploadContex
|
|
|
238
238
|
type: "RETRY";
|
|
239
239
|
} | {
|
|
240
240
|
type: "CLOSE";
|
|
241
|
-
}, Record<string,
|
|
241
|
+
}, Record<string, xstate294.AnyActorRef>, xstate294.StateValue, string, unknown, any, any>, {
|
|
242
242
|
type: "START";
|
|
243
243
|
} | {
|
|
244
244
|
type: "CAPTURE";
|
|
@@ -250,7 +250,7 @@ declare const documentUploadMachine: xstate368.StateMachine<DocumentUploadContex
|
|
|
250
250
|
type: "RETRY";
|
|
251
251
|
} | {
|
|
252
252
|
type: "CLOSE";
|
|
253
|
-
},
|
|
253
|
+
}, xstate294.AnyEventObject>;
|
|
254
254
|
}) => {
|
|
255
255
|
imageBase64: string;
|
|
256
256
|
documentType: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BeTK0Mlt.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
4
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Doec4X5L.esm.js";
|
|
5
5
|
import { i as stopCameraStream } from "./camera-DJWm3V4g.esm.js";
|
|
6
6
|
import { n as getBackCameraStream } from "./backCameraStream-D7Wo4Nbx.esm.js";
|
|
7
|
-
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
7
|
+
import { r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0wGddy7.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/modules/document-capture/types.ts
|
|
10
10
|
const PROCESSING_TYPE_MAP = {
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -5,15 +5,15 @@ import "./endpoints-BeTK0Mlt.esm.js";
|
|
|
5
5
|
import "./stats-BMNUG1AU.esm.js";
|
|
6
6
|
import "./IpifyProvider-D4LWD15E.esm.js";
|
|
7
7
|
import "./browserSimulation-B1dWiXp7.esm.js";
|
|
8
|
-
import "./sessionInitializer-
|
|
8
|
+
import "./sessionInitializer-DRB-hgbV.esm.js";
|
|
9
9
|
import "./platform-SKvEfCBh.esm.js";
|
|
10
10
|
import "./getBrowser-C8DP7oTB.esm.js";
|
|
11
11
|
import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
12
12
|
import "./apiError-B-j-gyDx.esm.js";
|
|
13
|
-
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-
|
|
13
|
+
import { a as SUPPORTED_COUNTRIES, i as DEV_ONLY_COUNTRIES, n as toEkybConfig, o as isSupportedCountry, r as ALL_COUNTRIES, t as ekybMachine } from "./ekybStateMachine-klc-AImJ.esm.js";
|
|
14
14
|
import "./addressSearch-DvmWXKZg.esm.js";
|
|
15
15
|
import "./session-DoVb-OcB.esm.js";
|
|
16
|
-
import "./flowServices-
|
|
16
|
+
import "./flowServices-ChgTNggJ.esm.js";
|
|
17
17
|
|
|
18
18
|
//#region src/modules/ekyb/ekybActor.ts
|
|
19
19
|
/**
|
|
@@ -2,7 +2,7 @@ import { t as api } from "./api-CESGtpbH.esm.js";
|
|
|
2
2
|
import { t as endpoints } from "./endpoints-BeTK0Mlt.esm.js";
|
|
3
3
|
import { a as fromPromise, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
4
|
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-DvmWXKZg.esm.js";
|
|
5
|
-
import { t as getFlow } from "./flowServices-
|
|
5
|
+
import { t as getFlow } from "./flowServices-ChgTNggJ.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
8
8
|
const UBO_INPUT_LIMIT = 8;
|
package/dist/extensibility.d.ts
CHANGED
|
@@ -3,26 +3,26 @@ import "./Manager-BHn8wH8K.js";
|
|
|
3
3
|
import { n as createActor } from "./Actor-Y0_Fj-KL.js";
|
|
4
4
|
import { a as AntifraudActor, i as createAntifraudManagerFromActor, n as AntifraudState, t as AntifraudManager } from "./antifraudManager-CznnhyvD.js";
|
|
5
5
|
import { i as fromPromise, r as fromCallback } from "./StateMachine-BC_nGvrc.js";
|
|
6
|
-
import { _ as SendFaceImageResponse, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as BaseWasmProvider } from "./faceCaptureManagerFactory-
|
|
6
|
+
import { _ as SendFaceImageResponse, d as FaceCaptureContext, f as FaceCaptureEvent, m as faceCaptureMachine, n as FaceCaptureManagerState, p as FaceCaptureInput, t as FaceCaptureManager, v as BaseWasmProvider } from "./faceCaptureManagerFactory-CjdBUS6s.js";
|
|
7
7
|
import "./camera-SRBpPq2X.js";
|
|
8
8
|
import "./types-Bj9hdFjU.js";
|
|
9
9
|
import "./types-DvGZI7BF.js";
|
|
10
10
|
import "./types-DOUhndhT.js";
|
|
11
|
-
import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, s as IStorageCapability } from "./deepsightService-
|
|
11
|
+
import { i as WasmUtilConfig, n as IWasmUtilCapability, r as VirtualCameraCheckOutput, s as IStorageCapability } from "./deepsightService-Dh5P-hLf.js";
|
|
12
12
|
import "./types-ya0LN_MX.js";
|
|
13
13
|
import "./StreamCanvasCapture-yyl20qd9.js";
|
|
14
|
-
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-
|
|
15
|
-
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-
|
|
16
|
-
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-
|
|
17
|
-
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-
|
|
14
|
+
import { a as ProcessFaceResponse, i as createSelfieManagerFromActor, n as SelfieState, t as SelfieManager } from "./selfieManager-C2y_t6DG.js";
|
|
15
|
+
import { i as createAuthenticationManagerFromActor, n as AuthenticationState, t as AuthenticationManager } from "./authenticationManager-CaiQbp-q.js";
|
|
16
|
+
import { a as ConsentActor, i as createConsentManagerFromActor, n as ConsentState, t as ConsentManager } from "./consentManager-Cg5Sk2tv.js";
|
|
17
|
+
import { a as CpfOcrActor, i as createCpfOcrManagerFromActor, n as CpfOcrState, t as CpfOcrManager } from "./cpfOcrManager-Dg1s_TY5.js";
|
|
18
18
|
import { a as CurpValidationActor, i as createCurpValidationManagerFromActor, n as CurpValidationState, t as CurpValidationManager } from "./curpValidationManager-RttixpIc.js";
|
|
19
19
|
import { a as EmailActor, i as createEmailManagerFromActor, n as EmailState, t as EmailManager } from "./emailManager-lAzDoQOs.js";
|
|
20
20
|
import "./otp-DF5A0sFx.js";
|
|
21
|
-
import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-
|
|
21
|
+
import { A as CaptureIdResponse, i as createIdCaptureManagerFromActor, n as IdCaptureManager, r as IdCaptureState } from "./idCaptureManager-ChCNmgBj.js";
|
|
22
22
|
import { a as PhoneActor, i as createPhoneManagerFromActor, n as PhoneState, t as PhoneManager } from "./phoneManager-fPmIBYQK.js";
|
|
23
|
-
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-
|
|
23
|
+
import { a as IdentityReuseActor, i as createIdentityReuseManagerFromActor, n as IdentityReuseState, t as IdentityReuseManager } from "./identityReuseManager-Cww-NDtd.js";
|
|
24
24
|
import { a as FieldComparisonActor, i as createFieldComparisonManagerFromActor, n as FieldComparisonState, t as FieldComparisonManager } from "./fieldComparisonManager-Bu5TaSr3.js";
|
|
25
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
25
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, t as MandatoryConsentManager } from "./mandatoryConsentManager-Dq6WiOZh.js";
|
|
26
26
|
import { a as RedirectToMobileActor, i as createRedirectToMobileManagerFromActor, n as RedirectToMobileState, t as RedirectToMobileManager } from "./redirectToMobileManager-BNe3IzC_.js";
|
|
27
27
|
|
|
28
28
|
//#region src/modules/authentication/authenticationUploadService.d.ts
|
|
@@ -92,6 +92,15 @@ declare class WasmUtilProvider extends BaseWasmProvider implements IWasmUtilCapa
|
|
|
92
92
|
setBackgroundMode(backgroundMode: boolean): void;
|
|
93
93
|
setZc(zc: string): void;
|
|
94
94
|
setInspectorOpened(opened: boolean): void;
|
|
95
|
+
/**
|
|
96
|
+
* Toggles the WASM module's production mode. When `true`, the native module
|
|
97
|
+
* suppresses its verbose debug logging/console output; when `false`, those
|
|
98
|
+
* logs are emitted. The SDK forces this to `true` by default and only flips
|
|
99
|
+
* it off when the caller opts in via `setup({ wasm: { showLogs: true } })`.
|
|
100
|
+
*
|
|
101
|
+
* @param productionMode - `true` to silence WASM logs, `false` to emit them.
|
|
102
|
+
*/
|
|
103
|
+
setProductionMode(productionMode: boolean): Promise<void>;
|
|
95
104
|
getMetadata(): string;
|
|
96
105
|
analyzeFrame(image: ImageData): Promise<void>;
|
|
97
106
|
getCheck(): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
2
|
import "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
3
3
|
import "./api-CESGtpbH.esm.js";
|
|
4
4
|
import "./events-Dvvriq9l.esm.js";
|
|
@@ -6,7 +6,7 @@ import "./endpoints-BeTK0Mlt.esm.js";
|
|
|
6
6
|
import "./stats-BMNUG1AU.esm.js";
|
|
7
7
|
import { t as IpifyProvider } from "./IpifyProvider-D4LWD15E.esm.js";
|
|
8
8
|
import "./browserSimulation-B1dWiXp7.esm.js";
|
|
9
|
-
import { o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./sessionInitializer-
|
|
9
|
+
import { o as FingerprintProvider, s as getDeviceFingerprintInfo, t as getDisableIpify } from "./sessionInitializer-DRB-hgbV.esm.js";
|
|
10
10
|
import "./platform-SKvEfCBh.esm.js";
|
|
11
11
|
import "./getBrowser-C8DP7oTB.esm.js";
|
|
12
12
|
import { a as fromPromise, i as fromCallback, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
@@ -15,10 +15,10 @@ import "./antifraudStateMachine-Ccrb-Jxc.esm.js";
|
|
|
15
15
|
import { n as createAntifraudManagerFromActor } from "./antifraudManager-CkV4u-LE.esm.js";
|
|
16
16
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BpJM-gIl.esm.js";
|
|
17
17
|
import "./MotionSensorProvider-Bx7Mpzt0.esm.js";
|
|
18
|
-
import "./permissionServices-
|
|
18
|
+
import "./permissionServices-Doec4X5L.esm.js";
|
|
19
19
|
import "./camera-DJWm3V4g.esm.js";
|
|
20
|
-
import "./faceCaptureManagerFactory-
|
|
21
|
-
import "./recordingService-
|
|
20
|
+
import "./faceCaptureManagerFactory-ej2j1LMr.esm.js";
|
|
21
|
+
import "./recordingService-yRw7hfzU.esm.js";
|
|
22
22
|
import "./ITimerCapability-CB0I1Uf2.esm.js";
|
|
23
23
|
import "./canvas-SKcRBxsk.esm.js";
|
|
24
24
|
import "./backCameraStream-D7Wo4Nbx.esm.js";
|
|
@@ -27,10 +27,10 @@ import "./getDeviceClass-C0olyNFS.esm.js";
|
|
|
27
27
|
import "./getDeviceClass-C8Do2qYu.esm.js";
|
|
28
28
|
import "./types-DsnEVMhr.esm.js";
|
|
29
29
|
import "./StreamCanvasCapture-ImiDQdVA.esm.js";
|
|
30
|
-
import "./permissionGuards-
|
|
31
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
32
|
-
import "./authenticationStateMachine-
|
|
33
|
-
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-
|
|
30
|
+
import "./permissionGuards-D0wGddy7.esm.js";
|
|
31
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B9t6bYze.esm.js";
|
|
32
|
+
import "./authenticationStateMachine-DkcGUMw5.esm.js";
|
|
33
|
+
import { n as createAuthenticationManagerFromActor } from "./authenticationManager-BlR6mSaG.esm.js";
|
|
34
34
|
import "./consentStateMachine-BG3yL8aC.esm.js";
|
|
35
35
|
import { n as createConsentManagerFromActor } from "./consentManager-BYo9Nu1r.esm.js";
|
|
36
36
|
import { n as createCpfOcrManagerFromActor } from "./cpfOcrManager-sSKegxox.esm.js";
|
|
@@ -41,10 +41,10 @@ import "./session-DoVb-OcB.esm.js";
|
|
|
41
41
|
import "./emailStateMachine-CxTOMAjC.esm.js";
|
|
42
42
|
import "./otp-CGMdUzBC.esm.js";
|
|
43
43
|
import { n as createEmailManagerFromActor } from "./emailManager--D5G3ChB.esm.js";
|
|
44
|
-
import "./selfieStateMachine-
|
|
45
|
-
import { n as createSelfieManagerFromActor } from "./selfieManager-
|
|
46
|
-
import "./idCaptureStateMachine-
|
|
47
|
-
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-
|
|
44
|
+
import "./selfieStateMachine-Bv99bZJE.esm.js";
|
|
45
|
+
import { n as createSelfieManagerFromActor } from "./selfieManager-BNuTIGAz.esm.js";
|
|
46
|
+
import "./idCaptureStateMachine-B3AiDIsT.esm.js";
|
|
47
|
+
import { r as createIdCaptureManagerFromActor } from "./idCaptureManager-D3pwWutw.esm.js";
|
|
48
48
|
import "./phoneStateMachine-BiV0yoEx.esm.js";
|
|
49
49
|
import { n as createPhoneManagerFromActor } from "./phoneManager-BmF-0Ez4.esm.js";
|
|
50
50
|
import "./identityReuseStateMachine-BfE5YiEr.esm.js";
|
package/dist/face-match.d.ts
CHANGED
|
@@ -39,17 +39,6 @@ type FaceMatchConfig = {
|
|
|
39
39
|
* @default false
|
|
40
40
|
*/
|
|
41
41
|
disableFaceMatchAnimation?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* When true, the face-match loading step first calls `POST /omni/process/face?imageType=selfie`
|
|
44
|
-
* (or `/omni/process/face-vs-second-id` for the `secondId` variant) before reading the score.
|
|
45
|
-
*
|
|
46
|
-
* This mirrors SDK 1 behavior: the AUTHENTICATION capture step skips server-side face
|
|
47
|
-
* processing, so when an AUTHENTICATION module is present in the flow the match must be
|
|
48
|
-
* triggered here before `GET /omni/get/score` can reflect it. Set by the flow orchestrator
|
|
49
|
-
* based on the presence of an AUTHENTICATION module.
|
|
50
|
-
* @default false
|
|
51
|
-
*/
|
|
52
|
-
processFaceBeforeMatch?: boolean;
|
|
53
42
|
};
|
|
54
43
|
/**
|
|
55
44
|
* Cropped face images fetched from the backend.
|
package/dist/face-match.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import "./api-CESGtpbH.esm.js";
|
|
|
2
2
|
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-Dvvriq9l.esm.js";
|
|
3
3
|
import "./endpoints-BeTK0Mlt.esm.js";
|
|
4
4
|
import { c as createManager, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
5
|
-
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-
|
|
5
|
+
import { n as ID_FACE_EXTRACTION_SKIPPED_CODE, r as isFaceExtractionSkippedError, t as faceMatchMachine } from "./faceMatchStateMachine-DeXXzSuz.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/face-match/faceMatchActor.ts
|
|
8
8
|
function createFaceMatchActor(options) {
|
package/dist/{faceCaptureManagerFactory-C_hRHx8a.d.ts → faceCaptureManagerFactory-CjdBUS6s.d.ts}
RENAMED
|
@@ -4,7 +4,7 @@ import { t as ActorRefFrom } from "./Actor-Y0_Fj-KL.js";
|
|
|
4
4
|
import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-BC_nGvrc.js";
|
|
5
5
|
import { t as CameraStream } from "./camera-SRBpPq2X.js";
|
|
6
6
|
import { i as FlowModuleConfig, n as Flow } from "./types-DOUhndhT.js";
|
|
7
|
-
import { a as IMLProviderCapability, c as IRecordingCapability, n as IWasmUtilCapability, o as MLProviderConfig, s as IStorageCapability, t as DeepsightService } from "./deepsightService-
|
|
7
|
+
import { a as IMLProviderCapability, c as IRecordingCapability, n as IWasmUtilCapability, o as MLProviderConfig, s as IStorageCapability, t as DeepsightService } from "./deepsightService-Dh5P-hLf.js";
|
|
8
8
|
import { n as PermissionStatus, t as PermissionResult } from "./types-ya0LN_MX.js";
|
|
9
9
|
import { n as IncodeCanvas, t as StreamCanvasCapture } from "./StreamCanvasCapture-yyl20qd9.js";
|
|
10
10
|
|
|
@@ -406,13 +406,20 @@ type SelfieConfig = FlowModuleConfig['SELFIE'] & BaseFaceCaptureConfig;
|
|
|
406
406
|
/**
|
|
407
407
|
* Public selfie configuration for the captureOnly flow.
|
|
408
408
|
*
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
*
|
|
409
|
+
* captureOnly bypasses the Incode upload/processing pipeline, so this config
|
|
410
|
+
* intentionally exposes ONLY the options that affect the on-device capture
|
|
411
|
+
* experience: the tutorial/preview UX, attempts, timeout, and the on-device
|
|
412
|
+
* face validations. Backend-coupled flags of {@link SelfieConfig} (face
|
|
413
|
+
* recording, assisted onboarding, on-device results submission, …) don't apply
|
|
414
|
+
* here and are omitted.
|
|
415
|
+
*
|
|
416
|
+
* `onCapture` is the one required field — it receives the captured image
|
|
417
|
+
* locally (compile-time enforced so you can't ship a captureOnly flow with no
|
|
418
|
+
* destination for the payload). Everything else is optional and defaulted by
|
|
419
|
+
* the factory (see `DEFAULT_SELFIE_CAPTURE_ONLY_CONFIG`); set only what you care
|
|
420
|
+
* about, e.g. `{ onCapture, captureAttempts: 5, validateBrightness: true }`.
|
|
414
421
|
*/
|
|
415
|
-
type SelfieCaptureOnlyConfig = SelfieConfig & {
|
|
422
|
+
type SelfieCaptureOnlyConfig = Partial<Pick<SelfieConfig, 'showTutorial' | 'showPreview' | 'captureAttempts' | 'autoCaptureTimeout' | 'validateLenses' | 'validateFaceMask' | 'validateHeadCover' | 'validateClosedEyes' | 'validateBrightness'>> & {
|
|
416
423
|
onCapture: (response: FaceCaptureOnlyResponse) => void | Promise<void>;
|
|
417
424
|
};
|
|
418
425
|
type SelfieDependencies = FaceCaptureDependencies;
|
package/dist/{faceCaptureManagerFactory-kqbUqtrr.esm.js → faceCaptureManagerFactory-ej2j1LMr.esm.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as eventModuleNames, o as createManagerInstrumentation, r as eventScreenNames } from "./events-Dvvriq9l.esm.js";
|
|
2
2
|
import { c as createManager } from "./xstate.esm-C9wncMQa.esm.js";
|
|
3
3
|
import { n as setWasmDsFlagSync } from "./BrowserStorageProvider-BpJM-gIl.esm.js";
|
|
4
|
-
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-
|
|
4
|
+
import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Doec4X5L.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/internal/faceCapture/faceCaptureManagerFactory.ts
|
|
7
7
|
function getPermissionStatus(snapshot) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as getToken } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { a as fromPromise, i as fromCallback, r as assign, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
3
|
-
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-
|
|
4
|
-
import { d as sendLabelInspectionEvent, f as startDetection, l as initializeCamera, n as preloadOpenViduProvider, p as stopStream, r as flagFaceManualReview, t as createRecordingService, u as initializeDeepsightSession } from "./recordingService-
|
|
3
|
+
import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Doec4X5L.esm.js";
|
|
4
|
+
import { d as sendLabelInspectionEvent, f as startDetection, l as initializeCamera, n as preloadOpenViduProvider, p as stopStream, r as flagFaceManualReview, t as createRecordingService, u as initializeDeepsightSession } from "./recordingService-yRw7hfzU.esm.js";
|
|
5
5
|
import { t as FACE_ERROR_CODES } from "./types-DsnEVMhr.esm.js";
|
|
6
6
|
import { t as StreamCanvasCapture } from "./StreamCanvasCapture-ImiDQdVA.esm.js";
|
|
7
|
-
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-
|
|
7
|
+
import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0wGddy7.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region src/internal/faceCapture/faceCaptureSetup.ts
|
|
10
10
|
const getAttemptsFromConfig = (config) => {
|
package/dist/{faceMatchStateMachine-DdGXUBnx.esm.js → faceMatchStateMachine-DeXXzSuz.esm.js}
RENAMED
|
@@ -67,9 +67,11 @@ async function fetchSecondIdImages(signal) {
|
|
|
67
67
|
/**
|
|
68
68
|
* Triggers server-side face processing/matching for the captured selfie.
|
|
69
69
|
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
70
|
+
* Always run by face-match before reading the score, mirroring SDK 1's FaceMatch module.
|
|
71
|
+
* Some capture steps skip server-side face processing (e.g. AUTHENTICATION and the
|
|
72
|
+
* capture-only selfie variant), so the match must be (re)triggered here before
|
|
73
|
+
* `GET /omni/get/score` can reflect it. When the selfie was already processed upstream
|
|
74
|
+
* (e.g. the regular selfie module) this is a harmless reprocess.
|
|
73
75
|
*
|
|
74
76
|
* The response body is intentionally ignored — face-match re-reads the result via
|
|
75
77
|
* `fetchScore`. A non-ok response throws an Error carrying the backend `status`/`data` so
|
|
@@ -91,7 +93,7 @@ async function processFaceForMatch(matchingType, signal) {
|
|
|
91
93
|
* Fetches all face match data in parallel (images, score, and optionally second ID images).
|
|
92
94
|
*/
|
|
93
95
|
async function fetchFaceMatchData(config, signal) {
|
|
94
|
-
|
|
96
|
+
await processFaceForMatch(config.matchingType, signal);
|
|
95
97
|
const promises = [fetchFaceMatchImages(signal), fetchScore(signal)];
|
|
96
98
|
if (config.matchingType === "secondId") promises.push(fetchSecondIdImages(signal));
|
|
97
99
|
const [imagesRes, resultRes, secondIdRes] = await Promise.all(promises);
|
package/dist/flow.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { i as FlowModuleConfig, n as Flow, r as FlowModule } from "./types-DOUhn
|
|
|
8
8
|
import { n as GetFinishStatusFn, t as FinishStatus } from "./flowCompletionService-BdR2cGgB.js";
|
|
9
9
|
import { o as FlowEventSubscribable } from "./index-B5hPA0Bg.js";
|
|
10
10
|
import { n as ModuleRegistry } from "./types-NuT8ftBV.js";
|
|
11
|
-
import * as
|
|
11
|
+
import * as xstate766 from "xstate";
|
|
12
12
|
|
|
13
13
|
//#region src/modules/flow/flowUtils.d.ts
|
|
14
14
|
type NormalizeFlowModulesOptions = {
|
|
@@ -60,7 +60,7 @@ type GetFlow = (signal: AbortSignal, options?: GetFlowOptions) => Promise<Flow>;
|
|
|
60
60
|
declare const getFlow: GetFlow;
|
|
61
61
|
//#endregion
|
|
62
62
|
//#region src/modules/flow/noOpFlowModuleMachine.d.ts
|
|
63
|
-
declare const noOpFlowModuleMachine:
|
|
63
|
+
declare const noOpFlowModuleMachine: xstate766.StateMachine<xstate766.MachineContext, xstate766.AnyEventObject, {}, never, never, never, never, "finished", string, xstate766.NonReducibleUnknown, xstate766.NonReducibleUnknown, xstate766.EventObject, xstate766.MetaObject, {
|
|
64
64
|
readonly id: "noOpFlowModule";
|
|
65
65
|
readonly initial: "finished";
|
|
66
66
|
readonly states: {
|
package/dist/flow.esm.js
CHANGED
|
@@ -4,14 +4,14 @@ import "./endpoints-BeTK0Mlt.esm.js";
|
|
|
4
4
|
import "./stats-BMNUG1AU.esm.js";
|
|
5
5
|
import "./IpifyProvider-D4LWD15E.esm.js";
|
|
6
6
|
import "./browserSimulation-B1dWiXp7.esm.js";
|
|
7
|
-
import "./sessionInitializer-
|
|
7
|
+
import "./sessionInitializer-DRB-hgbV.esm.js";
|
|
8
8
|
import "./platform-SKvEfCBh.esm.js";
|
|
9
9
|
import "./getBrowser-C8DP7oTB.esm.js";
|
|
10
10
|
import { a as fromPromise, c as createManager, r as assign, s as createActor, t as setup } from "./xstate.esm-C9wncMQa.esm.js";
|
|
11
11
|
import "./apiError-B-j-gyDx.esm.js";
|
|
12
12
|
import "./types-DsnEVMhr.esm.js";
|
|
13
13
|
import "./session-DoVb-OcB.esm.js";
|
|
14
|
-
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-
|
|
14
|
+
import { n as getRequiredWasmPipelines, r as normalizeFlowModules, t as getFlow } from "./flowServices-ChgTNggJ.esm.js";
|
|
15
15
|
import { n as isAdvanceableError, r as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CuoHZ1cx.esm.js";
|
|
16
16
|
import { t as getFinishStatus } from "./flowCompletionService-DdGojV9K.esm.js";
|
|
17
17
|
|
|
@@ -310,13 +310,6 @@ function getModuleConfig(module, flow) {
|
|
|
310
310
|
...config,
|
|
311
311
|
ageAssurance: config.ageAssurance ?? flow?.ageAssurance
|
|
312
312
|
};
|
|
313
|
-
if (module?.key === "FACE_MATCH") {
|
|
314
|
-
const hasAuthentication = flow?.flowModules?.some((m) => m.key === "AUTHENTICATION") ?? false;
|
|
315
|
-
return {
|
|
316
|
-
...config,
|
|
317
|
-
processFaceBeforeMatch: hasAuthentication
|
|
318
|
-
};
|
|
319
|
-
}
|
|
320
313
|
return config;
|
|
321
314
|
}
|
|
322
315
|
function createBaseContext(context, isHomeContinueLoading) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as api } from "./api-CESGtpbH.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-BeTK0Mlt.esm.js";
|
|
3
|
-
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-
|
|
3
|
+
import { n as getSessionFingerprintResult, r as initializeSession } from "./sessionInitializer-DRB-hgbV.esm.js";
|
|
4
4
|
import { n as toIncodeApiError } from "./apiError-B-j-gyDx.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/flow/flowUtils.ts
|