@incodetech/core 2.1.1-rc.1 → 2.1.1-rc.2
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/LICENSE +15 -0
- package/dist/ae-signature.d.ts +1 -1
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-BSDXefA7.esm.js → authenticationManager-CoN9Qrs3.esm.js} +2 -2
- package/dist/{authenticationStateMachine-DQkJ03hn.esm.js → authenticationStateMachine-S_y15DH-.esm.js} +2 -2
- package/dist/certificate-issuance.d.ts +28 -28
- package/dist/consent.d.ts +1 -1
- package/dist/{consentManager-FHsC0Loe.d.ts → consentManager-CQqaIPg9.d.ts} +50 -50
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-3m5V3or-.d.ts → cpfOcrManager-flj_VHTf.d.ts} +17 -17
- package/dist/{deepsightLoader-CbWxBDYk.esm.js → deepsightLoader-jX2tqKLf.esm.js} +1 -1
- package/dist/document-capture.d.ts +219 -219
- package/dist/document-upload.d.ts +40 -40
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-B06Wn6W9.esm.js → ekybStateMachine-DgXSlCgg.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +5 -5
- package/dist/extensibility.esm.js +11 -11
- package/dist/{faceCaptureManagerFactory-BeKR1XBS.esm.js → faceCaptureManagerFactory-e07bKys2.esm.js} +1 -1
- package/dist/{faceCaptureSetup-BlUY__kN.esm.js → faceCaptureSetup-DMTtkWFT.esm.js} +2 -2
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-dymPqlmV.esm.js → flowServices-C1J_gLLK.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +1 -1
- package/dist/id-verification.d.ts +25 -25
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-CMo37EfH.esm.js → idCaptureManager-BUB8sEr0.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-DnjX6lA-.esm.js → idCaptureStateMachine-B-xj8GBZ.esm.js} +4 -4
- package/dist/{idOcrManager-D4_nnf4y.d.ts → idOcrManager-d_rlJiol.d.ts} +52 -52
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-BNam1BtZ.d.ts → identityReuseManager-D_nfdUP9.d.ts} +31 -31
- package/dist/{index-Cy4CZRIw.d.ts → index-Bp9Z53ca.d.ts} +150 -150
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +1 -1
- package/dist/{mandatoryConsentManager-DLCWmOY7.d.ts → mandatoryConsentManager-8xnX3oo5.d.ts} +47 -47
- package/dist/{onDeviceFaceResults-B4ak8lk4.esm.js → onDeviceFaceResults-Dyf7XrQL.esm.js} +1 -1
- package/dist/personhood.esm.js +2 -2
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{recordingService-C1Mx74JH.esm.js → recordingService-CpOcPhvE.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-DKE-sH1L.esm.js → selfieManager-pQxiZgKc.esm.js} +2 -2
- package/dist/{selfieStateMachine-CZ6N9SyE.esm.js → selfieStateMachine-BsWk2zUJ.esm.js} +2 -2
- package/dist/session.esm.js +1 -1
- package/dist/{sessionInitializer-CjONNrkE.esm.js → sessionInitializer-CNplP7aj.esm.js} +1 -1
- package/dist/{setup-CBJaP4Tf.esm.js → setup-rMaZNElx.esm.js} +1 -1
- package/dist/trust-graph.d.ts +2 -2
- package/dist/video-selfie.d.ts +2 -2
- package/dist/video-selfie.esm.js +3 -3
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.esm.js +9 -9
- package/package.json +4 -3
package/dist/index.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./WasmUtilProvider-BgzcXBdl.esm.js";
|
|
2
|
-
import { i as reset, o as setup, r as isConfigured } from "./setup-
|
|
2
|
+
import { i as reset, o as setup, r as isConfigured } from "./setup-rMaZNElx.esm.js";
|
|
3
3
|
import "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
4
4
|
import "./api-DsbUi7TO.esm.js";
|
|
5
5
|
import "./clientLifecycle-VyzRfALg.esm.js";
|
|
6
6
|
import "./events-1wxZ97yf.esm.js";
|
|
7
7
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
8
8
|
import "./stats-BVy52wLy.esm.js";
|
|
9
|
-
import "./sessionInitializer-
|
|
9
|
+
import "./sessionInitializer-CNplP7aj.esm.js";
|
|
10
10
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
11
11
|
import "./platform-0Ot-bF_a.esm.js";
|
|
12
12
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
@@ -7,5 +7,5 @@ import "./types-BgjMAEXl.js";
|
|
|
7
7
|
import "./canvas-90BqS0NF.js";
|
|
8
8
|
import "./createFaceAvatar-CpdYp9Iy.js";
|
|
9
9
|
import "./types-BUgeB2X6.js";
|
|
10
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
10
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-8xnX3oo5.js";
|
|
11
11
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-DLCWmOY7.d.ts → mandatoryConsentManager-8xnX3oo5.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
2
2
|
import { t as ActorRefFrom } from "./Actor-BwgmOPkb.js";
|
|
3
3
|
import { a as RegulationTypes } from "./types-BUgeB2X6.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as xstate1286 from "xstate";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/mandatory-consent/types.d.ts
|
|
7
7
|
type RegulatoryConsentType = 'MANDATORY' | 'ML';
|
|
@@ -32,7 +32,7 @@ type MandatoryConsentContext = {
|
|
|
32
32
|
type MandatoryConsentInput = {
|
|
33
33
|
config: MandatoryConsentConfig;
|
|
34
34
|
};
|
|
35
|
-
declare const mandatoryConsentMachine:
|
|
35
|
+
declare const mandatoryConsentMachine: xstate1286.StateMachine<MandatoryConsentContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "TOGGLE";
|
|
@@ -45,53 +45,53 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
45
45
|
} | {
|
|
46
46
|
type: "RESET";
|
|
47
47
|
}, {
|
|
48
|
-
[x: string]:
|
|
48
|
+
[x: string]: xstate1286.ActorRefFromLogic<xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
49
49
|
config: MandatoryConsentConfig;
|
|
50
|
-
},
|
|
50
|
+
}, xstate1286.EventObject>> | xstate1286.ActorRefFromLogic<xstate1286.PromiseActorLogic<void, {
|
|
51
51
|
consentId: string;
|
|
52
52
|
isSigned: boolean;
|
|
53
|
-
},
|
|
54
|
-
},
|
|
53
|
+
}, xstate1286.EventObject>> | undefined;
|
|
54
|
+
}, xstate1286.Values<{
|
|
55
55
|
fetchConsent: {
|
|
56
56
|
src: "fetchConsent";
|
|
57
|
-
logic:
|
|
57
|
+
logic: xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
58
58
|
config: MandatoryConsentConfig;
|
|
59
|
-
},
|
|
59
|
+
}, xstate1286.EventObject>;
|
|
60
60
|
id: string | undefined;
|
|
61
61
|
};
|
|
62
62
|
submitConsent: {
|
|
63
63
|
src: "submitConsent";
|
|
64
|
-
logic:
|
|
64
|
+
logic: xstate1286.PromiseActorLogic<void, {
|
|
65
65
|
consentId: string;
|
|
66
66
|
isSigned: boolean;
|
|
67
|
-
},
|
|
67
|
+
}, xstate1286.EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
};
|
|
70
|
-
}>,
|
|
70
|
+
}>, xstate1286.Values<{
|
|
71
71
|
setConsent: {
|
|
72
72
|
type: "setConsent";
|
|
73
|
-
params:
|
|
73
|
+
params: xstate1286.NonReducibleUnknown;
|
|
74
74
|
};
|
|
75
75
|
setError: {
|
|
76
76
|
type: "setError";
|
|
77
|
-
params:
|
|
77
|
+
params: xstate1286.NonReducibleUnknown;
|
|
78
78
|
};
|
|
79
79
|
clearError: {
|
|
80
80
|
type: "clearError";
|
|
81
|
-
params:
|
|
81
|
+
params: xstate1286.NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
83
|
resetContext: {
|
|
84
84
|
type: "resetContext";
|
|
85
|
-
params:
|
|
85
|
+
params: xstate1286.NonReducibleUnknown;
|
|
86
86
|
};
|
|
87
87
|
toggleSigned: {
|
|
88
88
|
type: "toggleSigned";
|
|
89
|
-
params:
|
|
89
|
+
params: xstate1286.NonReducibleUnknown;
|
|
90
90
|
};
|
|
91
91
|
}>, {
|
|
92
92
|
type: "canSubmit";
|
|
93
93
|
params: unknown;
|
|
94
|
-
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "
|
|
94
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate1286.NonReducibleUnknown, xstate1286.EventObject, xstate1286.MetaObject, {
|
|
95
95
|
readonly id: "mandatoryConsent";
|
|
96
96
|
readonly initial: "idle";
|
|
97
97
|
readonly context: ({
|
|
@@ -100,70 +100,70 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
100
100
|
spawn: {
|
|
101
101
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
102
102
|
src: "fetchConsent";
|
|
103
|
-
logic:
|
|
103
|
+
logic: xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
104
104
|
config: MandatoryConsentConfig;
|
|
105
|
-
},
|
|
105
|
+
}, xstate1286.EventObject>;
|
|
106
106
|
id: string | undefined;
|
|
107
107
|
} extends infer T ? T extends {
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
110
110
|
config: MandatoryConsentConfig;
|
|
111
|
-
},
|
|
111
|
+
}, xstate1286.EventObject>;
|
|
112
112
|
id: string | undefined;
|
|
113
113
|
} ? T extends {
|
|
114
114
|
src: TSrc;
|
|
115
|
-
} ?
|
|
115
|
+
} ? xstate1286.ConditionalRequired<[options?: ({
|
|
116
116
|
id?: T["id"] | undefined;
|
|
117
117
|
systemId?: string;
|
|
118
|
-
input?:
|
|
118
|
+
input?: xstate1286.InputFrom<T["logic"]> | undefined;
|
|
119
119
|
syncSnapshot?: boolean;
|
|
120
|
-
} & { [K in
|
|
120
|
+
} & { [K in xstate1286.RequiredActorOptions<T>]: unknown }) | undefined], xstate1286.IsNotNever<xstate1286.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
121
121
|
src: "submitConsent";
|
|
122
|
-
logic:
|
|
122
|
+
logic: xstate1286.PromiseActorLogic<void, {
|
|
123
123
|
consentId: string;
|
|
124
124
|
isSigned: boolean;
|
|
125
|
-
},
|
|
125
|
+
}, xstate1286.EventObject>;
|
|
126
126
|
id: string | undefined;
|
|
127
127
|
} extends infer T_1 ? T_1 extends {
|
|
128
128
|
src: "submitConsent";
|
|
129
|
-
logic:
|
|
129
|
+
logic: xstate1286.PromiseActorLogic<void, {
|
|
130
130
|
consentId: string;
|
|
131
131
|
isSigned: boolean;
|
|
132
|
-
},
|
|
132
|
+
}, xstate1286.EventObject>;
|
|
133
133
|
id: string | undefined;
|
|
134
134
|
} ? T_1 extends {
|
|
135
135
|
src: TSrc;
|
|
136
|
-
} ?
|
|
136
|
+
} ? xstate1286.ConditionalRequired<[options?: ({
|
|
137
137
|
id?: T_1["id"] | undefined;
|
|
138
138
|
systemId?: string;
|
|
139
|
-
input?:
|
|
139
|
+
input?: xstate1286.InputFrom<T_1["logic"]> | undefined;
|
|
140
140
|
syncSnapshot?: boolean;
|
|
141
|
-
} & { [K_1 in
|
|
141
|
+
} & { [K_1 in xstate1286.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate1286.IsNotNever<xstate1286.RequiredActorOptions<T_1>>> : never : never : never)): xstate1286.ActorRefFromLogic<xstate1286.GetConcreteByKey<xstate1286.Values<{
|
|
142
142
|
fetchConsent: {
|
|
143
143
|
src: "fetchConsent";
|
|
144
|
-
logic:
|
|
144
|
+
logic: xstate1286.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
145
145
|
config: MandatoryConsentConfig;
|
|
146
|
-
},
|
|
146
|
+
}, xstate1286.EventObject>;
|
|
147
147
|
id: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
submitConsent: {
|
|
150
150
|
src: "submitConsent";
|
|
151
|
-
logic:
|
|
151
|
+
logic: xstate1286.PromiseActorLogic<void, {
|
|
152
152
|
consentId: string;
|
|
153
153
|
isSigned: boolean;
|
|
154
|
-
},
|
|
154
|
+
}, xstate1286.EventObject>;
|
|
155
155
|
id: string | undefined;
|
|
156
156
|
};
|
|
157
157
|
}>, "src", TSrc>["logic"]>;
|
|
158
|
-
<TLogic extends
|
|
158
|
+
<TLogic extends xstate1286.AnyActorLogic>(src: TLogic, ...[options]: xstate1286.ConditionalRequired<[options?: ({
|
|
159
159
|
id?: never;
|
|
160
160
|
systemId?: string;
|
|
161
|
-
input?:
|
|
161
|
+
input?: xstate1286.InputFrom<TLogic> | undefined;
|
|
162
162
|
syncSnapshot?: boolean;
|
|
163
|
-
} & { [K in
|
|
163
|
+
} & { [K in xstate1286.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate1286.IsNotNever<xstate1286.RequiredLogicInput<TLogic>>>): xstate1286.ActorRefFromLogic<TLogic>;
|
|
164
164
|
};
|
|
165
165
|
input: MandatoryConsentInput;
|
|
166
|
-
self:
|
|
166
|
+
self: xstate1286.ActorRef<xstate1286.MachineSnapshot<MandatoryConsentContext, {
|
|
167
167
|
type: "LOAD";
|
|
168
168
|
} | {
|
|
169
169
|
type: "TOGGLE";
|
|
@@ -175,7 +175,7 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
175
175
|
type: "RETRY";
|
|
176
176
|
} | {
|
|
177
177
|
type: "RESET";
|
|
178
|
-
}, Record<string,
|
|
178
|
+
}, Record<string, xstate1286.AnyActorRef | undefined>, xstate1286.StateValue, string, unknown, any, any>, {
|
|
179
179
|
type: "LOAD";
|
|
180
180
|
} | {
|
|
181
181
|
type: "TOGGLE";
|
|
@@ -187,7 +187,7 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
187
187
|
type: "RETRY";
|
|
188
188
|
} | {
|
|
189
189
|
type: "RESET";
|
|
190
|
-
},
|
|
190
|
+
}, xstate1286.AnyEventObject>;
|
|
191
191
|
}) => {
|
|
192
192
|
config: MandatoryConsentConfig;
|
|
193
193
|
consent: undefined;
|
|
@@ -224,7 +224,7 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
224
224
|
} | {
|
|
225
225
|
type: "RESET";
|
|
226
226
|
};
|
|
227
|
-
self:
|
|
227
|
+
self: xstate1286.ActorRef<xstate1286.MachineSnapshot<MandatoryConsentContext, {
|
|
228
228
|
type: "LOAD";
|
|
229
229
|
} | {
|
|
230
230
|
type: "TOGGLE";
|
|
@@ -236,7 +236,7 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "RESET";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate1286.AnyActorRef>, xstate1286.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "LOAD";
|
|
241
241
|
} | {
|
|
242
242
|
type: "TOGGLE";
|
|
@@ -248,7 +248,7 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate1286.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
config: MandatoryConsentConfig;
|
|
254
254
|
};
|
|
@@ -301,7 +301,7 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
301
301
|
} | {
|
|
302
302
|
type: "RESET";
|
|
303
303
|
};
|
|
304
|
-
self:
|
|
304
|
+
self: xstate1286.ActorRef<xstate1286.MachineSnapshot<MandatoryConsentContext, {
|
|
305
305
|
type: "LOAD";
|
|
306
306
|
} | {
|
|
307
307
|
type: "TOGGLE";
|
|
@@ -313,7 +313,7 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
313
313
|
type: "RETRY";
|
|
314
314
|
} | {
|
|
315
315
|
type: "RESET";
|
|
316
|
-
}, Record<string,
|
|
316
|
+
}, Record<string, xstate1286.AnyActorRef>, xstate1286.StateValue, string, unknown, any, any>, {
|
|
317
317
|
type: "LOAD";
|
|
318
318
|
} | {
|
|
319
319
|
type: "TOGGLE";
|
|
@@ -325,7 +325,7 @@ declare const mandatoryConsentMachine: xstate1016.StateMachine<MandatoryConsentC
|
|
|
325
325
|
type: "RETRY";
|
|
326
326
|
} | {
|
|
327
327
|
type: "RESET";
|
|
328
|
-
},
|
|
328
|
+
}, xstate1286.AnyEventObject>;
|
|
329
329
|
}) => {
|
|
330
330
|
consentId: string;
|
|
331
331
|
isSigned: boolean;
|
|
@@ -580,7 +580,7 @@ async function stopRecording$1(session) {
|
|
|
580
580
|
}
|
|
581
581
|
}
|
|
582
582
|
async function initializeDeepsightSession(options) {
|
|
583
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
583
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-jX2tqKLf.esm.js");
|
|
584
584
|
return loadDeepsightSession({
|
|
585
585
|
ds: options.ds,
|
|
586
586
|
storage: options.storage
|
package/dist/personhood.esm.js
CHANGED
|
@@ -5,7 +5,7 @@ import { a as createApi_default, t as getStoredHttpConfig } from "./clientLifecy
|
|
|
5
5
|
import { n as eventModuleNames } from "./events-1wxZ97yf.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
7
7
|
import "./stats-BVy52wLy.esm.js";
|
|
8
|
-
import { d as BrowserEnvironmentProvider, n as getFingerprintEnabled, u as getDeviceFingerprintInfo } from "./sessionInitializer-
|
|
8
|
+
import { d as BrowserEnvironmentProvider, n as getFingerprintEnabled, u as getDeviceFingerprintInfo } from "./sessionInitializer-CNplP7aj.esm.js";
|
|
9
9
|
import { n as getThumbmarkId, t as isBrowserSimulation } from "./browserSimulation-CWJhFPZ2.esm.js";
|
|
10
10
|
import "./platform-0Ot-bF_a.esm.js";
|
|
11
11
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
@@ -15,7 +15,7 @@ import "./MotionSensorProvider-D95kOKVK.esm.js";
|
|
|
15
15
|
import { i as requestPermission, t as checkPermission } from "./permissionServices-BElIOcoJ.esm.js";
|
|
16
16
|
import { a as stopCameraStream, r as requestCameraAccess } from "./camera-CxxXV0VN.esm.js";
|
|
17
17
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-fZsibQTR.esm.js";
|
|
18
|
-
import { b as FaceDetectionProvider, f as stopStream, l as startDetection, s as initializeDeepsightSession } from "./onDeviceFaceResults-
|
|
18
|
+
import { b as FaceDetectionProvider, f as stopStream, l as startDetection, s as initializeDeepsightSession } from "./onDeviceFaceResults-Dyf7XrQL.esm.js";
|
|
19
19
|
import { t as sleep } from "./ITimerCapability-DJ73P4RK.esm.js";
|
|
20
20
|
import "./canvas-Pi10hG_l.esm.js";
|
|
21
21
|
import "./backCameraStream-ChrMTJv-.esm.js";
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./StateMachine-D5WO6lHS.js";
|
|
2
2
|
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
3
|
import "./Actor-BwgmOPkb.js";
|
|
4
|
-
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-
|
|
4
|
+
import { c as ConsentKey, f as QE_CONSENT_KEYS, g as getDefaultConsentChecks, i as electronicSignatureMachine, l as ElectronicSignatureConfig, m as areAllConsented, n as ElectronicSignatureState, s as ConsentChecks, u as ElectronicSignatureDocument } from "./index-Bp9Z53ca.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/qe-signature/index.d.ts
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
2
2
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
3
3
|
import { t as isAndroid } from "./platform-0Ot-bF_a.esm.js";
|
|
4
|
-
import { d as stopRecording, u as startRecordingSession, v as uploadDeepsightVideo } from "./onDeviceFaceResults-
|
|
4
|
+
import { d as stopRecording, u as startRecordingSession, v as uploadDeepsightVideo } from "./onDeviceFaceResults-Dyf7XrQL.esm.js";
|
|
5
5
|
import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CClCKAiF.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/internal/manualReview/manualReviewService.ts
|
package/dist/selfie.esm.js
CHANGED
|
@@ -7,15 +7,15 @@ import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
|
7
7
|
import "./platform-0Ot-bF_a.esm.js";
|
|
8
8
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
9
9
|
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
10
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
10
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DMTtkWFT.esm.js";
|
|
11
11
|
import "./wasmDsFlagSync-Ch0mFJNT.esm.js";
|
|
12
12
|
import "./BrowserVisibilityObserverProvider-GBS6XSii.esm.js";
|
|
13
13
|
import "./MotionSensorProvider-D95kOKVK.esm.js";
|
|
14
14
|
import "./permissionServices-BElIOcoJ.esm.js";
|
|
15
15
|
import "./camera-CxxXV0VN.esm.js";
|
|
16
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
16
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-e07bKys2.esm.js";
|
|
17
17
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-fZsibQTR.esm.js";
|
|
18
|
-
import { p as processFace } from "./onDeviceFaceResults-
|
|
18
|
+
import { p as processFace } from "./onDeviceFaceResults-Dyf7XrQL.esm.js";
|
|
19
19
|
import "./ITimerCapability-DJ73P4RK.esm.js";
|
|
20
20
|
import "./canvas-Pi10hG_l.esm.js";
|
|
21
21
|
import "./backCameraStream-ChrMTJv-.esm.js";
|
|
@@ -27,10 +27,10 @@ import "./types-BKLb3C42.esm.js";
|
|
|
27
27
|
import "./createFaceAvatar-BZSg2MNo.esm.js";
|
|
28
28
|
import "./StreamCanvasCapture-CAqUdVkM.esm.js";
|
|
29
29
|
import "./permissionGuards-BPZGWaL4.esm.js";
|
|
30
|
-
import "./recordingService-
|
|
30
|
+
import "./recordingService-CpOcPhvE.esm.js";
|
|
31
31
|
import "./mediaRecorderOptions-CClCKAiF.esm.js";
|
|
32
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
33
|
-
import { t as createSelfieManager } from "./selfieManager-
|
|
32
|
+
import { t as selfieMachine } from "./selfieStateMachine-BsWk2zUJ.esm.js";
|
|
33
|
+
import { t as createSelfieManager } from "./selfieManager-pQxiZgKc.esm.js";
|
|
34
34
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-CCS2Ruzi.esm.js";
|
|
35
35
|
|
|
36
36
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BgzcXBdl.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-1wxZ97yf.esm.js";
|
|
3
3
|
import { s as createActor } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-e07bKys2.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-fZsibQTR.esm.js";
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-BsWk2zUJ.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as fromPromise, r as assign } from "./xstate.esm-nY3M5UYm.esm.js";
|
|
2
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
3
|
-
import { i as prepareOnDeviceFaceUpload, m as uploadSelfie, n as isOnDeviceMode, p as processFace, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-
|
|
2
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-DMTtkWFT.esm.js";
|
|
3
|
+
import { i as prepareOnDeviceFaceUpload, m as uploadSelfie, n as isOnDeviceMode, p as processFace, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-Dyf7XrQL.esm.js";
|
|
4
4
|
import { t as FACE_ERROR_CODES } from "./types-BKLb3C42.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
package/dist/session.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import "./api-DsbUi7TO.esm.js";
|
|
|
3
3
|
import "./events-1wxZ97yf.esm.js";
|
|
4
4
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
5
5
|
import "./stats-BVy52wLy.esm.js";
|
|
6
|
-
import { i as initializeSession } from "./sessionInitializer-
|
|
6
|
+
import { i as initializeSession } from "./sessionInitializer-CNplP7aj.esm.js";
|
|
7
7
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
8
8
|
import "./platform-0Ot-bF_a.esm.js";
|
|
9
9
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
@@ -351,7 +351,7 @@ function resetFeatureConfigCache() {
|
|
|
351
351
|
|
|
352
352
|
//#endregion
|
|
353
353
|
//#region src/internal/version/sdkVersion.ts
|
|
354
|
-
const SDK_VERSION = "2.1.1-rc.
|
|
354
|
+
const SDK_VERSION = "2.1.1-rc.2";
|
|
355
355
|
|
|
356
356
|
//#endregion
|
|
357
357
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
@@ -5,7 +5,7 @@ import { i as upgradeToWasmHttpClient, n as installFreshHttpClient, r as resetHt
|
|
|
5
5
|
import { _ as getAnalyticsBatcher, h as createAnalyticsBatchingService, v as resetAnalyticsBatcher, y as setAnalyticsBatcher } from "./events-1wxZ97yf.esm.js";
|
|
6
6
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
7
7
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BVy52wLy.esm.js";
|
|
8
|
-
import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-
|
|
8
|
+
import { a as resetSessionInit, i as initializeSession, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled } from "./sessionInitializer-CNplP7aj.esm.js";
|
|
9
9
|
import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-CFAPtAUM.esm.js";
|
|
10
10
|
|
|
11
11
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
package/dist/trust-graph.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./StateMachine-D5WO6lHS.js";
|
|
2
2
|
import { t as Manager } from "./Manager-goNPc_h_.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate1354 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/trust-graph/trustGraphManager.d.ts
|
|
6
6
|
type TrustGraphIdleState = {
|
|
@@ -60,7 +60,7 @@ type TrustGraphContext = Record<string, never>;
|
|
|
60
60
|
* Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
|
|
61
61
|
* start directly in the `final` state.
|
|
62
62
|
*/
|
|
63
|
-
declare const trustGraphMachine:
|
|
63
|
+
declare const trustGraphMachine: xstate1354.StateMachine<TrustGraphContext, xstate1354.AnyEventObject, {}, never, never, never, never, "finished", string, xstate1354.NonReducibleUnknown, xstate1354.NonReducibleUnknown, xstate1354.EventObject, xstate1354.MetaObject, {
|
|
64
64
|
readonly id: "trust-graph";
|
|
65
65
|
readonly initial: "finished";
|
|
66
66
|
readonly context: {};
|
package/dist/video-selfie.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { i as FlowModuleConfig } from "./types-BUgeB2X6.js";
|
|
|
10
10
|
import "./IWasmUtilCapability-DaSNxgA8.js";
|
|
11
11
|
import "./types-BcF-fii5.js";
|
|
12
12
|
import { n as DetectionStatus } from "./types-fO6KIdol.js";
|
|
13
|
-
import * as
|
|
13
|
+
import * as xstate956 from "xstate";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/video-selfie/types.d.ts
|
|
16
16
|
/**
|
|
@@ -342,7 +342,7 @@ declare function createConsentRecorder(): ConsentRecorder;
|
|
|
342
342
|
* is used for headless steps (e.g. `IP_ADDRESS`) that must complete instantly
|
|
343
343
|
* with no UI. Using a no-op here would skip the video-selfie UI entirely.
|
|
344
344
|
*/
|
|
345
|
-
declare const videoSelfieFlowModuleMachine:
|
|
345
|
+
declare const videoSelfieFlowModuleMachine: xstate956.StateMachine<xstate956.MachineContext, xstate956.AnyEventObject, {}, never, never, never, never, "running", string, xstate956.NonReducibleUnknown, xstate956.NonReducibleUnknown, xstate956.EventObject, xstate956.MetaObject, {
|
|
346
346
|
readonly id: "videoSelfieFlowModule";
|
|
347
347
|
readonly initial: "running";
|
|
348
348
|
readonly states: {
|
package/dist/video-selfie.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-BgzcXBdl.esm.js";
|
|
2
|
-
import { t as ensureWasmPipelines } from "./setup-
|
|
2
|
+
import { t as ensureWasmPipelines } from "./setup-rMaZNElx.esm.js";
|
|
3
3
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
4
4
|
import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
5
5
|
import "./clientLifecycle-VyzRfALg.esm.js";
|
|
6
6
|
import "./events-1wxZ97yf.esm.js";
|
|
7
7
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
8
8
|
import "./stats-BVy52wLy.esm.js";
|
|
9
|
-
import "./sessionInitializer-
|
|
9
|
+
import "./sessionInitializer-CNplP7aj.esm.js";
|
|
10
10
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
11
11
|
import "./platform-0Ot-bF_a.esm.js";
|
|
12
12
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
@@ -15,7 +15,7 @@ import { a as fromPromise, i as fromCallback, l as createManager, r as assign, s
|
|
|
15
15
|
import "./MotionSensorProvider-D95kOKVK.esm.js";
|
|
16
16
|
import { t as checkPermission } from "./permissionServices-BElIOcoJ.esm.js";
|
|
17
17
|
import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-CxxXV0VN.esm.js";
|
|
18
|
-
import { a as encryptSelfieImage, b as FaceDetectionProvider, l as startDetection, m as uploadSelfie, p as processFace, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-
|
|
18
|
+
import { a as encryptSelfieImage, b as FaceDetectionProvider, l as startDetection, m as uploadSelfie, p as processFace, y as StreamCanvasProcessingSession } from "./onDeviceFaceResults-Dyf7XrQL.esm.js";
|
|
19
19
|
import "./ITimerCapability-DJ73P4RK.esm.js";
|
|
20
20
|
import "./canvas-Pi10hG_l.esm.js";
|
|
21
21
|
import { n as getBackCameraStream } from "./backCameraStream-ChrMTJv-.esm.js";
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as warmupWasm } from "./WasmUtilProvider-BgzcXBdl.esm.js";
|
|
2
|
-
import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-
|
|
2
|
+
import { a as setWasmConfig, c as DEFAULT_WASM_VERSION, d as resolveWasmConfig, l as buildDefaultWasmConfig, n as initializeWasmUtil, s as upgradeToWasmHttpClient, t as ensureWasmPipelines, u as buildWasmConfigFromBasePath } from "./setup-rMaZNElx.esm.js";
|
|
3
3
|
import "./BrowserTimerProvider-CHloo0eQ.esm.js";
|
|
4
4
|
import "./api-DsbUi7TO.esm.js";
|
|
5
5
|
import "./clientLifecycle-VyzRfALg.esm.js";
|
|
6
6
|
import "./events-1wxZ97yf.esm.js";
|
|
7
7
|
import "./endpoints-CwrFQfW7.esm.js";
|
|
8
8
|
import "./stats-BVy52wLy.esm.js";
|
|
9
|
-
import "./sessionInitializer-
|
|
9
|
+
import "./sessionInitializer-CNplP7aj.esm.js";
|
|
10
10
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
11
11
|
import "./platform-0Ot-bF_a.esm.js";
|
|
12
12
|
import "./getBrowser-1yNcfFZR.esm.js";
|
package/dist/workflow.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import { t as api } from "./api-DsbUi7TO.esm.js";
|
|
|
4
4
|
import { g as addEvent, n as eventModuleNames, s as createManagerInstrumentation } from "./events-1wxZ97yf.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CwrFQfW7.esm.js";
|
|
6
6
|
import "./stats-BVy52wLy.esm.js";
|
|
7
|
-
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-
|
|
7
|
+
import { i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-CNplP7aj.esm.js";
|
|
8
8
|
import "./browserSimulation-CWJhFPZ2.esm.js";
|
|
9
9
|
import "./platform-0Ot-bF_a.esm.js";
|
|
10
10
|
import "./getBrowser-1yNcfFZR.esm.js";
|
|
@@ -16,11 +16,11 @@ import { n as toIncodeApiError } from "./apiError-DkOXfFBu.esm.js";
|
|
|
16
16
|
import { n as electronicSignatureMachine } from "./electronicSignatureManager-DESRgObX.esm.js";
|
|
17
17
|
import "./ae-signature-Pp4oCAHD.esm.js";
|
|
18
18
|
import { t as antifraudMachine } from "./antifraudStateMachine-BQVw46N5.esm.js";
|
|
19
|
-
import "./faceCaptureSetup-
|
|
19
|
+
import "./faceCaptureSetup-DMTtkWFT.esm.js";
|
|
20
20
|
import "./MotionSensorProvider-D95kOKVK.esm.js";
|
|
21
21
|
import "./permissionServices-BElIOcoJ.esm.js";
|
|
22
22
|
import "./camera-CxxXV0VN.esm.js";
|
|
23
|
-
import "./onDeviceFaceResults-
|
|
23
|
+
import "./onDeviceFaceResults-Dyf7XrQL.esm.js";
|
|
24
24
|
import "./ITimerCapability-DJ73P4RK.esm.js";
|
|
25
25
|
import "./canvas-Pi10hG_l.esm.js";
|
|
26
26
|
import "./backCameraStream-ChrMTJv-.esm.js";
|
|
@@ -32,9 +32,9 @@ import "./types-BKLb3C42.esm.js";
|
|
|
32
32
|
import "./createFaceAvatar-BZSg2MNo.esm.js";
|
|
33
33
|
import "./StreamCanvasCapture-CAqUdVkM.esm.js";
|
|
34
34
|
import "./permissionGuards-BPZGWaL4.esm.js";
|
|
35
|
-
import "./recordingService-
|
|
35
|
+
import "./recordingService-CpOcPhvE.esm.js";
|
|
36
36
|
import "./mediaRecorderOptions-CClCKAiF.esm.js";
|
|
37
|
-
import { t as authenticationMachine } from "./authenticationStateMachine-
|
|
37
|
+
import { t as authenticationMachine } from "./authenticationStateMachine-S_y15DH-.esm.js";
|
|
38
38
|
import { t as certificateIssuanceMachine } from "./certificateIssuanceStateMachine-DlZQT1_u.esm.js";
|
|
39
39
|
import { t as consentMachine } from "./consentStateMachine-BOkVFiU7.esm.js";
|
|
40
40
|
import "./cpf-16m_cGAM.esm.js";
|
|
@@ -43,16 +43,16 @@ import "./dateUtils-BW6mBV6p.esm.js";
|
|
|
43
43
|
import { t as customWatchlistMachine } from "./customWatchlistStateMachine-D8w0mNxm.esm.js";
|
|
44
44
|
import { t as documentCaptureMachine } from "./documentCaptureStateMachine-BHIYPUEu.esm.js";
|
|
45
45
|
import { t as dynamicFormsMachine } from "./dynamicFormsStateMachine-DJ1HGZff.esm.js";
|
|
46
|
-
import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-
|
|
46
|
+
import { n as toEkybConfig, t as ekybMachine } from "./ekybStateMachine-DgXSlCgg.esm.js";
|
|
47
47
|
import "./addressSearch-D7msRieq.esm.js";
|
|
48
48
|
import "./session-CLsU2Jnb.esm.js";
|
|
49
49
|
import "./videoSelfieSteps-Djpv7cjb.esm.js";
|
|
50
|
-
import "./flowServices-
|
|
50
|
+
import "./flowServices-C1J_gLLK.esm.js";
|
|
51
51
|
import { n as toEkycConfig, t as ekycMachine } from "./ekycStateMachine-DnVRiu3s.esm.js";
|
|
52
52
|
import { t as emailMachine } from "./emailStateMachine-CbmKFVSi.esm.js";
|
|
53
53
|
import "./otp-uaXiKt_R.esm.js";
|
|
54
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
55
|
-
import { t as idCaptureMachine } from "./idCaptureStateMachine-
|
|
54
|
+
import { t as selfieMachine } from "./selfieStateMachine-BsWk2zUJ.esm.js";
|
|
55
|
+
import { t as idCaptureMachine } from "./idCaptureStateMachine-B-xj8GBZ.esm.js";
|
|
56
56
|
import "./idCaptureDefaults-CZajItdO.esm.js";
|
|
57
57
|
import { t as phoneMachine } from "./phoneStateMachine-DjFGWMjQ.esm.js";
|
|
58
58
|
import { n as identityReuseMachine } from "./identityReuseStateMachine-Bp-zONoV.esm.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/core",
|
|
3
|
-
"version": "2.1.1-rc.
|
|
3
|
+
"version": "2.1.1-rc.2",
|
|
4
|
+
"license": "ISC",
|
|
4
5
|
"repository": {
|
|
5
6
|
"type": "git",
|
|
6
7
|
"url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
|
|
@@ -276,8 +277,8 @@
|
|
|
276
277
|
"tsdown": "^0.16.6",
|
|
277
278
|
"typescript": "^5.9.3",
|
|
278
279
|
"vitest": "^4.0.13",
|
|
279
|
-
"@incodetech/
|
|
280
|
-
"@incodetech/
|
|
280
|
+
"@incodetech/infra": "1.2.0",
|
|
281
|
+
"@incodetech/config": "1.0.2"
|
|
281
282
|
},
|
|
282
283
|
"scripts": {
|
|
283
284
|
"build": "tsdown -c tsdown.config.ts",
|