@incodetech/web 0.0.0-dev-20260417-d5a60c8 → 0.0.0-dev-20260420-8f6ba50

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.
@@ -3,7 +3,7 @@ import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor
3
3
  import { o as c, r 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
- import { c as p, d as m, f as h, l as g, u as _, v, y } from "./extensibility-B7cG7wBG.js";
6
+ import { c as p, d as m, f as h, l as g, u as _, v, y } from "./extensibility-BNe5bvVp.js";
7
7
  import { n as b } from "./loadingIcon-HWY04StG.js";
8
8
  import { t as x } from "./spinner-l6dvYqCg.js";
9
9
  import { t as S } from "./button-wmLHLQxG.js";
@@ -3,7 +3,7 @@ import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
3
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
- import "../extensibility-B7cG7wBG.js";
6
+ import "../extensibility-BNe5bvVp.js";
7
7
  import { t as c } from "../button-wmLHLQxG.js";
8
8
  import { t as l } from "../inputComposed-d8s1aPjr.js";
9
9
  import { t as u } from "../otpInput-CRZ2V8VY.js";
@@ -1215,17 +1215,21 @@ var be = ({ mode: e, orientation: t }) => {
1215
1215
  }) : import("./id-tutorial-CFTli-M3.js").then((e) => {
1216
1216
  c(e.default);
1217
1217
  });
1218
- }, [d, f]), !s) return null;
1219
- let m = i(d ? "idv2.capture.passport.title" : f ? "idv2.backTutorial.title" : "idv2.tutorial.v2.title"), h = i(d ? "idv2.capture.passport.subtitle" : f ? "idv2.backTutorial.subtitle" : "idv2.tutorial.subtitle"), g = i(f ? "idv2.backTutorial.disclaimer" : "idv2.tutorial.v2.autocapture");
1218
+ }, [d, f]), !s) return /* @__PURE__ */ u(h, {
1219
+ subtitle: i("common.loading"),
1220
+ size: "large",
1221
+ fullScreen: !0
1222
+ });
1223
+ let m = i(d ? "idv2.capture.passport.title" : f ? "idv2.backTutorial.title" : "idv2.tutorial.v2.title"), g = i(d ? "idv2.capture.passport.subtitle" : f ? "idv2.backTutorial.subtitle" : "idv2.tutorial.subtitle"), _ = i(f ? "idv2.backTutorial.disclaimer" : "idv2.tutorial.v2.autocapture");
1220
1224
  return /* @__PURE__ */ u(w, {
1221
1225
  animationData: s,
1222
1226
  title: m,
1223
- subtitle: h,
1227
+ subtitle: g,
1224
1228
  onContinue: () => {
1225
1229
  o(!0), t.nextStep();
1226
1230
  },
1227
1231
  buttonText: i("idv2.tutorial.startScan"),
1228
- disclaimerText: g,
1232
+ disclaimerText: _,
1229
1233
  isLoading: a,
1230
1234
  className: p("IncodeIdTutorial", d ? "IncodeIdTutorialPassport" : "IncodeIdTutorialId")
1231
1235
  });
@@ -3,7 +3,7 @@ import { t } from "./uiConfig-CwpQ-IM6.js";
3
3
  import { a as n, n as r, 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
- import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-B7cG7wBG.js";
6
+ import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-BNe5bvVp.js";
7
7
  import { a as D, i as O, n as k, o as A, s as j, t as M } from "./typography-CNNFm2Bl.js";
8
8
  import { t as N } from "./spinner-l6dvYqCg.js";
9
9
  import { t as P } from "./processing-CB6Hv9CT.js";
@@ -5,49 +5,59 @@ import { o as c, t as l } from "../incodeComponent-CutyB4AE.js";
5
5
  import { t as u } from "../spinner-l6dvYqCg.js";
6
6
  import "../spinner-CFvndzMU.js";
7
7
  import { t as d } from "../incodeModule-D_r2n18O.js";
8
- import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-CjYPWq6s.js";
8
+ import { a as f, c as p, d as m, i as h, l as g, n as _, o as v, p as y, r as b, s as x, t as S, u as C } from "../useModuleLoader-BBeMAD1Z.js";
9
9
  import { getDeviceClass as w } from "@incodetech/core/device";
10
10
  import { getRequiredWasmPipelines as T } from "@incodetech/core/flow";
11
- import { createSession as E } from "@incodetech/core/session";
11
+ import { createSession as E, validateQrUuid as D } from "@incodetech/core/session";
12
12
  //#region src/modules/flow/createFlowSession.ts
13
- function D(e) {
13
+ function O(e) {
14
14
  return Array.from(new Uint8Array(e), (e) => e.toString(16).padStart(2, "0")).join("");
15
15
  }
16
- async function O(e) {
16
+ async function k(e) {
17
17
  let t = globalThis.crypto?.subtle;
18
18
  if (!t) throw Error("SHA-1 is not available in this environment");
19
- return D(await t.digest("SHA-1", new TextEncoder().encode(e)));
19
+ return O(await t.digest("SHA-1", new TextEncoder().encode(e)));
20
20
  }
21
- async function k(e) {
21
+ async function A(e) {
22
22
  if (typeof e.apiKey == "string") return e.apiKey;
23
- if (typeof e.clientId == "string") return O(e.clientId);
23
+ if (typeof e.clientId == "string") return k(e.clientId);
24
24
  throw Error("Flow self-loading mode requires apiKey or clientId");
25
25
  }
26
- async function A(e, t) {
27
- return E(await k(e), {
26
+ async function j(e, t) {
27
+ if (typeof e.urlUuid != "string" || e.urlUuid.length === 0) return;
28
+ let n = await D({
29
+ onboardingId: e.uuid ?? null,
30
+ urlUuid: e.urlUuid
31
+ }, t);
32
+ return e.onUrlUuidRefreshed?.(n.urlUuid), n.urlUuid;
33
+ }
34
+ async function M(e, t) {
35
+ let n = await A(e), r = await j(e, t);
36
+ return E(n, {
28
37
  configurationId: e.configurationId,
29
38
  externalId: e.externalId,
30
39
  externalCustomerId: e.externalCustomerId,
31
40
  language: e.lang,
32
41
  customFields: e.customFields,
33
42
  uuid: e.uuid,
43
+ urlUuid: r,
34
44
  interviewId: e.interviewId
35
45
  }, t);
36
46
  }
37
47
  //#endregion
38
48
  //#region src/modules/flow/flowConfig.ts
39
- function j(e) {
49
+ function N(e) {
40
50
  return typeof e.token == "string";
41
51
  }
42
- function M(e) {
52
+ function P(e) {
43
53
  let t = e;
44
54
  return typeof t.configurationId == "string" && (typeof t.apiKey == "string" || typeof t.clientId == "string");
45
55
  }
46
56
  //#endregion
47
57
  //#region src/modules/flow/preloadFlow.ts
48
- var N = /* @__PURE__ */ new Map();
49
- function P(e) {
50
- let t = N.get(e);
58
+ var F = /* @__PURE__ */ new Map();
59
+ function I(e) {
60
+ let t = F.get(e);
51
61
  if (!t) throw Error("Preload state not found");
52
62
  return {
53
63
  get isReady() {
@@ -63,13 +73,13 @@ function P(e) {
63
73
  }
64
74
  },
65
75
  cancel() {
66
- t.status === "loading" && (t.unsubscribe && t.unsubscribe(), t.flowManager.stop(), t.readyReject(/* @__PURE__ */ Error("Preload cancelled")), N.delete(e));
76
+ t.status === "loading" && (t.unsubscribe && t.unsubscribe(), t.flowManager.stop(), t.readyReject(/* @__PURE__ */ Error("Preload cancelled")), F.delete(e));
67
77
  }
68
78
  };
69
79
  }
70
- function F(e) {
80
+ function L(e) {
71
81
  let { token: t } = e;
72
- if (N.has(t)) return P(t);
82
+ if (F.has(t)) return I(t);
73
83
  let n, r, i = new Promise((e, t) => {
74
84
  n = e, r = t;
75
85
  }), a = v(e);
@@ -82,7 +92,7 @@ function F(e) {
82
92
  readyResolve: n,
83
93
  readyReject: r
84
94
  };
85
- return N.set(t, o), (async () => {
95
+ return F.set(t, o), (async () => {
86
96
  try {
87
97
  await p({
88
98
  apiURL: e.apiURL,
@@ -100,37 +110,37 @@ function F(e) {
100
110
  } else t.status === "error" && (o.unsubscribe?.(), o.unsubscribe = void 0, o.status = "error", o.error = t.error, o.readyReject(Error(t.error)));
101
111
  }), await t;
102
112
  } catch (e) {
103
- o.status = "error", o.error = e instanceof Error ? e.message : "Failed to preload", o.readyReject(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to preload")), N.delete(t);
113
+ o.status = "error", o.error = e instanceof Error ? e.message : "Failed to preload", o.readyReject(e instanceof Error ? e : /* @__PURE__ */ Error("Failed to preload")), F.delete(t);
104
114
  }
105
- })(), P(t);
115
+ })(), I(t);
106
116
  }
107
- function I(e) {
108
- return N.get(e) ?? null;
117
+ function R(e) {
118
+ return F.get(e) ?? null;
109
119
  }
110
- function L(e) {
111
- let t = I(e);
112
- return t && N.delete(e), t;
120
+ function z(e) {
121
+ let t = R(e);
122
+ return t && F.delete(e), t;
113
123
  }
114
124
  //#endregion
115
125
  //#region src/modules/flow/useFlowInitialization.ts
116
- function R(e) {
126
+ function B(e) {
117
127
  e.getState().presentation.shouldPrefetchHome && C();
118
128
  }
119
- function z() {
129
+ function V() {
120
130
  w() === "desktop" && m();
121
131
  }
122
- function B(e) {
123
- let { apiURL: n, lang: i, disableDashboardTheme: o, enableHome: c, onError: l } = e, u = j(e) ? e.token : void 0, d = r(null), [f, m] = a(() => {
124
- let t = u ? I(u) : null;
132
+ function H(e) {
133
+ let { apiURL: n, lang: i, disableDashboardTheme: o, enableHome: c, onError: l } = e, u = N(e) ? e.token : void 0, d = r(null), [f, m] = a(() => {
134
+ let t = u ? R(u) : null;
125
135
  if (u && t?.status === "ready") {
126
- let e = L(u);
127
- if (e) return d.current = e.flowManager, R(e.flowManager), z(), e.uiConfig && s(e.uiConfig), {
136
+ let e = z(u);
137
+ if (e) return d.current = e.flowManager, B(e.flowManager), V(), e.uiConfig && s(e.uiConfig), {
128
138
  status: "ready",
129
139
  flowManager: e.flowManager
130
140
  };
131
141
  }
132
142
  let n = v(e);
133
- return d.current = n, R(n), z(), t?.status === "error" ? {
143
+ return d.current = n, B(n), V(), t?.status === "error" ? {
134
144
  status: "error",
135
145
  error: t.error ?? "Preload failed",
136
146
  flowManager: n
@@ -141,11 +151,11 @@ function B(e) {
141
151
  }), h = r(!1);
142
152
  return t(() => {
143
153
  if (f.status !== "initializing") return;
144
- let t = u ? I(u) : null;
154
+ let t = u ? R(u) : null;
145
155
  if (u && t?.status === "loading") {
146
156
  t.readyPromise.then(() => {
147
- let e = L(u);
148
- e && (d.current = e.flowManager, R(e.flowManager), z(), e.uiConfig && s(e.uiConfig), m({
157
+ let e = z(u);
158
+ e && (d.current = e.flowManager, B(e.flowManager), V(), e.uiConfig && s(e.uiConfig), m({
149
159
  status: "ready",
150
160
  flowManager: e.flowManager
151
161
  }));
@@ -162,8 +172,8 @@ function B(e) {
162
172
  h.current || (h.current = !0, (async () => {
163
173
  try {
164
174
  let t;
165
- if (j(e)) t = e.token;
166
- else if (M(e)) t = (await A(e)).token;
175
+ if (N(e)) t = e.token;
176
+ else if (P(e)) t = (await M(e)).token;
167
177
  else throw Error("Flow requires token, or configurationId with apiKey or clientId");
168
178
  await p({
169
179
  apiURL: n,
@@ -198,8 +208,8 @@ function B(e) {
198
208
  }
199
209
  //#endregion
200
210
  //#region src/modules/flow/flow.tsx
201
- var V = n(() => import("../homeScreen-DISgp8BK.js").then((e) => ({ default: e.HomeScreen }))), H = ({ config: n, onFinish: r, onError: a }) => {
202
- let { t: s, i18n: l } = e(), d = B({
211
+ var U = n(() => import("../homeScreen-DISgp8BK.js").then((e) => ({ default: e.HomeScreen }))), W = ({ config: n, onFinish: r, onError: a }) => {
212
+ let { t: s, i18n: l } = e(), d = H({
203
213
  ...n,
204
214
  onError: a
205
215
  }), [p, m] = c(() => d.flowManager, { autoLoad: !1 }), g = p.presentation.lazyModuleKey, v = p.status === "ready" ? p.currentStep : void 0, x = S({
@@ -244,7 +254,7 @@ var V = n(() => import("../homeScreen-DISgp8BK.js").then((e) => ({ default: e.Ho
244
254
  class: "IncodeFlow",
245
255
  children: /* @__PURE__ */ o(i, {
246
256
  fallback: null,
247
- children: /* @__PURE__ */ o(V, {
257
+ children: /* @__PURE__ */ o(U, {
248
258
  isContinueLoading: p.homeScreen.isContinueLoading || D,
249
259
  onContinue: () => m.continueFromHome()
250
260
  })
@@ -253,9 +263,9 @@ var V = n(() => import("../homeScreen-DISgp8BK.js").then((e) => ({ default: e.Ho
253
263
  if (d.status === "initializing" || p.presentation.isAwaitingReady) return /* @__PURE__ */ o("div", {
254
264
  class: "IncodeFlow",
255
265
  children: /* @__PURE__ */ o(u, {
256
- title: n.spinnerConfig?.title,
257
- subtitle: n.spinnerConfig?.subtitle,
258
- size: n.spinnerConfig?.size,
266
+ title: n.spinnerConfig?.title ?? s("loadingCircle.hangOn"),
267
+ subtitle: n.spinnerConfig?.subtitle ?? s("loadingCircle.validating"),
268
+ size: n.spinnerConfig?.size ?? "large",
259
269
  fullScreen: !0
260
270
  })
261
271
  });
@@ -271,7 +281,7 @@ var V = n(() => import("../homeScreen-DISgp8BK.js").then((e) => ({ default: e.Ho
271
281
  children: /* @__PURE__ */ o(u, {
272
282
  title: n.spinnerConfig?.title ?? s("loadingCircle.hangOn"),
273
283
  subtitle: n.spinnerConfig?.subtitle ?? s("loadingCircle.validating"),
274
- size: n.spinnerConfig?.size,
284
+ size: n.spinnerConfig?.size ?? "large",
275
285
  fullScreen: !0
276
286
  })
277
287
  });
@@ -285,9 +295,9 @@ var V = n(() => import("../homeScreen-DISgp8BK.js").then((e) => ({ default: e.Ho
285
295
  if (x.status === "idle" || x.status === "loading" || x.status === "error") return /* @__PURE__ */ o("div", {
286
296
  class: "IncodeFlow",
287
297
  children: /* @__PURE__ */ o(u, {
288
- title: n.spinnerConfig?.title,
289
- subtitle: n.spinnerConfig?.subtitle,
290
- size: n.spinnerConfig?.size,
298
+ title: n.spinnerConfig?.title ?? s("loadingCircle.hangOn"),
299
+ subtitle: n.spinnerConfig?.subtitle ?? s("loadingCircle.validating"),
300
+ size: n.spinnerConfig?.size ?? "large",
291
301
  fullScreen: !0
292
302
  })
293
303
  });
@@ -533,11 +543,11 @@ var V = n(() => import("../homeScreen-DISgp8BK.js").then((e) => ({ default: e.Ho
533
543
  });
534
544
  }
535
545
  return null;
536
- }, U = ({ config: e, onFinish: t = () => {}, onError: n }) => /* @__PURE__ */ o(l, { children: e ? /* @__PURE__ */ o(H, {
546
+ }, G = ({ config: e, onFinish: t = () => {}, onError: n }) => /* @__PURE__ */ o(l, { children: e ? /* @__PURE__ */ o(W, {
537
547
  config: e,
538
548
  onFinish: t,
539
549
  onError: n
540
550
  }) : null });
541
- d(U, "incode-flow");
551
+ d(G, "incode-flow");
542
552
  //#endregion
543
- export { U as IncodeFlow, F as preloadIncodeFlow };
553
+ export { G as IncodeFlow, L as preloadIncodeFlow };
package/dist/id/id.es.js CHANGED
@@ -1,68 +1,75 @@
1
- import { _ as e, c as t, o as n, v as r } from "../vendor-preact-D6SntenC.js";
2
- import { o as i, t as a } from "../incodeComponent-CutyB4AE.js";
3
- import { a as o, i as s, n as c, o as l, r as u, t as d } from "../extensibility-B7cG7wBG.js";
4
- import { t as f } from "../processing-CB6Hv9CT.js";
5
- import { r as p } from "../tutorial-8ygdgcyM.js";
6
- import { t as m } from "../incodeModule-D_r2n18O.js";
7
- import { createIdCaptureManager as h } from "@incodetech/core/id";
1
+ import { n as e } from "../i18n-DhqfF41o.js";
2
+ import { _ as t, c as n, o as r, v as i } from "../vendor-preact-D6SntenC.js";
3
+ import { o as a, t as o } from "../incodeComponent-CutyB4AE.js";
4
+ import { a as s, i as c, n as l, o as u, r as d, t as f } from "../extensibility-BNe5bvVp.js";
5
+ import { t as p } from "../spinner-l6dvYqCg.js";
6
+ import "../spinner-CFvndzMU.js";
7
+ import { t as m } from "../processing-CB6Hv9CT.js";
8
+ import { r as h } from "../tutorial-8ygdgcyM.js";
9
+ import { t as g } from "../incodeModule-D_r2n18O.js";
10
+ import { createIdCaptureManager as _ } from "@incodetech/core/id";
8
11
  //#region src/shared/fonts/preloadDisplayFont.ts
9
- var g = !1;
10
- function _() {
11
- if (g || typeof document > "u") return;
12
+ var v = !1;
13
+ function y() {
14
+ if (v || typeof document > "u") return;
12
15
  let e = document.fonts;
13
- e?.load && (g = !0, e.load("800 1rem \"Rethink Sans\"").catch(() => {}));
16
+ e?.load && (v = !0, e.load("800 1rem \"Rethink Sans\"").catch(() => {}));
14
17
  }
15
- function v() {
16
- e(() => {
17
- _();
18
+ function b() {
19
+ t(() => {
20
+ y();
18
21
  }, []);
19
22
  }
20
23
  //#endregion
21
24
  //#region src/modules/id/id.tsx
22
- var y = t(() => import("../mandatoryConsent-DM10Au24.js").then((e) => ({ default: e.MandatoryConsent }))), b = ({ config: e, manager: t, onFinish: a, onError: m }) => {
23
- v();
24
- let [g, _] = i(() => {
25
- if (t) return t;
26
- if (!e) throw Error("ID capture config is required when no manager is provided");
27
- return h({ config: e });
28
- }, { manageLifecycle: !t });
29
- return g.status === "idle" || g.status === "loading" ? null : g.status === "chooser" ? /* @__PURE__ */ r(c, {
30
- manager: _,
31
- state: g
32
- }) : g.status === "tutorial" ? /* @__PURE__ */ r(u, {
33
- manager: _,
34
- state: g
35
- }) : g.status === "permissions" ? /* @__PURE__ */ r(p, {
36
- manager: _,
37
- permissionStatus: g.permissionStatus
38
- }) : g.status === "frontFinished" ? /* @__PURE__ */ r(d, {
39
- manager: _,
25
+ var x = n(() => import("../mandatoryConsent-DM10Au24.js").then((e) => ({ default: e.MandatoryConsent }))), S = ({ config: t, manager: n, onFinish: o, onError: g }) => {
26
+ b();
27
+ let { t: v } = e(), [y, S] = a(() => {
28
+ if (n) return n;
29
+ if (!t) throw Error("ID capture config is required when no manager is provided");
30
+ return _({ config: t });
31
+ }, { manageLifecycle: !n });
32
+ return y.status === "idle" || y.status === "loading" ? /* @__PURE__ */ i(p, {
33
+ subtitle: v("common.loading"),
34
+ size: "large",
35
+ fullScreen: !0
36
+ }) : y.status === "chooser" ? /* @__PURE__ */ i(l, {
37
+ manager: S,
38
+ state: y
39
+ }) : y.status === "tutorial" ? /* @__PURE__ */ i(d, {
40
+ manager: S,
41
+ state: y
42
+ }) : y.status === "permissions" ? /* @__PURE__ */ i(h, {
43
+ manager: S,
44
+ permissionStatus: y.permissionStatus
45
+ }) : y.status === "frontFinished" ? /* @__PURE__ */ i(f, {
46
+ manager: S,
40
47
  direction: "toBack"
41
- }) : g.status === "backFinished" ? /* @__PURE__ */ r(d, {
42
- manager: _,
48
+ }) : y.status === "backFinished" ? /* @__PURE__ */ i(f, {
49
+ manager: S,
43
50
  direction: "toFront"
44
- }) : g.status === "capture" ? /* @__PURE__ */ r(s, {
45
- manager: _,
46
- state: g,
47
- onFinish: () => a?.()
48
- }) : g.status === "mandatoryConsent" ? /* @__PURE__ */ r(n, {
51
+ }) : y.status === "capture" ? /* @__PURE__ */ i(c, {
52
+ manager: S,
53
+ state: y,
54
+ onFinish: () => o?.()
55
+ }) : y.status === "mandatoryConsent" ? /* @__PURE__ */ i(r, {
49
56
  fallback: null,
50
- children: /* @__PURE__ */ r(y, {
51
- config: { consentType: g.regulationType },
52
- onFinish: () => _.acceptMandatoryConsent(),
53
- onError: () => _.cancelMandatoryConsent()
57
+ children: /* @__PURE__ */ i(x, {
58
+ config: { consentType: y.regulationType },
59
+ onFinish: () => S.acceptMandatoryConsent(),
60
+ onError: () => S.cancelMandatoryConsent()
54
61
  })
55
- }) : g.status === "processing" ? /* @__PURE__ */ r(f, {}) : g.status === "expired" ? /* @__PURE__ */ r(o, { manager: _ }) : g.status === "finished" ? (a?.(), null) : g.status === "closed" ? (m?.(void 0), null) : g.status === "error" ? /* @__PURE__ */ r(l, {
56
- manager: _,
57
- state: g,
58
- onError: m
62
+ }) : y.status === "processing" ? /* @__PURE__ */ i(m, {}) : y.status === "expired" ? /* @__PURE__ */ i(s, { manager: S }) : y.status === "finished" ? (o?.(), null) : y.status === "closed" ? (g?.(void 0), null) : y.status === "error" ? /* @__PURE__ */ i(u, {
63
+ manager: S,
64
+ state: y,
65
+ onError: g
59
66
  }) : null;
60
- }, x = ({ config: e, manager: t, onFinish: n, onError: i }) => /* @__PURE__ */ r(a, { children: e || t ? /* @__PURE__ */ r(b, {
67
+ }, C = ({ config: e, manager: t, onFinish: n, onError: r }) => /* @__PURE__ */ i(o, { children: e || t ? /* @__PURE__ */ i(S, {
61
68
  config: e,
62
69
  manager: t,
63
70
  onFinish: n,
64
- onError: i
71
+ onError: r
65
72
  }) : null });
66
- m(x, "incode-id");
73
+ g(C, "incode-id");
67
74
  //#endregion
68
- export { x as Id };
75
+ export { C as Id };
@@ -30,6 +30,7 @@ declare type FlowUiConfig = {
30
30
  onModuleLoading?: (moduleKey: string) => void;
31
31
  onModuleLoaded?: (moduleKey: string) => void;
32
32
  onWasmWarmup?: (pipelines: string[]) => void;
33
+ onUrlUuidRefreshed?: (urlUuid: string) => void;
33
34
  spinnerConfig?: SpinnerConfig;
34
35
  };
35
36
 
@@ -73,7 +74,7 @@ declare type SelfLoadingFlowRuntimeConfig = FlowBaseConfig & SelfLoadingSessionO
73
74
  token?: never;
74
75
  };
75
76
 
76
- declare type SelfLoadingSessionOptions = Pick<CreateSessionOptions, 'configurationId' | 'externalId' | 'externalCustomerId' | 'customFields' | 'uuid' | 'interviewId'>;
77
+ declare type SelfLoadingSessionOptions = Pick<CreateSessionOptions, 'configurationId' | 'externalId' | 'externalCustomerId' | 'customFields' | 'uuid' | 'urlUuid' | 'interviewId'>;
77
78
 
78
79
  declare type SpinnerConfig = {
79
80
  title?: string;
@@ -92,6 +93,7 @@ declare type TokenFlowRuntimeConfig = FlowBaseConfig & {
92
93
  externalCustomerId?: never;
93
94
  customFields?: never;
94
95
  uuid?: never;
96
+ urlUuid?: never;
95
97
  interviewId?: never;
96
98
  };
97
99
 
@@ -166,8 +166,8 @@ var A = {
166
166
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
167
167
  EXTERNAL_VERIFICATION: () => import("./ekycModule-CqB6X3sB.js").then((e) => e.EkycModule),
168
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),
169
+ DOCUMENT_CAPTURE: () => import("./documentCapture-Dy36qTN4.js").then((e) => e.DocumentCapture),
170
+ ADDRESS: () => import("./documentCapture-Dy36qTN4.js").then((e) => e.DocumentCapture),
171
171
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
172
172
  MANDATORY_CONSENT: () => import("./mandatoryConsent-DM10Au24.js").then((e) => e.MandatoryConsent),
173
173
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
@@ -5,7 +5,7 @@ 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, f as d, i as f, m as p, t as m } from "../useModuleLoader-CjYPWq6s.js";
8
+ import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-BBeMAD1Z.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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260417-d5a60c8",
3
+ "version": "0.0.0-dev-20260420-8f6ba50",
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-d5a60c8"
186
+ "@incodetech/core": "0.0.0-dev-20260420-8f6ba50"
187
187
  },
188
188
  "devDependencies": {
189
189
  "@microsoft/api-extractor": "^7.53.3",