@incodetech/core 0.0.0-dev-20260326-408c0fa → 0.0.0-dev-20260330-e91ed6b
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-B_Vjy2UE.esm.js → addressSearch-CVORoFHv.esm.js} +1 -1
- package/dist/authentication.esm.js +6 -6
- package/dist/{authenticationManager-CoeHnXPS.esm.js → authenticationManager-DMbrmeCK.esm.js} +3 -3
- package/dist/{backCameraStream-jiRgi6k7.esm.js → backCameraStream-CTPugcLL.esm.js} +1 -1
- package/dist/consent.d.ts +53 -53
- package/dist/consent.esm.js +1 -1
- package/dist/curp-validation.esm.js +1 -1
- package/dist/{deepsightLoader-BRQ6an4b.esm.js → deepsightLoader-ZyEiKNss.esm.js} +2 -2
- package/dist/{deepsightService-lTQvj-Wf.esm.js → deepsightService-qolSLlqQ.esm.js} +1 -1
- package/dist/document-capture.d.ts +5 -5
- package/dist/document-capture.esm.js +2 -2
- package/dist/document-upload.d.ts +46 -46
- package/dist/document-upload.esm.js +2 -2
- package/dist/ekyb.esm.js +4 -4
- package/dist/ekyc.esm.js +2 -2
- package/dist/email.esm.js +2 -2
- package/dist/{emailManager-C8EeT_ZS.esm.js → emailManager-bG4KnBIC.esm.js} +1 -1
- package/dist/extensibility.d.ts +27 -1
- package/dist/extensibility.esm.js +12 -12
- package/dist/face-match.esm.js +1 -1
- package/dist/{faceCaptureSetup-CP7WXoGS.esm.js → faceCaptureSetup-Ca7SG6Xe.esm.js} +4 -4
- package/dist/flow.esm.js +3 -3
- package/dist/{flowServices-D4YyGfcD.esm.js → flowServices-C65cm0LX.esm.js} +1 -1
- package/dist/geolocation.esm.js +1 -1
- package/dist/government-validation.esm.js +1 -1
- package/dist/id.esm.js +6 -6
- package/dist/{idCaptureManager-BxlkQJq-.esm.js → idCaptureManager-CDEC7BSu.esm.js} +5 -5
- package/dist/index.esm.js +6 -6
- package/dist/mandatory-consent.d.ts +50 -50
- package/dist/mandatory-consent.esm.js +1 -1
- package/dist/phone.esm.js +2 -2
- package/dist/{phoneManager-Chu-DkAG.esm.js → phoneManager-DES56A95.esm.js} +1 -1
- package/dist/{recordingsRepository-COovU1i4.esm.js → recordingsRepository-IvkvHqPF.esm.js} +1 -1
- package/dist/redirect-to-mobile.esm.js +1 -1
- package/dist/selfie.esm.js +6 -6
- package/dist/{selfieManager-DZTwDE-b.esm.js → selfieManager-BIQkjPBF.esm.js} +2 -2
- package/dist/{session-CRPiwwF-.esm.js → session-CVMjvvmd.esm.js} +9 -2
- package/dist/signature.esm.js +1 -1
- package/dist/{src-DCc0dMkT.esm.js → src-NguNDCeE.esm.js} +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as fromCallback } from "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import { _ as BrowserTimerProvider } from "./src-
|
|
2
|
+
import { _ as BrowserTimerProvider } from "./src-NguNDCeE.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
5
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import "./backCameraStream-
|
|
3
|
-
import "./src-
|
|
4
|
-
import "./recordingsRepository-
|
|
2
|
+
import "./backCameraStream-CTPugcLL.esm.js";
|
|
3
|
+
import "./src-NguNDCeE.esm.js";
|
|
4
|
+
import "./recordingsRepository-IvkvHqPF.esm.js";
|
|
5
5
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
6
6
|
import "./api-G4JA8CXK.esm.js";
|
|
7
7
|
import "./endpoints-CCuj1KZH.esm.js";
|
|
8
|
-
import "./deepsightService-
|
|
8
|
+
import "./deepsightService-qolSLlqQ.esm.js";
|
|
9
9
|
import "./stats-D0m3TvIg.esm.js";
|
|
10
|
-
import "./faceCaptureSetup-
|
|
11
|
-
import { i as authenticationMachine, r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-
|
|
10
|
+
import "./faceCaptureSetup-Ca7SG6Xe.esm.js";
|
|
11
|
+
import { i as authenticationMachine, r as createAuthenticationActor, t as createAuthenticationManager } from "./authenticationManager-DMbrmeCK.esm.js";
|
|
12
12
|
|
|
13
13
|
export { authenticationMachine, createAuthenticationActor, createAuthenticationManager };
|
package/dist/{authenticationManager-CoeHnXPS.esm.js → authenticationManager-DMbrmeCK.esm.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { S as createActor, n as eventModuleNames, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import { o as WasmUtilProvider, v as BrowserStorageProvider } from "./src-
|
|
3
|
-
import { u as getDeviceClass } from "./recordingsRepository-
|
|
2
|
+
import { o as WasmUtilProvider, v as BrowserStorageProvider } from "./src-NguNDCeE.esm.js";
|
|
3
|
+
import { u as getDeviceClass } from "./recordingsRepository-IvkvHqPF.esm.js";
|
|
4
4
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
6
|
-
import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, t as faceCaptureMachine } from "./faceCaptureSetup-
|
|
6
|
+
import { a as createFaceCaptureManagerFromActor, i as FACE_ERROR_CODES, t as faceCaptureMachine } from "./faceCaptureSetup-Ca7SG6Xe.esm.js";
|
|
7
7
|
|
|
8
8
|
//#region src/modules/authentication/authenticationErrorUtils.ts
|
|
9
9
|
const AUTH_ERROR_MAP = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as stopCameraStream,
|
|
1
|
+
import { A as stopCameraStream, D as applyTrackConstraints, H as isSafari, L as isAndroid, O as enumerateVideoDevices, V as isIPhone14OrHigher, k as requestCameraAccess, z as isIOS } from "./src-NguNDCeE.esm.js";
|
|
2
2
|
|
|
3
3
|
//#region ../infra/src/capabilities/ITimerCapability.ts
|
|
4
4
|
function sleep(ms) {
|
package/dist/consent.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as Manager } from "./index-BTaLQSj9.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as xstate417 from "xstate";
|
|
3
3
|
|
|
4
4
|
//#region src/modules/consent/types.d.ts
|
|
5
5
|
type ConsentConfig = {
|
|
@@ -35,7 +35,7 @@ type ConsentContext = {
|
|
|
35
35
|
type ConsentInput = {
|
|
36
36
|
config: ConsentConfig;
|
|
37
37
|
};
|
|
38
|
-
declare const consentMachine:
|
|
38
|
+
declare const consentMachine: xstate417.StateMachine<ConsentContext, {
|
|
39
39
|
type: "LOAD";
|
|
40
40
|
} | {
|
|
41
41
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -47,53 +47,53 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
47
47
|
} | {
|
|
48
48
|
type: "RESET";
|
|
49
49
|
}, {
|
|
50
|
-
[x: string]:
|
|
50
|
+
[x: string]: xstate417.ActorRefFromLogic<xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
51
51
|
consentId: string;
|
|
52
|
-
},
|
|
52
|
+
}, xstate417.EventObject>> | xstate417.ActorRefFromLogic<xstate417.PromiseActorLogic<void, {
|
|
53
53
|
languageConsentId: string;
|
|
54
54
|
checkboxes: ConsentCheckbox[];
|
|
55
|
-
},
|
|
56
|
-
},
|
|
55
|
+
}, xstate417.EventObject>> | undefined;
|
|
56
|
+
}, xstate417.Values<{
|
|
57
57
|
fetchConsent: {
|
|
58
58
|
src: "fetchConsent";
|
|
59
|
-
logic:
|
|
59
|
+
logic: xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
60
60
|
consentId: string;
|
|
61
|
-
},
|
|
61
|
+
}, xstate417.EventObject>;
|
|
62
62
|
id: string | undefined;
|
|
63
63
|
};
|
|
64
64
|
submitConsent: {
|
|
65
65
|
src: "submitConsent";
|
|
66
|
-
logic:
|
|
66
|
+
logic: xstate417.PromiseActorLogic<void, {
|
|
67
67
|
languageConsentId: string;
|
|
68
68
|
checkboxes: ConsentCheckbox[];
|
|
69
|
-
},
|
|
69
|
+
}, xstate417.EventObject>;
|
|
70
70
|
id: string | undefined;
|
|
71
71
|
};
|
|
72
|
-
}>,
|
|
73
|
-
resetContext: {
|
|
74
|
-
type: "resetContext";
|
|
75
|
-
params: xstate212.NonReducibleUnknown;
|
|
76
|
-
};
|
|
72
|
+
}>, xstate417.Values<{
|
|
77
73
|
setError: {
|
|
78
74
|
type: "setError";
|
|
79
|
-
params:
|
|
75
|
+
params: xstate417.NonReducibleUnknown;
|
|
76
|
+
};
|
|
77
|
+
clearError: {
|
|
78
|
+
type: "clearError";
|
|
79
|
+
params: xstate417.NonReducibleUnknown;
|
|
80
|
+
};
|
|
81
|
+
resetContext: {
|
|
82
|
+
type: "resetContext";
|
|
83
|
+
params: xstate417.NonReducibleUnknown;
|
|
80
84
|
};
|
|
81
85
|
setConsentData: {
|
|
82
86
|
type: "setConsentData";
|
|
83
|
-
params:
|
|
87
|
+
params: xstate417.NonReducibleUnknown;
|
|
84
88
|
};
|
|
85
89
|
toggleCheckbox: {
|
|
86
90
|
type: "toggleCheckbox";
|
|
87
|
-
params:
|
|
88
|
-
};
|
|
89
|
-
clearError: {
|
|
90
|
-
type: "clearError";
|
|
91
|
-
params: xstate212.NonReducibleUnknown;
|
|
91
|
+
params: xstate417.NonReducibleUnknown;
|
|
92
92
|
};
|
|
93
93
|
}>, {
|
|
94
94
|
type: "canSubmit";
|
|
95
95
|
params: unknown;
|
|
96
|
-
}, never, "error" | "idle" | "
|
|
96
|
+
}, never, "error" | "idle" | "finished" | "loading" | "display" | "submitting", string, ConsentInput, xstate417.NonReducibleUnknown, xstate417.EventObject, xstate417.MetaObject, {
|
|
97
97
|
readonly id: "consent";
|
|
98
98
|
readonly initial: "idle";
|
|
99
99
|
readonly context: ({
|
|
@@ -102,70 +102,70 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
102
102
|
spawn: {
|
|
103
103
|
<TSrc extends "fetchConsent" | "submitConsent">(logic: TSrc, ...[options]: ({
|
|
104
104
|
src: "fetchConsent";
|
|
105
|
-
logic:
|
|
105
|
+
logic: xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
106
106
|
consentId: string;
|
|
107
|
-
},
|
|
107
|
+
}, xstate417.EventObject>;
|
|
108
108
|
id: string | undefined;
|
|
109
109
|
} extends infer T ? T extends {
|
|
110
110
|
src: "fetchConsent";
|
|
111
|
-
logic:
|
|
111
|
+
logic: xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
112
112
|
consentId: string;
|
|
113
|
-
},
|
|
113
|
+
}, xstate417.EventObject>;
|
|
114
114
|
id: string | undefined;
|
|
115
115
|
} ? T extends {
|
|
116
116
|
src: TSrc;
|
|
117
|
-
} ?
|
|
117
|
+
} ? xstate417.ConditionalRequired<[options?: ({
|
|
118
118
|
id?: T["id"] | undefined;
|
|
119
119
|
systemId?: string;
|
|
120
|
-
input?:
|
|
120
|
+
input?: xstate417.InputFrom<T["logic"]> | undefined;
|
|
121
121
|
syncSnapshot?: boolean;
|
|
122
|
-
} & { [K in
|
|
122
|
+
} & { [K in xstate417.RequiredActorOptions<T>]: unknown }) | undefined], xstate417.IsNotNever<xstate417.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
123
123
|
src: "submitConsent";
|
|
124
|
-
logic:
|
|
124
|
+
logic: xstate417.PromiseActorLogic<void, {
|
|
125
125
|
languageConsentId: string;
|
|
126
126
|
checkboxes: ConsentCheckbox[];
|
|
127
|
-
},
|
|
127
|
+
}, xstate417.EventObject>;
|
|
128
128
|
id: string | undefined;
|
|
129
129
|
} extends infer T_1 ? T_1 extends {
|
|
130
130
|
src: "submitConsent";
|
|
131
|
-
logic:
|
|
131
|
+
logic: xstate417.PromiseActorLogic<void, {
|
|
132
132
|
languageConsentId: string;
|
|
133
133
|
checkboxes: ConsentCheckbox[];
|
|
134
|
-
},
|
|
134
|
+
}, xstate417.EventObject>;
|
|
135
135
|
id: string | undefined;
|
|
136
136
|
} ? T_1 extends {
|
|
137
137
|
src: TSrc;
|
|
138
|
-
} ?
|
|
138
|
+
} ? xstate417.ConditionalRequired<[options?: ({
|
|
139
139
|
id?: T_1["id"] | undefined;
|
|
140
140
|
systemId?: string;
|
|
141
|
-
input?:
|
|
141
|
+
input?: xstate417.InputFrom<T_1["logic"]> | undefined;
|
|
142
142
|
syncSnapshot?: boolean;
|
|
143
|
-
} & { [K_1 in
|
|
143
|
+
} & { [K_1 in xstate417.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate417.IsNotNever<xstate417.RequiredActorOptions<T_1>>> : never : never : never)): xstate417.ActorRefFromLogic<xstate417.GetConcreteByKey<xstate417.Values<{
|
|
144
144
|
fetchConsent: {
|
|
145
145
|
src: "fetchConsent";
|
|
146
|
-
logic:
|
|
146
|
+
logic: xstate417.PromiseActorLogic<FetchCombinedConsentResponse, {
|
|
147
147
|
consentId: string;
|
|
148
|
-
},
|
|
148
|
+
}, xstate417.EventObject>;
|
|
149
149
|
id: string | undefined;
|
|
150
150
|
};
|
|
151
151
|
submitConsent: {
|
|
152
152
|
src: "submitConsent";
|
|
153
|
-
logic:
|
|
153
|
+
logic: xstate417.PromiseActorLogic<void, {
|
|
154
154
|
languageConsentId: string;
|
|
155
155
|
checkboxes: ConsentCheckbox[];
|
|
156
|
-
},
|
|
156
|
+
}, xstate417.EventObject>;
|
|
157
157
|
id: string | undefined;
|
|
158
158
|
};
|
|
159
159
|
}>, "src", TSrc>["logic"]>;
|
|
160
|
-
<TLogic extends
|
|
160
|
+
<TLogic extends xstate417.AnyActorLogic>(src: TLogic, ...[options]: xstate417.ConditionalRequired<[options?: ({
|
|
161
161
|
id?: never;
|
|
162
162
|
systemId?: string;
|
|
163
|
-
input?:
|
|
163
|
+
input?: xstate417.InputFrom<TLogic> | undefined;
|
|
164
164
|
syncSnapshot?: boolean;
|
|
165
|
-
} & { [K in
|
|
165
|
+
} & { [K in xstate417.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate417.IsNotNever<xstate417.RequiredLogicInput<TLogic>>>): xstate417.ActorRefFromLogic<TLogic>;
|
|
166
166
|
};
|
|
167
167
|
input: ConsentInput;
|
|
168
|
-
self:
|
|
168
|
+
self: xstate417.ActorRef<xstate417.MachineSnapshot<ConsentContext, {
|
|
169
169
|
type: "LOAD";
|
|
170
170
|
} | {
|
|
171
171
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -176,7 +176,7 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
176
176
|
type: "RETRY";
|
|
177
177
|
} | {
|
|
178
178
|
type: "RESET";
|
|
179
|
-
}, Record<string,
|
|
179
|
+
}, Record<string, xstate417.AnyActorRef | undefined>, xstate417.StateValue, string, unknown, any, any>, {
|
|
180
180
|
type: "LOAD";
|
|
181
181
|
} | {
|
|
182
182
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -187,7 +187,7 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
187
187
|
type: "RETRY";
|
|
188
188
|
} | {
|
|
189
189
|
type: "RESET";
|
|
190
|
-
},
|
|
190
|
+
}, xstate417.AnyEventObject>;
|
|
191
191
|
}) => {
|
|
192
192
|
config: ConsentConfig;
|
|
193
193
|
title: string;
|
|
@@ -225,7 +225,7 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
225
225
|
} | {
|
|
226
226
|
type: "RESET";
|
|
227
227
|
};
|
|
228
|
-
self:
|
|
228
|
+
self: xstate417.ActorRef<xstate417.MachineSnapshot<ConsentContext, {
|
|
229
229
|
type: "LOAD";
|
|
230
230
|
} | {
|
|
231
231
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -236,7 +236,7 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "RESET";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate417.AnyActorRef>, xstate417.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "LOAD";
|
|
241
241
|
} | {
|
|
242
242
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -247,7 +247,7 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
247
247
|
type: "RETRY";
|
|
248
248
|
} | {
|
|
249
249
|
type: "RESET";
|
|
250
|
-
},
|
|
250
|
+
}, xstate417.AnyEventObject>;
|
|
251
251
|
}) => {
|
|
252
252
|
consentId: string;
|
|
253
253
|
};
|
|
@@ -296,7 +296,7 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
296
296
|
} | {
|
|
297
297
|
type: "RESET";
|
|
298
298
|
};
|
|
299
|
-
self:
|
|
299
|
+
self: xstate417.ActorRef<xstate417.MachineSnapshot<ConsentContext, {
|
|
300
300
|
type: "LOAD";
|
|
301
301
|
} | {
|
|
302
302
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -307,7 +307,7 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
307
307
|
type: "RETRY";
|
|
308
308
|
} | {
|
|
309
309
|
type: "RESET";
|
|
310
|
-
}, Record<string,
|
|
310
|
+
}, Record<string, xstate417.AnyActorRef>, xstate417.StateValue, string, unknown, any, any>, {
|
|
311
311
|
type: "LOAD";
|
|
312
312
|
} | {
|
|
313
313
|
type: "TOGGLE_CHECKBOX";
|
|
@@ -318,7 +318,7 @@ declare const consentMachine: xstate212.StateMachine<ConsentContext, {
|
|
|
318
318
|
type: "RETRY";
|
|
319
319
|
} | {
|
|
320
320
|
type: "RESET";
|
|
321
|
-
},
|
|
321
|
+
}, xstate417.AnyEventObject>;
|
|
322
322
|
}) => {
|
|
323
323
|
languageConsentId: string;
|
|
324
324
|
checkboxes: ConsentCheckbox[];
|
package/dist/consent.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import { j as createManager } from "./src-
|
|
2
|
+
import { j as createManager } from "./src-NguNDCeE.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import { j as createManager } from "./src-
|
|
2
|
+
import { j as createManager } from "./src-NguNDCeE.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
5
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as BrowserEnvironmentProvider, o as WasmUtilProvider, p as MotionSensorProvider, u as VisibilityProvider } from "./src-
|
|
1
|
+
import { b as BrowserEnvironmentProvider, o as WasmUtilProvider, p as MotionSensorProvider, u as VisibilityProvider } from "./src-NguNDCeE.esm.js";
|
|
2
2
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
3
3
|
import "./api-G4JA8CXK.esm.js";
|
|
4
|
-
import { t as createDeepsightService } from "./deepsightService-
|
|
4
|
+
import { t as createDeepsightService } from "./deepsightService-qolSLlqQ.esm.js";
|
|
5
5
|
import "./stats-D0m3TvIg.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region src/internal/deepsight/deepsightLoader.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as stopCameraStream, E as IncodeCanvas,
|
|
1
|
+
import { A as stopCameraStream, E as IncodeCanvas, I as getUserAgent, P as getDeviceInfo, T as createHiddenVideoElement, k as requestCameraAccess } from "./src-NguNDCeE.esm.js";
|
|
2
2
|
import { t as isBrowserSimulation } from "./browserSimulation-C8gNnn5p.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
4
|
import { t as addDeviceStats } from "./stats-D0m3TvIg.esm.js";
|
|
@@ -115,10 +115,6 @@ declare const documentCaptureMachine: xstate344.StateMachine<DocumentCaptureCont
|
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
};
|
|
117
117
|
}>, xstate344.Values<{
|
|
118
|
-
clearError: {
|
|
119
|
-
type: "clearError";
|
|
120
|
-
params: xstate344.NonReducibleUnknown;
|
|
121
|
-
};
|
|
122
118
|
setStream: {
|
|
123
119
|
type: "setStream";
|
|
124
120
|
params: xstate344.NonReducibleUnknown;
|
|
@@ -127,6 +123,10 @@ declare const documentCaptureMachine: xstate344.StateMachine<DocumentCaptureCont
|
|
|
127
123
|
type: "setProgress";
|
|
128
124
|
params: xstate344.NonReducibleUnknown;
|
|
129
125
|
};
|
|
126
|
+
clearError: {
|
|
127
|
+
type: "clearError";
|
|
128
|
+
params: xstate344.NonReducibleUnknown;
|
|
129
|
+
};
|
|
130
130
|
stopStream: {
|
|
131
131
|
type: "stopStream";
|
|
132
132
|
params: xstate344.NonReducibleUnknown;
|
|
@@ -208,7 +208,7 @@ declare const documentCaptureMachine: xstate344.StateMachine<DocumentCaptureCont
|
|
|
208
208
|
type: "isPendingNextPage";
|
|
209
209
|
params: unknown;
|
|
210
210
|
};
|
|
211
|
-
}>, never, "
|
|
211
|
+
}>, never, "initCamera" | "capturing" | "closed" | "uploading" | "finished" | "tutorial" | "preview" | "failure" | "success", string, DocumentCaptureInput, xstate344.NonReducibleUnknown, xstate344.EventObject, xstate344.MetaObject, {
|
|
212
212
|
readonly id: "documentCapture";
|
|
213
213
|
readonly initial: "tutorial";
|
|
214
214
|
readonly context: ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import { A as stopCameraStream, j as createManager } from "./src-
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-CTPugcLL.esm.js";
|
|
3
|
+
import { A as stopCameraStream, j as createManager } from "./src-NguNDCeE.esm.js";
|
|
4
4
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { f as Manager } from "./index-BTaLQSj9.js";
|
|
2
2
|
import { n as DocumentUploadContext, r as DocumentUploadInput, t as DocumentUploadConfig } from "./types-oveF7RrS.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as xstate0 from "xstate";
|
|
4
4
|
|
|
5
5
|
//#region src/modules/document-upload/documentUploadStateMachine.d.ts
|
|
6
|
-
declare const documentUploadMachine:
|
|
6
|
+
declare const documentUploadMachine: xstate0.StateMachine<DocumentUploadContext, {
|
|
7
7
|
type: "START";
|
|
8
8
|
} | {
|
|
9
9
|
type: "CAPTURE";
|
|
@@ -16,52 +16,52 @@ declare const documentUploadMachine: xstate280.StateMachine<DocumentUploadContex
|
|
|
16
16
|
} | {
|
|
17
17
|
type: "CLOSE";
|
|
18
18
|
}, {
|
|
19
|
-
[x: string]:
|
|
19
|
+
[x: string]: xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>> | xstate0.ActorRefFromLogic<xstate0.PromiseActorLogic<void, {
|
|
20
20
|
imageBase64: string;
|
|
21
21
|
documentType: string;
|
|
22
22
|
onProgress: (progress: number) => void;
|
|
23
|
-
},
|
|
24
|
-
},
|
|
23
|
+
}, xstate0.EventObject>> | undefined;
|
|
24
|
+
}, xstate0.Values<{
|
|
25
25
|
initCamera: {
|
|
26
26
|
src: "initCamera";
|
|
27
|
-
logic:
|
|
27
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
28
28
|
id: string | undefined;
|
|
29
29
|
};
|
|
30
30
|
uploadDocument: {
|
|
31
31
|
src: "uploadDocument";
|
|
32
|
-
logic:
|
|
32
|
+
logic: xstate0.PromiseActorLogic<void, {
|
|
33
33
|
imageBase64: string;
|
|
34
34
|
documentType: string;
|
|
35
35
|
onProgress: (progress: number) => void;
|
|
36
|
-
},
|
|
36
|
+
}, xstate0.EventObject>;
|
|
37
37
|
id: string | undefined;
|
|
38
38
|
};
|
|
39
|
-
}>,
|
|
40
|
-
setError: {
|
|
41
|
-
type: "setError";
|
|
42
|
-
params: xstate280.NonReducibleUnknown;
|
|
43
|
-
};
|
|
44
|
-
clearError: {
|
|
45
|
-
type: "clearError";
|
|
46
|
-
params: xstate280.NonReducibleUnknown;
|
|
47
|
-
};
|
|
39
|
+
}>, xstate0.Values<{
|
|
48
40
|
setStream: {
|
|
49
41
|
type: "setStream";
|
|
50
|
-
params:
|
|
42
|
+
params: xstate0.NonReducibleUnknown;
|
|
51
43
|
};
|
|
52
44
|
setImageAndClearError: {
|
|
53
45
|
type: "setImageAndClearError";
|
|
54
|
-
params:
|
|
46
|
+
params: xstate0.NonReducibleUnknown;
|
|
55
47
|
};
|
|
56
48
|
setProgress: {
|
|
57
49
|
type: "setProgress";
|
|
58
|
-
params:
|
|
50
|
+
params: xstate0.NonReducibleUnknown;
|
|
51
|
+
};
|
|
52
|
+
setError: {
|
|
53
|
+
type: "setError";
|
|
54
|
+
params: xstate0.NonReducibleUnknown;
|
|
55
|
+
};
|
|
56
|
+
clearError: {
|
|
57
|
+
type: "clearError";
|
|
58
|
+
params: xstate0.NonReducibleUnknown;
|
|
59
59
|
};
|
|
60
60
|
stopStream: {
|
|
61
61
|
type: "stopStream";
|
|
62
|
-
params:
|
|
62
|
+
params: xstate0.NonReducibleUnknown;
|
|
63
63
|
};
|
|
64
|
-
}>, never, never, "error" | "
|
|
64
|
+
}>, never, never, "error" | "initCamera" | "idle" | "capturing" | "closed" | "uploading" | "finished", string, DocumentUploadInput, xstate0.NonReducibleUnknown, xstate0.EventObject, xstate0.MetaObject, {
|
|
65
65
|
readonly id: "documentUpload";
|
|
66
66
|
readonly initial: "idle";
|
|
67
67
|
readonly context: ({
|
|
@@ -70,67 +70,67 @@ declare const documentUploadMachine: xstate280.StateMachine<DocumentUploadContex
|
|
|
70
70
|
spawn: {
|
|
71
71
|
<TSrc extends "initCamera" | "uploadDocument">(logic: TSrc, ...[options]: ({
|
|
72
72
|
src: "initCamera";
|
|
73
|
-
logic:
|
|
73
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
74
74
|
id: string | undefined;
|
|
75
75
|
} extends infer T ? T extends {
|
|
76
76
|
src: "initCamera";
|
|
77
|
-
logic:
|
|
77
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
78
78
|
id: string | undefined;
|
|
79
79
|
} ? T extends {
|
|
80
80
|
src: TSrc;
|
|
81
|
-
} ?
|
|
81
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
82
82
|
id?: T["id"] | undefined;
|
|
83
83
|
systemId?: string;
|
|
84
|
-
input?:
|
|
84
|
+
input?: xstate0.InputFrom<T["logic"]> | undefined;
|
|
85
85
|
syncSnapshot?: boolean;
|
|
86
|
-
} & { [K in
|
|
86
|
+
} & { [K in xstate0.RequiredActorOptions<T>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T>>> : never : never : never) | ({
|
|
87
87
|
src: "uploadDocument";
|
|
88
|
-
logic:
|
|
88
|
+
logic: xstate0.PromiseActorLogic<void, {
|
|
89
89
|
imageBase64: string;
|
|
90
90
|
documentType: string;
|
|
91
91
|
onProgress: (progress: number) => void;
|
|
92
|
-
},
|
|
92
|
+
}, xstate0.EventObject>;
|
|
93
93
|
id: string | undefined;
|
|
94
94
|
} extends infer T_1 ? T_1 extends {
|
|
95
95
|
src: "uploadDocument";
|
|
96
|
-
logic:
|
|
96
|
+
logic: xstate0.PromiseActorLogic<void, {
|
|
97
97
|
imageBase64: string;
|
|
98
98
|
documentType: string;
|
|
99
99
|
onProgress: (progress: number) => void;
|
|
100
|
-
},
|
|
100
|
+
}, xstate0.EventObject>;
|
|
101
101
|
id: string | undefined;
|
|
102
102
|
} ? T_1 extends {
|
|
103
103
|
src: TSrc;
|
|
104
|
-
} ?
|
|
104
|
+
} ? xstate0.ConditionalRequired<[options?: ({
|
|
105
105
|
id?: T_1["id"] | undefined;
|
|
106
106
|
systemId?: string;
|
|
107
|
-
input?:
|
|
107
|
+
input?: xstate0.InputFrom<T_1["logic"]> | undefined;
|
|
108
108
|
syncSnapshot?: boolean;
|
|
109
|
-
} & { [K_1 in
|
|
109
|
+
} & { [K_1 in xstate0.RequiredActorOptions<T_1>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredActorOptions<T_1>>> : never : never : never)): xstate0.ActorRefFromLogic<xstate0.GetConcreteByKey<xstate0.Values<{
|
|
110
110
|
initCamera: {
|
|
111
111
|
src: "initCamera";
|
|
112
|
-
logic:
|
|
112
|
+
logic: xstate0.PromiseActorLogic<MediaStream, void, xstate0.EventObject>;
|
|
113
113
|
id: string | undefined;
|
|
114
114
|
};
|
|
115
115
|
uploadDocument: {
|
|
116
116
|
src: "uploadDocument";
|
|
117
|
-
logic:
|
|
117
|
+
logic: xstate0.PromiseActorLogic<void, {
|
|
118
118
|
imageBase64: string;
|
|
119
119
|
documentType: string;
|
|
120
120
|
onProgress: (progress: number) => void;
|
|
121
|
-
},
|
|
121
|
+
}, xstate0.EventObject>;
|
|
122
122
|
id: string | undefined;
|
|
123
123
|
};
|
|
124
124
|
}>, "src", TSrc>["logic"]>;
|
|
125
|
-
<TLogic extends
|
|
125
|
+
<TLogic extends xstate0.AnyActorLogic>(src: TLogic, ...[options]: xstate0.ConditionalRequired<[options?: ({
|
|
126
126
|
id?: never;
|
|
127
127
|
systemId?: string;
|
|
128
|
-
input?:
|
|
128
|
+
input?: xstate0.InputFrom<TLogic> | undefined;
|
|
129
129
|
syncSnapshot?: boolean;
|
|
130
|
-
} & { [K in
|
|
130
|
+
} & { [K in xstate0.RequiredLogicInput<TLogic>]: unknown }) | undefined], xstate0.IsNotNever<xstate0.RequiredLogicInput<TLogic>>>): xstate0.ActorRefFromLogic<TLogic>;
|
|
131
131
|
};
|
|
132
132
|
input: DocumentUploadInput;
|
|
133
|
-
self:
|
|
133
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
|
|
134
134
|
type: "START";
|
|
135
135
|
} | {
|
|
136
136
|
type: "CAPTURE";
|
|
@@ -142,7 +142,7 @@ declare const documentUploadMachine: xstate280.StateMachine<DocumentUploadContex
|
|
|
142
142
|
type: "RETRY";
|
|
143
143
|
} | {
|
|
144
144
|
type: "CLOSE";
|
|
145
|
-
}, Record<string,
|
|
145
|
+
}, Record<string, xstate0.AnyActorRef | undefined>, xstate0.StateValue, string, unknown, any, any>, {
|
|
146
146
|
type: "START";
|
|
147
147
|
} | {
|
|
148
148
|
type: "CAPTURE";
|
|
@@ -154,7 +154,7 @@ declare const documentUploadMachine: xstate280.StateMachine<DocumentUploadContex
|
|
|
154
154
|
type: "RETRY";
|
|
155
155
|
} | {
|
|
156
156
|
type: "CLOSE";
|
|
157
|
-
},
|
|
157
|
+
}, xstate0.AnyEventObject>;
|
|
158
158
|
}) => {
|
|
159
159
|
config: DocumentUploadConfig;
|
|
160
160
|
stream: undefined;
|
|
@@ -224,7 +224,7 @@ declare const documentUploadMachine: xstate280.StateMachine<DocumentUploadContex
|
|
|
224
224
|
} | {
|
|
225
225
|
type: "CLOSE";
|
|
226
226
|
};
|
|
227
|
-
self:
|
|
227
|
+
self: xstate0.ActorRef<xstate0.MachineSnapshot<DocumentUploadContext, {
|
|
228
228
|
type: "START";
|
|
229
229
|
} | {
|
|
230
230
|
type: "CAPTURE";
|
|
@@ -236,7 +236,7 @@ declare const documentUploadMachine: xstate280.StateMachine<DocumentUploadContex
|
|
|
236
236
|
type: "RETRY";
|
|
237
237
|
} | {
|
|
238
238
|
type: "CLOSE";
|
|
239
|
-
}, Record<string,
|
|
239
|
+
}, Record<string, xstate0.AnyActorRef>, xstate0.StateValue, string, unknown, any, any>, {
|
|
240
240
|
type: "START";
|
|
241
241
|
} | {
|
|
242
242
|
type: "CAPTURE";
|
|
@@ -248,7 +248,7 @@ declare const documentUploadMachine: xstate280.StateMachine<DocumentUploadContex
|
|
|
248
248
|
type: "RETRY";
|
|
249
249
|
} | {
|
|
250
250
|
type: "CLOSE";
|
|
251
|
-
},
|
|
251
|
+
}, xstate0.AnyEventObject>;
|
|
252
252
|
}) => {
|
|
253
253
|
imageBase64: string;
|
|
254
254
|
documentType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import { t as getBackCameraStream } from "./backCameraStream-
|
|
3
|
-
import { A as stopCameraStream, j as createManager } from "./src-
|
|
2
|
+
import { t as getBackCameraStream } from "./backCameraStream-CTPugcLL.esm.js";
|
|
3
|
+
import { A as stopCameraStream, j as createManager } from "./src-NguNDCeE.esm.js";
|
|
4
4
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
6
6
|
|
package/dist/ekyb.esm.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import { j as createManager } from "./src-
|
|
2
|
+
import { j as createManager } from "./src-NguNDCeE.esm.js";
|
|
3
3
|
import "./browserSimulation-C8gNnn5p.esm.js";
|
|
4
4
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
5
5
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
6
|
-
import "./session-
|
|
7
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
8
|
-
import { t as getFlow } from "./flowServices-
|
|
6
|
+
import "./session-CVMjvvmd.esm.js";
|
|
7
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-CVORoFHv.esm.js";
|
|
8
|
+
import { t as getFlow } from "./flowServices-C65cm0LX.esm.js";
|
|
9
9
|
|
|
10
10
|
//#region src/modules/ekyb/ekybConstants.ts
|
|
11
11
|
const UBO_INPUT_LIMIT = 8;
|
package/dist/ekyc.esm.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { S as createActor, n as eventModuleNames, o as createManagerInstrumentation, v as setup, x as fromPromise, y as assign } from "./events-Cc1xUUgF.esm.js";
|
|
2
|
-
import { j as createManager } from "./src-
|
|
2
|
+
import { j as createManager } from "./src-NguNDCeE.esm.js";
|
|
3
3
|
import { t as api } from "./api-G4JA8CXK.esm.js";
|
|
4
4
|
import { t as endpoints } from "./endpoints-CCuj1KZH.esm.js";
|
|
5
|
-
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-
|
|
5
|
+
import { a as POSTAL_CODE_FORMAT_ERROR_KEYS, c as getPostalCodeMaxLength, i as FIXED_DIGIT_POSTAL_CODE_LENGTH, l as validatePostalCode, n as fillFromSuggestion, o as formatPostalCode, r as DYNAMIC_REQUIRED_KEY, s as getPostalCodeErrorKey, t as debounceSearchActor, u as usStateOptions } from "./addressSearch-CVORoFHv.esm.js";
|
|
6
6
|
|
|
7
7
|
//#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
|
|
8
8
|
var metadata_min_json_default = {
|