@incodetech/web 0.0.0-dev-20260417-00f663d → 0.0.0-dev-20260417-d5a60c8
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/{addressAutocomplete-BPpO7rrX.js → addressAutocomplete-fYGYUvGo.js} +3 -3
- package/dist/ae-signature/ae-signature.es.js +1 -1
- package/dist/antifraud/antifraud.es.js +1 -1
- package/dist/authentication/authentication.es.js +2 -2
- package/dist/consent/consent.es.js +2 -2
- package/dist/cross-document-data-match/cross-document-data-match.es.js +1 -1
- package/dist/curp-validation/curp-validation.es.js +2 -2
- package/dist/{documentCapture-BAvYoKZ7.js → documentCapture-CyvfOunw.js} +4 -4
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-Dm6NrgtW.js → ekybModule-5cpFwW1d.js} +5 -5
- package/dist/ekybModule-CRH3ldkx.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/{ekycModule-ChHA8VPJ.js → ekycModule-B5rZ5PMp.js} +5 -5
- package/dist/ekycModule-CqB6X3sB.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-CPfLwg-x.js → electronic-signature-CjfrZ5Ka.js} +3 -3
- package/dist/email/email.es.js +4 -4
- package/dist/{extensibility-t-H5EpZ8.js → extensibility-B7cG7wBG.js} +7 -7
- package/dist/extensibility.es.js +8 -8
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/faceMatch-DTqkmvAB.js +2 -0
- package/dist/{faceMatch-ClWhkFUE.js → faceMatch-DgoLJDGX.js} +2 -2
- package/dist/flow/flow.es.js +96 -93
- package/dist/{formField-9ouSScYr.js → formField-uYKTz1T8.js} +1 -1
- package/dist/geolocation/geolocation.es.js +2 -2
- package/dist/governmentValidation/governmentValidation.es.js +3 -3
- package/dist/{homeScreen-C0-81utl.js → homeScreen-DISgp8BK.js} +2 -2
- package/dist/{i18n-BpEDCZi_.js → i18n-DhqfF41o.js} +125 -122
- package/dist/id/id.es.js +5 -5
- package/dist/identity-reuse/identity-reuse.es.js +2 -2
- package/dist/{incodeComponent-DIb7wDAq.js → incodeComponent-CutyB4AE.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{mandatoryConsent-BVrqZJDU.js → mandatoryConsent-DM10Au24.js} +2 -2
- package/dist/{otpInput-OtCx4bG4.js → otpInput-CRZ2V8VY.js} +1 -1
- package/dist/phone/phone.es.js +3 -3
- package/dist/{processing-LdRzxpWv.js → processing-CB6Hv9CT.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +1 -1
- package/dist/{redirectToMobile-1oLWg6QJ.js → redirectToMobile-D3URatKn.js} +2 -2
- package/dist/selfie/selfie.es.js +3 -3
- package/dist/{setup-D7-7VjBv.js → setup-DSZs9HKu.js} +1 -1
- package/dist/signature/signature.es.js +2 -2
- package/dist/{tutorial-DMwavp-V.js → tutorial-8ygdgcyM.js} +2 -2
- package/dist/{useModuleLoader-B6JxxJWR.js → useModuleLoader-CjYPWq6s.js} +38 -29
- package/dist/{verificationResult-WLz8qNU8.js → verificationResult-Jnh8hLLR.js} +1 -1
- package/dist/watchlist/watchlist.es.js +2 -2
- package/dist/workflow/workflow.es.js +4 -4
- package/package.json +2 -2
- package/dist/ekybModule-BeYiTLFg.js +0 -2
- package/dist/ekycModule-zakzAXhB.js +0 -2
- package/dist/faceMatch-B74pDVYi.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-CjdbFOpI.js";
|
|
2
|
-
import { n as t, t as n } from "./i18n-
|
|
2
|
+
import { n as t, t as n } from "./i18n-DhqfF41o.js";
|
|
3
3
|
import { S as r, _ as i, c as a, g as o, h as s, o as c, p as l, v as u, x as d } from "./vendor-preact-D6SntenC.js";
|
|
4
|
-
import { o as f, t as p } from "./incodeComponent-
|
|
4
|
+
import { o as f, t as p } from "./incodeComponent-CutyB4AE.js";
|
|
5
5
|
import { t as m } from "./spacer-DCljE53A.js";
|
|
6
6
|
import { t as h } from "./incode-logo-DX016usY.js";
|
|
7
7
|
import { n as g, t as _ } from "./verifiedByIncode-ChZBpqNy.js";
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { v as e } from "../vendor-preact-D6SntenC.js";
|
|
2
|
-
import { o as t, t as n } from "../incodeComponent-
|
|
3
|
-
import { t as r } from "../processing-
|
|
4
|
-
import { n as i, r as a, t as o } from "../tutorial-
|
|
2
|
+
import { o as t, t as n } from "../incodeComponent-CutyB4AE.js";
|
|
3
|
+
import { t as r } from "../processing-CB6Hv9CT.js";
|
|
4
|
+
import { n as i, r as a, t as o } from "../tutorial-8ygdgcyM.js";
|
|
5
5
|
import { t as s } from "../incodeModule-D_r2n18O.js";
|
|
6
6
|
import { createSelfieManager as c } from "@incodetech/core/selfie";
|
|
7
7
|
//#region src/modules/selfie/selfie.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DhqfF41o.js";
|
|
2
2
|
import { _ as t, a as n, d as r, h as i, l as a, p as o, u as s, v as c } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as l, t as u } from "../incodeComponent-
|
|
3
|
+
import { o as l, t as u } from "../incodeComponent-CutyB4AE.js";
|
|
4
4
|
import { t as d } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as f } from "../page-D5Mt-0zn.js";
|
|
6
6
|
import { r as p } from "../typography-CNNFm2Bl.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e, t } from "./i18n-
|
|
1
|
+
import { n as e, t } from "./i18n-DhqfF41o.js";
|
|
2
2
|
import { S as n, _ as r, a as i, h as a, l as o, m as s, p as c, v as l } from "./vendor-preact-D6SntenC.js";
|
|
3
|
-
import { r as u } from "./incodeComponent-
|
|
3
|
+
import { r as u } from "./incodeComponent-CutyB4AE.js";
|
|
4
4
|
import { t as d } from "./spacer-DCljE53A.js";
|
|
5
5
|
import { t as f } from "./page-D5Mt-0zn.js";
|
|
6
6
|
import { n as p, t as m } from "./loadingIcon-HWY04StG.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as e, l as t, p as n, v as r } from "./vendor-preact-D6SntenC.js";
|
|
2
2
|
import { t as i } from "./uiConfig-CwpQ-IM6.js";
|
|
3
|
-
import { t as a } from "./setup-
|
|
3
|
+
import { t as a } from "./setup-DSZs9HKu.js";
|
|
4
4
|
import { t as o } from "./button-wmLHLQxG.js";
|
|
5
5
|
import { initializeWasmUtil as s, resolveWasmConfig as c, setWasmConfig as l, warmupWasm as u } from "@incodetech/core/wasm";
|
|
6
6
|
import { getDeviceClass as d } from "@incodetech/core/device";
|
|
@@ -117,7 +117,7 @@ async function w() {
|
|
|
117
117
|
}
|
|
118
118
|
//#endregion
|
|
119
119
|
//#region src/modules/flow/flowInit.ts
|
|
120
|
-
var T = () => import("./id/id.es.js").then((e) => e.Id), E = () => import("./homeScreen-
|
|
120
|
+
var T = () => import("./id/id.es.js").then((e) => e.Id), E = () => import("./homeScreen-DISgp8BK.js").then((e) => e.HomeScreen), D;
|
|
121
121
|
function O(e) {
|
|
122
122
|
if (e === "REDIRECT_TO_MOBILE") return () => import("@incodetech/core/redirect-to-mobile").then((e) => e.redirectToMobileMachine);
|
|
123
123
|
if (e === "PHONE") return () => import("@incodetech/core/phone").then((e) => e.phoneMachine);
|
|
@@ -151,7 +151,7 @@ function k(e) {
|
|
|
151
151
|
return t;
|
|
152
152
|
}
|
|
153
153
|
var A = {
|
|
154
|
-
REDIRECT_TO_MOBILE: () => import("./redirectToMobile-
|
|
154
|
+
REDIRECT_TO_MOBILE: () => import("./redirectToMobile-D3URatKn.js").then((e) => e.RedirectToMobile),
|
|
155
155
|
PHONE: () => import("./phone/phone.es.js").then((e) => e.Phone),
|
|
156
156
|
EMAIL: () => import("./email/email.es.js").then((e) => e.Email),
|
|
157
157
|
SELFIE: () => import("./selfie/selfie.es.js").then((e) => e.Selfie),
|
|
@@ -160,16 +160,16 @@ var A = {
|
|
|
160
160
|
ID_CAPTURE: T,
|
|
161
161
|
TUTORIAL_ID: T,
|
|
162
162
|
SECOND_ID: T,
|
|
163
|
-
FACE_MATCH: () => import("./faceMatch-
|
|
163
|
+
FACE_MATCH: () => import("./faceMatch-DTqkmvAB.js").then((e) => e.FaceMatch),
|
|
164
164
|
CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
|
|
165
165
|
GOVT_VALIDATION_PROVISIONING: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
|
|
166
166
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
|
|
167
|
-
EXTERNAL_VERIFICATION: () => import("./ekycModule-
|
|
168
|
-
EKYB: () => import("./ekybModule-
|
|
169
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
170
|
-
ADDRESS: () => import("./documentCapture-
|
|
167
|
+
EXTERNAL_VERIFICATION: () => import("./ekycModule-CqB6X3sB.js").then((e) => e.EkycModule),
|
|
168
|
+
EKYB: () => import("./ekybModule-CRH3ldkx.js").then((e) => e.EkybModule),
|
|
169
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-CyvfOunw.js").then((e) => e.DocumentCapture),
|
|
170
|
+
ADDRESS: () => import("./documentCapture-CyvfOunw.js").then((e) => e.DocumentCapture),
|
|
171
171
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
|
|
172
|
-
MANDATORY_CONSENT: () => import("./mandatoryConsent-
|
|
172
|
+
MANDATORY_CONSENT: () => import("./mandatoryConsent-DM10Au24.js").then((e) => e.MandatoryConsent),
|
|
173
173
|
SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
|
|
174
174
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
|
|
175
175
|
WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
|
|
@@ -185,7 +185,15 @@ function M() {
|
|
|
185
185
|
D = void 0;
|
|
186
186
|
}));
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
var N;
|
|
189
|
+
function P() {
|
|
190
|
+
if (N) return;
|
|
191
|
+
let e = A.REDIRECT_TO_MOBILE, t = O("REDIRECT_TO_MOBILE"), n = [];
|
|
192
|
+
e && n.push(e()), t && n.push(t()), N = Promise.all(n), N.catch(() => {
|
|
193
|
+
N = void 0;
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
function F(e = {}) {
|
|
189
197
|
let t = {}, n = e.isDesktop ?? d() === "desktop", { enableHome: r, ...i } = e;
|
|
190
198
|
return f({
|
|
191
199
|
enableHome: r,
|
|
@@ -200,23 +208,23 @@ function N(e = {}) {
|
|
|
200
208
|
lazyModules: t
|
|
201
209
|
});
|
|
202
210
|
}
|
|
203
|
-
async function
|
|
211
|
+
async function I(e) {
|
|
204
212
|
await a({
|
|
205
213
|
apiURL: e.apiURL,
|
|
206
214
|
token: e.token,
|
|
207
215
|
wasm: !1,
|
|
208
|
-
i18n: { lang: e.lang
|
|
216
|
+
i18n: e.lang ? { lang: e.lang } : void 0
|
|
209
217
|
});
|
|
210
218
|
}
|
|
211
|
-
async function
|
|
219
|
+
async function L(e) {
|
|
212
220
|
let { apiURL: t, token: n, lang: r, flowManager: i } = e;
|
|
213
|
-
await
|
|
221
|
+
await I({
|
|
214
222
|
apiURL: t,
|
|
215
223
|
token: n,
|
|
216
224
|
lang: r
|
|
217
225
|
}), i.load();
|
|
218
226
|
}
|
|
219
|
-
async function
|
|
227
|
+
async function R() {
|
|
220
228
|
try {
|
|
221
229
|
let e = await w(), t = {
|
|
222
230
|
logoSrc: e.logo,
|
|
@@ -231,7 +239,8 @@ async function I() {
|
|
|
231
239
|
return {};
|
|
232
240
|
}
|
|
233
241
|
}
|
|
234
|
-
function
|
|
242
|
+
function z(e, t) {
|
|
243
|
+
if (e.currentStep === "REDIRECT_TO_MOBILE") return;
|
|
235
244
|
let n = m(e.flow);
|
|
236
245
|
if (n.length > 0) {
|
|
237
246
|
let e = c({
|
|
@@ -246,7 +255,7 @@ function L(e, t) {
|
|
|
246
255
|
});
|
|
247
256
|
}
|
|
248
257
|
}
|
|
249
|
-
function
|
|
258
|
+
function B(e) {
|
|
250
259
|
let t = e.currentStep;
|
|
251
260
|
if (t) {
|
|
252
261
|
let e = A[t];
|
|
@@ -255,7 +264,7 @@ function R(e) {
|
|
|
255
264
|
}
|
|
256
265
|
//#endregion
|
|
257
266
|
//#region src/modules/flow/unsupportedModule.tsx
|
|
258
|
-
var
|
|
267
|
+
var V = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
|
|
259
268
|
class: "IncodeUnsupportedModule",
|
|
260
269
|
"aria-live": "polite",
|
|
261
270
|
children: /* @__PURE__ */ r("div", {
|
|
@@ -284,10 +293,10 @@ var z = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
|
|
|
284
293
|
});
|
|
285
294
|
//#endregion
|
|
286
295
|
//#region src/modules/flow/useModuleLoader.ts
|
|
287
|
-
function
|
|
296
|
+
function H(e, t) {
|
|
288
297
|
return e instanceof Error ? e.message : t;
|
|
289
298
|
}
|
|
290
|
-
function
|
|
299
|
+
function U(r) {
|
|
291
300
|
let { loader: i, onLoading: a, onLoaded: o, onError: s } = r, [c, l] = n({ status: "idle" }), u = t(a), d = t(o), f = t(s);
|
|
292
301
|
return e(() => {
|
|
293
302
|
u.current = a, d.current = o, f.current = s;
|
|
@@ -309,7 +318,7 @@ function V(r) {
|
|
|
309
318
|
}), d.current?.());
|
|
310
319
|
}).catch((t) => {
|
|
311
320
|
if (!e) {
|
|
312
|
-
let e =
|
|
321
|
+
let e = H(t, "Failed to load component");
|
|
313
322
|
l({
|
|
314
323
|
status: "error",
|
|
315
324
|
error: e
|
|
@@ -320,8 +329,8 @@ function V(r) {
|
|
|
320
329
|
};
|
|
321
330
|
}, [i]), c;
|
|
322
331
|
}
|
|
323
|
-
function
|
|
324
|
-
let { moduleKey: r, modules: i, onModuleLoading: a, onModuleLoaded: o, onError: s } = t, [c, l] = n(void 0), u = r ? i[r] : void 0, d =
|
|
332
|
+
function W(t) {
|
|
333
|
+
let { moduleKey: r, modules: i, onModuleLoading: a, onModuleLoaded: o, onError: s } = t, [c, l] = n(void 0), u = r ? i[r] : void 0, d = U({
|
|
325
334
|
loader: u,
|
|
326
335
|
onLoading: r ? () => a?.(r) : void 0,
|
|
327
336
|
onLoaded: r ? () => o?.(r) : void 0,
|
|
@@ -349,16 +358,16 @@ function H(t) {
|
|
|
349
358
|
Component: d.Component
|
|
350
359
|
} : { status: "idle" };
|
|
351
360
|
}
|
|
352
|
-
function
|
|
353
|
-
let { moduleKey: t, modules: n } = e, r = t ? n[t] : void 0, i =
|
|
361
|
+
function G(e) {
|
|
362
|
+
let { moduleKey: t, modules: n } = e, r = t ? n[t] : void 0, i = U({ loader: r });
|
|
354
363
|
return r != null && i.status === "loaded";
|
|
355
364
|
}
|
|
356
|
-
function
|
|
365
|
+
function K(e) {
|
|
357
366
|
typeof requestIdleCallback < "u" ? requestIdleCallback(() => {
|
|
358
367
|
e();
|
|
359
368
|
}) : setTimeout(e, 0);
|
|
360
369
|
}
|
|
361
|
-
function
|
|
370
|
+
function q(n, r, i, a) {
|
|
362
371
|
let o = t(/* @__PURE__ */ new Set());
|
|
363
372
|
e(() => {
|
|
364
373
|
if (a && r < n.length - 1) {
|
|
@@ -366,7 +375,7 @@ function G(n, r, i, a) {
|
|
|
366
375
|
if (e && !o.current.has(e)) {
|
|
367
376
|
o.current.add(e);
|
|
368
377
|
let t = i[e];
|
|
369
|
-
t &&
|
|
378
|
+
t && K(() => {
|
|
370
379
|
t().catch(() => {
|
|
371
380
|
o.current.delete(e);
|
|
372
381
|
});
|
|
@@ -381,4 +390,4 @@ function G(n, r, i, a) {
|
|
|
381
390
|
]);
|
|
382
391
|
}
|
|
383
392
|
//#endregion
|
|
384
|
-
export { A as a,
|
|
393
|
+
export { A as a, L as c, P as d, I as f, V as i, B as l, w as m, G as n, F as o, z as p, q as r, R as s, W as t, M as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DhqfF41o.js";
|
|
2
2
|
import { _ as t, l as n, v as r } from "../vendor-preact-D6SntenC.js";
|
|
3
|
-
import { o as i, t as a } from "../incodeComponent-
|
|
3
|
+
import { o as i, t as a } from "../incodeComponent-CutyB4AE.js";
|
|
4
4
|
import { t as o } from "../spacer-DCljE53A.js";
|
|
5
5
|
import { t as s } from "../page-D5Mt-0zn.js";
|
|
6
6
|
import { t as c } from "../loadingIcon-HWY04StG.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
1
|
+
import { n as e } from "../i18n-DhqfF41o.js";
|
|
2
2
|
import { _ as t, l as n, p as r, v as i } from "../vendor-preact-D6SntenC.js";
|
|
3
3
|
import { t as a } from "../uiConfig-CwpQ-IM6.js";
|
|
4
|
-
import { o, t as s } from "../incodeComponent-
|
|
4
|
+
import { o, t as s } from "../incodeComponent-CutyB4AE.js";
|
|
5
5
|
import { t as c } from "../spinner-l6dvYqCg.js";
|
|
6
6
|
import "../spinner-CFvndzMU.js";
|
|
7
7
|
import { t as l } from "../incodeModule-D_r2n18O.js";
|
|
8
|
-
import { a as u, d, i as f, p, t as m } from "../useModuleLoader-
|
|
8
|
+
import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-CjYPWq6s.js";
|
|
9
9
|
import { resolveWasmConfig as h, warmupWasm as g } from "@incodetech/core/wasm";
|
|
10
10
|
import { createWorkflowManager as _ } from "@incodetech/core/workflow";
|
|
11
11
|
//#region src/modules/workflow/workflowInit.ts
|
|
12
12
|
var v = {
|
|
13
13
|
...u,
|
|
14
|
-
REDIRECT_TO_MOBILE: () => import("../redirectToMobile-
|
|
14
|
+
REDIRECT_TO_MOBILE: () => import("../redirectToMobile-D3URatKn.js").then((e) => e.RedirectToMobile)
|
|
15
15
|
};
|
|
16
16
|
async function y() {
|
|
17
17
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260417-
|
|
3
|
+
"version": "0.0.0-dev-20260417-d5a60c8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.es.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
"qrcode": "^1.5.4",
|
|
184
184
|
"signature_pad": "^5.1.3",
|
|
185
185
|
"tailwindcss": "^4.1.17",
|
|
186
|
-
"@incodetech/core": "0.0.0-dev-20260417-
|
|
186
|
+
"@incodetech/core": "0.0.0-dev-20260417-d5a60c8"
|
|
187
187
|
},
|
|
188
188
|
"devDependencies": {
|
|
189
189
|
"@microsoft/api-extractor": "^7.53.3",
|