@incodetech/core 0.0.0-dev-20260902-179ad927 → 0.0.0-dev-20260902-6bf995eb

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 (60) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-DEumdBvM.esm.js → BrowserDiagnosticsCryptoProvider-DwmAfiwB.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-DlshI8Em.esm.js → apiError-DhziHa4B.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-D0OZW_-W.esm.js → authenticationManager-CpFvm_na.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-Ci1tCyo-.esm.js → authenticationStateMachine-DZ_KW_eb.esm.js} +2 -2
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/{consentManager-BhYFeKiG.d.ts → consentManager-uhDPdU6i.d.ts} +8 -8
  9. package/dist/{deepsightLoader-Bl2p2z0k.esm.js → deepsightLoader-BCsoAbCL.esm.js} +2 -2
  10. package/dist/document-capture.d.ts +1 -1
  11. package/dist/{documentCaptureManager-DensIj5F.d.ts → documentCaptureManager-DD0qtFdE.d.ts} +1 -1
  12. package/dist/dynamic-forms.esm.js +2 -2
  13. package/dist/{dynamicFormsManager-DwdjGBhl.esm.js → dynamicFormsManager-DIkSROGe.esm.js} +1 -1
  14. package/dist/{dynamicFormsStateMachine-BapNWH1Z.esm.js → dynamicFormsStateMachine-DPMGFx9g.esm.js} +1 -1
  15. package/dist/ekyb.esm.js +3 -3
  16. package/dist/{ekybManager-D9NGMZfd.esm.js → ekybManager-Dbyzu1GZ.esm.js} +1 -1
  17. package/dist/{ekybStateMachine-sn43if98.esm.js → ekybStateMachine-D6ERRSpc.esm.js} +1 -1
  18. package/dist/electronic-signature.esm.js +1 -1
  19. package/dist/{electronicSignatureManager-DdXKT459.esm.js → electronicSignatureManager-YTvxmh25.esm.js} +1 -1
  20. package/dist/extensibility.d.ts +4 -4
  21. package/dist/extensibility.esm.js +10 -10
  22. package/dist/{faceCaptureManagerFactory-C3qJg2bv.esm.js → faceCaptureManagerFactory-BKkwc_5_.esm.js} +1 -1
  23. package/dist/{faceCaptureSetup-Dy8z-Ab1.esm.js → faceCaptureSetup-xL2SFeyk.esm.js} +1 -1
  24. package/dist/{feature-management-CeYIRsY7.esm.js → feature-management-DhZKhR-O.esm.js} +1 -1
  25. package/dist/feature-management.esm.js +1 -1
  26. package/dist/flow.esm.js +3 -3
  27. package/dist/{flowCompletionService-CzcJAj88.esm.js → flowCompletionService-DxeTRrHM.esm.js} +1 -1
  28. package/dist/{flowServices-LqlLCTH8.esm.js → flowServices-DgVmmebu.esm.js} +4 -4
  29. package/dist/geolocation.esm.js +2 -2
  30. package/dist/{geolocationManager-hjovr_5J.esm.js → geolocationManager-B0LFtKtF.esm.js} +1 -1
  31. package/dist/{geolocationStateMachine-DniIPnGJ.esm.js → geolocationStateMachine-CCYT-s6u.esm.js} +1 -1
  32. package/dist/id-selfie-flow.esm.js +7 -7
  33. package/dist/id.esm.js +4 -4
  34. package/dist/{idCaptureDefaults-C7BSuPYv.esm.js → idCaptureDefaults-DgGzVUmU.esm.js} +204 -2
  35. package/dist/{idCaptureManager-Be6mBBEg.esm.js → idCaptureManager-ECBbFIAT.esm.js} +3 -3
  36. package/dist/{idCaptureServices-DWQBIkDV.esm.js → idCaptureServices-B5ASsfjX.esm.js} +22 -10
  37. package/dist/{idCaptureStateMachine-CjsJa6Av.esm.js → idCaptureStateMachine-F8G8jBSq.esm.js} +7 -7
  38. package/dist/identity-reuse.d.ts +1 -1
  39. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
  40. package/dist/index.esm.js +1 -1
  41. package/dist/mandatory-consent.d.ts +1 -1
  42. package/dist/{mandatoryConsentManager-BJnylLZO.d.ts → mandatoryConsentManager-CSh8HjSF.d.ts} +4 -4
  43. package/dist/{onDeviceFaceResults-nNRpspzG.esm.js → onDeviceFaceResults-BpdmWw3Z.esm.js} +4 -4
  44. package/dist/personhood.esm.js +4 -4
  45. package/dist/qe-signature.esm.js +1 -1
  46. package/dist/{runChildModule-_KVQv_qw.esm.js → runChildModule-D4Xiapvw.esm.js} +1 -1
  47. package/dist/{sdkVersion-Dt8RChJy.esm.js → sdkVersion-C5w7mfrv.esm.js} +1 -1
  48. package/dist/selfie.esm.js +5 -5
  49. package/dist/{selfieManager-BdKKPQCf.esm.js → selfieManager-FWxSq5Dv.esm.js} +3 -3
  50. package/dist/{selfieStateMachine-CSgCJoRB.esm.js → selfieStateMachine-CU7NYRVn.esm.js} +2 -2
  51. package/dist/{session-KkxWRZkj.esm.js → session-Bm4DVQLE.esm.js} +3 -3
  52. package/dist/session.esm.js +4 -4
  53. package/dist/{sessionInitializer-D7jrP3Th.esm.js → sessionInitializer-CJ_RHW0q.esm.js} +3 -3
  54. package/dist/{setup-ChzwUesm.esm.js → setup-D4Zh-sVr.esm.js} +4 -4
  55. package/dist/{trueSightService-5Cni_vcU.esm.js → trueSightService-JMWO92g9.esm.js} +2 -2
  56. package/dist/video-selfie.esm.js +4 -3
  57. package/dist/{videoSelfieCameraWarmer-BoXPQtWv.esm.js → videoSelfieCameraWarmer-LNxKbRCG.esm.js} +4 -206
  58. package/dist/wasm.esm.js +1 -1
  59. package/dist/workflow.esm.js +14 -14
  60. package/package.json +1 -1
@@ -1,7 +1,209 @@
1
1
  import { _ as resolveWasmSource, f as WASM_MODEL_FILES } from "./wasmWebClient-BJCaFeBL.esm.js";
2
- import { p as getBarcodeEnhanceModelUrl } from "./setup-ChzwUesm.esm.js";
2
+ import { p as getBarcodeEnhanceModelUrl } from "./setup-D4Zh-sVr.esm.js";
3
3
  import { i as BaseWasmProvider, l as wasmRuntime, o as getResolvedModelSource } from "./safeStorage-0bZuUtSP.esm.js";
4
4
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
5
+ //#region ../infra/src/media/CameraCompositor.ts
6
+ const MAX_COMPOSITE_LONG_EDGE = 1280;
7
+ const MAX_COMPOSITE_SHORT_EDGE = 720;
8
+ const FRAME_INTERVAL_TOLERANCE_RATIO = .9;
9
+ const DEFAULT_RESUME_TIMEOUT_MS = 2e3;
10
+ /**
11
+ * Composites the *active* camera into a canvas and exposes the canvas as a
12
+ * single, stable `MediaStream` to record. Switching cameras (front ↔ back)
13
+ * just repoints what the canvas draws — the output stream and its audio track
14
+ * are never replaced — so a single `MediaRecorder` produces one continuous
15
+ * video that follows the camera switches (V1 parity), instead of restarting
16
+ * per camera.
17
+ *
18
+ * The audio track from the initial stream is carried through unchanged across
19
+ * video switches, so there's no audio glitch when the camera flips.
20
+ */
21
+ var CameraCompositor = class {
22
+ constructor(options = {}) {
23
+ this.canvas = null;
24
+ this.ctx = null;
25
+ this.video = null;
26
+ this.frameRequestId = null;
27
+ this.frameRequestKind = null;
28
+ this.lastDrawTimeMs = null;
29
+ this.lastVideoTimeSeconds = null;
30
+ this.audioTrack = null;
31
+ this.videoTrack = null;
32
+ this.composite = null;
33
+ this.fps = options.fps ?? 30;
34
+ this.frameIntervalMs = this.fps > 0 ? 1e3 / this.fps : 0;
35
+ this.resumeTimeoutMs = options.resumeTimeoutMs ?? DEFAULT_RESUME_TIMEOUT_MS;
36
+ }
37
+ /**
38
+ * Begin compositing `stream` and return the composite stream to record. The
39
+ * stream's audio track (if any) is carried through unchanged across later
40
+ * `switchVideo` calls.
41
+ */
42
+ start(stream) {
43
+ this.canvas = document.createElement("canvas");
44
+ this.ctx = this.canvas.getContext("2d");
45
+ this.video = document.createElement("video");
46
+ this.video.muted = true;
47
+ this.video.playsInline = true;
48
+ this.audioTrack = stream.getAudioTracks()[0] ?? null;
49
+ this.setVideoSource(stream);
50
+ const composite = this.canvas.captureStream(this.fps);
51
+ if (this.audioTrack) composite.addTrack(this.audioTrack);
52
+ this.composite = composite;
53
+ this.startDrawLoop();
54
+ return composite;
55
+ }
56
+ /**
57
+ * Swap the camera feeding the canvas without interrupting the composite
58
+ * stream. Pass a video-only stream (audio is kept from `start`). The previous
59
+ * video track is stopped.
60
+ */
61
+ switchVideo(stream) {
62
+ if (!this.composite) return;
63
+ const previousVideoTrack = this.videoTrack;
64
+ this.setVideoSource(stream);
65
+ this.startDrawLoop();
66
+ if (previousVideoTrack) previousVideoTrack.stop();
67
+ }
68
+ /** The composite stream being recorded, if compositing is active. */
69
+ get stream() {
70
+ return this.composite ?? void 0;
71
+ }
72
+ /** Pause source playback and drawing while the page is backgrounded. */
73
+ pause() {
74
+ this.finishResume("timed-out");
75
+ this.cancelDrawLoop();
76
+ this.video?.pause();
77
+ }
78
+ /**
79
+ * Restart source playback and wait for a genuinely new camera frame to be
80
+ * drawn into the stable canvas stream. The caller must not resume encoding
81
+ * until this resolves with `resumed`.
82
+ */
83
+ async resume(signal) {
84
+ const video = this.video;
85
+ if (!video || !this.composite) return "timed-out";
86
+ if (this.audioTrack?.readyState === "ended") return "audio-ended";
87
+ if (!this.videoTrack || this.videoTrack.readyState === "ended") return "video-ended";
88
+ if (signal?.aborted) return "timed-out";
89
+ try {
90
+ await video.play();
91
+ } catch {
92
+ return "timed-out";
93
+ }
94
+ if (signal?.aborted) return "timed-out";
95
+ this.finishResume("timed-out");
96
+ return new Promise((resolve) => {
97
+ const timeout = setTimeout(() => {
98
+ this.finishResume("timed-out");
99
+ }, this.resumeTimeoutMs);
100
+ if (signal) {
101
+ const onAbort = () => this.finishResume("timed-out");
102
+ this.resumeWaiter = {
103
+ resolve,
104
+ timeout,
105
+ signal,
106
+ onAbort
107
+ };
108
+ signal.addEventListener("abort", onAbort, { once: true });
109
+ if (signal.aborted) {
110
+ this.finishResume("timed-out");
111
+ return;
112
+ }
113
+ } else this.resumeWaiter = {
114
+ resolve,
115
+ timeout
116
+ };
117
+ this.startDrawLoop(false);
118
+ });
119
+ }
120
+ /** Stop compositing and release the canvas, audio, and video tracks. */
121
+ stop() {
122
+ this.finishResume("timed-out");
123
+ this.cancelDrawLoop();
124
+ this.videoTrack?.stop();
125
+ this.audioTrack?.stop();
126
+ this.composite?.getTracks().forEach((track) => track.stop());
127
+ if (this.video) this.video.srcObject = null;
128
+ this.canvas = null;
129
+ this.ctx = null;
130
+ this.video = null;
131
+ this.videoTrack = null;
132
+ this.audioTrack = null;
133
+ this.composite = null;
134
+ }
135
+ setVideoSource(stream) {
136
+ this.videoTrack = stream.getVideoTracks()[0] ?? null;
137
+ const video = this.video;
138
+ if (!video) return;
139
+ video.srcObject = new MediaStream(stream.getVideoTracks());
140
+ video.play().catch(() => {});
141
+ }
142
+ startDrawLoop(resetSourceTime = true) {
143
+ this.cancelDrawLoop();
144
+ this.lastDrawTimeMs = null;
145
+ if (resetSourceTime) this.lastVideoTimeSeconds = null;
146
+ const draw = (timeMs) => {
147
+ const elapsed = this.lastDrawTimeMs === null ? Infinity : timeMs - this.lastDrawTimeMs;
148
+ if ((this.frameIntervalMs === 0 || elapsed >= this.frameIntervalMs * FRAME_INTERVAL_TOLERANCE_RATIO) && this.drawCurrentFrame()) {
149
+ this.lastDrawTimeMs = timeMs;
150
+ this.finishResume("resumed");
151
+ }
152
+ this.scheduleNextFrame(draw);
153
+ };
154
+ this.scheduleNextFrame(draw);
155
+ }
156
+ finishResume(result) {
157
+ const waiter = this.resumeWaiter;
158
+ if (!waiter) return;
159
+ this.resumeWaiter = void 0;
160
+ clearTimeout(waiter.timeout);
161
+ if ("signal" in waiter) waiter.signal.removeEventListener("abort", waiter.onAbort);
162
+ waiter.resolve(result);
163
+ }
164
+ scheduleNextFrame(callback) {
165
+ const video = this.video;
166
+ if (video && typeof video.requestVideoFrameCallback === "function") {
167
+ this.frameRequestKind = "video";
168
+ this.frameRequestId = video.requestVideoFrameCallback(callback);
169
+ return;
170
+ }
171
+ this.frameRequestKind = "animation";
172
+ this.frameRequestId = requestAnimationFrame(callback);
173
+ }
174
+ cancelDrawLoop() {
175
+ if (this.frameRequestId === null) return;
176
+ if (this.frameRequestKind === "video" && this.video && typeof this.video.cancelVideoFrameCallback === "function") this.video.cancelVideoFrameCallback(this.frameRequestId);
177
+ else cancelAnimationFrame(this.frameRequestId);
178
+ this.frameRequestId = null;
179
+ this.frameRequestKind = null;
180
+ }
181
+ drawCurrentFrame() {
182
+ const video = this.video;
183
+ const canvas = this.canvas;
184
+ const ctx = this.ctx;
185
+ if (!video || !canvas || !ctx || video.videoWidth <= 0) return false;
186
+ if (this.lastVideoTimeSeconds === video.currentTime) return false;
187
+ const dimensions = this.getBoundedDimensions(video.videoWidth, video.videoHeight);
188
+ if (canvas.width !== dimensions.width || canvas.height !== dimensions.height) {
189
+ canvas.width = dimensions.width;
190
+ canvas.height = dimensions.height;
191
+ }
192
+ ctx.drawImage(video, 0, 0, canvas.width, canvas.height);
193
+ this.lastVideoTimeSeconds = video.currentTime;
194
+ return true;
195
+ }
196
+ getBoundedDimensions(width, height) {
197
+ const longEdge = Math.max(width, height);
198
+ const shortEdge = Math.min(width, height);
199
+ const scale = Math.min(1, MAX_COMPOSITE_LONG_EDGE / longEdge, MAX_COMPOSITE_SHORT_EDGE / shortEdge);
200
+ return {
201
+ width: Math.max(1, Math.round(width * scale)),
202
+ height: Math.max(1, Math.round(height * scale))
203
+ };
204
+ }
205
+ };
206
+ //#endregion
5
207
  //#region ../infra/src/wasm/idCaptureWasmApi.ts
6
208
  var IdCaptureWasmApi = class {
7
209
  constructor(runtime = wasmRuntime) {
@@ -273,4 +475,4 @@ const DEFAULT_ID_CAPTURE_GEOMETRY = {
273
475
  widthUp: 205
274
476
  };
275
477
  //#endregion
276
- export { DEFAULT_ID_CAPTURE_THRESHOLDS as n, IdCaptureProvider as r, DEFAULT_ID_CAPTURE_GEOMETRY as t };
478
+ export { CameraCompositor as i, DEFAULT_ID_CAPTURE_THRESHOLDS as n, IdCaptureProvider as r, DEFAULT_ID_CAPTURE_GEOMETRY as t };
@@ -1,12 +1,12 @@
1
- import { l as BrowserStorageProvider } from "./setup-ChzwUesm.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-D4Zh-sVr.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ijlbX_Wx.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { s as createActor, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-CyCdsfox.esm.js";
6
6
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
7
7
  import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-J5S1dEIf.esm.js";
8
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-CjsJa6Av.esm.js";
9
- import { m as resolveIdCaptureThresholds, p as resolveCaptureOptimizingTreatment } from "./idCaptureServices-DWQBIkDV.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-F8G8jBSq.esm.js";
9
+ import { m as resolveIdCaptureThresholds, p as resolveCaptureOptimizingTreatment } from "./idCaptureServices-B5ASsfjX.esm.js";
10
10
  //#region src/modules/id/digitalUpload/instrumentation.ts
11
11
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
12
12
  function isHoldingState(value) {
@@ -1,5 +1,5 @@
1
- import { t as ensureWasmPipelines } from "./setup-ChzwUesm.esm.js";
2
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CeYIRsY7.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-D4Zh-sVr.esm.js";
2
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DhZKhR-O.esm.js";
3
3
  import { t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
5
  import { i as isDesktop } from "./platform-DkcRc9JV.esm.js";
@@ -10,7 +10,7 @@ import { n as startRecording, r as stopRecording$1, t as createRecordingSession
10
10
  import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-q9LxdYDh.esm.js";
12
12
  import { t as MultipartRecordingService } from "./multipartRecordingService-BMuxdyLL.esm.js";
13
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-C7BSuPYv.esm.js";
13
+ import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-DgGzVUmU.esm.js";
14
14
  //#region src/internal/camera/cameraServices.ts
15
15
  function createCameraServices(camera) {
16
16
  return {
@@ -585,7 +585,7 @@ function buildResolutionFromStream(stream) {
585
585
  }
586
586
  function preloadIdRecordingProvider(config) {}
587
587
  const multipartIdSessions = /* @__PURE__ */ new WeakMap();
588
- function createMultipartSessionHandle(service, resolution, hasAudio) {
588
+ function createMultipartSessionHandle(service, compositor, resolution, hasAudio) {
589
589
  const session = {
590
590
  token: "",
591
591
  sessionId: "",
@@ -602,7 +602,10 @@ function createMultipartSessionHandle(service, resolution, hasAudio) {
602
602
  resolution,
603
603
  hasAudio
604
604
  };
605
- multipartIdSessions.set(session, service);
605
+ multipartIdSessions.set(session, {
606
+ compositor,
607
+ service
608
+ });
606
609
  return session;
607
610
  }
608
611
  async function startRecordingSession(params) {
@@ -612,8 +615,17 @@ async function startRecordingSession(params) {
612
615
  const resolution = buildResolutionFromStream(params.stream);
613
616
  if (!params.config.recording?.capability) {
614
617
  const service = new MultipartRecordingService(params.type);
615
- await service.start(params.stream);
616
- return createMultipartSessionHandle(service, resolution, hasAudio);
618
+ const recordingSource = params.stream.clone();
619
+ const compositor = new CameraCompositor({ fps: 30 });
620
+ try {
621
+ const recordingStream = compositor.start(recordingSource);
622
+ await service.start(recordingStream);
623
+ } catch (error) {
624
+ compositor.stop();
625
+ service.cleanup();
626
+ throw error;
627
+ }
628
+ return createMultipartSessionHandle(service, compositor, resolution, hasAudio);
617
629
  }
618
630
  const provider = params.config.recording.capability;
619
631
  const clonedStream = params.stream.clone();
@@ -639,10 +651,10 @@ async function startRecordingSession(params) {
639
651
  };
640
652
  }
641
653
  function stopRecording(session) {
642
- const multipartService = multipartIdSessions.get(session);
643
- if (multipartService) {
654
+ const multipartSession = multipartIdSessions.get(session);
655
+ if (multipartSession) {
644
656
  multipartIdSessions.delete(session);
645
- multipartService.stop().catch(() => {});
657
+ multipartSession.service.stop().catch(() => {}).finally(() => multipartSession.compositor.stop());
646
658
  return;
647
659
  }
648
660
  (async () => {
@@ -1,15 +1,15 @@
1
- import { l as BrowserStorageProvider } from "./setup-ChzwUesm.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-D4Zh-sVr.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { s as exposeExperimentOnce } from "./feature-management-CeYIRsY7.esm.js";
3
+ import { s as exposeExperimentOnce } from "./feature-management-DhZKhR-O.esm.js";
4
4
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
5
5
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
6
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-5Cni_vcU.esm.js";
6
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-JMWO92g9.esm.js";
7
7
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-D7jrP3Th.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-CJ_RHW0q.esm.js";
9
9
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
10
10
  import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
11
11
  import { a as isIOS, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-DkcRc9JV.esm.js";
12
- import "./session-KkxWRZkj.esm.js";
12
+ import "./session-Bm4DVQLE.esm.js";
13
13
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, t as setup } from "./xstate.esm-BuFLFuzz.esm.js";
14
14
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
15
15
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-D6phjq1-.esm.js";
@@ -22,7 +22,7 @@ import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
22
22
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
23
23
  import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BHw_SD3h.esm.js";
24
24
  import { r as flagIdManualReview, t as imageFileToDataUrl } from "./imageFile-CLaua6xO.esm.js";
25
- import { _ as getIdCameraStream, a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as OPTIMIZING_WATCHDOG_MARGIN_MS, h as CAPTURE_OPTIMIZING, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DWQBIkDV.esm.js";
25
+ import { _ as getIdCameraStream, a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, g as OPTIMIZING_WATCHDOG_MARGIN_MS, h as CAPTURE_OPTIMIZING, l as uploadIdImage, m as resolveIdCaptureThresholds, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-B5ASsfjX.esm.js";
26
26
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
27
27
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
28
28
  function isKnownFailReason(reason) {
@@ -2123,7 +2123,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
2123
2123
  });
2124
2124
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
2125
2125
  if (!input.dependencies) return;
2126
- const { loadDeepsightSession } = await import("./deepsightLoader-Bl2p2z0k.esm.js");
2126
+ const { loadDeepsightSession } = await import("./deepsightLoader-BCsoAbCL.esm.js");
2127
2127
  return loadDeepsightSession({
2128
2128
  ds: input.ds,
2129
2129
  storage: input.dependencies.storage,
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-v2TH5g7e.js";
1
+ import { c as identityReuseMachine, d as ReusableDocument, f as SubmitResponse, i as createIdentityReuseManagerFromActor, l as FetchDocumentsResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as IdentityReuseConfig } from "./identityReuseManager-BFDI7iFK.js";
2
2
  export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -108,14 +108,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
108
108
  type: "setError";
109
109
  params: NonReducibleUnknown;
110
110
  };
111
- clearError: {
112
- type: "clearError";
113
- params: NonReducibleUnknown;
114
- };
115
111
  setSelectedDocument: {
116
112
  type: "setSelectedDocument";
117
113
  params: NonReducibleUnknown;
118
114
  };
115
+ clearError: {
116
+ type: "clearError";
117
+ params: NonReducibleUnknown;
118
+ };
119
119
  }>, Values<{
120
120
  hasDocuments: {
121
121
  type: "hasDocuments";
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-ChzwUesm.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-D4Zh-sVr.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-DJ2OM9rw.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BJnylLZO.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-CSh8HjSF.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -61,14 +61,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
61
61
  type: "clearError";
62
62
  params: NonReducibleUnknown;
63
63
  };
64
- resetContext: {
65
- type: "resetContext";
66
- params: NonReducibleUnknown;
67
- };
68
64
  toggleSigned: {
69
65
  type: "toggleSigned";
70
66
  params: NonReducibleUnknown;
71
67
  };
68
+ resetContext: {
69
+ type: "resetContext";
70
+ params: NonReducibleUnknown;
71
+ };
72
72
  }>, {
73
73
  type: "canSubmit";
74
74
  params: unknown;
@@ -1,8 +1,8 @@
1
- import { t as ensureWasmPipelines } from "./setup-ChzwUesm.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-D4Zh-sVr.esm.js";
2
2
  import { i as BaseWasmProvider, l as wasmRuntime } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { r as getToken } from "./api-Bx3gKW_y.esm.js";
4
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-5Cni_vcU.esm.js";
5
- import "./sessionInitializer-D7jrP3Th.esm.js";
4
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-JMWO92g9.esm.js";
5
+ import "./sessionInitializer-CJ_RHW0q.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
7
7
  import { c as isIPhone14OrHigher, i as isDesktop } from "./platform-DkcRc9JV.esm.js";
8
8
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
@@ -516,7 +516,7 @@ async function stopRecording(session) {
516
516
  }
517
517
  }
518
518
  async function initializeDeepsightSession(options) {
519
- const { loadDeepsightSession } = await import("./deepsightLoader-Bl2p2z0k.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-BCsoAbCL.esm.js");
520
520
  return loadDeepsightSession({
521
521
  ds: options.ds,
522
522
  storage: options.storage
@@ -1,16 +1,16 @@
1
- import { l as BrowserStorageProvider } from "./setup-ChzwUesm.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-D4Zh-sVr.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
- import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-5Cni_vcU.esm.js";
5
+ import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-JMWO92g9.esm.js";
6
6
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-D7jrP3Th.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-CJ_RHW0q.esm.js";
8
8
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
9
9
  import { i as assign, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
11
11
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
12
12
  import { i as requestPermission, t as checkPermission } from "./permissionServices-J5S1dEIf.esm.js";
13
- import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-nNRpspzG.esm.js";
13
+ import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-BpdmWw3Z.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
16
16
  //#region src/modules/personhood/personhoodServices.ts
@@ -1,4 +1,4 @@
1
- import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-DdXKT459.esm.js";
1
+ import { a as NAMIRIAL_QES_CONSENT_KEYS, c as areAllConsented, o as NAMIRIAL_QES_PROVIDER_CODE, r as electronicSignatureMachine, s as QE_CONSENT_KEYS, t as createElectronicSignatureManager, u as getDefaultConsentChecks } from "./electronicSignatureManager-YTvxmh25.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,5 +1,5 @@
1
1
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
2
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-5Cni_vcU.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-JMWO92g9.esm.js";
3
3
  import { C as createEventBus } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20260902-179ad927";
2
+ const SDK_VERSION = "0.0.0-dev-20260902-6bf995eb";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,13 +1,13 @@
1
- import { l as BrowserStorageProvider } from "./setup-ChzwUesm.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-D4Zh-sVr.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-Dy8z-Ab1.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C3qJg2bv.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-xL2SFeyk.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BKkwc_5_.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-C3lAFggs.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-CSgCJoRB.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BdKKPQCf.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-CU7NYRVn.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-FWxSq5Dv.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -1,9 +1,9 @@
1
- import { l as BrowserStorageProvider } from "./setup-ChzwUesm.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-D4Zh-sVr.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-C3qJg2bv.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-CSgCJoRB.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BKkwc_5_.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-CU7NYRVn.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,7 +1,7 @@
1
1
  import { i as assign } from "./xstate.esm-BuFLFuzz.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
3
- import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-Dy8z-Ab1.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-nNRpspzG.esm.js";
3
+ import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-xL2SFeyk.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BpdmWw3Z.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C3lAFggs.esm.js";
7
7
  //#region src/modules/selfie/selfieStateMachine.ts
@@ -1,8 +1,8 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-5Cni_vcU.esm.js";
3
- import "./sessionInitializer-D7jrP3Th.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-JMWO92g9.esm.js";
3
+ import "./sessionInitializer-CJ_RHW0q.esm.js";
4
4
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-DlshI8Em.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-DhziHa4B.esm.js";
6
6
  //#region src/internal/session/sessionService.ts
7
7
  /**
8
8
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,5 +1,5 @@
1
- import { i as initializeSession } from "./sessionInitializer-D7jrP3Th.esm.js";
2
- import { t as IncodeApiError } from "./apiError-DlshI8Em.esm.js";
3
- import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-KkxWRZkj.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-CzcJAj88.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-CJ_RHW0q.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-DhziHa4B.esm.js";
3
+ import { a as refreshQrUrlUuid, i as createSession, n as QrValidationError, o as validateQrUuid, r as bootstrapSession, t as QR_VALIDATION_ERROR_CODES } from "./session-Bm4DVQLE.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-DxeTRrHM.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,8 +1,8 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-CeYIRsY7.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-DhZKhR-O.esm.js";
2
2
  import { c as setToken, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-5Cni_vcU.esm.js";
3
+ import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection } from "./trueSightService-JMWO92g9.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-Dt8RChJy.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-C5w7mfrv.esm.js";
6
6
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-DkK-f8JT.esm.js";
8
8
  import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
@@ -1,16 +1,16 @@
1
1
  import { d as deriveSiblingJsPath, f as WASM_MODEL_FILES } from "./wasmWebClient-BJCaFeBL.esm.js";
2
2
  import { c as warmupWasm, r as WasmUtilProvider, s as setWasmOnDeviceMode, t as resolveLocalStorage } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-CeYIRsY7.esm.js";
4
+ import { C as resetFeatureManagement, D as applyEnvironment, O as getEnvironment, S as optOutFeatureManagement, b as initializeFeatureManagement, c as resetResolvedExperiments, k as resetEnvironment, v as getIsFeatureManagementLocked, w as resetFeatureManagementProviderInstance } from "./feature-management-DhZKhR-O.esm.js";
5
5
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
6
6
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api } from "./api-Bx3gKW_y.esm.js";
7
- import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-5Cni_vcU.esm.js";
7
+ import { S as upgradeToWasmHttpClient$1, b as installFreshHttpClient, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as resetHttpClientState, y as getStoredHttpConfig } from "./trueSightService-JMWO92g9.esm.js";
8
8
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ijlbX_Wx.esm.js";
9
- import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-D7jrP3Th.esm.js";
9
+ import { a as resetSessionInit, d as resolveStandaloneFlowPolicy, f as setStandaloneFlowPolicy, i as initializeSession, l as registerFlowPreloader, o as setClientFingerprintEnabled, s as setClientIpLookupEnabled, u as resetStandaloneFlowPolicy, v as BrowserEnvironmentProvider } from "./sessionInitializer-CJ_RHW0q.esm.js";
10
10
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
11
11
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
12
12
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
13
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-LqlLCTH8.esm.js";
13
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-DgVmmebu.esm.js";
14
14
  //#region ../infra/src/wasm/wasmDefaults.ts
15
15
  const WASM_CDN_BASE_URL = "https://cdn.incodesmile.com/ml-wasm-kit-release";
16
16
  /** The WASM version bundled and tested with this SDK release. */
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, i as initializeWasmWebClient, o as setupWa
2
2
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { i as isApiConfigured, n as getApi, o as setClient, r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
4
  import { S as subscribeEvent, n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-Dt8RChJy.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-C5w7mfrv.esm.js";
6
6
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
7
7
  //#region ../infra/src/http/createApi.ts
8
8
  var FetchHttpError = class extends Error {
@@ -1320,7 +1320,7 @@ let cryptoProviderPromise = null;
1320
1320
  * the service's prewarm).
1321
1321
  */
1322
1322
  function loadDiagnosticsCryptoProvider() {
1323
- cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-DEumdBvM.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1323
+ cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-DwmAfiwB.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1324
1324
  return cryptoProviderPromise;
1325
1325
  }
1326
1326
  /**
@@ -1,15 +1,16 @@
1
- import { t as ensureWasmPipelines } from "./setup-ChzwUesm.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-D4Zh-sVr.esm.js";
2
2
  import { r as WasmUtilProvider } from "./safeStorage-0bZuUtSP.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as api } from "./api-Bx3gKW_y.esm.js";
5
5
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-LqlLCTH8.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-DgVmmebu.esm.js";
7
7
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
10
  import { t as MultipartRecordingService } from "./multipartRecordingService-BMuxdyLL.esm.js";
11
+ import { i as CameraCompositor } from "./idCaptureDefaults-DgGzVUmU.esm.js";
11
12
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-CpF2cBy6.esm.js";
12
- import { i as createDefaultStepDetector, n as defaultAcquireCamera, o as isConnectionError, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BoXPQtWv.esm.js";
13
+ import { a as isConnectionError, n as defaultAcquireCamera, r as createDefaultStepDetector, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-LNxKbRCG.esm.js";
13
14
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
14
15
  //#region src/modules/video-selfie/videoSelfieWasm.ts
15
16
  function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {