@incodetech/core 0.0.0-dev-20260730-b6f75b5c → 0.0.0-dev-20260730-736ce582

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 (72) hide show
  1. package/LICENSE +15 -0
  2. package/dist/{BrowserStorageProvider-P6aUarE9.esm.js → BrowserStorageProvider-k-FDkC4W.esm.js} +21 -8
  3. package/dist/{BrowserVisibilityObserverProvider-sJclps4C.esm.js → BrowserVisibilityObserverProvider-BX1BiLDK.esm.js} +1 -7
  4. package/dist/{MotionSensorProvider-DYvM90IX.esm.js → MotionSensorProvider-DGiV77J_.esm.js} +13 -9
  5. package/dist/ae-signature.esm.js +1 -1
  6. package/dist/{apiError-CmiWmV4w.esm.js → apiError-B_0_EzO3.esm.js} +1 -1
  7. package/dist/authentication.esm.js +2 -2
  8. package/dist/{authenticationManager-DayOeBDg.esm.js → authenticationManager-6yroYg0F.esm.js} +4 -4
  9. package/dist/{authenticationStateMachine-DBHQGZBL.esm.js → authenticationStateMachine-CFq2MNDs.esm.js} +2 -2
  10. package/dist/camera.esm.js +1 -1
  11. package/dist/consent.d.ts +1 -1
  12. package/dist/{consentManager-3Pbtj-RV.d.ts → consentManager-uhDPdU6i.d.ts} +4 -4
  13. package/dist/{deepsightLoader-SsO-P01I.esm.js → deepsightLoader-qP-QfKV2.esm.js} +7 -11
  14. package/dist/document-capture.d.ts +1 -1
  15. package/dist/document-capture.esm.js +2 -2
  16. package/dist/{documentCaptureManager-DW9gy7WA.esm.js → documentCaptureManager-5shMxTaf.esm.js} +1 -1
  17. package/dist/{documentCaptureManager-pEqMY_Oo.d.ts → documentCaptureManager-trL8jFh6.d.ts} +1 -1
  18. package/dist/{documentCaptureStateMachine-D4VxzLoU.esm.js → documentCaptureStateMachine-LFVoDSmH.esm.js} +2 -2
  19. package/dist/dynamic-forms.esm.js +2 -2
  20. package/dist/{dynamicFormsManager-ByMMbwY6.esm.js → dynamicFormsManager-DLA5Tiwm.esm.js} +1 -1
  21. package/dist/{dynamicFormsStateMachine-ZEaJxpRV.esm.js → dynamicFormsStateMachine-C_VgTw7Q.esm.js} +1 -1
  22. package/dist/ekyb.esm.js +3 -3
  23. package/dist/{ekybManager-BPjkXLyj.esm.js → ekybManager-CdKKow2d.esm.js} +1 -1
  24. package/dist/{ekybStateMachine-N7MfpX6s.esm.js → ekybStateMachine-Bxy2xGs-.esm.js} +1 -1
  25. package/dist/electronic-signature.esm.js +1 -1
  26. package/dist/{electronicSignatureManager-QL8l86Ux.esm.js → electronicSignatureManager-DaIkBEGU.esm.js} +1 -1
  27. package/dist/extensibility.d.ts +11 -7
  28. package/dist/extensibility.esm.js +11 -11
  29. package/dist/{faceCaptureManagerFactory-BE0l8YFg.esm.js → faceCaptureManagerFactory-FWAbakgf.esm.js} +4 -3
  30. package/dist/{faceCaptureSetup-DBG0gDpN.esm.js → faceCaptureSetup-B5NQz4rP.esm.js} +4 -4
  31. package/dist/flow.esm.js +19 -6
  32. package/dist/{flowCompletionService-Dy0oAjRD.esm.js → flowCompletionService-BlbJd0p_.esm.js} +1 -1
  33. package/dist/{flowServices-biEHiMU-.esm.js → flowServices-CPqzhq7k.esm.js} +3 -3
  34. package/dist/geolocation.esm.js +2 -2
  35. package/dist/{geolocationManager-CIhIY_bC.esm.js → geolocationManager-0Nlh4v3P.esm.js} +1 -1
  36. package/dist/{geolocationStateMachine-Cq2zOQw_.esm.js → geolocationStateMachine-BnCvmNA0.esm.js} +1 -1
  37. package/dist/id-selfie-flow.esm.js +8 -8
  38. package/dist/id.esm.js +4 -4
  39. package/dist/{idCaptureDefaults-BDS43fFL.esm.js → idCaptureDefaults-DrQe0hWr.esm.js} +2 -2
  40. package/dist/{idCaptureManager-KvIzfVrS.esm.js → idCaptureManager-zqT1SpiL.esm.js} +5 -4
  41. package/dist/{idCaptureServices-BPeOtFwF.esm.js → idCaptureServices-DM3R1Go6.esm.js} +3 -3
  42. package/dist/{idCaptureStateMachine-B17h1-g_.esm.js → idCaptureStateMachine-BWPpgMYZ.esm.js} +10 -10
  43. package/dist/index.esm.js +1 -1
  44. package/dist/mandatory-consent.d.ts +1 -1
  45. package/dist/{mandatoryConsentManager-DyPzUmsZ.d.ts → mandatoryConsentManager-B29kR0XA.d.ts} +4 -4
  46. package/dist/{onDeviceFaceResults-BouICnNz.esm.js → onDeviceFaceResults-nTfxNMi0.esm.js} +4 -4
  47. package/dist/{permissionGuards-D0cdQjk6.esm.js → permissionGuards-KNkc71eN.esm.js} +1 -1
  48. package/dist/{permissionServices-GFikEK6S.esm.js → permissionServices-3UAjhmjw.esm.js} +2 -2
  49. package/dist/personhood.d.ts +10 -0
  50. package/dist/personhood.esm.js +15 -9
  51. package/dist/qe-signature.esm.js +1 -1
  52. package/dist/{recordingService-pbFHSzVH.esm.js → recordingService-DveFYqw-.esm.js} +1 -1
  53. package/dist/{runChildModule-D0nIFGVb.esm.js → runChildModule-D4abJYf4.esm.js} +1 -1
  54. package/dist/{WasmUtilProvider-D13sxEmA.esm.js → safeStorage-Ep56I-f_.esm.js} +43 -5
  55. package/dist/selfie.esm.js +6 -6
  56. package/dist/{selfieManager-DKb7jnVc.esm.js → selfieManager-DCkM0ke3.esm.js} +4 -4
  57. package/dist/{selfieStateMachine-CoYvYf6z.esm.js → selfieStateMachine-DPZEiQ1u.esm.js} +2 -2
  58. package/dist/{session-BbNVo2A3.esm.js → session-C6tzttgZ.esm.js} +4 -4
  59. package/dist/session.esm.js +4 -4
  60. package/dist/{sessionInitializer-BhOw69Ff.esm.js → sessionInitializer-Ct7kxkvH.esm.js} +16 -3
  61. package/dist/{setup-CKyz-AnP.esm.js → setup-ChdRXKRI.esm.js} +7 -7
  62. package/dist/trueSight-CTJr7npu.esm.js +1 -0
  63. package/dist/{trueSightService-CNe190ne.esm.js → trueSightService-Bx5X8T-y.esm.js} +1 -1
  64. package/dist/video-selfie.esm.js +4 -4
  65. package/dist/{videoSelfieCameraWarmer-BJjeeJJf.esm.js → videoSelfieCameraWarmer-BKR8mkxq.esm.js} +4 -4
  66. package/dist/wasm.d.ts +1 -1
  67. package/dist/wasm.esm.js +3 -3
  68. package/dist/{wasmDefaults-DJiEvV7f.esm.js → wasmDefaults-DTUrftxR.esm.js} +2 -2
  69. package/dist/wasmDsFlagSync-BqUCwLY8.esm.js +12 -0
  70. package/dist/workflow.esm.js +15 -15
  71. package/package.json +3 -2
  72. package/dist/trueSight-_gHgFjfa.esm.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BhOw69Ff.esm.js";
3
+ import { c as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-Ct7kxkvH.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import { r as toIncodeApiError } from "./apiError-CmiWmV4w.esm.js";
6
- import "./session-BbNVo2A3.esm.js";
5
+ import { r as toIncodeApiError } from "./apiError-B_0_EzO3.esm.js";
6
+ import "./session-C6tzttgZ.esm.js";
7
7
  import { i as toEkycConfig } from "./ekycUtils-Dew1rBG0.esm.js";
8
8
  //#region src/modules/flow/dashboardConfig.ts
9
9
  function isPlainObject(value) {
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-CIhIY_bC.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-Cq2zOQw_.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-0Nlh4v3P.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-BnCvmNA0.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -1,6 +1,6 @@
1
1
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
2
2
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
3
- import { t as geolocationMachine } from "./geolocationStateMachine-Cq2zOQw_.esm.js";
3
+ import { t as geolocationMachine } from "./geolocationStateMachine-BnCvmNA0.esm.js";
4
4
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
5
5
  var BrowserGeolocationProvider = class {
6
6
  getCurrentPosition() {
@@ -1,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { r as isIOS, t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
4
- import { n as isConnectivityError } from "./apiError-CmiWmV4w.esm.js";
4
+ import { n as isConnectivityError } from "./apiError-B_0_EzO3.esm.js";
5
5
  import { r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
7
  //#region src/modules/geolocation/geolocationServices.ts
@@ -1,17 +1,17 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
2
- import { t as ensureWasmPipelines } from "./setup-CKyz-AnP.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
+ import { t as ensureWasmPipelines } from "./setup-ChdRXKRI.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-biEHiMU-.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-CPqzhq7k.esm.js";
5
5
  import { c as createManager, n as sendTo, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
7
- import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-BouICnNz.esm.js";
7
+ import { _ as StreamCanvasProcessingSession, a as encryptSelfieImage, l as startDetection, v as FaceDetectionProvider } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
9
  import { i as uploadSelfie, r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
10
10
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
11
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BDS43fFL.esm.js";
12
- import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-BPeOtFwF.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-Dy0oAjRD.esm.js";
14
- import { a as delay, n as defaultAcquireCamera, o as isSelfieValidationError, r as CameraCompositor, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BJjeeJJf.esm.js";
11
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-DrQe0hWr.esm.js";
12
+ import { a as processId, d as validateUploadResponse, f as ID_ERROR_CODES, l as uploadIdImage } from "./idCaptureServices-DM3R1Go6.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-BlbJd0p_.esm.js";
14
+ import { a as delay, n as defaultAcquireCamera, o as isSelfieValidationError, r as CameraCompositor, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-BKR8mkxq.esm.js";
15
15
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
16
16
  /** Default autocapture window for the selfie step. */
17
17
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
1
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
2
2
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
3
3
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
5
- import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-B17h1-g_.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-KvIzfVrS.esm.js";
7
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-BPeOtFwF.esm.js";
5
+ import { a as MANUAL_UPLOAD_MAX_RETRIES, i as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, r as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine } from "./idCaptureStateMachine-BWPpgMYZ.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-zqT1SpiL.esm.js";
7
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, n as barcodeToBase64, o as startRecordingSession, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DM3R1Go6.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
9
9
  //#region src/modules/id/idCaptureOnlyStateMachine.ts
10
10
  function buildSubImage(canvas) {
@@ -1,5 +1,5 @@
1
- import { i as getBarcodeEnhanceModelUrl } from "./wasmDefaults-DJiEvV7f.esm.js";
2
- import { n as BaseWasmProvider, o as mlWasmJSApi_default, r as getResolvedModelsBasePath } from "./WasmUtilProvider-D13sxEmA.esm.js";
1
+ import { i as getBarcodeEnhanceModelUrl } from "./wasmDefaults-DTUrftxR.esm.js";
2
+ import { a as getResolvedModelsBasePath, c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
3
3
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
4
4
  //#region ../infra/src/providers/wasm/IdCaptureProvider.ts
5
5
  var IdCaptureProvider = class extends BaseWasmProvider {
@@ -1,10 +1,11 @@
1
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
1
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-ethtfu2b.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { c as createManager, o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { n as setWasmDsFlagSync, t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-sJclps4C.esm.js";
6
- import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-GFikEK6S.esm.js";
7
- import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-B17h1-g_.esm.js";
5
+ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-BqUCwLY8.esm.js";
6
+ import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BX1BiLDK.esm.js";
7
+ import { o as resetWasmMotionPrimedForModule, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-3UAjhmjw.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-BWPpgMYZ.esm.js";
8
9
  //#region src/modules/id/digitalUpload/instrumentation.ts
9
10
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
10
11
  function isHoldingState(value) {
@@ -1,11 +1,11 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
3
3
  import { n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
4
- import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-BouICnNz.esm.js";
4
+ import { h as stopRecording$1, m as startRecording, p as createRecordingSession } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
5
5
  import { n as getBackCameraStream } from "./backCameraStream-BqiXcU28.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-BGmoQmjj.esm.js";
7
- import { n as preloadOpenViduProvider } from "./recordingService-pbFHSzVH.esm.js";
8
- import { r as IdCaptureProvider } from "./idCaptureDefaults-BDS43fFL.esm.js";
7
+ import { n as preloadOpenViduProvider } from "./recordingService-DveFYqw-.esm.js";
8
+ import { r as IdCaptureProvider } from "./idCaptureDefaults-DrQe0hWr.esm.js";
9
9
  //#region src/modules/id/idCameraStream.ts
10
10
  async function getIdCameraStream(deviceId) {
11
11
  return getBackCameraStream(deviceId);
@@ -1,25 +1,25 @@
1
1
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
2
2
  import { n as revokeObjectURL } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
3
3
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
4
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CNe190ne.esm.js";
5
- import { t as getDisableIpify } from "./sessionInitializer-BhOw69Ff.esm.js";
6
- import "./trueSight-_gHgFjfa.esm.js";
4
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Bx5X8T-y.esm.js";
5
+ import { t as getDisableIpify } from "./sessionInitializer-Ct7kxkvH.esm.js";
6
+ import "./trueSight-CTJr7npu.esm.js";
7
7
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
8
8
  import { t as isAndroid } from "./platform-Cd_yWGNG.esm.js";
9
- import "./session-BbNVo2A3.esm.js";
9
+ import "./session-C6tzttgZ.esm.js";
10
10
  import { a as and, n as sendTo, r as assign, s as not, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
11
11
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
12
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
13
- import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-BouICnNz.esm.js";
12
+ import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
13
+ import { _ as StreamCanvasProcessingSession } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
14
14
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
15
15
  import { t as IncodeCanvas } from "./canvas-E1zGkel4.esm.js";
16
16
  import { t as getBrowser } from "./getBrowser-DNrQeL4T.esm.js";
17
17
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
18
18
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
19
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-D0cdQjk6.esm.js";
19
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-KNkc71eN.esm.js";
20
20
  import { n as flagIdManualReview } from "./manualReviewService-D4IkipnN.esm.js";
21
- import { n as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-BDS43fFL.esm.js";
22
- import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, o as startRecordingSession, p as getIdCameraStream, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-BPeOtFwF.esm.js";
21
+ import { n as DEFAULT_ID_CAPTURE_THRESHOLDS } from "./idCaptureDefaults-DrQe0hWr.esm.js";
22
+ import { a as processId, c as stopStream, d as validateUploadResponse, f as ID_ERROR_CODES, i as preloadIdRecordingProvider, l as uploadIdImage, o as startRecordingSession, p as getIdCameraStream, r as initializeIdCapture, s as stopRecording, t as addBarcode, u as uploadManualIdFile } from "./idCaptureServices-DM3R1Go6.esm.js";
23
23
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
24
24
  const TERMINAL_FAIL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
25
25
  function isKnownFailReason(reason) {
@@ -1316,7 +1316,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
1316
1316
  });
1317
1317
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
1318
1318
  if (!input.dependencies) return;
1319
- const { loadDeepsightSession } = await import("./deepsightLoader-SsO-P01I.esm.js");
1319
+ const { loadDeepsightSession } = await import("./deepsightLoader-qP-QfKV2.esm.js");
1320
1320
  return loadDeepsightSession({
1321
1321
  ds: input.ds,
1322
1322
  storage: input.dependencies.storage,
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, o as setup, r as isConfigured } from "./setup-CKyz-AnP.esm.js";
1
+ import { i as reset, o as setup, r as isConfigured } from "./setup-ChdRXKRI.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-BX_XkMsQ2.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-DyPzUmsZ.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-B29kR0XA.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 { n as BaseWasmProvider, o as mlWasmJSApi_default } from "./WasmUtilProvider-D13sxEmA.esm.js";
1
+ import { c as mlWasmJSApi_default, i as BaseWasmProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
2
  import { r as getToken, t as api } from "./api-Bx3gKW_y.esm.js";
3
- import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-CNe190ne.esm.js";
3
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Bx5X8T-y.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-_gHgFjfa.esm.js";
5
+ import "./trueSight-CTJr7npu.esm.js";
6
6
  import { t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
7
7
  import { a as isIPhone14OrHigher, n as isDesktop } from "./platform-Cd_yWGNG.esm.js";
8
8
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
@@ -521,7 +521,7 @@ async function stopRecording(session) {
521
521
  }
522
522
  }
523
523
  async function initializeDeepsightSession(options) {
524
- const { loadDeepsightSession } = await import("./deepsightLoader-SsO-P01I.esm.js");
524
+ const { loadDeepsightSession } = await import("./deepsightLoader-qP-QfKV2.esm.js");
525
525
  return loadDeepsightSession({
526
526
  ds: options.ds,
527
527
  storage: options.storage
@@ -1,4 +1,4 @@
1
- import { a as isWasmMotionPrimedForModule } from "./permissionServices-GFikEK6S.esm.js";
1
+ import { a as isWasmMotionPrimedForModule } from "./permissionServices-3UAjhmjw.esm.js";
2
2
  //#region src/internal/permissions/permissionGuards.ts
3
3
  function resolveStoredPermissionResult(fromEvent, fromContext) {
4
4
  if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
@@ -1,5 +1,5 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
2
- import { t as MotionSensorProvider } from "./MotionSensorProvider-DYvM90IX.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-DGiV77J_.esm.js";
3
3
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
4
4
  //#region ../infra/src/media/permissions.ts
5
5
  async function queryPermission(name) {
@@ -230,6 +230,16 @@ type PersonhoodConfig = {
230
230
  * Default: `false`.
231
231
  */
232
232
  autoComplete?: boolean;
233
+ /**
234
+ * Enables Deepsight (injection-attack detection) for the session. The flag is
235
+ * handed to the WASM utility API, which latches it on: once any call in the
236
+ * session sees `true` the IAD challenges keep running. Leaving it unset (or
237
+ * `false`) means the challenges are skipped for the whole session, so never
238
+ * hardcode `false` here on a Deepsight-enabled organization.
239
+ *
240
+ * Default: `false`.
241
+ */
242
+ ds?: boolean;
233
243
  };
234
244
  type PersonhoodDependencies = {
235
245
  storage: IStorageCapability;
@@ -1,16 +1,16 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
2
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.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 { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-CNe190ne.esm.js";
5
+ import { b as getStoredHttpConfig, w as createApi$1, y as randomUUID } from "./trueSightService-Bx5X8T-y.esm.js";
6
6
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
7
- import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-BhOw69Ff.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-Ct7kxkvH.esm.js";
8
8
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
9
9
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
10
10
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
11
- import { i as requestPermission, t as checkPermission } from "./permissionServices-GFikEK6S.esm.js";
11
+ import { i as requestPermission, t as checkPermission } from "./permissionServices-3UAjhmjw.esm.js";
12
12
  import { a as stopCameraStream, r as requestCameraAccess } from "./camera-BmFEyPP_.esm.js";
13
- import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-BouICnNz.esm.js";
13
+ import { f as stopStream, l as startDetection, s as initializeDeepsightSession, v as FaceDetectionProvider } from "./onDeviceFaceResults-nTfxNMi0.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
@@ -50,7 +50,7 @@ const PERSONHOOD_CAMERA_CONSTRAINTS = {
50
50
  async function initializePersonhoodDeepsight(params) {
51
51
  return initializeDeepsightSession({
52
52
  storage: params.storage,
53
- ds: false
53
+ ds: params.ds
54
54
  });
55
55
  }
56
56
  /**
@@ -768,7 +768,10 @@ const personhoodMachine = setup({
768
768
  return initializePersonhoodCamera({ deepsightService: input.deepsightService });
769
769
  }),
770
770
  initializeDeepsight: fromPromise(async ({ input }) => {
771
- return initializePersonhoodDeepsight({ storage: input.dependencies.storage });
771
+ return initializePersonhoodDeepsight({
772
+ storage: input.dependencies.storage,
773
+ ds: input.ds
774
+ });
772
775
  }),
773
776
  collectSignals: fromPromise(async () => {
774
777
  return collectDeviceBehavioralSignals();
@@ -1070,7 +1073,10 @@ const personhoodMachine = setup({
1070
1073
  running: { invoke: {
1071
1074
  id: "initializeDeepsight",
1072
1075
  src: "initializeDeepsight",
1073
- input: ({ context }) => ({ dependencies: context.dependencies }),
1076
+ input: ({ context }) => ({
1077
+ dependencies: context.dependencies,
1078
+ ds: context.config.ds
1079
+ }),
1074
1080
  onDone: {
1075
1081
  target: "done",
1076
1082
  actions: "setDeepsightServiceFromEvent"
@@ -1,4 +1,4 @@
1
- import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-QL8l86Ux.esm.js";
1
+ import { a as areAllConsented, i as QE_CONSENT_KEYS, n as electronicSignatureMachine, s as getDefaultConsentChecks, t as createElectronicSignatureManager } from "./electronicSignatureManager-DaIkBEGU.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 isAndroid } from "./platform-Cd_yWGNG.esm.js";
2
- import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-BouICnNz.esm.js";
2
+ import { d as stopRecording, g as uploadDeepsightVideo, u as startRecordingSession } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
3
3
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-CUsftWlH.esm.js";
4
4
  //#region ../infra/src/media/VideoTrimmer.ts
5
5
  async function getDurationBySeek(videoBlob) {
@@ -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-CNe190ne.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Bx5X8T-y.esm.js";
3
3
  import { C as createEventBus } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
@@ -16,6 +16,7 @@ var mlWasmJSApi_default = class MlWasmJSApi {
16
16
  this.isInitialized_ = false;
17
17
  this.inspectorOpened_ = false;
18
18
  this.onDeviceMode_ = false;
19
+ this.dsEnabled_ = false;
19
20
  this.wasmCallSemaphore = new SemaphoreProvider();
20
21
  this.Module = null;
21
22
  }
@@ -363,6 +364,9 @@ var mlWasmJSApi_default = class MlWasmJSApi {
363
364
  this.onDeviceMode_ = enabled;
364
365
  if (this.utilityApi != null) this.utilityApi.setOnDeviceMode(enabled);
365
366
  }
367
+ setDsEnabled(enabled) {
368
+ this.dsEnabled_ = enabled;
369
+ }
366
370
  getCheck() {
367
371
  this.checkWasmInitialization("Unable to get check, cpp API hasn't been initialized");
368
372
  return this.utilityApi.getCheck();
@@ -374,19 +378,19 @@ var mlWasmJSApi_default = class MlWasmJSApi {
374
378
  }
375
379
  async prc() {
376
380
  this.checkWasmInitialization("Unable to prc, cpp API hasn't been initialized");
377
- await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.prc(false), true);
381
+ await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.prc(this.dsEnabled_, false), true);
378
382
  }
379
383
  async poc(output) {
380
384
  this.checkWasmInitialization("Unable to poc, cpp API hasn't been initialized");
381
- await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.poc(output), true);
385
+ await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.poc(this.dsEnabled_, output), true);
382
386
  }
383
387
  async rsp() {
384
388
  this.checkWasmInitialization("Unable to rsp, cpp API hasn't been initialized");
385
- await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.rsp(), true);
389
+ await wasmCallWrapper(this.wasmCallSemaphore, () => this.utilityApi.rsp(this.dsEnabled_), true);
386
390
  }
387
391
  ssl() {
388
392
  this.checkWasmInitialization("Unable to ssl, cpp API hasn't been initialized");
389
- this.utilityApi.ssl();
393
+ this.utilityApi.ssl(this.dsEnabled_);
390
394
  }
391
395
  stl() {
392
396
  this.checkWasmInitialization("Unable to stl, cpp API hasn't been initialized");
@@ -941,4 +945,38 @@ var WasmUtilProvider = class WasmUtilProvider extends BaseWasmProvider {
941
945
  }
942
946
  };
943
947
  //#endregion
944
- export { warmupWasm as a, setWasmOnDeviceMode as i, BaseWasmProvider as n, mlWasmJSApi_default as o, getResolvedModelsBasePath as r, WasmUtilProvider as t };
948
+ //#region ../infra/src/storage/safeStorage.ts
949
+ /**
950
+ * Storage resolvers that tolerate hosts which make Web Storage unreachable.
951
+ *
952
+ * Two hostile shapes occur in the field, and they fail differently:
953
+ *
954
+ * 1. **Deleted bare global** — a page mitigates self-XSS with
955
+ * `delete window.localStorage` and keeps a module-private reference. Since
956
+ * `window` *is* the global object, the identifier stops resolving: a bare
957
+ * read throws `ReferenceError`. `typeof` is the only safe probe, because it
958
+ * is the one operator that tolerates an unresolvable identifier.
959
+ * 2. **Blocked storage** — a webview or a cross-origin/partitioned context
960
+ * makes the accessor itself throw (`SecurityError`). Here `typeof` is *not*
961
+ * enough: it invokes the getter, so the throw escapes the guard.
962
+ *
963
+ * Handling only one shape leaves the other live, so always go through these
964
+ * resolvers instead of touching the globals directly. A `null` return means
965
+ * "no storage in this host" — callers degrade, they do not throw.
966
+ */
967
+ function resolveLocalStorage() {
968
+ try {
969
+ return typeof localStorage === "undefined" ? null : localStorage;
970
+ } catch {
971
+ return null;
972
+ }
973
+ }
974
+ function resolveSessionStorage() {
975
+ try {
976
+ return typeof sessionStorage === "undefined" ? null : sessionStorage;
977
+ } catch {
978
+ return null;
979
+ }
980
+ }
981
+ //#endregion
982
+ export { getResolvedModelsBasePath as a, mlWasmJSApi_default as c, BaseWasmProvider as i, resolveSessionStorage as n, setWasmOnDeviceMode as o, WasmUtilProvider as r, warmupWasm as s, resolveLocalStorage as t };
@@ -1,13 +1,13 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
2
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor, r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
6
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DBG0gDpN.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BE0l8YFg.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-B5NQz4rP.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-FWAbakgf.esm.js";
8
8
  import { r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-CoYvYf6z.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DKb7jnVc.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-DPZEiQ1u.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-DCkM0ke3.esm.js";
11
11
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-DVtdZdpI.esm.js";
12
12
  //#region src/modules/selfie/selfieCaptureOnlyStateMachine.ts
13
13
  /**
@@ -1,9 +1,9 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
2
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
3
3
  import { n as eventModuleNames } from "./events-ethtfu2b.esm.js";
4
4
  import { o as createActor } from "./xstate.esm-Cf4e0Cfd.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BE0l8YFg.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-CoYvYf6z.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-FWAbakgf.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-DPZEiQ1u.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 { r as assign } from "./xstate.esm-Cf4e0Cfd.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-CtI5S0f4.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-DBG0gDpN.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-BouICnNz.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-B5NQz4rP.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-nTfxNMi0.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  import { i as uploadSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-DggLa9pg.esm.js";
7
7
  /**
@@ -1,9 +1,9 @@
1
1
  import { n as getApi } from "./api-Bx3gKW_y.esm.js";
2
- import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-CNe190ne.esm.js";
3
- import "./sessionInitializer-BhOw69Ff.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-Bx5X8T-y.esm.js";
3
+ import "./sessionInitializer-Ct7kxkvH.esm.js";
4
4
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
5
- import "./trueSight-_gHgFjfa.esm.js";
6
- import { r as toIncodeApiError } from "./apiError-CmiWmV4w.esm.js";
5
+ import "./trueSight-CTJr7npu.esm.js";
6
+ import { r as toIncodeApiError } from "./apiError-B_0_EzO3.esm.js";
7
7
  //#region src/internal/session/sessionService.ts
8
8
  /**
9
9
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,5 +1,5 @@
1
- import { i as initializeSession } from "./sessionInitializer-BhOw69Ff.esm.js";
2
- import { t as IncodeApiError } from "./apiError-CmiWmV4w.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-BbNVo2A3.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-Dy0oAjRD.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-Ct7kxkvH.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-B_0_EzO3.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-C6tzttgZ.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-BlbJd0p_.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,9 +1,9 @@
1
1
  import { _ as updateFeatureManagementUser } from "./feature-management-CFRmD8Nr.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, v as SDK_VERSION } from "./trueSightService-CNe190ne.esm.js";
3
+ import { _ as noteTokenActivated, d as fetchFeatureConfig, f as isFeatureEnabled, l as trueSightLog, m as noteEnvironment, p as resetFeatureConfigCache, s as startTrueSightCollection, v as SDK_VERSION } from "./trueSightService-Bx5X8T-y.esm.js";
4
4
  import { v as addEvent, y as getAnalyticsBatcher } from "./events-ethtfu2b.esm.js";
5
5
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
6
- import "./trueSight-_gHgFjfa.esm.js";
6
+ import "./trueSight-CTJr7npu.esm.js";
7
7
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-B0nFKawG.esm.js";
8
8
  import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
9
9
  import { r as isIOS } from "./platform-Cd_yWGNG.esm.js";
@@ -1462,8 +1462,21 @@ const THUMBMARK_ALGORITHM = {
1462
1462
  algorithmName: "thumbmarkjs",
1463
1463
  algorithmVersion: "1.6.4"
1464
1464
  };
1465
+ /**
1466
+ * `logging` must stay disabled. With it on (the upstream default) `getThumbmark()`
1467
+ * evaluates a bare, unguarded storage read:
1468
+ *
1469
+ * options.logging && !sessionStorage.getItem("_tmjs_l") && Math.random() < 1e-4
1470
+ *
1471
+ * Hosts that delete the bare global as a self-XSS mitigation (`delete
1472
+ * window.sessionStorage`) make that a `ReferenceError`, which would cost us the
1473
+ * device fingerprint. `logging: false` short-circuits the expression before the
1474
+ * read. It also stops upstream's 1-in-10 000 telemetry POST to
1475
+ * api.thumbmarkjs.com. Re-check this when bumping the dependency.
1476
+ */
1477
+ const THUMBMARK_OPTIONS = { logging: false };
1465
1478
  async function getThumbmarkId() {
1466
- return (await new se().get()).thumbmark;
1479
+ return (await new se(THUMBMARK_OPTIONS).get()).thumbmark;
1467
1480
  }
1468
1481
  //#endregion
1469
1482
  //#region ../infra/src/providers/browser/FingerprintProvider.ts
@@ -1,18 +1,18 @@
1
- import { a as resolveWasmConfig } from "./wasmDefaults-DJiEvV7f.esm.js";
2
- import { a as warmupWasm, i as setWasmOnDeviceMode, t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
3
- import { t as BrowserStorageProvider } from "./BrowserStorageProvider-P6aUarE9.esm.js";
1
+ import { a as resolveWasmConfig } from "./wasmDefaults-DTUrftxR.esm.js";
2
+ import { o as setWasmOnDeviceMode, r as WasmUtilProvider, s as warmupWasm } from "./safeStorage-Ep56I-f_.esm.js";
3
+ import { t as BrowserStorageProvider } from "./BrowserStorageProvider-k-FDkC4W.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
5
  import { b as resetEnvironment, d as initializeFeatureManagement, h as resetFeatureManagementProviderInstance, l as getIsFeatureManagementLocked, m as resetFeatureManagement, p as optOutFeatureManagement, v as applyEnvironment, y as getEnvironment } from "./feature-management-CFRmD8Nr.esm.js";
6
6
  import { t as getTimestamp } from "./IBrowserEnvironmentCapability-DEaRRk-R.esm.js";
7
7
  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";
8
- import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-CNe190ne.esm.js";
8
+ import { C as upgradeToWasmHttpClient$1, S as resetHttpClientState, b as getStoredHttpConfig, g as noteTestingSignals, l as trueSightLog, n as initializeTrueSightDiagnostics, o as resetTrueSight, t as finalizeTrueSight, u as categoryForEndpoint, x as installFreshHttpClient } from "./trueSightService-Bx5X8T-y.esm.js";
9
9
  import { b as resetAnalyticsBatcher, c as resetExperimentAssignments, x as setAnalyticsBatcher, y as getAnalyticsBatcher } from "./events-ethtfu2b.esm.js";
10
- 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-BhOw69Ff.esm.js";
10
+ 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-Ct7kxkvH.esm.js";
11
11
  import { t as endpoints } from "./endpoints-CCzL3XD_.esm.js";
12
- import "./trueSight-_gHgFjfa.esm.js";
12
+ import "./trueSight-CTJr7npu.esm.js";
13
13
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-B0nFKawG.esm.js";
14
14
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-4RsGrIt6.esm.js";
15
- import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-biEHiMU-.esm.js";
15
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-CPqzhq7k.esm.js";
16
16
  //#region ../infra/src/providers/browser/BrowserPageLifecycleProvider.ts
17
17
  var BrowserPageLifecycleProvider = class {
18
18
  sendBeacon(url, body, contentType = "application/json") {
@@ -0,0 +1 @@
1
+ import "./trueSightService-Bx5X8T-y.esm.js";
@@ -724,7 +724,7 @@ function epochMsToIsoString(epochMs) {
724
724
  }
725
725
  //#endregion
726
726
  //#region src/internal/version/sdkVersion.ts
727
- const SDK_VERSION = "0.0.0-dev-20260730-b6f75b5c";
727
+ const SDK_VERSION = "0.0.0-dev-20260730-736ce582";
728
728
  //#endregion
729
729
  //#region src/internal/trueSight/recordBuilder.ts
730
730
  /**
@@ -1,13 +1,13 @@
1
- import { t as WasmUtilProvider } from "./WasmUtilProvider-D13sxEmA.esm.js";
2
- import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-CKyz-AnP.esm.js";
1
+ import { r as WasmUtilProvider } from "./safeStorage-Ep56I-f_.esm.js";
2
+ import { c as abortVideoSelfieUpload, d as uploadVideoSelfiePart, l as completeVideoSelfieUpload, t as ensureWasmPipelines, u as initiateVideoSelfieUpload } from "./setup-ChdRXKRI.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-CCzL3XD_.esm.js";
6
- import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-biEHiMU-.esm.js";
6
+ import { d as videoSelfieWasmPipelines, l as facingModeForStep, u as resolveVideoSelfieSteps } from "./flowServices-CPqzhq7k.esm.js";
7
7
  import { c as createManager, o as createActor, r as assign, t as setup } from "./xstate.esm-Cf4e0Cfd.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-CtI5S0f4.esm.js";
9
9
  import { n as getSupportedMediaRecorderMimeType } from "./mediaRecorderOptions-CUsftWlH.esm.js";
10
- import { i as createDefaultStepDetector, n as defaultAcquireCamera, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BJjeeJJf.esm.js";
10
+ import { i as createDefaultStepDetector, n as defaultAcquireCamera, r as CameraCompositor, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-BKR8mkxq.esm.js";
11
11
  //#region ../infra/src/providers/browser/MultipartRecordingProvider.ts
12
12
  /**
13
13
  * S3 multipart requires every part except the last to be at least 5 MB, so we