@incodetech/core 0.0.0-dev-20260505-4b09daf → 0.0.0-dev-20260505-e06a25f
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/ae-signature.d.ts +1 -1
- package/dist/consent.d.ts +47 -47
- package/dist/cpf-ocr.d.ts +17 -17
- package/dist/document-capture.d.ts +71 -71
- package/dist/document-upload.d.ts +46 -46
- package/dist/ekyb.esm.js +3 -3
- package/dist/{ekybStateMachine-D47ADaB-.esm.js → ekybStateMachine-6pezQvlL.esm.js} +1 -1
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/extensibility.esm.js +3 -3
- package/dist/flow.d.ts +2 -2
- package/dist/flow.esm.js +2 -2
- package/dist/{flowServices-DNEvPB4G.esm.js → flowServices-Bh4UKZez.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/id-ocr.d.ts +55 -55
- package/dist/id.esm.js +3 -3
- package/dist/{idCaptureManager-Df8xxjBX.esm.js → idCaptureManager-D8nzFJJv.esm.js} +1 -1
- package/dist/{idCaptureStateMachine-__Cc1trJ.esm.js → idCaptureStateMachine-B-KOFEK9.esm.js} +1 -1
- package/dist/identity-reuse.d.ts +43 -43
- package/dist/{index-DlIJDOn_.d.ts → index-BaZskbWt.d.ts} +119 -119
- package/dist/index.esm.js +2 -2
- package/dist/mandatory-consent.d.ts +50 -50
- package/dist/qe-signature.d.ts +1 -1
- package/dist/{session-DEzJ3qMM.esm.js → session-DcLfiFln.esm.js} +4 -1
- package/dist/session.esm.js +1 -1
- package/dist/{setup-DvsiYeiw.esm.js → setup-CGmPXQZb.esm.js} +1 -1
- package/dist/wasm.esm.js +2 -2
- package/dist/workflow.d.ts +112 -112
- package/dist/workflow.esm.js +4 -4
- package/package.json +3 -3
package/dist/index.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as setup, n as isConfigured, r as reset } from "./setup-
|
|
1
|
+
import { a as setup, n as isConfigured, r as reset } from "./setup-CGmPXQZb.esm.js";
|
|
2
2
|
import "./BaseWasmProvider-BTKqWpeB.esm.js";
|
|
3
3
|
import "./WasmUtilProvider-DqCiPXV6.esm.js";
|
|
4
4
|
import "./api-3IquGyW5.esm.js";
|
|
5
5
|
import "./events-237AXtL7.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-DcLfiFln.esm.js";
|
|
7
7
|
import "./IpifyProvider-CVIOst3c.esm.js";
|
|
8
8
|
import "./browserSimulation-DMJIC-23.esm.js";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import "./Actor-CazhiaK7.js";
|
|
|
3
3
|
import "./camera-CS1twtEg.js";
|
|
4
4
|
import "./types-DdYIMV6w.js";
|
|
5
5
|
import { a as RegulationTypes } from "./types-DFwAuzk2.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as xstate935 from "xstate";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/mandatory-consent/types.d.ts
|
|
9
9
|
type MandatoryConsentConfig = {
|
|
@@ -30,7 +30,7 @@ type MandatoryConsentContext = {
|
|
|
30
30
|
type MandatoryConsentInput = {
|
|
31
31
|
config: MandatoryConsentConfig;
|
|
32
32
|
};
|
|
33
|
-
declare const mandatoryConsentMachine:
|
|
33
|
+
declare const mandatoryConsentMachine: xstate935.StateMachine<MandatoryConsentContext, {
|
|
34
34
|
type: "LOAD";
|
|
35
35
|
} | {
|
|
36
36
|
type: "TOGGLE";
|
|
@@ -43,53 +43,53 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
43
43
|
} | {
|
|
44
44
|
type: "RESET";
|
|
45
45
|
}, {
|
|
46
|
-
[x: string]:
|
|
46
|
+
[x: string]: xstate935.ActorRefFromLogic<xstate935.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
47
47
|
config: MandatoryConsentConfig;
|
|
48
|
-
},
|
|
48
|
+
}, xstate935.EventObject>> | xstate935.ActorRefFromLogic<xstate935.PromiseActorLogic<void, {
|
|
49
49
|
consentId: string;
|
|
50
50
|
isSigned: boolean;
|
|
51
|
-
},
|
|
52
|
-
},
|
|
51
|
+
}, xstate935.EventObject>> | undefined;
|
|
52
|
+
}, xstate935.Values<{
|
|
53
53
|
fetchConsent: {
|
|
54
54
|
src: "fetchConsent";
|
|
55
|
-
logic:
|
|
55
|
+
logic: xstate935.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
56
56
|
config: MandatoryConsentConfig;
|
|
57
|
-
},
|
|
57
|
+
}, xstate935.EventObject>;
|
|
58
58
|
id: string | undefined;
|
|
59
59
|
};
|
|
60
60
|
submitConsent: {
|
|
61
61
|
src: "submitConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate935.PromiseActorLogic<void, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
isSigned: boolean;
|
|
65
|
-
},
|
|
65
|
+
}, xstate935.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
|
-
}>,
|
|
68
|
+
}>, xstate935.Values<{
|
|
69
69
|
setConsent: {
|
|
70
70
|
type: "setConsent";
|
|
71
|
-
params:
|
|
71
|
+
params: xstate935.NonReducibleUnknown;
|
|
72
72
|
};
|
|
73
73
|
setError: {
|
|
74
74
|
type: "setError";
|
|
75
|
-
params:
|
|
75
|
+
params: xstate935.NonReducibleUnknown;
|
|
76
76
|
};
|
|
77
77
|
clearError: {
|
|
78
78
|
type: "clearError";
|
|
79
|
-
params:
|
|
80
|
-
};
|
|
81
|
-
toggleSigned: {
|
|
82
|
-
type: "toggleSigned";
|
|
83
|
-
params: xstate145.NonReducibleUnknown;
|
|
79
|
+
params: xstate935.NonReducibleUnknown;
|
|
84
80
|
};
|
|
85
81
|
resetContext: {
|
|
86
82
|
type: "resetContext";
|
|
87
|
-
params:
|
|
83
|
+
params: xstate935.NonReducibleUnknown;
|
|
84
|
+
};
|
|
85
|
+
toggleSigned: {
|
|
86
|
+
type: "toggleSigned";
|
|
87
|
+
params: xstate935.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
}>, {
|
|
90
90
|
type: "canSubmit";
|
|
91
91
|
params: unknown;
|
|
92
|
-
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput,
|
|
92
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, xstate935.NonReducibleUnknown, xstate935.EventObject, xstate935.MetaObject, {
|
|
93
93
|
readonly id: "mandatoryConsent";
|
|
94
94
|
readonly initial: "idle";
|
|
95
95
|
readonly context: ({
|
|
@@ -98,70 +98,70 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
98
98
|
spawn: {
|
|
99
99
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
100
100
|
src: "fetchConsent";
|
|
101
|
-
logic:
|
|
101
|
+
logic: xstate935.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
102
102
|
config: MandatoryConsentConfig;
|
|
103
|
-
},
|
|
103
|
+
}, xstate935.EventObject>;
|
|
104
104
|
id: string | undefined;
|
|
105
105
|
} extends infer T ? T extends {
|
|
106
106
|
src: "fetchConsent";
|
|
107
|
-
logic:
|
|
107
|
+
logic: xstate935.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
108
108
|
config: MandatoryConsentConfig;
|
|
109
|
-
},
|
|
109
|
+
}, xstate935.EventObject>;
|
|
110
110
|
id: string | undefined;
|
|
111
111
|
} ? T extends {
|
|
112
112
|
src: TSrc;
|
|
113
|
-
} ?
|
|
113
|
+
} ? xstate935.ConditionalRequired<[options?: ({
|
|
114
114
|
id?: T["id"] | undefined;
|
|
115
115
|
systemId?: string;
|
|
116
|
-
input?:
|
|
116
|
+
input?: xstate935.InputFrom<T["logic"]> | undefined;
|
|
117
117
|
syncSnapshot?: boolean;
|
|
118
|
-
} & { [K in
|
|
118
|
+
} & { [K in xstate935.RequiredActorOptions<T>]: unknown }) | undefined], xstate935.IsNotNever<xstate935.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
119
119
|
src: "submitConsent";
|
|
120
|
-
logic:
|
|
120
|
+
logic: xstate935.PromiseActorLogic<void, {
|
|
121
121
|
consentId: string;
|
|
122
122
|
isSigned: boolean;
|
|
123
|
-
},
|
|
123
|
+
}, xstate935.EventObject>;
|
|
124
124
|
id: string | undefined;
|
|
125
125
|
} extends infer T_1 ? T_1 extends {
|
|
126
126
|
src: "submitConsent";
|
|
127
|
-
logic:
|
|
127
|
+
logic: xstate935.PromiseActorLogic<void, {
|
|
128
128
|
consentId: string;
|
|
129
129
|
isSigned: boolean;
|
|
130
|
-
},
|
|
130
|
+
}, xstate935.EventObject>;
|
|
131
131
|
id: string | undefined;
|
|
132
132
|
} ? T_1 extends {
|
|
133
133
|
src: TSrc;
|
|
134
|
-
} ?
|
|
134
|
+
} ? xstate935.ConditionalRequired<[options?: ({
|
|
135
135
|
id?: T_1["id"] | undefined;
|
|
136
136
|
systemId?: string;
|
|
137
|
-
input?:
|
|
137
|
+
input?: xstate935.InputFrom<T_1["logic"]> | undefined;
|
|
138
138
|
syncSnapshot?: boolean;
|
|
139
|
-
} & { [K_1 in
|
|
139
|
+
} & { [K_1 in xstate935.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate935.IsNotNever<xstate935.RequiredActorOptions<T_1>>> : never : never : never)): xstate935.ActorRefFromLogic<xstate935.GetConcreteByKey<xstate935.Values<{
|
|
140
140
|
fetchConsent: {
|
|
141
141
|
src: "fetchConsent";
|
|
142
|
-
logic:
|
|
142
|
+
logic: xstate935.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
143
143
|
config: MandatoryConsentConfig;
|
|
144
|
-
},
|
|
144
|
+
}, xstate935.EventObject>;
|
|
145
145
|
id: string | undefined;
|
|
146
146
|
};
|
|
147
147
|
submitConsent: {
|
|
148
148
|
src: "submitConsent";
|
|
149
|
-
logic:
|
|
149
|
+
logic: xstate935.PromiseActorLogic<void, {
|
|
150
150
|
consentId: string;
|
|
151
151
|
isSigned: boolean;
|
|
152
|
-
},
|
|
152
|
+
}, xstate935.EventObject>;
|
|
153
153
|
id: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
}>, "src", TSrc>["logic"]>;
|
|
156
|
-
<TLogic extends
|
|
156
|
+
<TLogic extends xstate935.AnyActorLogic>(src: TLogic, ...[options]: xstate935.ConditionalRequired<[options?: ({
|
|
157
157
|
id?: never;
|
|
158
158
|
systemId?: string;
|
|
159
|
-
input?:
|
|
159
|
+
input?: xstate935.InputFrom<TLogic> | undefined;
|
|
160
160
|
syncSnapshot?: boolean;
|
|
161
|
-
} & { [K in
|
|
161
|
+
} & { [K in xstate935.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate935.IsNotNever<xstate935.RequiredLogicInput<TLogic>>>): xstate935.ActorRefFromLogic<TLogic>;
|
|
162
162
|
};
|
|
163
163
|
input: MandatoryConsentInput;
|
|
164
|
-
self:
|
|
164
|
+
self: xstate935.ActorRef<xstate935.MachineSnapshot<MandatoryConsentContext, {
|
|
165
165
|
type: "LOAD";
|
|
166
166
|
} | {
|
|
167
167
|
type: "TOGGLE";
|
|
@@ -173,7 +173,7 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
173
173
|
type: "RETRY";
|
|
174
174
|
} | {
|
|
175
175
|
type: "RESET";
|
|
176
|
-
}, Record<string,
|
|
176
|
+
}, Record<string, xstate935.AnyActorRef | undefined>, xstate935.StateValue, string, unknown, any, any>, {
|
|
177
177
|
type: "LOAD";
|
|
178
178
|
} | {
|
|
179
179
|
type: "TOGGLE";
|
|
@@ -185,7 +185,7 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
185
185
|
type: "RETRY";
|
|
186
186
|
} | {
|
|
187
187
|
type: "RESET";
|
|
188
|
-
},
|
|
188
|
+
}, xstate935.AnyEventObject>;
|
|
189
189
|
}) => {
|
|
190
190
|
config: MandatoryConsentConfig;
|
|
191
191
|
consent: undefined;
|
|
@@ -222,7 +222,7 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
222
222
|
} | {
|
|
223
223
|
type: "RESET";
|
|
224
224
|
};
|
|
225
|
-
self:
|
|
225
|
+
self: xstate935.ActorRef<xstate935.MachineSnapshot<MandatoryConsentContext, {
|
|
226
226
|
type: "LOAD";
|
|
227
227
|
} | {
|
|
228
228
|
type: "TOGGLE";
|
|
@@ -234,7 +234,7 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
234
234
|
type: "RETRY";
|
|
235
235
|
} | {
|
|
236
236
|
type: "RESET";
|
|
237
|
-
}, Record<string,
|
|
237
|
+
}, Record<string, xstate935.AnyActorRef>, xstate935.StateValue, string, unknown, any, any>, {
|
|
238
238
|
type: "LOAD";
|
|
239
239
|
} | {
|
|
240
240
|
type: "TOGGLE";
|
|
@@ -246,7 +246,7 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
246
246
|
type: "RETRY";
|
|
247
247
|
} | {
|
|
248
248
|
type: "RESET";
|
|
249
|
-
},
|
|
249
|
+
}, xstate935.AnyEventObject>;
|
|
250
250
|
}) => {
|
|
251
251
|
config: MandatoryConsentConfig;
|
|
252
252
|
};
|
|
@@ -299,7 +299,7 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
299
299
|
} | {
|
|
300
300
|
type: "RESET";
|
|
301
301
|
};
|
|
302
|
-
self:
|
|
302
|
+
self: xstate935.ActorRef<xstate935.MachineSnapshot<MandatoryConsentContext, {
|
|
303
303
|
type: "LOAD";
|
|
304
304
|
} | {
|
|
305
305
|
type: "TOGGLE";
|
|
@@ -311,7 +311,7 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
311
311
|
type: "RETRY";
|
|
312
312
|
} | {
|
|
313
313
|
type: "RESET";
|
|
314
|
-
}, Record<string,
|
|
314
|
+
}, Record<string, xstate935.AnyActorRef>, xstate935.StateValue, string, unknown, any, any>, {
|
|
315
315
|
type: "LOAD";
|
|
316
316
|
} | {
|
|
317
317
|
type: "TOGGLE";
|
|
@@ -323,7 +323,7 @@ declare const mandatoryConsentMachine: xstate145.StateMachine<MandatoryConsentCo
|
|
|
323
323
|
type: "RETRY";
|
|
324
324
|
} | {
|
|
325
325
|
type: "RESET";
|
|
326
|
-
},
|
|
326
|
+
}, xstate935.AnyEventObject>;
|
|
327
327
|
}) => {
|
|
328
328
|
consentId: string;
|
|
329
329
|
isSigned: boolean;
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-CcbnIt3T.js";
|
|
2
2
|
import "./Actor-CazhiaK7.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-BaZskbWt.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/qe-signature/index.d.ts
|
|
6
6
|
|
|
@@ -3028,9 +3028,12 @@ function resetFeatureConfigCache() {
|
|
|
3028
3028
|
cachedFeatures$1 = null;
|
|
3029
3029
|
}
|
|
3030
3030
|
|
|
3031
|
+
//#endregion
|
|
3032
|
+
//#region src/internal/version/sdkVersion.ts
|
|
3033
|
+
const SDK_VERSION = "0.0.0-dev-20260505-e06a25f";
|
|
3034
|
+
|
|
3031
3035
|
//#endregion
|
|
3032
3036
|
//#region src/internal/fingerprint/fingerprintService.ts
|
|
3033
|
-
const SDK_VERSION = "2.0.0";
|
|
3034
3037
|
function formatOsVersion(os) {
|
|
3035
3038
|
return `${os.name || "Unknown"} ${os.version || ""}`.trim();
|
|
3036
3039
|
}
|
package/dist/session.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./api-3IquGyW5.esm.js";
|
|
2
2
|
import "./events-237AXtL7.esm.js";
|
|
3
|
-
import { c as QrValidationError, d as refreshQrUrlUuid, f as validateQrUuid, l as bootstrapSession, s as QR_VALIDATION_ERROR_CODES, u as createSession } from "./session-
|
|
3
|
+
import { c as QrValidationError, d as refreshQrUrlUuid, f as validateQrUuid, l as bootstrapSession, s as QR_VALIDATION_ERROR_CODES, u as createSession } from "./session-DcLfiFln.esm.js";
|
|
4
4
|
import "./IpifyProvider-CVIOst3c.esm.js";
|
|
5
5
|
import "./browserSimulation-DMJIC-23.esm.js";
|
|
6
6
|
import { t as getFinishStatus } from "./flowCompletionService-DKHUsKiX.esm.js";
|
|
@@ -2,7 +2,7 @@ import { n as warmupWasm } from "./BaseWasmProvider-BTKqWpeB.esm.js";
|
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DqCiPXV6.esm.js";
|
|
3
3
|
import { a as resetApi, i as isApiConfigured, o as setClient, s as setToken } from "./api-3IquGyW5.esm.js";
|
|
4
4
|
import { h as flushEventQueue } from "./events-237AXtL7.esm.js";
|
|
5
|
-
import { i as resetSessionInit, r as initializeSession } from "./session-
|
|
5
|
+
import { i as resetSessionInit, r as initializeSession } from "./session-DcLfiFln.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/http/createApi.ts
|
|
8
8
|
var FetchHttpError = class extends Error {
|
package/dist/wasm.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as resolveWasmConfig, i as setWasmConfig, o as DEFAULT_WASM_VERSION, s as buildDefaultWasmConfig, t as initializeWasmUtil } from "./setup-
|
|
1
|
+
import { c as resolveWasmConfig, i as setWasmConfig, o as DEFAULT_WASM_VERSION, s as buildDefaultWasmConfig, t as initializeWasmUtil } from "./setup-CGmPXQZb.esm.js";
|
|
2
2
|
import { n as warmupWasm } from "./BaseWasmProvider-BTKqWpeB.esm.js";
|
|
3
3
|
import "./WasmUtilProvider-DqCiPXV6.esm.js";
|
|
4
4
|
import "./api-3IquGyW5.esm.js";
|
|
5
5
|
import "./events-237AXtL7.esm.js";
|
|
6
|
-
import "./session-
|
|
6
|
+
import "./session-DcLfiFln.esm.js";
|
|
7
7
|
import "./IpifyProvider-CVIOst3c.esm.js";
|
|
8
8
|
import "./browserSimulation-DMJIC-23.esm.js";
|
|
9
9
|
|