@incodetech/core 0.0.0-dev-20260902-10b14cca → 0.0.0-dev-20260902-b423eb4c

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 (62) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-DtFRGFsW.esm.js → BrowserDiagnosticsCryptoProvider-BNXzyiSM.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-KOB7cWEf.esm.js → apiError-qAEY_0UT.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-D57x9ATY.esm.js → authenticationManager-BkR1Wc8v.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-DiSRcFz0.esm.js → authenticationStateMachine-BESsBlPa.esm.js} +2 -2
  7. package/dist/consent.d.ts +1 -1
  8. package/dist/{consentManager-uhDPdU6i.d.ts → consentManager-DLOyIZzt.d.ts} +1 -1
  9. package/dist/{deepsightLoader-BOB2TX0m.esm.js → deepsightLoader-C60qnKDV.esm.js} +2 -2
  10. package/dist/dynamic-forms.esm.js +2 -2
  11. package/dist/{dynamicFormsManager-ByHjdYT3.esm.js → dynamicFormsManager-xLKsncJx.esm.js} +1 -1
  12. package/dist/{dynamicFormsStateMachine-BMFKYhVO.esm.js → dynamicFormsStateMachine-BBKyGlO9.esm.js} +1 -1
  13. package/dist/ekyb.esm.js +3 -3
  14. package/dist/{ekybManager-D63tugZt.esm.js → ekybManager-CQrfiwz2.esm.js} +1 -1
  15. package/dist/{ekybStateMachine-Bmb3kNkV.esm.js → ekybStateMachine-DyUoy_Nv.esm.js} +1 -1
  16. package/dist/electronic-signature.esm.js +1 -1
  17. package/dist/{electronicSignatureManager-DTwzVpwT.esm.js → electronicSignatureManager-BnIFWhzF.esm.js} +1 -1
  18. package/dist/extensibility.d.ts +5 -5
  19. package/dist/extensibility.esm.js +10 -10
  20. package/dist/{faceCaptureManagerFactory-D9RZYTJX.esm.js → faceCaptureManagerFactory-D7HtcTGD.esm.js} +1 -1
  21. package/dist/{faceCaptureSetup-CxrvWh7B.esm.js → faceCaptureSetup-D9TLE1yJ.esm.js} +1 -1
  22. package/dist/{feature-management-Dpu0bwTw.esm.js → feature-management-2KA4RUeu.esm.js} +1 -1
  23. package/dist/feature-management.esm.js +1 -1
  24. package/dist/flow.esm.js +3 -3
  25. package/dist/{flowCompletionService-jIof7Rao.esm.js → flowCompletionService-Vud0ynuS.esm.js} +1 -1
  26. package/dist/{flowServices-CaM0XYs-.esm.js → flowServices-BrtcLOkt.esm.js} +4 -4
  27. package/dist/geolocation.esm.js +2 -2
  28. package/dist/{geolocationManager-C1tGjrqF.esm.js → geolocationManager-4bHa-8xN.esm.js} +1 -1
  29. package/dist/{geolocationStateMachine-DN-C5o8H.esm.js → geolocationStateMachine-DBNY4kwN.esm.js} +1 -1
  30. package/dist/id-ocr.d.ts +1 -1
  31. package/dist/id-selfie-flow.esm.js +7 -7
  32. package/dist/id.d.ts +1 -1
  33. package/dist/id.esm.js +4 -4
  34. package/dist/{idCaptureDefaults-DmvTQn--.esm.js → idCaptureDefaults-CR4bsS2u.esm.js} +1 -1
  35. package/dist/{idCaptureManager-DWam0J9e.esm.js → idCaptureManager-BSaJdxCA.esm.js} +54 -23
  36. package/dist/{idCaptureManager-DUuhY5pI.d.ts → idCaptureManager-DFUR_tVA.d.ts} +59 -0
  37. package/dist/{idCaptureServices-VqNjDE_5.esm.js → idCaptureServices-BMr-XvbO.esm.js} +3 -3
  38. package/dist/{idCaptureStateMachine-DqaI5c-B.esm.js → idCaptureStateMachine-ZlXZAe9D.esm.js} +68 -22
  39. package/dist/{idOcrManager-BF_cXZq8.d.ts → idOcrManager-CFlDwUvN.d.ts} +1 -1
  40. package/dist/identity-reuse.d.ts +1 -1
  41. package/dist/{identityReuseManager-BFDI7iFK.d.ts → identityReuseManager-BXEBBI3N.d.ts} +1 -1
  42. package/dist/index.esm.js +1 -1
  43. package/dist/mandatory-consent.d.ts +1 -1
  44. package/dist/{mandatoryConsentManager-CSh8HjSF.d.ts → mandatoryConsentManager-eFC-htLS.d.ts} +1 -1
  45. package/dist/{onDeviceFaceResults-BTmWNXUl.esm.js → onDeviceFaceResults-QNTMlGpo.esm.js} +4 -4
  46. package/dist/personhood.esm.js +4 -4
  47. package/dist/qe-signature.esm.js +1 -1
  48. package/dist/{runChildModule-oTiWT8JP.esm.js → runChildModule-BzUUi6cN.esm.js} +1 -1
  49. package/dist/{sdkVersion-DDaq4mWu.esm.js → sdkVersion-D2Jf7StH.esm.js} +1 -1
  50. package/dist/selfie.esm.js +5 -5
  51. package/dist/{selfieManager-DVZp-yz5.esm.js → selfieManager-Dq6pbT7r.esm.js} +3 -3
  52. package/dist/{selfieStateMachine-Qf0kKZQN.esm.js → selfieStateMachine-h6BMiler.esm.js} +2 -2
  53. package/dist/{session-PlRq9-Sm.esm.js → session-ZZe8ZRQJ.esm.js} +3 -3
  54. package/dist/session.esm.js +4 -4
  55. package/dist/{sessionInitializer-CbRzX-Ez.esm.js → sessionInitializer--S-S_NBR.esm.js} +3 -3
  56. package/dist/{setup-ME2tUOgF.esm.js → setup-B7wLQFL-.esm.js} +4 -4
  57. package/dist/{trueSightService-CHMCXxqO.esm.js → trueSightService-Dc_CQnmv.esm.js} +2 -2
  58. package/dist/video-selfie.esm.js +3 -3
  59. package/dist/{videoSelfieCameraWarmer-I72q6qX3.esm.js → videoSelfieCameraWarmer-BJpZ3Hj0.esm.js} +3 -3
  60. package/dist/wasm.esm.js +1 -1
  61. package/dist/workflow.esm.js +14 -14
  62. package/package.json +1 -1
@@ -181,11 +181,58 @@ type IdCaptureChooserState = {
181
181
  status: 'chooser';
182
182
  availableDocumentTypes: IdDocumentType[];
183
183
  };
184
+ /**
185
+ * Which UI-less machine phase the collapsed `loading` status stands for. The
186
+ * status itself is intentionally coarse (one spinner for several phases), but
187
+ * some surfaces need the underlying phase — e.g. IDC-01 suppresses the spinner
188
+ * during `permissionsIdle` so the permission sheet does not flash a full-screen
189
+ * loader on its way in. Mirrors `getLoadingPhase`.
190
+ */
191
+ type IdCaptureLoadingPhase =
192
+ /** Top-level `loading`: permission check + Deepsight init in parallel. */
193
+ 'bootstrapping' |
194
+ /** `permissions.idle` — silently re-checking permission before the dialog. */
195
+ 'permissionsIdle' |
196
+ /** `capture.checkingStream` */
197
+ 'checkingStream' |
198
+ /** `capture.initializingDeepsight` */
199
+ 'initializingDeepsight' |
200
+ /** `capture.initializing` — opening the camera. */
201
+ 'initializingCamera';
184
202
  type IdCaptureLoadingState = {
185
203
  status: 'loading';
204
+ phase: IdCaptureLoadingPhase;
205
+ /** `config.showTutorial` — mirrors the `permissions` state's field. */
206
+ tutorialEnabled: boolean;
207
+ /**
208
+ * Mirrors `tutorial`/`permissions` — lets a tutorial-backed UI keep
209
+ * rendering the right document/side across the `permissionsIdle` blip
210
+ * instead of caching the last known values.
211
+ */
212
+ selectedDocumentType: IdDocumentType | undefined;
213
+ currentMode: IdCaptureMode;
186
214
  };
215
+ /**
216
+ * Which `tutorial` substate the collapsed `status: 'tutorial'` stands for.
217
+ * Mirrors `IdCaptureLoadingPhase` — a UI-facing discriminant for phases the
218
+ * coarse status collapses, not a UI concept itself. `waitingForPermission`
219
+ * and `waitingForCamera` are the symmetric pair: the user has continued and
220
+ * the tutorial is blocked on permission vs. blocked on the camera warm-up.
221
+ */
222
+ type IdCaptureTutorialPhase =
223
+ /** `tutorial.checkingPermission` — resolving permission on arrival. */
224
+ 'checkingPermission' |
225
+ /** `tutorial.ready` — idle, waiting for the user. */
226
+ 'ready' |
227
+ /** `tutorial.initializingCamera` — warming the camera behind the tutorial; the user has not continued. */
228
+ 'initializingCamera' |
229
+ /** `tutorial.waitingForPermission` — the user continued; resolving permission. */
230
+ 'waitingForPermission' |
231
+ /** `tutorial.initializingCamera` with the user's Continue recorded; blocked on the warm-up. */
232
+ 'waitingForCamera';
187
233
  type IdCaptureTutorialState = {
188
234
  status: 'tutorial';
235
+ phase: IdCaptureTutorialPhase;
189
236
  selectedDocumentType: IdDocumentType | undefined;
190
237
  currentMode: IdCaptureMode;
191
238
  };
@@ -195,6 +242,10 @@ type IdCaptureAgeVerificationState = {
195
242
  type IdCapturePermissionsState = {
196
243
  status: 'permissions';
197
244
  permissionStatus: PermissionStatus;
245
+ selectedDocumentType: IdDocumentType | undefined;
246
+ currentMode: IdCaptureMode;
247
+ /** `config.showTutorial` — whether a tutorial screen precedes this one. */
248
+ tutorialEnabled: boolean;
198
249
  };
199
250
  type IdCaptureCaptureState = {
200
251
  status: 'capture';
@@ -395,6 +446,14 @@ declare function createIdCaptureManagerFromActor(actor: AnyIdCaptureActor, visib
395
446
  load(): void;
396
447
  selectDocument(documentType: IdDocumentType): void;
397
448
  nextStep(): Promise<void>;
449
+ /**
450
+ * Requests camera (and, when deepsight is enabled, motion) permission.
451
+ * Effective in `permissions.idle`, `permissions.waitingForUser`,
452
+ * `permissions.motionOnly`, `permissions.learnMore`, `tutorial.ready`,
453
+ * `tutorial.checkingPermission`, and `tutorial.initializingCamera` (while
454
+ * the camera pre-warms it records the user's intent to continue, so the
455
+ * tutorial advances to capture as soon as the warm-up finishes).
456
+ */
398
457
  requestPermission(): void;
399
458
  goToLearnMore(): void;
400
459
  back(): void;
@@ -1,5 +1,5 @@
1
- import { t as ensureWasmPipelines } from "./setup-ME2tUOgF.esm.js";
2
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-Dpu0bwTw.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-B7wLQFL-.esm.js";
2
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-2KA4RUeu.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-DmvTQn--.esm.js";
13
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CR4bsS2u.esm.js";
14
14
  //#region src/internal/camera/cameraServices.ts
15
15
  function createCameraServices(camera) {
16
16
  return {
@@ -1,15 +1,15 @@
1
- import { l as BrowserStorageProvider } from "./setup-ME2tUOgF.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-B7wLQFL-.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { s as exposeExperimentOnce } from "./feature-management-Dpu0bwTw.esm.js";
3
+ import { s as exposeExperimentOnce } from "./feature-management-2KA4RUeu.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-CHMCXxqO.esm.js";
6
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Dc_CQnmv.esm.js";
7
7
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-CbRzX-Ez.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer--S-S_NBR.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-PlRq9-Sm.esm.js";
12
+ import "./session-ZZe8ZRQJ.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-VqNjDE_5.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-BMr-XvbO.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) {
@@ -949,6 +949,7 @@ const isPermissionDeniedErrorGuard = ({ event }) => {
949
949
  }
950
950
  return false;
951
951
  };
952
+ const isPermissionBlockedGuard = ({ context }) => context.permissionResult === "denied" || context.permissionResult === "refresh";
952
953
  const hasStreamGuard = ({ context }) => context.stream !== void 0;
953
954
  const hasInitializedCameraGuard = ({ context }) => context.stream !== void 0 && context.provider !== void 0;
954
955
  const hasAttemptsRemainingGuard = ({ context }) => context.attemptsRemaining > 0;
@@ -2122,7 +2123,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
2122
2123
  });
2123
2124
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
2124
2125
  if (!input.dependencies) return;
2125
- const { loadDeepsightSession } = await import("./deepsightLoader-BOB2TX0m.esm.js");
2126
+ const { loadDeepsightSession } = await import("./deepsightLoader-C60qnKDV.esm.js");
2126
2127
  return loadDeepsightSession({
2127
2128
  ds: input.ds,
2128
2129
  storage: input.dependencies.storage,
@@ -2909,6 +2910,7 @@ const idCaptureMachine = setup({
2909
2910
  isReadyForCapture: isReadyForCaptureGuard,
2910
2911
  needsMotionPrimeOnly: needsMotionPrimeOnlyGuard,
2911
2912
  isPermissionDeniedError: isPermissionDeniedErrorGuard,
2913
+ isPermissionBlocked: isPermissionBlockedGuard,
2912
2914
  hasStream: hasStreamGuard,
2913
2915
  hasInitializedCamera: hasInitializedCameraGuard,
2914
2916
  hasAttemptsRemaining: hasAttemptsRemainingGuard,
@@ -3199,10 +3201,16 @@ const idCaptureMachine = setup({
3199
3201
  actions: assign({ permissionResult: ({ event }) => event.output })
3200
3202
  }]
3201
3203
  },
3202
- on: { NEXT_STEP: {
3203
- target: "#idCapture.capture",
3204
- actions: "trackContinue"
3205
- } }
3204
+ on: {
3205
+ NEXT_STEP: {
3206
+ target: "#idCapture.capture",
3207
+ actions: "trackContinue"
3208
+ },
3209
+ REQUEST_PERMISSION: {
3210
+ target: "#idCapture.permissions.requesting",
3211
+ actions: "trackContinue"
3212
+ }
3213
+ }
3206
3214
  },
3207
3215
  initializingCamera: {
3208
3216
  type: "parallel",
@@ -3258,20 +3266,44 @@ const idCaptureMachine = setup({
3258
3266
  userIntent: {
3259
3267
  initial: "booting",
3260
3268
  states: {
3261
- booting: { on: { NEXT_STEP: {
3262
- target: "clicked",
3263
- actions: "trackContinue"
3264
- } } },
3269
+ booting: { on: {
3270
+ NEXT_STEP: {
3271
+ target: "clicked",
3272
+ actions: "trackContinue"
3273
+ },
3274
+ REQUEST_PERMISSION: {
3275
+ target: "clicked",
3276
+ actions: "trackContinue"
3277
+ }
3278
+ } },
3265
3279
  clicked: { type: "final" }
3266
3280
  }
3267
3281
  }
3268
3282
  },
3269
3283
  onDone: { target: "#idCapture.capture" }
3270
3284
  },
3271
- ready: { on: { NEXT_STEP: {
3272
- target: "waitingForPermission",
3273
- actions: "trackContinue"
3274
- } } },
3285
+ ready: { on: {
3286
+ NEXT_STEP: {
3287
+ target: "waitingForPermission",
3288
+ actions: "trackContinue"
3289
+ },
3290
+ REQUEST_PERMISSION: [
3291
+ {
3292
+ target: "waitingForPermission",
3293
+ guard: "isReadyForCapture",
3294
+ actions: "trackContinue"
3295
+ },
3296
+ {
3297
+ target: "#idCapture.permissions",
3298
+ guard: "isPermissionBlocked",
3299
+ actions: "trackContinue"
3300
+ },
3301
+ {
3302
+ target: "#idCapture.permissions.requesting",
3303
+ actions: "trackContinue"
3304
+ }
3305
+ ]
3306
+ } },
3275
3307
  waitingForPermission: { invoke: {
3276
3308
  id: "checkPermissionWaiting",
3277
3309
  src: "checkPermission",
@@ -3330,14 +3362,28 @@ const idCaptureMachine = setup({
3330
3362
  },
3331
3363
  on: {
3332
3364
  REQUEST_PERMISSION: "requesting",
3333
- GO_TO_LEARN_MORE: "learnMore"
3365
+ GO_TO_LEARN_MORE: "learnMore",
3366
+ BACK: {
3367
+ target: "#idCapture.tutorial.ready",
3368
+ guard: "hasShowTutorial"
3369
+ }
3334
3370
  }
3335
3371
  },
3336
3372
  waitingForUser: { on: {
3337
3373
  REQUEST_PERMISSION: "requesting",
3338
- GO_TO_LEARN_MORE: "learnMore"
3374
+ GO_TO_LEARN_MORE: "learnMore",
3375
+ BACK: {
3376
+ target: "#idCapture.tutorial.ready",
3377
+ guard: "hasShowTutorial"
3378
+ }
3379
+ } },
3380
+ motionOnly: { on: {
3381
+ REQUEST_PERMISSION: "requesting",
3382
+ BACK: {
3383
+ target: "#idCapture.tutorial.ready",
3384
+ guard: "hasShowTutorial"
3385
+ }
3339
3386
  } },
3340
- motionOnly: { on: { REQUEST_PERMISSION: "requesting" } },
3341
3387
  learnMore: { on: {
3342
3388
  BACK: "idle",
3343
3389
  REQUEST_PERMISSION: "requesting"
@@ -110,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
110
110
  type: "shouldProceedWithoutSubmitToSecondId";
111
111
  params: unknown;
112
112
  };
113
- }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
114
114
  readonly id: "idOcr";
115
115
  readonly initial: "idle";
116
116
  readonly context: ({ input }: {
@@ -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-BFDI7iFK.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-BXEBBI3N.js";
2
2
  export { type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -125,7 +125,7 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
125
125
  type: "hasSelection";
126
126
  params: unknown;
127
127
  };
128
- }>, never, "error" | "idle" | "finished" | "submitting" | "loading" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
128
+ }>, never, "error" | "idle" | "finished" | "loading" | "submitting" | "documentsFound", string, IdentityReuseInput, NonReducibleUnknown, EventObject, MetaObject, {
129
129
  readonly id: "identityReuse";
130
130
  readonly initial: "idle";
131
131
  readonly context: ({ input }: {
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-ME2tUOgF.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-B7wLQFL-.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-CSh8HjSF.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-eFC-htLS.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -72,7 +72,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
72
72
  }>, {
73
73
  type: "canSubmit";
74
74
  params: unknown;
75
- }, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
75
+ }, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
76
76
  readonly id: "mandatoryConsent";
77
77
  readonly initial: "idle";
78
78
  readonly context: ({ input }: {
@@ -1,8 +1,8 @@
1
- import { t as ensureWasmPipelines } from "./setup-ME2tUOgF.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-B7wLQFL-.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-CHMCXxqO.esm.js";
5
- import "./sessionInitializer-CbRzX-Ez.esm.js";
4
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Dc_CQnmv.esm.js";
5
+ import "./sessionInitializer--S-S_NBR.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-BOB2TX0m.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-C60qnKDV.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-ME2tUOgF.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-B7wLQFL-.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-CHMCXxqO.esm.js";
5
+ import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-Dc_CQnmv.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-CbRzX-Ez.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer--S-S_NBR.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-BTmWNXUl.esm.js";
13
+ import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-QNTMlGpo.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-DTwzVpwT.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-BnIFWhzF.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-CHMCXxqO.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Dc_CQnmv.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-10b14cca";
2
+ const SDK_VERSION = "0.0.0-dev-20260902-b423eb4c";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,13 +1,13 @@
1
- import { l as BrowserStorageProvider } from "./setup-ME2tUOgF.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-B7wLQFL-.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-CxrvWh7B.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D9RZYTJX.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-D9TLE1yJ.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D7HtcTGD.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-C3lAFggs.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-Qf0kKZQN.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DVZp-yz5.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-h6BMiler.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-Dq6pbT7r.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-ME2tUOgF.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-B7wLQFL-.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-D9RZYTJX.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-Qf0kKZQN.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D7HtcTGD.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-h6BMiler.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-CxrvWh7B.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BTmWNXUl.esm.js";
3
+ import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-D9TLE1yJ.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-QNTMlGpo.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-CHMCXxqO.esm.js";
3
- import "./sessionInitializer-CbRzX-Ez.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-Dc_CQnmv.esm.js";
3
+ import "./sessionInitializer--S-S_NBR.esm.js";
4
4
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-KOB7cWEf.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-qAEY_0UT.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-CbRzX-Ez.esm.js";
2
- import { t as IncodeApiError } from "./apiError-KOB7cWEf.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-PlRq9-Sm.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-jIof7Rao.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer--S-S_NBR.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-qAEY_0UT.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-ZZe8ZRQJ.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-Vud0ynuS.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-Dpu0bwTw.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-2KA4RUeu.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-CHMCXxqO.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-Dc_CQnmv.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-DDaq4mWu.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-D2Jf7StH.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-Dpu0bwTw.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-2KA4RUeu.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-CHMCXxqO.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-Dc_CQnmv.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-CbRzX-Ez.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--S-S_NBR.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-CaM0XYs-.esm.js";
13
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-BrtcLOkt.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-DDaq4mWu.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-D2Jf7StH.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-DtFRGFsW.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1323
+ cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-BNXzyiSM.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1324
1324
  return cryptoProviderPromise;
1325
1325
  }
1326
1326
  /**
@@ -1,15 +1,15 @@
1
- import { t as ensureWasmPipelines } from "./setup-ME2tUOgF.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-B7wLQFL-.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-CaM0XYs-.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-BrtcLOkt.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
11
  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-I72q6qX3.esm.js";
12
+ import { i as createDefaultStepDetector, n as defaultAcquireCamera, o as isConnectionError, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BJpZ3Hj0.esm.js";
13
13
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BUe2uACW.esm.js";
14
14
  //#region src/modules/video-selfie/videoSelfieWasm.ts
15
15
  function warmupVideoSelfieWasm(config, steps = resolveVideoSelfieSteps(config)) {
@@ -1,17 +1,17 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { t as api } from "./api-Bx3gKW_y.esm.js";
3
3
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
4
- import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-CaM0XYs-.esm.js";
4
+ import { l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-BrtcLOkt.esm.js";
5
5
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-_2sXMXiF.esm.js";
6
6
  import { t as checkPermission } from "./permissionServices-J5S1dEIf.esm.js";
7
- import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-BTmWNXUl.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-QNTMlGpo.esm.js";
8
8
  import { a as StreamCanvasProcessingSession } from "./recordingsRepository-CCWy13M-.esm.js";
9
9
  import { n as getBackCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
10
10
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
11
11
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
12
12
  import { a as uploadSelfie, r as processFace, t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-C3lAFggs.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
14
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DmvTQn--.esm.js";
14
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CR4bsS2u.esm.js";
15
15
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
16
16
  async function postVideoSelfieCompare(endpoint, base64Image) {
17
17
  return (await api.post(endpoint, { base64Image })).data;
package/dist/wasm.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { f as WASM_MODEL_FILES, h as WASM_PIPELINE_MODEL_NAMES, p as WASM_PIPELINE_LAZY_MODEL_NAMES } from "./wasmWebClient-BJCaFeBL.esm.js";
2
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-ME2tUOgF.esm.js";
2
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, d as buildDefaultWasmConfig, f as buildWasmConfigFromBasePath, m as resolveWasmConfig, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines, u as DEFAULT_WASM_VERSION } from "./setup-B7wLQFL-.esm.js";
3
3
  import { c as warmupWasm } from "./safeStorage-0bZuUtSP.esm.js";
4
4
  //#region src/defineWasm.ts
5
5
  function requiredModels(pipelines) {