@incodetech/core 0.0.0-dev-20260611-98c2faa6 → 0.0.0-dev-20260611-3dbdc7fd
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/ae-signature.d.ts +1 -1
- 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-CrtT2e9t.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-DcRidB5n.d.ts → consentManager-B-qo4-xH.d.ts} +50 -50
- package/dist/cpf-ocr.d.ts +1 -1
- package/dist/{cpfOcrManager-DfPElySC.d.ts → cpfOcrManager-b5eyxzi_.d.ts} +20 -20
- 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 +231 -231
- package/dist/document-capture.esm.js +4 -4
- package/dist/document-upload.d.ts +49 -49
- package/dist/{documentCaptureStateMachine-WYV1r9le.esm.js → documentCaptureStateMachine-CUTUzUw_.esm.js} +2 -2
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-D2oIKFWv.esm.js → ekybStateMachine-B3RM9ruw.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.d.ts +18 -9
- package/dist/extensibility.esm.js +13 -13
- package/dist/{faceCaptureManagerFactory-_5TkYBto.d.ts → faceCaptureManagerFactory-CjdBUS6s.d.ts} +1 -1
- 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/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-DC3zqmXE.esm.js → flowServices-Dz3oouEJ.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +55 -55
- package/dist/id-verification.d.ts +25 -25
- package/dist/id.d.ts +2 -2
- package/dist/id.esm.js +7 -7
- package/dist/{idCaptureManager-ndh4eut0.d.ts → idCaptureManager-ChCNmgBj.d.ts} +1 -1
- package/dist/{idCaptureManager-DtPReXHJ.esm.js → idCaptureManager-Dnd7avjb.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-DzvbHRWP.esm.js → idCaptureStateMachine-BymZWyzp.esm.js} +6 -6
- package/dist/identity-reuse.d.ts +1 -1
- package/dist/{identityReuseManager-C61BH-jB.d.ts → identityReuseManager-DwLtVzUn.d.ts} +35 -35
- package/dist/{index-DvsuK6gx.d.ts → index-Vto9CgAR.d.ts} +168 -168
- 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-DAbTKFRs.d.ts → mandatoryConsentManager-Cptkf2gO.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/qe-signature.d.ts +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 +8 -8
- package/dist/{selfieManager-BjCoKRy0.esm.js → selfieManager-BNuTIGAz.esm.js} +3 -3
- package/dist/{selfieManager-CgekeDRH.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-Cwpfj8HG.esm.js → sessionInitializer-Bwk3EweR.esm.js} +1 -1
- package/dist/{setup-mbuwojFZ.esm.js → setup-BE0cu5ra.esm.js} +16 -4
- package/dist/{setup-BbkprdVv.d.ts → setup-BwCluiw3.d.ts} +29 -0
- 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 +133 -133
- package/dist/workflow.esm.js +12 -12
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import "./warmup-Dg8Lh-50.js";
|
|
2
|
-
import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-
|
|
2
|
+
import { a as reset, i as isConfigured, s as setup, t as SetupOptions } from "./setup-BwCluiw3.js";
|
|
3
3
|
export { type SetupOptions, isConfigured, reset, setup };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./WasmUtilProvider-
|
|
2
|
-
import { a as setup, n as isConfigured, r as reset } from "./setup-
|
|
1
|
+
import "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
|
+
import { a as setup, n as isConfigured, r as reset } from "./setup-BE0cu5ra.esm.js";
|
|
3
3
|
import "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
4
4
|
import "./api-CESGtpbH.esm.js";
|
|
5
5
|
import "./events-Dvvriq9l.esm.js";
|
|
@@ -7,7 +7,7 @@ import "./endpoints-BeTK0Mlt.esm.js";
|
|
|
7
7
|
import "./stats-BMNUG1AU.esm.js";
|
|
8
8
|
import "./IpifyProvider-D4LWD15E.esm.js";
|
|
9
9
|
import "./browserSimulation-B1dWiXp7.esm.js";
|
|
10
|
-
import "./sessionInitializer-
|
|
10
|
+
import "./sessionInitializer-Bwk3EweR.esm.js";
|
|
11
11
|
import "./platform-SKvEfCBh.esm.js";
|
|
12
12
|
import "./getBrowser-C8DP7oTB.esm.js";
|
|
13
13
|
|
|
@@ -4,5 +4,5 @@ import "./camera-SRBpPq2X.js";
|
|
|
4
4
|
import "./types-Bj9hdFjU.js";
|
|
5
5
|
import "./types-DvGZI7BF.js";
|
|
6
6
|
import "./types-DOUhndhT.js";
|
|
7
|
-
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-
|
|
7
|
+
import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, s as MandatoryConsentConfig, t as MandatoryConsentManager } from "./mandatoryConsentManager-Cptkf2gO.js";
|
|
8
8
|
export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
|
package/dist/{mandatoryConsentManager-DAbTKFRs.d.ts → mandatoryConsentManager-Cptkf2gO.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
2
2
|
import { t as ActorRefFrom } from "./Actor-Y0_Fj-KL.js";
|
|
3
3
|
import { a as RegulationTypes } from "./types-DOUhndhT.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as xstate520 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: xstate520.StateMachine<MandatoryConsentContext, {
|
|
36
36
|
type: "LOAD";
|
|
37
37
|
} | {
|
|
38
38
|
type: "TOGGLE";
|
|
@@ -45,53 +45,53 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
45
45
|
} | {
|
|
46
46
|
type: "RESET";
|
|
47
47
|
}, {
|
|
48
|
-
[x: string]:
|
|
48
|
+
[x: string]: xstate520.ActorRefFromLogic<xstate520.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
49
49
|
config: MandatoryConsentConfig;
|
|
50
|
-
},
|
|
50
|
+
}, xstate520.EventObject>> | xstate520.ActorRefFromLogic<xstate520.PromiseActorLogic<void, {
|
|
51
51
|
consentId: string;
|
|
52
52
|
isSigned: boolean;
|
|
53
|
-
},
|
|
54
|
-
},
|
|
53
|
+
}, xstate520.EventObject>> | undefined;
|
|
54
|
+
}, xstate520.Values<{
|
|
55
55
|
fetchConsent: {
|
|
56
56
|
src: "fetchConsent";
|
|
57
|
-
logic:
|
|
57
|
+
logic: xstate520.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
58
58
|
config: MandatoryConsentConfig;
|
|
59
|
-
},
|
|
59
|
+
}, xstate520.EventObject>;
|
|
60
60
|
id: string | undefined;
|
|
61
61
|
};
|
|
62
62
|
submitConsent: {
|
|
63
63
|
src: "submitConsent";
|
|
64
|
-
logic:
|
|
64
|
+
logic: xstate520.PromiseActorLogic<void, {
|
|
65
65
|
consentId: string;
|
|
66
66
|
isSigned: boolean;
|
|
67
|
-
},
|
|
67
|
+
}, xstate520.EventObject>;
|
|
68
68
|
id: string | undefined;
|
|
69
69
|
};
|
|
70
|
-
}>,
|
|
70
|
+
}>, xstate520.Values<{
|
|
71
71
|
setConsent: {
|
|
72
72
|
type: "setConsent";
|
|
73
|
-
params:
|
|
74
|
-
};
|
|
75
|
-
clearError: {
|
|
76
|
-
type: "clearError";
|
|
77
|
-
params: xstate1087.NonReducibleUnknown;
|
|
73
|
+
params: xstate520.NonReducibleUnknown;
|
|
78
74
|
};
|
|
79
75
|
setError: {
|
|
80
76
|
type: "setError";
|
|
81
|
-
params:
|
|
77
|
+
params: xstate520.NonReducibleUnknown;
|
|
78
|
+
};
|
|
79
|
+
clearError: {
|
|
80
|
+
type: "clearError";
|
|
81
|
+
params: xstate520.NonReducibleUnknown;
|
|
82
82
|
};
|
|
83
83
|
toggleSigned: {
|
|
84
84
|
type: "toggleSigned";
|
|
85
|
-
params:
|
|
85
|
+
params: xstate520.NonReducibleUnknown;
|
|
86
86
|
};
|
|
87
87
|
resetContext: {
|
|
88
88
|
type: "resetContext";
|
|
89
|
-
params:
|
|
89
|
+
params: xstate520.NonReducibleUnknown;
|
|
90
90
|
};
|
|
91
91
|
}>, {
|
|
92
92
|
type: "canSubmit";
|
|
93
93
|
params: unknown;
|
|
94
|
-
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput,
|
|
94
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate520.NonReducibleUnknown, xstate520.EventObject, xstate520.MetaObject, {
|
|
95
95
|
readonly id: "mandatoryConsent";
|
|
96
96
|
readonly initial: "idle";
|
|
97
97
|
readonly context: ({
|
|
@@ -100,70 +100,70 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
100
100
|
spawn: {
|
|
101
101
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
102
102
|
src: "fetchConsent";
|
|
103
|
-
logic:
|
|
103
|
+
logic: xstate520.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
104
104
|
config: MandatoryConsentConfig;
|
|
105
|
-
},
|
|
105
|
+
}, xstate520.EventObject>;
|
|
106
106
|
id: string | undefined;
|
|
107
107
|
} extends infer T ? T extends {
|
|
108
108
|
src: "fetchConsent";
|
|
109
|
-
logic:
|
|
109
|
+
logic: xstate520.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
110
110
|
config: MandatoryConsentConfig;
|
|
111
|
-
},
|
|
111
|
+
}, xstate520.EventObject>;
|
|
112
112
|
id: string | undefined;
|
|
113
113
|
} ? T extends {
|
|
114
114
|
src: TSrc;
|
|
115
|
-
} ?
|
|
115
|
+
} ? xstate520.ConditionalRequired<[options?: ({
|
|
116
116
|
id?: T["id"] | undefined;
|
|
117
117
|
systemId?: string;
|
|
118
|
-
input?:
|
|
118
|
+
input?: xstate520.InputFrom<T["logic"]> | undefined;
|
|
119
119
|
syncSnapshot?: boolean;
|
|
120
|
-
} & { [K in
|
|
120
|
+
} & { [K in xstate520.RequiredActorOptions<T>]: unknown }) | undefined], xstate520.IsNotNever<xstate520.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
121
121
|
src: "submitConsent";
|
|
122
|
-
logic:
|
|
122
|
+
logic: xstate520.PromiseActorLogic<void, {
|
|
123
123
|
consentId: string;
|
|
124
124
|
isSigned: boolean;
|
|
125
|
-
},
|
|
125
|
+
}, xstate520.EventObject>;
|
|
126
126
|
id: string | undefined;
|
|
127
127
|
} extends infer T_1 ? T_1 extends {
|
|
128
128
|
src: "submitConsent";
|
|
129
|
-
logic:
|
|
129
|
+
logic: xstate520.PromiseActorLogic<void, {
|
|
130
130
|
consentId: string;
|
|
131
131
|
isSigned: boolean;
|
|
132
|
-
},
|
|
132
|
+
}, xstate520.EventObject>;
|
|
133
133
|
id: string | undefined;
|
|
134
134
|
} ? T_1 extends {
|
|
135
135
|
src: TSrc;
|
|
136
|
-
} ?
|
|
136
|
+
} ? xstate520.ConditionalRequired<[options?: ({
|
|
137
137
|
id?: T_1["id"] | undefined;
|
|
138
138
|
systemId?: string;
|
|
139
|
-
input?:
|
|
139
|
+
input?: xstate520.InputFrom<T_1["logic"]> | undefined;
|
|
140
140
|
syncSnapshot?: boolean;
|
|
141
|
-
} & { [K_1 in
|
|
141
|
+
} & { [K_1 in xstate520.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate520.IsNotNever<xstate520.RequiredActorOptions<T_1>>> : never : never : never)): xstate520.ActorRefFromLogic<xstate520.GetConcreteByKey<xstate520.Values<{
|
|
142
142
|
fetchConsent: {
|
|
143
143
|
src: "fetchConsent";
|
|
144
|
-
logic:
|
|
144
|
+
logic: xstate520.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
145
145
|
config: MandatoryConsentConfig;
|
|
146
|
-
},
|
|
146
|
+
}, xstate520.EventObject>;
|
|
147
147
|
id: string | undefined;
|
|
148
148
|
};
|
|
149
149
|
submitConsent: {
|
|
150
150
|
src: "submitConsent";
|
|
151
|
-
logic:
|
|
151
|
+
logic: xstate520.PromiseActorLogic<void, {
|
|
152
152
|
consentId: string;
|
|
153
153
|
isSigned: boolean;
|
|
154
|
-
},
|
|
154
|
+
}, xstate520.EventObject>;
|
|
155
155
|
id: string | undefined;
|
|
156
156
|
};
|
|
157
157
|
}>, "src", TSrc>["logic"]>;
|
|
158
|
-
<TLogic extends
|
|
158
|
+
<TLogic extends xstate520.AnyActorLogic>(src: TLogic, ...[options]: xstate520.ConditionalRequired<[options?: ({
|
|
159
159
|
id?: never;
|
|
160
160
|
systemId?: string;
|
|
161
|
-
input?:
|
|
161
|
+
input?: xstate520.InputFrom<TLogic> | undefined;
|
|
162
162
|
syncSnapshot?: boolean;
|
|
163
|
-
} & { [K in
|
|
163
|
+
} & { [K in xstate520.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate520.IsNotNever<xstate520.RequiredLogicInput<TLogic>>>): xstate520.ActorRefFromLogic<TLogic>;
|
|
164
164
|
};
|
|
165
165
|
input: MandatoryConsentInput;
|
|
166
|
-
self:
|
|
166
|
+
self: xstate520.ActorRef<xstate520.MachineSnapshot<MandatoryConsentContext, {
|
|
167
167
|
type: "LOAD";
|
|
168
168
|
} | {
|
|
169
169
|
type: "TOGGLE";
|
|
@@ -175,7 +175,7 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
175
175
|
type: "RETRY";
|
|
176
176
|
} | {
|
|
177
177
|
type: "RESET";
|
|
178
|
-
}, Record<string,
|
|
178
|
+
}, Record<string, xstate520.AnyActorRef | undefined>, xstate520.StateValue, string, unknown, any, any>, {
|
|
179
179
|
type: "LOAD";
|
|
180
180
|
} | {
|
|
181
181
|
type: "TOGGLE";
|
|
@@ -187,7 +187,7 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
187
187
|
type: "RETRY";
|
|
188
188
|
} | {
|
|
189
189
|
type: "RESET";
|
|
190
|
-
},
|
|
190
|
+
}, xstate520.AnyEventObject>;
|
|
191
191
|
}) => {
|
|
192
192
|
config: MandatoryConsentConfig;
|
|
193
193
|
consent: undefined;
|
|
@@ -224,7 +224,7 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
224
224
|
} | {
|
|
225
225
|
type: "RESET";
|
|
226
226
|
};
|
|
227
|
-
self:
|
|
227
|
+
self: xstate520.ActorRef<xstate520.MachineSnapshot<MandatoryConsentContext, {
|
|
228
228
|
type: "LOAD";
|
|
229
229
|
} | {
|
|
230
230
|
type: "TOGGLE";
|
|
@@ -236,7 +236,7 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "RESET";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate520.AnyActorRef>, xstate520.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "LOAD";
|
|
241
241
|
} | {
|
|
242
242
|
type: "TOGGLE";
|
|
@@ -248,7 +248,7 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "RESET";
|
|
251
|
-
},
|
|
251
|
+
}, xstate520.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
config: MandatoryConsentConfig;
|
|
254
254
|
};
|
|
@@ -301,7 +301,7 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
301
301
|
} | {
|
|
302
302
|
type: "RESET";
|
|
303
303
|
};
|
|
304
|
-
self:
|
|
304
|
+
self: xstate520.ActorRef<xstate520.MachineSnapshot<MandatoryConsentContext, {
|
|
305
305
|
type: "LOAD";
|
|
306
306
|
} | {
|
|
307
307
|
type: "TOGGLE";
|
|
@@ -313,7 +313,7 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
313
313
|
type: "RETRY";
|
|
314
314
|
} | {
|
|
315
315
|
type: "RESET";
|
|
316
|
-
}, Record<string,
|
|
316
|
+
}, Record<string, xstate520.AnyActorRef>, xstate520.StateValue, string, unknown, any, any>, {
|
|
317
317
|
type: "LOAD";
|
|
318
318
|
} | {
|
|
319
319
|
type: "TOGGLE";
|
|
@@ -325,7 +325,7 @@ declare const mandatoryConsentMachine: xstate1087.StateMachine<MandatoryConsentC
|
|
|
325
325
|
type: "RETRY";
|
|
326
326
|
} | {
|
|
327
327
|
type: "RESET";
|
|
328
|
-
},
|
|
328
|
+
}, xstate520.AnyEventObject>;
|
|
329
329
|
}) => {
|
|
330
330
|
consentId: string;
|
|
331
331
|
isSigned: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as isWasmMotionPrimedForModule } from "./permissionServices-
|
|
1
|
+
import { a as isWasmMotionPrimedForModule } from "./permissionServices-Doec4X5L.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/internal/permissions/permissionGuards.ts
|
|
4
4
|
function resolveStoredPermissionResult(fromEvent, fromContext) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
2
|
import { t as MotionSensorProvider } from "./MotionSensorProvider-Bx7Mpzt0.esm.js";
|
|
3
3
|
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-DJWm3V4g.esm.js";
|
|
4
4
|
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
2
2
|
import "./Actor-Y0_Fj-KL.js";
|
|
3
|
-
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-
|
|
3
|
+
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-Vto9CgAR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/qe-signature/index.d.ts
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as mlWasmJSApi_default, n as BaseWasmProvider, u as WasmPipelineType } from "./WasmUtilProvider-
|
|
1
|
+
import { i as mlWasmJSApi_default, n as BaseWasmProvider, u as WasmPipelineType } from "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
2
|
import { r as getToken, t as api } from "./api-CESGtpbH.esm.js";
|
|
3
3
|
import { t as endpoints } from "./endpoints-BeTK0Mlt.esm.js";
|
|
4
4
|
import { t as addDeviceStats } from "./stats-BMNUG1AU.esm.js";
|
|
@@ -530,7 +530,7 @@ async function stopRecording(session) {
|
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
async function initializeDeepsightSession(options) {
|
|
533
|
-
const { loadDeepsightSession } = await import("./deepsightLoader-
|
|
533
|
+
const { loadDeepsightSession } = await import("./deepsightLoader-8tnddNx-.esm.js");
|
|
534
534
|
return loadDeepsightSession({
|
|
535
535
|
ds: options.ds,
|
|
536
536
|
storage: options.storage
|
package/dist/selfie.d.ts
CHANGED
|
@@ -2,15 +2,15 @@ import "./warmup-Dg8Lh-50.js";
|
|
|
2
2
|
import "./Manager-BHn8wH8K.js";
|
|
3
3
|
import "./Actor-Y0_Fj-KL.js";
|
|
4
4
|
import "./StateMachine-BC_nGvrc.js";
|
|
5
|
-
import { C as DetectionStatus, E as FaceErrorCode, T as FaceCapturedImageData, a as SelfieCaptureOnlyMachine, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, w as FaceCaptureOnlyResponse } from "./faceCaptureManagerFactory-
|
|
5
|
+
import { C as DetectionStatus, E as FaceErrorCode, T as FaceCapturedImageData, a as SelfieCaptureOnlyMachine, g as SelfieConfig, h as SelfieCaptureOnlyConfig, i as SelfieCaptureOnlyActor, l as SelfieMachine, n as FaceCaptureManagerState, o as selfieCaptureOnlyMachine, r as CreateSelfieCaptureOnlyActorOptions, t as FaceCaptureManager, u as selfieMachine, w as FaceCaptureOnlyResponse } from "./faceCaptureManagerFactory-CjdBUS6s.js";
|
|
6
6
|
import { t as CameraStream } from "./camera-SRBpPq2X.js";
|
|
7
7
|
import "./types-Bj9hdFjU.js";
|
|
8
8
|
import "./types-DvGZI7BF.js";
|
|
9
9
|
import "./types-DOUhndhT.js";
|
|
10
|
-
import { t as DeepsightService } from "./deepsightService-
|
|
10
|
+
import { t as DeepsightService } from "./deepsightService-Dh5P-hLf.js";
|
|
11
11
|
import { n as PermissionStatus, t as PermissionResult } from "./types-ya0LN_MX.js";
|
|
12
12
|
import "./StreamCanvasCapture-yyl20qd9.js";
|
|
13
|
-
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-
|
|
13
|
+
import { a as ProcessFaceResponse, n as SelfieState, o as processFace, r as createSelfieManager, t as SelfieManager } from "./selfieManager-C2y_t6DG.js";
|
|
14
14
|
|
|
15
15
|
//#region src/modules/selfie/selfieCaptureOnlyManager.d.ts
|
|
16
16
|
type SelfieCaptureOnlyState = FaceCaptureManagerState;
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
2
|
import "./api-CESGtpbH.esm.js";
|
|
3
3
|
import { n as eventModuleNames } from "./events-Dvvriq9l.esm.js";
|
|
4
4
|
import "./endpoints-BeTK0Mlt.esm.js";
|
|
@@ -9,10 +9,10 @@ import "./getBrowser-C8DP7oTB.esm.js";
|
|
|
9
9
|
import { a as fromPromise, r as assign, s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
10
10
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BpJM-gIl.esm.js";
|
|
11
11
|
import "./MotionSensorProvider-Bx7Mpzt0.esm.js";
|
|
12
|
-
import "./permissionServices-
|
|
12
|
+
import "./permissionServices-Doec4X5L.esm.js";
|
|
13
13
|
import "./camera-DJWm3V4g.esm.js";
|
|
14
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
15
|
-
import { m as processFace } from "./recordingService-
|
|
14
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ej2j1LMr.esm.js";
|
|
15
|
+
import { m as processFace } from "./recordingService-yRw7hfzU.esm.js";
|
|
16
16
|
import "./ITimerCapability-CB0I1Uf2.esm.js";
|
|
17
17
|
import "./canvas-SKcRBxsk.esm.js";
|
|
18
18
|
import "./backCameraStream-D7Wo4Nbx.esm.js";
|
|
@@ -21,10 +21,10 @@ import "./getDeviceClass-C0olyNFS.esm.js";
|
|
|
21
21
|
import "./getDeviceClass-C8Do2qYu.esm.js";
|
|
22
22
|
import "./types-DsnEVMhr.esm.js";
|
|
23
23
|
import "./StreamCanvasCapture-ImiDQdVA.esm.js";
|
|
24
|
-
import "./permissionGuards-
|
|
25
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
26
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
27
|
-
import { t as createSelfieManager } from "./selfieManager-
|
|
24
|
+
import "./permissionGuards-D0wGddy7.esm.js";
|
|
25
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B9t6bYze.esm.js";
|
|
26
|
+
import { t as selfieMachine } from "./selfieStateMachine-Bv99bZJE.esm.js";
|
|
27
|
+
import { t as createSelfieManager } from "./selfieManager-BNuTIGAz.esm.js";
|
|
28
28
|
import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-ygByVdnn.esm.js";
|
|
29
29
|
|
|
30
30
|
//#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { t as WasmUtilProvider } from "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
2
|
import { n as eventModuleNames } from "./events-Dvvriq9l.esm.js";
|
|
3
3
|
import { s as createActor } from "./xstate.esm-C9wncMQa.esm.js";
|
|
4
4
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-BpJM-gIl.esm.js";
|
|
5
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
5
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-ej2j1LMr.esm.js";
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-Bv99bZJE.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
2
|
-
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-
|
|
2
|
+
import { c as SelfieActor, n as FaceCaptureManagerState, s as CreateSelfieActorOptions, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CjdBUS6s.js";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/selfie/selfieUploadService.d.ts
|
|
5
5
|
type ProcessFaceImageType = 'selfie' | 'videoSelfie';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as fromPromise, r as assign } from "./xstate.esm-C9wncMQa.esm.js";
|
|
2
|
-
import { a as defaultPrepareFaceUpload, c as prepareOnDeviceFaceUpload, h as uploadSelfie, m as processFace, o as isOnDeviceMode, s as postOnDeviceFaceResults } from "./recordingService-
|
|
2
|
+
import { a as defaultPrepareFaceUpload, c as prepareOnDeviceFaceUpload, h as uploadSelfie, m as processFace, o as isOnDeviceMode, s as postOnDeviceFaceResults } from "./recordingService-yRw7hfzU.esm.js";
|
|
3
3
|
import { t as FACE_ERROR_CODES } from "./types-DsnEVMhr.esm.js";
|
|
4
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
4
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-B9t6bYze.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
7
7
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
package/dist/session.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ 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 { r as initializeSession } from "./sessionInitializer-
|
|
7
|
+
import { r as initializeSession } from "./sessionInitializer-Bwk3EweR.esm.js";
|
|
8
8
|
import "./platform-SKvEfCBh.esm.js";
|
|
9
9
|
import "./getBrowser-C8DP7oTB.esm.js";
|
|
10
10
|
import { t as IncodeApiError } from "./apiError-B-j-gyDx.esm.js";
|
|
@@ -185,7 +185,7 @@ function resetFeatureConfigCache() {
|
|
|
185
185
|
|
|
186
186
|
//#endregion
|
|
187
187
|
//#region src/internal/version/sdkVersion.ts
|
|
188
|
-
const SDK_VERSION = "0.0.0-dev-20260611-
|
|
188
|
+
const SDK_VERSION = "0.0.0-dev-20260611-3dbdc7fd";
|
|
189
189
|
|
|
190
190
|
//#endregion
|
|
191
191
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as WasmWebClientError, c as setWebApiHttpTransport, f as deriveSiblingJsPath, l as setupWasmConnection, o as executeWasmRequest, r as warmupWasm, s as initializeWasmWebClient, t as WasmUtilProvider } from "./WasmUtilProvider-
|
|
1
|
+
import { a as WasmWebClientError, c as setWebApiHttpTransport, f as deriveSiblingJsPath, l as setupWasmConnection, o as executeWasmRequest, r as warmupWasm, s as initializeWasmWebClient, t as WasmUtilProvider } from "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
2
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
3
3
|
import { a as resetApi, i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-CESGtpbH.esm.js";
|
|
4
4
|
import { _ as resetAnalyticsBatcher, g as getAnalyticsBatcher, m as createAnalyticsBatchingService, v as setAnalyticsBatcher } from "./events-Dvvriq9l.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-BeTK0Mlt.esm.js";
|
|
6
6
|
import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-BMNUG1AU.esm.js";
|
|
7
|
-
import { a as setClientIpLookupEnabled, i as resetSessionInit, r as initializeSession } from "./sessionInitializer-
|
|
7
|
+
import { a as setClientIpLookupEnabled, i as resetSessionInit, r as initializeSession } from "./sessionInitializer-Bwk3EweR.esm.js";
|
|
8
8
|
|
|
9
9
|
//#region ../infra/src/wasm/wasmDefaults.ts
|
|
10
10
|
const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
|
|
@@ -913,6 +913,15 @@ let configured = false;
|
|
|
913
913
|
* ipLookup: false,
|
|
914
914
|
* });
|
|
915
915
|
* ```
|
|
916
|
+
*
|
|
917
|
+
* @example Local development: silence the devtools detector and surface WASM logs
|
|
918
|
+
* ```ts
|
|
919
|
+
* await setup({
|
|
920
|
+
* apiURL: 'https://api.incode.com',
|
|
921
|
+
* wasm: { showLogs: true }, // WASM logs are off by default
|
|
922
|
+
* devMode: true, // skip the devtools detector (don't ship this in prod)
|
|
923
|
+
* });
|
|
924
|
+
* ```
|
|
916
925
|
*/
|
|
917
926
|
async function setup(options) {
|
|
918
927
|
if (options.ipLookup !== void 0) setClientIpLookupEnabled(options.ipLookup);
|
|
@@ -945,11 +954,14 @@ async function setup(options) {
|
|
|
945
954
|
configured = true;
|
|
946
955
|
if (effectiveWasm) {
|
|
947
956
|
await warmupWasm(effectiveWasm);
|
|
948
|
-
|
|
957
|
+
const provider = await WasmUtilProvider.getInstance();
|
|
958
|
+
await provider.initialize({
|
|
949
959
|
...effectiveWasm,
|
|
950
960
|
pipelines: effectiveWasm.pipelines ? [...effectiveWasm.pipelines] : void 0
|
|
951
961
|
});
|
|
952
|
-
|
|
962
|
+
const showWasmLogs = typeof options.wasm === "object" && options.wasm.showLogs === true;
|
|
963
|
+
await provider.setProductionMode(!showWasmLogs);
|
|
964
|
+
if (!options.devMode) startDevtoolsDetector();
|
|
953
965
|
}
|
|
954
966
|
}
|
|
955
967
|
/**
|
|
@@ -37,6 +37,14 @@ type WasmConfig = {
|
|
|
37
37
|
* If not provided, models are expected in a 'models' subdirectory relative to the WASM binary.
|
|
38
38
|
*/
|
|
39
39
|
modelsBasePath?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Enables the WASM module's verbose debug logging/console output.
|
|
42
|
+
*
|
|
43
|
+
* Defaults to `false` — the SDK forces WASM into production mode, so the
|
|
44
|
+
* native module stays quiet. Set to `true` only when you need the WASM
|
|
45
|
+
* diagnostics while debugging.
|
|
46
|
+
*/
|
|
47
|
+
showLogs?: boolean;
|
|
40
48
|
};
|
|
41
49
|
/**
|
|
42
50
|
* Object form of the `encryption` option for {@link SetupOptions}. Reach for
|
|
@@ -154,6 +162,18 @@ type SetupOptions = {
|
|
|
154
162
|
* (lookup enabled).
|
|
155
163
|
*/
|
|
156
164
|
ipLookup?: boolean;
|
|
165
|
+
/**
|
|
166
|
+
* Disables the browser devtools detector for local development. When `true`,
|
|
167
|
+
* the detector is **not** started, so devtools no longer gets repeatedly
|
|
168
|
+
* paused on the detector's `debugger` statements.
|
|
169
|
+
*
|
|
170
|
+
* Leave this `false` (default) in production: the detector feeds an
|
|
171
|
+
* anti-fraud signal and should stay on for real users.
|
|
172
|
+
*
|
|
173
|
+
* Note: WASM console logging is controlled separately via `wasm.showLogs`
|
|
174
|
+
* (off by default).
|
|
175
|
+
*/
|
|
176
|
+
devMode?: boolean;
|
|
157
177
|
};
|
|
158
178
|
/**
|
|
159
179
|
* Initializes the SDK with the provided configuration.
|
|
@@ -258,6 +278,15 @@ type SetupOptions = {
|
|
|
258
278
|
* ipLookup: false,
|
|
259
279
|
* });
|
|
260
280
|
* ```
|
|
281
|
+
*
|
|
282
|
+
* @example Local development: silence the devtools detector and surface WASM logs
|
|
283
|
+
* ```ts
|
|
284
|
+
* await setup({
|
|
285
|
+
* apiURL: 'https://api.incode.com',
|
|
286
|
+
* wasm: { showLogs: true }, // WASM logs are off by default
|
|
287
|
+
* devMode: true, // skip the devtools detector (don't ship this in prod)
|
|
288
|
+
* });
|
|
289
|
+
* ```
|
|
261
290
|
*/
|
|
262
291
|
declare function setup(options: SetupOptions): Promise<void>;
|
|
263
292
|
/**
|
package/dist/trust-graph.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-BHn8wH8K.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate514 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/trust-graph/trustGraphManager.d.ts
|
|
5
5
|
type TrustGraphIdleState = {
|
|
@@ -59,7 +59,7 @@ type TrustGraphContext = Record<string, never>;
|
|
|
59
59
|
* Mirror the `noOpFlowModuleMachine` / `identitySearchMachine` headless pattern:
|
|
60
60
|
* start directly in the `final` state.
|
|
61
61
|
*/
|
|
62
|
-
declare const trustGraphMachine:
|
|
62
|
+
declare const trustGraphMachine: xstate514.StateMachine<TrustGraphContext, xstate514.AnyEventObject, {}, never, never, never, never, "finished", string, xstate514.NonReducibleUnknown, xstate514.NonReducibleUnknown, xstate514.EventObject, xstate514.MetaObject, {
|
|
63
63
|
readonly id: "trust-graph";
|
|
64
64
|
readonly initial: "finished";
|
|
65
65
|
readonly context: {};
|
package/dist/wasm.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as WasmPipeline, r as warmupWasm, t as WarmupConfig } from "./warmup-Dg8Lh-50.js";
|
|
2
|
-
import { c as upgradeToWasmHttpClient, n as WasmConfig, o as setWasmConfig, r as initializeWasmUtil } from "./setup-
|
|
2
|
+
import { c as upgradeToWasmHttpClient, n as WasmConfig, o as setWasmConfig, r as initializeWasmUtil } from "./setup-BwCluiw3.js";
|
|
3
3
|
|
|
4
4
|
//#region ../infra/src/wasm/wasmDefaults.d.ts
|
|
5
5
|
/** The WASM version bundled and tested with this SDK release. */
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as warmupWasm } from "./WasmUtilProvider-
|
|
2
|
-
import { c as buildDefaultWasmConfig, i as setWasmConfig, l as buildWasmConfigFromBasePath, o as upgradeToWasmHttpClient, s as DEFAULT_WASM_VERSION, t as initializeWasmUtil, u as resolveWasmConfig } from "./setup-
|
|
1
|
+
import { r as warmupWasm } from "./WasmUtilProvider-BKWm8rSA.esm.js";
|
|
2
|
+
import { c as buildDefaultWasmConfig, i as setWasmConfig, l as buildWasmConfigFromBasePath, o as upgradeToWasmHttpClient, s as DEFAULT_WASM_VERSION, t as initializeWasmUtil, u as resolveWasmConfig } from "./setup-BE0cu5ra.esm.js";
|
|
3
3
|
import "./BrowserTimerProvider-DhNc_x02.esm.js";
|
|
4
4
|
import "./api-CESGtpbH.esm.js";
|
|
5
5
|
import "./events-Dvvriq9l.esm.js";
|
|
@@ -7,7 +7,7 @@ import "./endpoints-BeTK0Mlt.esm.js";
|
|
|
7
7
|
import "./stats-BMNUG1AU.esm.js";
|
|
8
8
|
import "./IpifyProvider-D4LWD15E.esm.js";
|
|
9
9
|
import "./browserSimulation-B1dWiXp7.esm.js";
|
|
10
|
-
import "./sessionInitializer-
|
|
10
|
+
import "./sessionInitializer-Bwk3EweR.esm.js";
|
|
11
11
|
import "./platform-SKvEfCBh.esm.js";
|
|
12
12
|
import "./getBrowser-C8DP7oTB.esm.js";
|
|
13
13
|
|