@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.
Files changed (50) hide show
  1. package/dist/{addressAutocomplete-BPpO7rrX.js → addressAutocomplete-fYGYUvGo.js} +3 -3
  2. package/dist/ae-signature/ae-signature.es.js +1 -1
  3. package/dist/antifraud/antifraud.es.js +1 -1
  4. package/dist/authentication/authentication.es.js +2 -2
  5. package/dist/consent/consent.es.js +2 -2
  6. package/dist/cross-document-data-match/cross-document-data-match.es.js +1 -1
  7. package/dist/curp-validation/curp-validation.es.js +2 -2
  8. package/dist/{documentCapture-BAvYoKZ7.js → documentCapture-CyvfOunw.js} +4 -4
  9. package/dist/ekyb/ekyb.es.js +1 -1
  10. package/dist/{ekybModule-Dm6NrgtW.js → ekybModule-5cpFwW1d.js} +5 -5
  11. package/dist/ekybModule-CRH3ldkx.js +2 -0
  12. package/dist/ekyc/ekyc.es.js +1 -1
  13. package/dist/{ekycModule-ChHA8VPJ.js → ekycModule-B5rZ5PMp.js} +5 -5
  14. package/dist/ekycModule-CqB6X3sB.js +2 -0
  15. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  16. package/dist/{electronic-signature-CPfLwg-x.js → electronic-signature-CjfrZ5Ka.js} +3 -3
  17. package/dist/email/email.es.js +4 -4
  18. package/dist/{extensibility-t-H5EpZ8.js → extensibility-B7cG7wBG.js} +7 -7
  19. package/dist/extensibility.es.js +8 -8
  20. package/dist/face-match/face-match.es.js +1 -1
  21. package/dist/faceMatch-DTqkmvAB.js +2 -0
  22. package/dist/{faceMatch-ClWhkFUE.js → faceMatch-DgoLJDGX.js} +2 -2
  23. package/dist/flow/flow.es.js +96 -93
  24. package/dist/{formField-9ouSScYr.js → formField-uYKTz1T8.js} +1 -1
  25. package/dist/geolocation/geolocation.es.js +2 -2
  26. package/dist/governmentValidation/governmentValidation.es.js +3 -3
  27. package/dist/{homeScreen-C0-81utl.js → homeScreen-DISgp8BK.js} +2 -2
  28. package/dist/{i18n-BpEDCZi_.js → i18n-DhqfF41o.js} +125 -122
  29. package/dist/id/id.es.js +5 -5
  30. package/dist/identity-reuse/identity-reuse.es.js +2 -2
  31. package/dist/{incodeComponent-DIb7wDAq.js → incodeComponent-CutyB4AE.js} +1 -1
  32. package/dist/index.es.js +1 -1
  33. package/dist/{mandatoryConsent-BVrqZJDU.js → mandatoryConsent-DM10Au24.js} +2 -2
  34. package/dist/{otpInput-OtCx4bG4.js → otpInput-CRZ2V8VY.js} +1 -1
  35. package/dist/phone/phone.es.js +3 -3
  36. package/dist/{processing-LdRzxpWv.js → processing-CB6Hv9CT.js} +1 -1
  37. package/dist/qe-signature/qe-signature.es.js +1 -1
  38. package/dist/{redirectToMobile-1oLWg6QJ.js → redirectToMobile-D3URatKn.js} +2 -2
  39. package/dist/selfie/selfie.es.js +3 -3
  40. package/dist/{setup-D7-7VjBv.js → setup-DSZs9HKu.js} +1 -1
  41. package/dist/signature/signature.es.js +2 -2
  42. package/dist/{tutorial-DMwavp-V.js → tutorial-8ygdgcyM.js} +2 -2
  43. package/dist/{useModuleLoader-B6JxxJWR.js → useModuleLoader-CjYPWq6s.js} +38 -29
  44. package/dist/{verificationResult-WLz8qNU8.js → verificationResult-Jnh8hLLR.js} +1 -1
  45. package/dist/watchlist/watchlist.es.js +2 -2
  46. package/dist/workflow/workflow.es.js +4 -4
  47. package/package.json +2 -2
  48. package/dist/ekybModule-BeYiTLFg.js +0 -2
  49. package/dist/ekycModule-zakzAXhB.js +0 -2
  50. 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-BpEDCZi_.js";
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-DIb7wDAq.js";
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";
@@ -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-DIb7wDAq.js";
3
- import { t as r } from "../processing-LdRzxpWv.js";
4
- import { n as i, r as a, t as o } from "../tutorial-DMwavp-V.js";
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,4 +1,4 @@
1
- import { i as e, r as t } from "./i18n-BpEDCZi_.js";
1
+ import { i as e, r as t } from "./i18n-DhqfF41o.js";
2
2
  import { t as n } from "./uiConfig-CwpQ-IM6.js";
3
3
  import { setup as r } from "@incodetech/core";
4
4
  //#region src/setup.ts
@@ -1,6 +1,6 @@
1
- import { n as e } from "../i18n-BpEDCZi_.js";
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-DIb7wDAq.js";
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-BpEDCZi_.js";
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-DIb7wDAq.js";
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-D7-7VjBv.js";
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-C0-81utl.js").then((e) => e.HomeScreen), D;
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-1oLWg6QJ.js").then((e) => e.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-B74pDVYi.js").then((e) => e.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-zakzAXhB.js").then((e) => e.EkycModule),
168
- EKYB: () => import("./ekybModule-BeYiTLFg.js").then((e) => e.EkybModule),
169
- DOCUMENT_CAPTURE: () => import("./documentCapture-BAvYoKZ7.js").then((e) => e.DocumentCapture),
170
- ADDRESS: () => import("./documentCapture-BAvYoKZ7.js").then((e) => e.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-BVrqZJDU.js").then((e) => e.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
- function N(e = {}) {
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 P(e) {
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 ?? "en" }
216
+ i18n: e.lang ? { lang: e.lang } : void 0
209
217
  });
210
218
  }
211
- async function F(e) {
219
+ async function L(e) {
212
220
  let { apiURL: t, token: n, lang: r, flowManager: i } = e;
213
- await P({
221
+ await I({
214
222
  apiURL: t,
215
223
  token: n,
216
224
  lang: r
217
225
  }), i.load();
218
226
  }
219
- async function I() {
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 L(e, t) {
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 R(e) {
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 z = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
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 B(e, t) {
296
+ function H(e, t) {
288
297
  return e instanceof Error ? e.message : t;
289
298
  }
290
- function V(r) {
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 = B(t, "Failed to load component");
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 H(t) {
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 = V({
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 U(e) {
353
- let { moduleKey: t, modules: n } = e, r = t ? n[t] : void 0, i = V({ loader: r });
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 W(e) {
365
+ function K(e) {
357
366
  typeof requestIdleCallback < "u" ? requestIdleCallback(() => {
358
367
  e();
359
368
  }) : setTimeout(e, 0);
360
369
  }
361
- function G(n, r, i, a) {
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 && W(() => {
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, F as c, P as d, L as f, z as i, R as l, U as n, N as o, w as p, G as r, I as s, H as t, M as u };
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,4 +1,4 @@
1
- import { n as e } from "./i18n-BpEDCZi_.js";
1
+ import { n as e } from "./i18n-DhqfF41o.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
3
  import { t as n } from "./page-D5Mt-0zn.js";
4
4
  import { t as r } from "./spinner-l6dvYqCg.js";
@@ -1,6 +1,6 @@
1
- import { n as e } from "../i18n-BpEDCZi_.js";
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-DIb7wDAq.js";
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-BpEDCZi_.js";
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-DIb7wDAq.js";
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-B6JxxJWR.js";
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-1oLWg6QJ.js").then((e) => e.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-00f663d",
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-00f663d"
186
+ "@incodetech/core": "0.0.0-dev-20260417-d5a60c8"
187
187
  },
188
188
  "devDependencies": {
189
189
  "@microsoft/api-extractor": "^7.53.3",
@@ -1,2 +0,0 @@
1
- import { t as e } from "./ekybModule-Dm6NrgtW.js";
2
- export { e as EkybModule };
@@ -1,2 +0,0 @@
1
- import { t as e } from "./ekycModule-ChHA8VPJ.js";
2
- export { e as EkycModule };
@@ -1,2 +0,0 @@
1
- import { t as e } from "./faceMatch-ClWhkFUE.js";
2
- export { e as FaceMatch };