@incodetech/core 0.0.0-dev-20260313-547c32f → 0.0.0-dev-20260313-18a17d6

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 (65) hide show
  1. package/dist/authentication.d.ts +9 -9
  2. package/dist/authentication.esm.js +10 -10
  3. package/dist/{backCameraStream-DXS4n4yS.esm.js → backCameraStream-ZcgmV6ek.esm.js} +1 -1
  4. package/dist/curp-validation.d.ts +4 -4
  5. package/dist/curp-validation.esm.js +5 -5
  6. package/dist/{deepsightLoader-CCuD-pzB.esm.js → deepsightLoader-ChivsvQS.esm.js} +4 -4
  7. package/dist/{deepsightService-Dv1ILk27.d.ts → deepsightService-CYCDsan2.d.ts} +1 -1
  8. package/dist/{deepsightService-D2rnPj53.esm.js → deepsightService-DJ6yJFWI.esm.js} +3 -3
  9. package/dist/document-capture.d.ts +37 -37
  10. package/dist/document-capture.esm.js +6 -6
  11. package/dist/document-upload.d.ts +46 -46
  12. package/dist/document-upload.esm.js +5 -5
  13. package/dist/ekyb.d.ts +2 -2
  14. package/dist/ekyb.esm.js +6 -6
  15. package/dist/ekyc.d.ts +2 -2
  16. package/dist/ekyc.esm.js +6 -6
  17. package/dist/email.d.ts +1 -1
  18. package/dist/email.esm.js +5 -5
  19. package/dist/{endpoints-PMCuQkqs.esm.js → endpoints-5sPFFmaB.esm.js} +4 -1
  20. package/dist/{events-Bf73PAdv.esm.js → events-b4_xvENs.esm.js} +2 -2
  21. package/dist/face-match.d.ts +1 -1
  22. package/dist/face-match.esm.js +5 -5
  23. package/dist/{faceCaptureManagerFactory-FEuTMK4j.d.ts → faceCaptureManagerFactory-CMLiRjYr.d.ts} +5 -5
  24. package/dist/{faceCaptureSetup-pxm6Cjua.esm.js → faceCaptureSetup-2WooW-jJ.esm.js} +9 -9
  25. package/dist/flow.d.ts +14 -7
  26. package/dist/flow.esm.js +9 -5
  27. package/dist/{flowCompletionService-C2Cjw8WY.esm.js → flowCompletionService-DHXqHOAk.esm.js} +2 -2
  28. package/dist/geolocation.d.ts +1 -1
  29. package/dist/geolocation.esm.js +5 -5
  30. package/dist/government-validation.d.ts +1 -1
  31. package/dist/government-validation.esm.js +4 -4
  32. package/dist/{id-aQ6PcfVo.esm.js → id-DbIx2_iD.esm.js} +10 -10
  33. package/dist/id.d.ts +9 -9
  34. package/dist/id.esm.js +10 -10
  35. package/dist/{index-C_QjKcTy.d.ts → index-CSEcy73I.d.ts} +7 -7
  36. package/dist/index.d.ts +10 -10
  37. package/dist/index.esm.js +10 -10
  38. package/dist/{lib-DVaeY7hq.esm.js → lib-V3Lo-Jit.esm.js} +1 -1
  39. package/dist/phone.d.ts +1 -1
  40. package/dist/phone.esm.js +5 -5
  41. package/dist/redirect-to-mobile.d.ts +106 -0
  42. package/dist/redirect-to-mobile.esm.js +338 -0
  43. package/dist/selfie.d.ts +9 -9
  44. package/dist/selfie.esm.js +10 -10
  45. package/dist/session.d.ts +1 -1
  46. package/dist/session.esm.js +3 -3
  47. package/dist/{src-BJhTmsja.esm.js → src-DJirOlIN.esm.js} +2 -2
  48. package/dist/{stats-De--Z9N5.esm.js → stats-D76Thmqp.esm.js} +1 -1
  49. package/dist/stats.esm.js +2 -2
  50. package/dist/{streamingEvents-t3E89TmG.esm.js → streamingEvents-CuDSXpr7.esm.js} +3 -3
  51. package/dist/{types-DrdrHHxZ.d.ts → types-Bn54lmeM.d.ts} +1 -1
  52. package/dist/{types-B_l5fu_D.d.ts → types-DnrAr9fb.d.ts} +1 -1
  53. package/package.json +7 -3
  54. /package/dist/{Actor-SKZvDOCc.d.ts → Actor-B6Lr-x6S.d.ts} +0 -0
  55. /package/dist/{Manager-CVog-etk.d.ts → Manager-CG5CQ1kY.d.ts} +0 -0
  56. /package/dist/{StateMachine-Coiuk0UD.d.ts → StateMachine-WHeQE3lC.d.ts} +0 -0
  57. /package/dist/{api-CdJjfxTX.esm.js → api-3fZO5bmj.esm.js} +0 -0
  58. /package/dist/{camera-HI2fNiV5.d.ts → camera-D7zu0Mls.d.ts} +0 -0
  59. /package/dist/{chunk-3Wl3T5mL.esm.js → chunk-B1Ox1Owh.esm.js} +0 -0
  60. /package/dist/{flowCompletionService-DtL1jOz4.d.ts → flowCompletionService-DeWKduBI.d.ts} +0 -0
  61. /package/dist/{types-dSdX5z-n.d.ts → types-B4KNFqC4.d.ts} +0 -0
  62. /package/dist/{types-WhAUdEJw.d.ts → types-BYYaKde4.d.ts} +0 -0
  63. /package/dist/{usStates-IoVg25OV.esm.js → usStates-D4SmlpeT.esm.js} +0 -0
  64. /package/dist/{warmup-CO10kO5G.d.ts → warmup-CAEKix9h.d.ts} +0 -0
  65. /package/dist/{xstate.esm-yA5caGbx.esm.js → xstate.esm-07M59Cte.esm.js} +0 -0
@@ -0,0 +1,338 @@
1
+ import { O as createManager, m as BrowserTimerProvider } from "./src-DJirOlIN.esm.js";
2
+ import { a as createActor, i as fromPromise, n as assign, r as fromCallback, t as setup } from "./xstate.esm-07M59Cte.esm.js";
3
+ import { t as api } from "./api-3fZO5bmj.esm.js";
4
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
5
+
6
+ //#region ../infra/src/url/urlUtils.ts
7
+ function getUrlSearchParam(url, param) {
8
+ try {
9
+ return new URL(url).searchParams.get(param);
10
+ } catch {
11
+ return null;
12
+ }
13
+ }
14
+ function buildUrlWithSearchParams(baseUrl, params) {
15
+ const url = new URL(baseUrl);
16
+ for (const [key, value] of Object.entries(params)) if (value !== void 0) url.searchParams.set(key, value);
17
+ return url.href;
18
+ }
19
+
20
+ //#endregion
21
+ //#region src/modules/redirect-to-mobile/redirectToMobileServices.ts
22
+ async function fetchRedirectUrl(signal) {
23
+ const res = await api.get(endpoints.onboardingUrl, { signal });
24
+ if (!res.ok) throw new Error(`GET ${endpoints.onboardingUrl} failed: ${res.status} ${res.statusText}`);
25
+ return res.data;
26
+ }
27
+ async function fetchOnboardingStatus(signal) {
28
+ const res = await api.get(endpoints.onboardingStatus, { signal });
29
+ if (!res.ok) throw new Error(`GET ${endpoints.onboardingStatus} failed: ${res.status} ${res.statusText}`);
30
+ return res.data;
31
+ }
32
+ async function sendRedirectSms(params, signal) {
33
+ const res = await api.post(endpoints.sendRedirectSms, params, { signal });
34
+ if (!res.ok) throw new Error(`POST ${endpoints.sendRedirectSms} failed: ${res.status} ${res.statusText}`);
35
+ }
36
+ async function addPhoneForRedirect(phone, signal) {
37
+ const res = await api.post(endpoints.phone, { phone }, { signal });
38
+ if (!res.ok) throw new Error(`POST ${endpoints.phone} failed: ${res.status} ${res.statusText}`);
39
+ }
40
+ async function refreshQrUuid(onboardingId, signal) {
41
+ const res = await api.post(endpoints.qrRefreshUuid, { onboardingId }, { signal });
42
+ if (!res.ok) throw new Error(`POST ${endpoints.qrRefreshUuid} failed: ${res.status} ${res.statusText}`);
43
+ return res.data;
44
+ }
45
+ async function fetchStartInfo(signal) {
46
+ const res = await api.get(endpoints.startInfo, { signal });
47
+ if (!res.ok) throw new Error(`GET ${endpoints.startInfo} failed: ${res.status} ${res.statusText}`);
48
+ return res.data;
49
+ }
50
+
51
+ //#endregion
52
+ //#region src/modules/redirect-to-mobile/redirectToMobileStateMachine.ts
53
+ const POLL_INTERVAL_MS = 5e3;
54
+ const QR_REFRESH_INTERVAL_MS = 5e3;
55
+ function buildRedirectUrl(baseUrl, customUrl, config, urlUuid) {
56
+ const uuid = getUrlSearchParam(baseUrl, "uuid") ?? "";
57
+ return buildUrlWithSearchParams(customUrl ?? baseUrl, {
58
+ uuid,
59
+ isRedirect: "true",
60
+ lang: config.lang,
61
+ externalId: config.externalId,
62
+ auth_hint: config.authHint,
63
+ url_uuid: urlUuid || void 0
64
+ });
65
+ }
66
+ function extractUuidFromUrl(url) {
67
+ return getUrlSearchParam(url, "uuid") ?? "";
68
+ }
69
+ const redirectToMobileMachine = setup({
70
+ types: {
71
+ context: {},
72
+ events: {},
73
+ input: {}
74
+ },
75
+ actors: {
76
+ fetchRedirectUrl: fromPromise(async ({ signal }) => {
77
+ return fetchRedirectUrl(signal);
78
+ }),
79
+ fetchStartInfo: fromPromise(async ({ signal }) => {
80
+ return fetchStartInfo(signal);
81
+ }),
82
+ pollOnboardingStatus: fromCallback(({ sendBack }) => {
83
+ const timer = BrowserTimerProvider.getInstance();
84
+ const interval = timer.setInterval(async () => {
85
+ try {
86
+ if ((await fetchOnboardingStatus()).onboardingStatus === "ONBOARDING_FINISHED") sendBack({ type: "POLL_TICK" });
87
+ } catch {}
88
+ }, POLL_INTERVAL_MS);
89
+ return () => timer.clearInterval(interval);
90
+ }),
91
+ refreshQrUuid: fromCallback(({ sendBack, input }) => {
92
+ const timer = BrowserTimerProvider.getInstance();
93
+ const interval = timer.setInterval(async () => {
94
+ try {
95
+ const res = await refreshQrUuid(input.uuid);
96
+ if (res.urlUuid) sendBack({
97
+ type: "QR_REFRESHED",
98
+ urlUuid: res.urlUuid
99
+ });
100
+ } catch {}
101
+ }, QR_REFRESH_INTERVAL_MS);
102
+ return () => timer.clearInterval(interval);
103
+ }),
104
+ sendSms: fromPromise(async ({ input, signal }) => {
105
+ await addPhoneForRedirect(input.phone, signal);
106
+ const params = input.lang ? [`lang=${input.lang}`] : [];
107
+ await sendRedirectSms({
108
+ smsType: "DESKTOP_ONBOARDING",
109
+ uuid: input.uuid,
110
+ params
111
+ }, signal);
112
+ })
113
+ },
114
+ actions: {
115
+ setBaseUrl: assign(({ context, event }) => {
116
+ const baseUrl = event.output.url;
117
+ return {
118
+ fetchedBaseUrl: baseUrl,
119
+ uuid: extractUuidFromUrl(baseUrl),
120
+ redirectUrl: buildRedirectUrl(baseUrl, context.config.url, context.config, context.urlUuid)
121
+ };
122
+ }),
123
+ setStartInfo: assign(({ event }) => {
124
+ return { phonePrefix: event.output.phonePrefix };
125
+ }),
126
+ setError: assign(({ event }) => ({ error: String(event.error) })),
127
+ setSmsSent: assign({ smsSent: () => true }),
128
+ resetSmsSent: assign({
129
+ smsSent: () => false,
130
+ error: () => void 0
131
+ }),
132
+ setSmsError: assign(({ event }) => ({ error: String(event.error) })),
133
+ updateQrUrl: assign(({ context, event }) => {
134
+ const { urlUuid } = event;
135
+ return {
136
+ urlUuid,
137
+ redirectUrl: buildRedirectUrl(context.fetchedBaseUrl, context.config.url, context.config, urlUuid)
138
+ };
139
+ })
140
+ },
141
+ guards: { hasPhishingResistance: ({ context }) => context.config.qrPhishingResistance === true }
142
+ }).createMachine({
143
+ id: "redirectToMobile",
144
+ initial: "idle",
145
+ context: ({ input }) => ({
146
+ config: input.config,
147
+ redirectUrl: "",
148
+ fetchedBaseUrl: "",
149
+ uuid: "",
150
+ urlUuid: "",
151
+ phonePrefix: "",
152
+ smsSent: false,
153
+ error: void 0
154
+ }),
155
+ states: {
156
+ idle: { on: { LOAD: "generatingUrl" } },
157
+ generatingUrl: { invoke: {
158
+ id: "fetchRedirectUrl",
159
+ src: "fetchRedirectUrl",
160
+ onDone: {
161
+ target: "loadingStartInfo",
162
+ actions: "setBaseUrl"
163
+ },
164
+ onError: {
165
+ target: "error",
166
+ actions: "setError"
167
+ }
168
+ } },
169
+ loadingStartInfo: { invoke: {
170
+ id: "fetchStartInfo",
171
+ src: "fetchStartInfo",
172
+ onDone: {
173
+ target: "showingQr",
174
+ actions: "setStartInfo"
175
+ },
176
+ onError: { target: "showingQr" }
177
+ } },
178
+ showingQr: {
179
+ type: "parallel",
180
+ states: {
181
+ polling: {
182
+ invoke: {
183
+ id: "pollOnboardingStatus",
184
+ src: "pollOnboardingStatus"
185
+ },
186
+ on: { POLL_TICK: { target: "#redirectToMobile.finished" } }
187
+ },
188
+ qrRefresh: {
189
+ initial: "checking",
190
+ states: {
191
+ checking: { always: [{
192
+ target: "refreshing",
193
+ guard: "hasPhishingResistance"
194
+ }, { target: "inactive" }] },
195
+ refreshing: {
196
+ invoke: {
197
+ id: "refreshQrUuid",
198
+ src: "refreshQrUuid",
199
+ input: ({ context }) => ({ uuid: context.uuid })
200
+ },
201
+ on: { QR_REFRESHED: { actions: "updateQrUrl" } }
202
+ },
203
+ inactive: { type: "final" }
204
+ }
205
+ },
206
+ sms: {
207
+ initial: "idle",
208
+ states: {
209
+ idle: { on: { SEND_SMS: "sending" } },
210
+ sending: { invoke: {
211
+ id: "sendSms",
212
+ src: "sendSms",
213
+ input: ({ context, event }) => ({
214
+ phone: event.phone,
215
+ uuid: context.uuid,
216
+ lang: context.config.lang
217
+ }),
218
+ onDone: {
219
+ target: "sent",
220
+ actions: "setSmsSent"
221
+ },
222
+ onError: {
223
+ target: "idle",
224
+ actions: "setSmsError"
225
+ }
226
+ } },
227
+ sent: { on: {
228
+ SEND_SMS: "sending",
229
+ RESET_SMS: {
230
+ target: "idle",
231
+ actions: "resetSmsSent"
232
+ }
233
+ } }
234
+ }
235
+ }
236
+ },
237
+ on: {
238
+ CONTINUE_ON_DESKTOP: "closed",
239
+ CLOSE: "closed"
240
+ }
241
+ },
242
+ finished: { type: "final" },
243
+ closed: { type: "final" },
244
+ error: { on: { RETRY: "generatingUrl" } }
245
+ }
246
+ });
247
+
248
+ //#endregion
249
+ //#region src/modules/redirect-to-mobile/redirectToMobileActor.ts
250
+ function createRedirectToMobileActor(options) {
251
+ return createActor(redirectToMobileMachine, { input: { config: options.config } }).start();
252
+ }
253
+
254
+ //#endregion
255
+ //#region src/modules/redirect-to-mobile/redirectToMobileManager.ts
256
+ function mapState(snapshot) {
257
+ const typedSnapshot = snapshot;
258
+ const { context } = typedSnapshot;
259
+ if (typedSnapshot.matches("idle")) return { status: "idle" };
260
+ if (typedSnapshot.matches("generatingUrl") || typedSnapshot.matches("loadingStartInfo")) return { status: "loading" };
261
+ if (typedSnapshot.matches("showingQr")) return {
262
+ status: "redirecting",
263
+ redirectUrl: context.redirectUrl,
264
+ phonePrefix: context.phonePrefix,
265
+ smsSent: context.smsSent,
266
+ error: context.error
267
+ };
268
+ if (typedSnapshot.matches("finished")) return { status: "finished" };
269
+ if (typedSnapshot.matches("closed")) return { status: "closed" };
270
+ if (typedSnapshot.matches("error")) return {
271
+ status: "error",
272
+ error: context.error ?? "An error occurred"
273
+ };
274
+ return { status: "idle" };
275
+ }
276
+ function createApi({ actor }) {
277
+ return {
278
+ load() {
279
+ actor.send({ type: "LOAD" });
280
+ },
281
+ sendSms(phone) {
282
+ actor.send({
283
+ type: "SEND_SMS",
284
+ phone
285
+ });
286
+ },
287
+ continueOnDesktop() {
288
+ actor.send({ type: "CONTINUE_ON_DESKTOP" });
289
+ },
290
+ resetSms() {
291
+ actor.send({ type: "RESET_SMS" });
292
+ },
293
+ close() {
294
+ actor.send({ type: "CLOSE" });
295
+ },
296
+ retry() {
297
+ actor.send({ type: "RETRY" });
298
+ }
299
+ };
300
+ }
301
+ /**
302
+ * Creates a redirect-to-mobile manager for cross-device onboarding flows.
303
+ *
304
+ * On desktop, displays a QR code (and optional SMS input) so the user can
305
+ * continue on their mobile device. Polls the backend until the mobile
306
+ * session completes, then transitions to `finished`.
307
+ *
308
+ * @param options - Configuration for the redirect module
309
+ * @returns A manager instance with state subscription and API methods
310
+ *
311
+ * @example
312
+ * ```ts
313
+ * const manager = createRedirectToMobileManager({
314
+ * config: { disableSmsOption: false, addContinueToDesktop: true },
315
+ * });
316
+ *
317
+ * manager.subscribe((state) => {
318
+ * if (state.status === 'redirecting') {
319
+ * renderQrCode(state.redirectUrl);
320
+ * }
321
+ * if (state.status === 'finished') {
322
+ * console.log('Mobile onboarding complete');
323
+ * }
324
+ * });
325
+ *
326
+ * manager.load();
327
+ * ```
328
+ */
329
+ function createRedirectToMobileManager(options) {
330
+ return createManager({
331
+ actor: createRedirectToMobileActor(options),
332
+ mapState,
333
+ createApi
334
+ });
335
+ }
336
+
337
+ //#endregion
338
+ export { createRedirectToMobileManager, redirectToMobileMachine };
package/dist/selfie.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-Dv1ILk27.js";
2
- import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-dSdX5z-n.js";
3
- import { t as WasmPipeline } from "./warmup-CO10kO5G.js";
4
- import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-FEuTMK4j.js";
5
- import { t as Manager } from "./Manager-CVog-etk.js";
6
- import { t as CameraStream } from "./camera-HI2fNiV5.js";
7
- import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-Coiuk0UD.js";
8
- import "./types-B_l5fu_D.js";
9
- import { r as FlowModuleConfig } from "./types-DrdrHHxZ.js";
1
+ import { i as IncodeCanvas, n as StreamCanvasCapture, t as DeepsightService } from "./deepsightService-CYCDsan2.js";
2
+ import { n as PermissionStatus, o as IMLProviderCapability, s as MLProviderConfig, t as PermissionResult } from "./types-B4KNFqC4.js";
3
+ import { t as WasmPipeline } from "./warmup-CAEKix9h.js";
4
+ import { a as FaceCaptureDependencies, i as DetectionStatus, n as FaceCaptureManagerState, o as FaceErrorCode, r as BaseFaceCaptureConfig, t as FaceCaptureManager } from "./faceCaptureManagerFactory-CMLiRjYr.js";
5
+ import { t as Manager } from "./Manager-CG5CQ1kY.js";
6
+ import { t as CameraStream } from "./camera-D7zu0Mls.js";
7
+ import { n as StateMachine, t as AnyStateMachine } from "./StateMachine-WHeQE3lC.js";
8
+ import "./types-DnrAr9fb.js";
9
+ import { r as FlowModuleConfig } from "./types-Bn54lmeM.js";
10
10
 
11
11
  //#region ../infra/src/capabilities/IFaceDetectionCapability.d.ts
12
12
  /**
@@ -1,13 +1,13 @@
1
- import { d as addEvent, n as eventModuleNames } from "./events-Bf73PAdv.esm.js";
2
- import "./backCameraStream-DXS4n4yS.esm.js";
3
- import { h as BrowserStorageProvider, r as WasmUtilProvider } from "./src-BJhTmsja.esm.js";
4
- import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-yA5caGbx.esm.js";
5
- import "./streamingEvents-t3E89TmG.esm.js";
6
- import "./deepsightService-D2rnPj53.esm.js";
7
- import "./api-CdJjfxTX.esm.js";
8
- import "./endpoints-PMCuQkqs.esm.js";
9
- import "./stats-De--Z9N5.esm.js";
10
- import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-pxm6Cjua.esm.js";
1
+ import { d as addEvent, n as eventModuleNames } from "./events-b4_xvENs.esm.js";
2
+ import "./backCameraStream-ZcgmV6ek.esm.js";
3
+ import { h as BrowserStorageProvider, r as WasmUtilProvider } from "./src-DJirOlIN.esm.js";
4
+ import { a as createActor, i as fromPromise, n as assign } from "./xstate.esm-07M59Cte.esm.js";
5
+ import "./streamingEvents-CuDSXpr7.esm.js";
6
+ import "./deepsightService-DJ6yJFWI.esm.js";
7
+ import "./api-3fZO5bmj.esm.js";
8
+ import "./endpoints-5sPFFmaB.esm.js";
9
+ import "./stats-D76Thmqp.esm.js";
10
+ import { a as FACE_ERROR_CODES, i as uploadSelfie, n as faceCaptureMachine, o as createFaceCaptureManager, r as processFace, t as FACE_CAPTURE_EVENT_CODES } from "./faceCaptureSetup-2WooW-jJ.esm.js";
11
11
 
12
12
  //#region src/modules/selfie/selfieErrorUtils.ts
13
13
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
package/dist/session.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-DtL1jOz4.js";
1
+ import { n as GetFinishStatusFn, r as getFinishStatus, t as FinishStatus } from "./flowCompletionService-DeWKduBI.js";
2
2
  export { type FinishStatus, type GetFinishStatusFn, getFinishStatus };
@@ -1,5 +1,5 @@
1
- import "./api-CdJjfxTX.esm.js";
2
- import "./endpoints-PMCuQkqs.esm.js";
3
- import { t as getFinishStatus } from "./flowCompletionService-C2Cjw8WY.esm.js";
1
+ import "./api-3fZO5bmj.esm.js";
2
+ import "./endpoints-5sPFFmaB.esm.js";
3
+ import { t as getFinishStatus } from "./flowCompletionService-DHXqHOAk.esm.js";
4
4
 
5
5
  export { getFinishStatus };
@@ -1,4 +1,4 @@
1
- import { a as __toDynamicImportESM } from "./chunk-3Wl3T5mL.esm.js";
1
+ import { a as __toDynamicImportESM } from "./chunk-B1Ox1Owh.esm.js";
2
2
 
3
3
  //#region ../infra/src/capabilities/platform.ts
4
4
  /**
@@ -4419,7 +4419,7 @@ var MotionSensorProvider = class {
4419
4419
  let openViduImport;
4420
4420
  async function loadOpenVidu() {
4421
4421
  if (openViduImport) return openViduImport;
4422
- openViduImport = import("./lib-DVaeY7hq.esm.js").then(__toDynamicImportESM(1));
4422
+ openViduImport = import("./lib-V3Lo-Jit.esm.js").then(__toDynamicImportESM(1));
4423
4423
  return openViduImport;
4424
4424
  }
4425
4425
 
@@ -1,4 +1,4 @@
1
- import { t as api } from "./api-CdJjfxTX.esm.js";
1
+ import { t as api } from "./api-3fZO5bmj.esm.js";
2
2
 
3
3
  //#region src/modules/stats/statsServices.ts
4
4
  /**
package/dist/stats.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./api-CdJjfxTX.esm.js";
2
- import { t as addDeviceStats } from "./stats-De--Z9N5.esm.js";
1
+ import "./api-3fZO5bmj.esm.js";
2
+ import { t as addDeviceStats } from "./stats-D76Thmqp.esm.js";
3
3
 
4
4
  export { addDeviceStats };
@@ -1,6 +1,6 @@
1
- import { A as getDeviceInfo, D as stopCameraStream, E as requestCameraAccess, I as isIPad, M as getUserAgent, u as MotionSensorProvider, x as queryCameraPermission } from "./src-BJhTmsja.esm.js";
2
- import { t as api } from "./api-CdJjfxTX.esm.js";
3
- import { t as endpoints } from "./endpoints-PMCuQkqs.esm.js";
1
+ import { A as getDeviceInfo, D as stopCameraStream, E as requestCameraAccess, I as isIPad, M as getUserAgent, u as MotionSensorProvider, x as queryCameraPermission } from "./src-DJirOlIN.esm.js";
2
+ import { t as api } from "./api-3fZO5bmj.esm.js";
3
+ import { t as endpoints } from "./endpoints-5sPFFmaB.esm.js";
4
4
 
5
5
  //#region src/internal/device/getBrowser.ts
6
6
  function getBrowser() {
@@ -1,4 +1,4 @@
1
- import { t as DocumentUploadConfig } from "./types-B_l5fu_D.js";
1
+ import { t as DocumentUploadConfig } from "./types-DnrAr9fb.js";
2
2
 
3
3
  //#region src/modules/flow/types.d.ts
4
4
  type EmptyConfig = Record<string, never>;
@@ -1,4 +1,4 @@
1
- import { t as CameraStream } from "./camera-HI2fNiV5.js";
1
+ import { t as CameraStream } from "./camera-D7zu0Mls.js";
2
2
 
3
3
  //#region src/modules/document-upload/types.d.ts
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/core",
3
- "version": "0.0.0-dev-20260313-547c32f",
3
+ "version": "0.0.0-dev-20260313-18a17d6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -72,6 +72,10 @@
72
72
  "./session": {
73
73
  "types": "./dist/session.d.ts",
74
74
  "import": "./dist/session.esm.js"
75
+ },
76
+ "./redirect-to-mobile": {
77
+ "types": "./dist/redirect-to-mobile.d.ts",
78
+ "import": "./dist/redirect-to-mobile.esm.js"
75
79
  }
76
80
  },
77
81
  "files": [
@@ -82,8 +86,8 @@
82
86
  "tsdown": "^0.16.6",
83
87
  "typescript": "^5.9.3",
84
88
  "vitest": "^4.0.13",
85
- "@incodetech/config": "1.0.0",
86
- "@incodetech/infra": "1.0.0"
89
+ "@incodetech/infra": "1.0.0",
90
+ "@incodetech/config": "1.0.0"
87
91
  },
88
92
  "scripts": {
89
93
  "build": "tsdown -c tsdown.config.ts",