@incodetech/core 0.0.0-dev-20260421-1845b47 → 0.0.0-dev-20260422-96fafd7
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/{addressSearch-C6eGEbdK.esm.js → addressSearch-BbwH6Lf7.esm.js} +1 -1
- package/dist/{ae-signature-DvF-yLWx.esm.js → ae-signature-BsCJAnDL.esm.js} +1 -1
- package/dist/ae-signature.d.ts +1 -1
- package/dist/ae-signature.esm.js +3 -3
- package/dist/antifraud.esm.js +2 -2
- package/dist/{antifraudStateMachine-BEP9IYFN.esm.js → antifraudStateMachine-ilKa4wC7.esm.js} +1 -1
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-D3u9NIkp.esm.js → authenticationManager-CSLd6bOj.esm.js} +3 -3
- package/dist/{authenticationStateMachine-DG64AIcy.esm.js → authenticationStateMachine-DXODPzBc.esm.js} +3 -3
- package/dist/consent.d.ts +47 -47
- package/dist/consent.esm.js +2 -2
- package/dist/{consentStateMachine-DZTzztq9.esm.js → consentStateMachine-VmgqnPgU.esm.js} +1 -1
- package/dist/cross-document-data-match.esm.js +1 -1
- package/dist/curp-validation.esm.js +2 -2
- package/dist/{curpValidationStateMachine-BcVkABa_.esm.js → curpValidationStateMachine-CxouBL3m.esm.js} +1 -1
- package/dist/custom-fields.esm.js +1 -1
- package/dist/document-capture.d.ts +70 -70
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +1 -1
- package/dist/{documentCaptureStateMachine-AEeMd_sA.esm.js → documentCaptureStateMachine-nDAGCe88.esm.js} +1 -1
- package/dist/ekyb.esm.js +5 -5
- package/dist/{ekybStateMachine-DBL0mFtQ.esm.js → ekybStateMachine-hPeFDVI2.esm.js} +3 -3
- package/dist/ekyc.esm.js +3 -3
- package/dist/{ekycStateMachine-C_NGgk5Y.esm.js → ekycStateMachine-BSm6DESz.esm.js} +2 -2
- package/dist/electronic-signature.d.ts +1 -1
- package/dist/electronic-signature.esm.js +2 -2
- package/dist/{electronicSignatureManager-BHuZgDfX.esm.js → electronicSignatureManager-eKhvmNl5.esm.js} +1 -1
- package/dist/email.esm.js +3 -3
- package/dist/{emailManager-BbRpgtAL.esm.js → emailManager-UqlpfLu-.esm.js} +2 -2
- package/dist/{emailStateMachine-Bcv-dM_k.esm.js → emailStateMachine-BiDeKm0B.esm.js} +1 -1
- package/dist/{events-D6rNtFDO.esm.js → events-_dFJXIHR.esm.js} +0 -2
- package/dist/events.d.ts +0 -1
- package/dist/events.esm.js +1 -1
- package/dist/extensibility.esm.js +15 -15
- package/dist/face-match.esm.js +2 -2
- package/dist/{faceCaptureManagerFactory-D1R5A-s3.esm.js → faceCaptureManagerFactory-9jP_53qG.esm.js} +1 -1
- package/dist/{faceCaptureSetup-COUInisn.esm.js → faceCaptureSetup-BsXUlz8p.esm.js} +1 -1
- package/dist/{faceMatchStateMachine-Bm0RrtNZ.esm.js → faceMatchStateMachine-Bhjfheg2.esm.js} +1 -1
- package/dist/flow.esm.js +4 -4
- package/dist/{flowCompletionService-DNwDhild.esm.js → flowCompletionService-DLIP99tr.esm.js} +1 -1
- package/dist/{flowServices-Cjn9luLb.esm.js → flowServices-CwrZcQI2.esm.js} +2 -2
- package/dist/geolocation.esm.js +2 -2
- package/dist/{geolocationStateMachine-nhuJw6Da.esm.js → geolocationStateMachine-CqMNzkrB.esm.js} +1 -1
- package/dist/government-validation.esm.js +2 -2
- package/dist/{governmentValidationStateMachine-Ksonp_gh.esm.js → governmentValidationStateMachine-BvFCJeyw.esm.js} +1 -1
- package/dist/home.d.ts +10 -10
- package/dist/home.esm.js +1 -1
- package/dist/id.esm.js +5 -5
- package/dist/{idCaptureManager-Dpdi9gCr.esm.js → idCaptureManager-DJK5Onmh.esm.js} +2 -2
- package/dist/{idCaptureStateMachine-DoaPqzzp.esm.js → idCaptureStateMachine-DN_vbCuB.esm.js} +3 -3
- package/dist/identity-reuse.d.ts +47 -47
- package/dist/identity-reuse.esm.js +1 -1
- package/dist/{index-BMzQCj-h.d.ts → index-nSJUy_Aq.d.ts} +119 -119
- package/dist/index.esm.js +3 -3
- package/dist/mandatory-consent.d.ts +47 -47
- package/dist/mandatory-consent.esm.js +2 -2
- package/dist/{mandatoryConsentStateMachine-D_ljDR9e.esm.js → mandatoryConsentStateMachine-C-IIJ8SX.esm.js} +1 -1
- package/dist/phone.esm.js +3 -3
- package/dist/{phoneManager-B9NF66Bk.esm.js → phoneManager-Bxc_-4Dr.esm.js} +2 -2
- package/dist/{phoneStateMachine-DHaPFdWu.esm.js → phoneStateMachine-0gwBStCm.esm.js} +1 -1
- package/dist/{qe-signature-BGmul0lF.esm.js → qe-signature-BboU3Wcl.esm.js} +1 -1
- package/dist/qe-signature.d.ts +1 -1
- package/dist/qe-signature.esm.js +3 -3
- package/dist/{recordingService-CEWRBAQW.esm.js → recordingService-XpMolMxi.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +2 -2
- package/dist/{redirectToMobileStateMachine-CsfV3Enr.esm.js → redirectToMobileStateMachine-vxFra6KF.esm.js} +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-DeyDZPRG.esm.js → selfieManager-1aK28sG1.esm.js} +3 -3
- package/dist/{selfieStateMachine-Cy3iS0bC.esm.js → selfieStateMachine-DSIrMOLQ.esm.js} +2 -2
- package/dist/{session-BdrEd46Q.esm.js → session-4BhYmzdE.esm.js} +1 -1
- package/dist/session.esm.js +3 -3
- package/dist/{setup-ChZHcsGf.esm.js → setup-BXAs1PK0.esm.js} +2 -2
- package/dist/signature.d.ts +7 -6
- package/dist/signature.esm.js +3 -18
- package/dist/{signatureStateMachine-C-MP8GI1.esm.js → signatureStateMachine-BQkKFNPe.esm.js} +8 -66
- package/dist/wasm.esm.js +3 -3
- package/dist/watchlist.esm.js +1 -1
- package/dist/workflow.d.ts +82 -82
- package/dist/workflow.esm.js +27 -27
- package/package.json +1 -1
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-BXAs1PK0.esm.js";
|
|
2
2
|
import "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
|
|
3
3
|
import "./WasmUtilProvider-DLgdRyEg.esm.js";
|
|
4
4
|
import "./api-Bq5aVL0-.esm.js";
|
|
5
|
-
import "./events-
|
|
6
|
-
import "./session-
|
|
5
|
+
import "./events-_dFJXIHR.esm.js";
|
|
6
|
+
import "./session-4BhYmzdE.esm.js";
|
|
7
7
|
import "./IpifyProvider-QIevJQOm.esm.js";
|
|
8
8
|
import "./browserSimulation-D5C2Zw4l.esm.js";
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import "./Actor-BS3rbtoo.js";
|
|
|
3
3
|
import "./camera-ZjE1I_AX.js";
|
|
4
4
|
import "./types-BWYMM3Em.js";
|
|
5
5
|
import { a as RegulationTypes } from "./types-CfsXFnOc.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as xstate228 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: xstate228.StateMachine<MandatoryConsentContext, {
|
|
34
34
|
type: "LOAD";
|
|
35
35
|
} | {
|
|
36
36
|
type: "TOGGLE";
|
|
@@ -43,53 +43,53 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
43
43
|
} | {
|
|
44
44
|
type: "RESET";
|
|
45
45
|
}, {
|
|
46
|
-
[x: string]:
|
|
46
|
+
[x: string]: xstate228.ActorRefFromLogic<xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
47
47
|
config: MandatoryConsentConfig;
|
|
48
|
-
},
|
|
48
|
+
}, xstate228.EventObject>> | xstate228.ActorRefFromLogic<xstate228.PromiseActorLogic<void, {
|
|
49
49
|
consentId: string;
|
|
50
50
|
isSigned: boolean;
|
|
51
|
-
},
|
|
52
|
-
},
|
|
51
|
+
}, xstate228.EventObject>> | undefined;
|
|
52
|
+
}, xstate228.Values<{
|
|
53
53
|
fetchConsent: {
|
|
54
54
|
src: "fetchConsent";
|
|
55
|
-
logic:
|
|
55
|
+
logic: xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
56
56
|
config: MandatoryConsentConfig;
|
|
57
|
-
},
|
|
57
|
+
}, xstate228.EventObject>;
|
|
58
58
|
id: string | undefined;
|
|
59
59
|
};
|
|
60
60
|
submitConsent: {
|
|
61
61
|
src: "submitConsent";
|
|
62
|
-
logic:
|
|
62
|
+
logic: xstate228.PromiseActorLogic<void, {
|
|
63
63
|
consentId: string;
|
|
64
64
|
isSigned: boolean;
|
|
65
|
-
},
|
|
65
|
+
}, xstate228.EventObject>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
|
-
}>,
|
|
68
|
+
}>, xstate228.Values<{
|
|
69
69
|
setConsent: {
|
|
70
70
|
type: "setConsent";
|
|
71
|
-
params:
|
|
71
|
+
params: xstate228.NonReducibleUnknown;
|
|
72
72
|
};
|
|
73
73
|
setError: {
|
|
74
74
|
type: "setError";
|
|
75
|
-
params:
|
|
75
|
+
params: xstate228.NonReducibleUnknown;
|
|
76
76
|
};
|
|
77
77
|
clearError: {
|
|
78
78
|
type: "clearError";
|
|
79
|
-
params:
|
|
79
|
+
params: xstate228.NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
resetContext: {
|
|
82
82
|
type: "resetContext";
|
|
83
|
-
params:
|
|
83
|
+
params: xstate228.NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
toggleSigned: {
|
|
86
86
|
type: "toggleSigned";
|
|
87
|
-
params:
|
|
87
|
+
params: xstate228.NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
}>, {
|
|
90
90
|
type: "canSubmit";
|
|
91
91
|
params: unknown;
|
|
92
|
-
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput,
|
|
92
|
+
}, never, "error" | "idle" | "closed" | "finished" | "loading" | "display" | "submitting", string, MandatoryConsentInput, xstate228.NonReducibleUnknown, xstate228.EventObject, xstate228.MetaObject, {
|
|
93
93
|
readonly id: "mandatoryConsent";
|
|
94
94
|
readonly initial: "idle";
|
|
95
95
|
readonly context: ({
|
|
@@ -98,70 +98,70 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
98
98
|
spawn: {
|
|
99
99
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
100
100
|
src: "fetchConsent";
|
|
101
|
-
logic:
|
|
101
|
+
logic: xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
102
102
|
config: MandatoryConsentConfig;
|
|
103
|
-
},
|
|
103
|
+
}, xstate228.EventObject>;
|
|
104
104
|
id: string | undefined;
|
|
105
105
|
} extends infer T ? T extends {
|
|
106
106
|
src: "fetchConsent";
|
|
107
|
-
logic:
|
|
107
|
+
logic: xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
108
108
|
config: MandatoryConsentConfig;
|
|
109
|
-
},
|
|
109
|
+
}, xstate228.EventObject>;
|
|
110
110
|
id: string | undefined;
|
|
111
111
|
} ? T extends {
|
|
112
112
|
src: TSrc;
|
|
113
|
-
} ?
|
|
113
|
+
} ? xstate228.ConditionalRequired<[options?: ({
|
|
114
114
|
id?: T["id"] | undefined;
|
|
115
115
|
systemId?: string;
|
|
116
|
-
input?:
|
|
116
|
+
input?: xstate228.InputFrom<T["logic"]> | undefined;
|
|
117
117
|
syncSnapshot?: boolean;
|
|
118
|
-
} & { [K in
|
|
118
|
+
} & { [K in xstate228.RequiredActorOptions<T>]: unknown }) | undefined], xstate228.IsNotNever<xstate228.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
119
119
|
src: "submitConsent";
|
|
120
|
-
logic:
|
|
120
|
+
logic: xstate228.PromiseActorLogic<void, {
|
|
121
121
|
consentId: string;
|
|
122
122
|
isSigned: boolean;
|
|
123
|
-
},
|
|
123
|
+
}, xstate228.EventObject>;
|
|
124
124
|
id: string | undefined;
|
|
125
125
|
} extends infer T_1 ? T_1 extends {
|
|
126
126
|
src: "submitConsent";
|
|
127
|
-
logic:
|
|
127
|
+
logic: xstate228.PromiseActorLogic<void, {
|
|
128
128
|
consentId: string;
|
|
129
129
|
isSigned: boolean;
|
|
130
|
-
},
|
|
130
|
+
}, xstate228.EventObject>;
|
|
131
131
|
id: string | undefined;
|
|
132
132
|
} ? T_1 extends {
|
|
133
133
|
src: TSrc;
|
|
134
|
-
} ?
|
|
134
|
+
} ? xstate228.ConditionalRequired<[options?: ({
|
|
135
135
|
id?: T_1["id"] | undefined;
|
|
136
136
|
systemId?: string;
|
|
137
|
-
input?:
|
|
137
|
+
input?: xstate228.InputFrom<T_1["logic"]> | undefined;
|
|
138
138
|
syncSnapshot?: boolean;
|
|
139
|
-
} & { [K_1 in
|
|
139
|
+
} & { [K_1 in xstate228.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate228.IsNotNever<xstate228.RequiredActorOptions<T_1>>> : never : never : never)): xstate228.ActorRefFromLogic<xstate228.GetConcreteByKey<xstate228.Values<{
|
|
140
140
|
fetchConsent: {
|
|
141
141
|
src: "fetchConsent";
|
|
142
|
-
logic:
|
|
142
|
+
logic: xstate228.PromiseActorLogic<FetchMandatoryConsentResponse, {
|
|
143
143
|
config: MandatoryConsentConfig;
|
|
144
|
-
},
|
|
144
|
+
}, xstate228.EventObject>;
|
|
145
145
|
id: string | undefined;
|
|
146
146
|
};
|
|
147
147
|
submitConsent: {
|
|
148
148
|
src: "submitConsent";
|
|
149
|
-
logic:
|
|
149
|
+
logic: xstate228.PromiseActorLogic<void, {
|
|
150
150
|
consentId: string;
|
|
151
151
|
isSigned: boolean;
|
|
152
|
-
},
|
|
152
|
+
}, xstate228.EventObject>;
|
|
153
153
|
id: string | undefined;
|
|
154
154
|
};
|
|
155
155
|
}>, "src", TSrc>["logic"]>;
|
|
156
|
-
<TLogic extends
|
|
156
|
+
<TLogic extends xstate228.AnyActorLogic>(src: TLogic, ...[options]: xstate228.ConditionalRequired<[options?: ({
|
|
157
157
|
id?: never;
|
|
158
158
|
systemId?: string;
|
|
159
|
-
input?:
|
|
159
|
+
input?: xstate228.InputFrom<TLogic> | undefined;
|
|
160
160
|
syncSnapshot?: boolean;
|
|
161
|
-
} & { [K in
|
|
161
|
+
} & { [K in xstate228.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate228.IsNotNever<xstate228.RequiredLogicInput<TLogic>>>): xstate228.ActorRefFromLogic<TLogic>;
|
|
162
162
|
};
|
|
163
163
|
input: MandatoryConsentInput;
|
|
164
|
-
self:
|
|
164
|
+
self: xstate228.ActorRef<xstate228.MachineSnapshot<MandatoryConsentContext, {
|
|
165
165
|
type: "LOAD";
|
|
166
166
|
} | {
|
|
167
167
|
type: "TOGGLE";
|
|
@@ -173,7 +173,7 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
173
173
|
type: "RETRY";
|
|
174
174
|
} | {
|
|
175
175
|
type: "RESET";
|
|
176
|
-
}, Record<string,
|
|
176
|
+
}, Record<string, xstate228.AnyActorRef | undefined>, xstate228.StateValue, string, unknown, any, any>, {
|
|
177
177
|
type: "LOAD";
|
|
178
178
|
} | {
|
|
179
179
|
type: "TOGGLE";
|
|
@@ -185,7 +185,7 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
185
185
|
type: "RETRY";
|
|
186
186
|
} | {
|
|
187
187
|
type: "RESET";
|
|
188
|
-
},
|
|
188
|
+
}, xstate228.AnyEventObject>;
|
|
189
189
|
}) => {
|
|
190
190
|
config: MandatoryConsentConfig;
|
|
191
191
|
consent: undefined;
|
|
@@ -222,7 +222,7 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
222
222
|
} | {
|
|
223
223
|
type: "RESET";
|
|
224
224
|
};
|
|
225
|
-
self:
|
|
225
|
+
self: xstate228.ActorRef<xstate228.MachineSnapshot<MandatoryConsentContext, {
|
|
226
226
|
type: "LOAD";
|
|
227
227
|
} | {
|
|
228
228
|
type: "TOGGLE";
|
|
@@ -234,7 +234,7 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
234
234
|
type: "RETRY";
|
|
235
235
|
} | {
|
|
236
236
|
type: "RESET";
|
|
237
|
-
}, Record<string,
|
|
237
|
+
}, Record<string, xstate228.AnyActorRef>, xstate228.StateValue, string, unknown, any, any>, {
|
|
238
238
|
type: "LOAD";
|
|
239
239
|
} | {
|
|
240
240
|
type: "TOGGLE";
|
|
@@ -246,7 +246,7 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
246
246
|
type: "RETRY";
|
|
247
247
|
} | {
|
|
248
248
|
type: "RESET";
|
|
249
|
-
},
|
|
249
|
+
}, xstate228.AnyEventObject>;
|
|
250
250
|
}) => {
|
|
251
251
|
config: MandatoryConsentConfig;
|
|
252
252
|
};
|
|
@@ -299,7 +299,7 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
299
299
|
} | {
|
|
300
300
|
type: "RESET";
|
|
301
301
|
};
|
|
302
|
-
self:
|
|
302
|
+
self: xstate228.ActorRef<xstate228.MachineSnapshot<MandatoryConsentContext, {
|
|
303
303
|
type: "LOAD";
|
|
304
304
|
} | {
|
|
305
305
|
type: "TOGGLE";
|
|
@@ -311,7 +311,7 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
311
311
|
type: "RETRY";
|
|
312
312
|
} | {
|
|
313
313
|
type: "RESET";
|
|
314
|
-
}, Record<string,
|
|
314
|
+
}, Record<string, xstate228.AnyActorRef>, xstate228.StateValue, string, unknown, any, any>, {
|
|
315
315
|
type: "LOAD";
|
|
316
316
|
} | {
|
|
317
317
|
type: "TOGGLE";
|
|
@@ -323,7 +323,7 @@ declare const mandatoryConsentMachine: xstate1089.StateMachine<MandatoryConsentC
|
|
|
323
323
|
type: "RETRY";
|
|
324
324
|
} | {
|
|
325
325
|
type: "RESET";
|
|
326
|
-
},
|
|
326
|
+
}, xstate228.AnyEventObject>;
|
|
327
327
|
}) => {
|
|
328
328
|
consentId: string;
|
|
329
329
|
isSigned: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
|
-
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-
|
|
4
|
+
import { t as mandatoryConsentMachine } from "./mandatoryConsentStateMachine-C-IIJ8SX.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/mandatory-consent/mandatoryConsentActor.ts
|
|
7
7
|
function createMandatoryConsentActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/mandatory-consent/mandatoryConsentServices.ts
|
package/dist/phone.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import "./events-
|
|
2
|
+
import "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
4
|
import "./BrowserTimerProvider-D4hR9uTM.esm.js";
|
|
5
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
6
|
-
import { t as createPhoneManager } from "./phoneManager-
|
|
5
|
+
import { t as phoneMachine } from "./phoneStateMachine-0gwBStCm.esm.js";
|
|
6
|
+
import { t as createPhoneManager } from "./phoneManager-Bxc_-4Dr.esm.js";
|
|
7
7
|
|
|
8
8
|
export { createPhoneManager, phoneMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
1
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
|
|
2
2
|
import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
3
|
-
import { t as phoneMachine } from "./phoneStateMachine-
|
|
3
|
+
import { t as phoneMachine } from "./phoneStateMachine-0gwBStCm.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/phone/phoneActor.ts
|
|
6
6
|
function createPhoneActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-D4hR9uTM.esm.js";
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-
|
|
1
|
+
import { t as createElectronicSignatureManager } from "./electronicSignatureManager-eKhvmNl5.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region src/modules/qe-signature/index.ts
|
|
4
4
|
function createQeSignatureManager(options) {
|
package/dist/qe-signature.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Manager } from "./Manager-B8qNVwIm.js";
|
|
2
2
|
import "./Actor-BS3rbtoo.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-nSJUy_Aq.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/qe-signature/index.d.ts
|
|
6
6
|
|
package/dist/qe-signature.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import "./events-
|
|
2
|
+
import "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
|
-
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-
|
|
5
|
-
import { t as createQeSignatureManager } from "./qe-signature-
|
|
4
|
+
import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks } from "./electronicSignatureManager-eKhvmNl5.esm.js";
|
|
5
|
+
import { t as createQeSignatureManager } from "./qe-signature-BboU3Wcl.esm.js";
|
|
6
6
|
|
|
7
7
|
export { QE_CONSENT_KEYS, areAllConsented, createQeSignatureManager, getDefaultConsentChecks, electronicSignatureMachine as qeSignatureMachine };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as WasmPipelineType, r as mlWasmJSApi_default, t as BaseWasmProvider } from "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
|
|
2
2
|
import { t as api } from "./api-Bq5aVL0-.esm.js";
|
|
3
|
-
import { _ as endpoints } from "./events-
|
|
3
|
+
import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
|
|
4
4
|
import { n as IncodeCanvas } from "./deepsightService-C966kOVA.esm.js";
|
|
5
5
|
import { i as stopCameraStream, r as requestCameraAccess } from "./camera-BToe85ME.esm.js";
|
|
6
6
|
import { t as addDeviceStats } from "./stats-DVL1TL6Q.esm.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
4
|
import "./BrowserTimerProvider-D4hR9uTM.esm.js";
|
|
5
|
-
import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-
|
|
5
|
+
import { t as redirectToMobileMachine } from "./redirectToMobileStateMachine-vxFra6KF.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
|
|
8
8
|
function createRedirectToMobileActor(options) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as api } from "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import { _ as endpoints } from "./events-
|
|
2
|
+
import { _ as endpoints } from "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import { i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
4
|
import { t as BrowserTimerProvider } from "./BrowserTimerProvider-D4hR9uTM.esm.js";
|
|
5
5
|
|
package/dist/selfie.esm.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
|
|
2
2
|
import "./WasmUtilProvider-DLgdRyEg.esm.js";
|
|
3
3
|
import "./api-Bq5aVL0-.esm.js";
|
|
4
|
-
import "./events-
|
|
4
|
+
import "./events-_dFJXIHR.esm.js";
|
|
5
5
|
import "./browserSimulation-D5C2Zw4l.esm.js";
|
|
6
6
|
import "./xstate.esm-BR-OL9fa.esm.js";
|
|
7
|
-
import "./faceCaptureManagerFactory-
|
|
7
|
+
import "./faceCaptureManagerFactory-9jP_53qG.esm.js";
|
|
8
8
|
import "./BrowserStorageProvider-Bww9xk7g.esm.js";
|
|
9
|
-
import { l as processFace } from "./recordingService-
|
|
9
|
+
import { l as processFace } from "./recordingService-XpMolMxi.esm.js";
|
|
10
10
|
import "./deepsightService-C966kOVA.esm.js";
|
|
11
11
|
import "./permissionServices-Y2PDGdE5.esm.js";
|
|
12
12
|
import "./camera-BToe85ME.esm.js";
|
|
@@ -17,8 +17,8 @@ import "./platform-CwFB3DeY.esm.js";
|
|
|
17
17
|
import "./ITimerCapability-C-3gFxPH.esm.js";
|
|
18
18
|
import "./backCameraStream-BtLt5ZMq.esm.js";
|
|
19
19
|
import "./getDeviceClass-ByKIa-2E.esm.js";
|
|
20
|
-
import "./faceCaptureSetup-
|
|
21
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
22
|
-
import { t as createSelfieManager } from "./selfieManager-
|
|
20
|
+
import "./faceCaptureSetup-BsXUlz8p.esm.js";
|
|
21
|
+
import { t as selfieMachine } from "./selfieStateMachine-DSIrMOLQ.esm.js";
|
|
22
|
+
import { t as createSelfieManager } from "./selfieManager-1aK28sG1.esm.js";
|
|
23
23
|
|
|
24
24
|
export { createSelfieManager, processFace, selfieMachine };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DLgdRyEg.esm.js";
|
|
2
|
-
import { n as eventModuleNames } from "./events-
|
|
2
|
+
import { n as eventModuleNames } from "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import { a as createActor } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
|
-
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-
|
|
4
|
+
import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-9jP_53qG.esm.js";
|
|
5
5
|
import { t as BrowserStorageProvider } from "./BrowserStorageProvider-Bww9xk7g.esm.js";
|
|
6
|
-
import { t as selfieMachine } from "./selfieStateMachine-
|
|
6
|
+
import { t as selfieMachine } from "./selfieStateMachine-DSIrMOLQ.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/selfie/selfieActor.ts
|
|
9
9
|
function createSelfieActor(options) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as fromPromise, n as assign } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
2
|
-
import { l as processFace, u as uploadSelfie, v as FACE_ERROR_CODES } from "./recordingService-
|
|
3
|
-
import { t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
2
|
+
import { l as processFace, u as uploadSelfie, v as FACE_ERROR_CODES } from "./recordingService-XpMolMxi.esm.js";
|
|
3
|
+
import { t as faceCaptureMachine } from "./faceCaptureSetup-BsXUlz8p.esm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/selfie/selfieErrorUtils.ts
|
|
6
6
|
const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as getApi, t as api } from "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import { _ as endpoints, m as addEvent } from "./events-
|
|
2
|
+
import { _ as endpoints, m as addEvent } from "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import { n as resetIpifyCache, r as BrowserEnvironmentProvider, t as IpifyProvider } from "./IpifyProvider-QIevJQOm.esm.js";
|
|
4
4
|
import { t as isBrowserSimulation } from "./browserSimulation-D5C2Zw4l.esm.js";
|
|
5
5
|
|
package/dist/session.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import "./events-
|
|
3
|
-
import { c as createSession, l as validateQrUuid, s as QrValidationError } from "./session-
|
|
2
|
+
import "./events-_dFJXIHR.esm.js";
|
|
3
|
+
import { c as createSession, l as validateQrUuid, s as QrValidationError } from "./session-4BhYmzdE.esm.js";
|
|
4
4
|
import "./IpifyProvider-QIevJQOm.esm.js";
|
|
5
5
|
import "./browserSimulation-D5C2Zw4l.esm.js";
|
|
6
|
-
import { t as getFinishStatus } from "./flowCompletionService-
|
|
6
|
+
import { t as getFinishStatus } from "./flowCompletionService-DLIP99tr.esm.js";
|
|
7
7
|
|
|
8
8
|
export { QrValidationError, createSession, getFinishStatus, validateQrUuid };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as warmupWasm } from "./BaseWasmProvider-Dr9Bb1Zg.esm.js";
|
|
2
2
|
import { t as WasmUtilProvider } from "./WasmUtilProvider-DLgdRyEg.esm.js";
|
|
3
3
|
import { a as resetApi, o as setClient, s as setToken } from "./api-Bq5aVL0-.esm.js";
|
|
4
|
-
import { h as flushEventQueue } from "./events-
|
|
5
|
-
import { i as resetSessionInit, r as initializeSession } from "./session-
|
|
4
|
+
import { h as flushEventQueue } from "./events-_dFJXIHR.esm.js";
|
|
5
|
+
import { i as resetSessionInit, r as initializeSession } from "./session-4BhYmzdE.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../infra/src/http/createApi.ts
|
|
8
8
|
var FetchHttpError = class extends Error {
|
package/dist/signature.d.ts
CHANGED
|
@@ -4,13 +4,12 @@ import "./Actor-BS3rbtoo.js";
|
|
|
4
4
|
//#region src/modules/signature/types.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* Configuration options for Signature.
|
|
7
|
-
* The flow is always: initials (Continue) → full signature (Done), then success.
|
|
8
7
|
*/
|
|
9
8
|
type SignatureConfig = {
|
|
10
9
|
type?: string;
|
|
11
10
|
/**
|
|
12
11
|
* Optional header title for both steps. When omitted, the UI uses per-step defaults
|
|
13
|
-
* (“
|
|
12
|
+
* (“Draw your signature”).
|
|
14
13
|
*/
|
|
15
14
|
title?: string;
|
|
16
15
|
/**
|
|
@@ -38,6 +37,11 @@ type SignatureConfig = {
|
|
|
38
37
|
* When omitted, the default signature pen color from theme tokens is used.
|
|
39
38
|
*/
|
|
40
39
|
penColor?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Optional border color for the drawing area (same format as `penColor`).
|
|
42
|
+
* When omitted, the default input border token from the signature UI is used.
|
|
43
|
+
*/
|
|
44
|
+
canvasBorderColor?: string;
|
|
41
45
|
};
|
|
42
46
|
/** Response body from Omni add-signature endpoints. */
|
|
43
47
|
type AddSignatureResponse = {
|
|
@@ -55,7 +59,6 @@ type CreateSignatureActorOptions = {
|
|
|
55
59
|
};
|
|
56
60
|
//#endregion
|
|
57
61
|
//#region src/modules/signature/signatureManager.d.ts
|
|
58
|
-
type CapturePhase = 'initials' | 'signature';
|
|
59
62
|
type SignatureIdleState = {
|
|
60
63
|
status: 'idle';
|
|
61
64
|
};
|
|
@@ -63,12 +66,10 @@ type SignatureCaptureState = {
|
|
|
63
66
|
status: 'capture';
|
|
64
67
|
title: string | undefined;
|
|
65
68
|
subtitle: string | undefined;
|
|
66
|
-
phase: CapturePhase;
|
|
67
69
|
canContinue: boolean;
|
|
68
70
|
};
|
|
69
71
|
type SignatureSubmittingState = {
|
|
70
72
|
status: 'submitting';
|
|
71
|
-
phase: CapturePhase;
|
|
72
73
|
};
|
|
73
74
|
type SignatureFinishedState = {
|
|
74
75
|
status: 'finished';
|
|
@@ -90,4 +91,4 @@ declare function createSignatureManager(options: CreateSignatureActorOptions): M
|
|
|
90
91
|
};
|
|
91
92
|
type SignatureManager = ReturnType<typeof createSignatureManager>;
|
|
92
93
|
//#endregion
|
|
93
|
-
export { type
|
|
94
|
+
export { type SignatureCaptureState, type SignatureConfig, type SignatureManager, type SignatureState, createSignatureManager, signatureMachine };
|
package/dist/signature.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./api-Bq5aVL0-.esm.js";
|
|
2
|
-
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-
|
|
2
|
+
import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-_dFJXIHR.esm.js";
|
|
3
3
|
import { a as createActor, o as createManager } from "./xstate.esm-BR-OL9fa.esm.js";
|
|
4
|
-
import { t as signatureMachine } from "./signatureStateMachine-
|
|
4
|
+
import { t as signatureMachine } from "./signatureStateMachine-BQkKFNPe.esm.js";
|
|
5
5
|
|
|
6
6
|
//#region src/modules/signature/signatureActor.ts
|
|
7
7
|
function createSignatureActor(options) {
|
|
@@ -14,28 +14,13 @@ function mapState(snapshot) {
|
|
|
14
14
|
const typedSnapshot = snapshot;
|
|
15
15
|
const { context } = typedSnapshot;
|
|
16
16
|
if (typedSnapshot.matches("idle")) return { status: "idle" };
|
|
17
|
-
if (typedSnapshot.matches("captureInitials")) return {
|
|
18
|
-
status: "capture",
|
|
19
|
-
title: context.config.title,
|
|
20
|
-
subtitle: context.config.subTitle,
|
|
21
|
-
phase: "initials",
|
|
22
|
-
canContinue: context.isValid
|
|
23
|
-
};
|
|
24
17
|
if (typedSnapshot.matches("captureSignature")) return {
|
|
25
18
|
status: "capture",
|
|
26
19
|
title: context.config.title,
|
|
27
20
|
subtitle: context.config.subTitle,
|
|
28
|
-
phase: "signature",
|
|
29
21
|
canContinue: context.isValid
|
|
30
22
|
};
|
|
31
|
-
if (typedSnapshot.matches("
|
|
32
|
-
status: "submitting",
|
|
33
|
-
phase: "initials"
|
|
34
|
-
};
|
|
35
|
-
if (typedSnapshot.matches("submittingSignature")) return {
|
|
36
|
-
status: "submitting",
|
|
37
|
-
phase: "signature"
|
|
38
|
-
};
|
|
23
|
+
if (typedSnapshot.matches("submittingSignature")) return { status: "submitting" };
|
|
39
24
|
if (typedSnapshot.matches("success")) return { status: "success" };
|
|
40
25
|
if (typedSnapshot.matches("finished")) return {
|
|
41
26
|
status: "finished",
|