@incodetech/core 0.0.0-dev-20260908-4af6785e → 0.0.0-dev-20260908-9c122b5c

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 (67) hide show
  1. package/dist/{BrowserDiagnosticsCryptoProvider-DE3BraaF.esm.js → BrowserDiagnosticsCryptoProvider-CD-46IAf.esm.js} +1 -1
  2. package/dist/ae-signature.esm.js +1 -1
  3. package/dist/{apiError-CRM74hYQ.esm.js → apiError-B_B1weL6.esm.js} +1 -1
  4. package/dist/authentication.esm.js +2 -2
  5. package/dist/{authenticationManager-DlGc4LzG.esm.js → authenticationManager-DBmtZKuz.esm.js} +3 -3
  6. package/dist/{authenticationStateMachine-BTUMxZvL.esm.js → authenticationStateMachine-DaYRxSqo.esm.js} +3 -3
  7. package/dist/{deepsightLoader-Cb-uJa8d.esm.js → deepsightLoader-D1G-VFbn.esm.js} +3 -3
  8. package/dist/device.esm.js +1 -1
  9. package/dist/document-capture.d.ts +1 -1
  10. package/dist/{documentCaptureManager-DD0qtFdE.d.ts → documentCaptureManager-DensIj5F.d.ts} +1 -1
  11. package/dist/dynamic-forms.esm.js +2 -2
  12. package/dist/{dynamicFormsManager-LmFMu9w8.esm.js → dynamicFormsManager-DBjczXv8.esm.js} +1 -1
  13. package/dist/{dynamicFormsStateMachine-BPabKwA4.esm.js → dynamicFormsStateMachine-ASNJ5S61.esm.js} +1 -1
  14. package/dist/ekyb.esm.js +3 -3
  15. package/dist/{ekybManager-xpMF2Q8z.esm.js → ekybManager-D51d-h0F.esm.js} +1 -1
  16. package/dist/{ekybStateMachine-oHx-4CKi.esm.js → ekybStateMachine-B31-dhZA.esm.js} +1 -1
  17. package/dist/electronic-signature.esm.js +1 -1
  18. package/dist/{electronicSignatureManager-CHb_WecR.esm.js → electronicSignatureManager-Ct5sW4HO.esm.js} +1 -1
  19. package/dist/extensibility.d.ts +5 -5
  20. package/dist/extensibility.esm.js +10 -10
  21. package/dist/{faceCaptureManagerFactory-BSYt_obJ.esm.js → faceCaptureManagerFactory-D53tSJxt.esm.js} +1 -1
  22. package/dist/{faceCaptureSetup-Cz5b1KM8.esm.js → faceCaptureSetup-DsKZumna.esm.js} +1 -1
  23. package/dist/{feature-management-CdTUizp-.esm.js → feature-management-D0248lYa.esm.js} +1 -1
  24. package/dist/feature-management.esm.js +1 -1
  25. package/dist/flow.d.ts +1 -1
  26. package/dist/flow.esm.js +3 -3
  27. package/dist/{flowCompletionService-BqbJ1emN.esm.js → flowCompletionService-CsYeXBv6.esm.js} +1 -1
  28. package/dist/{flowServices-dMgzemIH.esm.js → flowServices-DmegoCr4.esm.js} +4 -4
  29. package/dist/geolocation.esm.js +2 -2
  30. package/dist/{geolocationManager-Do_JhIRe.esm.js → geolocationManager-Bcxe0F86.esm.js} +1 -1
  31. package/dist/{geolocationStateMachine-YY-jpAfW.esm.js → geolocationStateMachine-L4bDZPIN.esm.js} +1 -1
  32. package/dist/{getDeviceClass-q9LxdYDh.esm.js → getDeviceClass-5NYZg9s6.esm.js} +1 -1
  33. package/dist/getParsedUserAgent-B2iFDql1.esm.js +1278 -0
  34. package/dist/id-selfie-flow.esm.js +8 -8
  35. package/dist/id.d.ts +2 -2
  36. package/dist/id.esm.js +4 -4
  37. package/dist/{idCaptureDefaults-B89hAojR.esm.js → idCaptureDefaults-BKboAo2k.esm.js} +1 -1
  38. package/dist/{idCaptureManager-BBbaa0Vu.d.ts → idCaptureManager-DW1GeEUk.d.ts} +3 -1
  39. package/dist/{idCaptureManager-JppVvg7G.esm.js → idCaptureManager-Dc7qF-K9.esm.js} +13 -9
  40. package/dist/{idCaptureServices-B60k86wA.esm.js → idCaptureServices-poLpPyW1.esm.js} +4 -4
  41. package/dist/{idCaptureStateMachine-DHwYim8X.esm.js → idCaptureStateMachine-B10TdDdp.esm.js} +24 -12
  42. package/dist/identity-reuse.d.ts +1 -1
  43. package/dist/{identityReuseManager-v2TH5g7e.d.ts → identityReuseManager-BFDI7iFK.d.ts} +4 -4
  44. package/dist/index.esm.js +1 -1
  45. package/dist/mandatory-consent.d.ts +1 -1
  46. package/dist/{mandatoryConsentManager-BxrRrlBs.d.ts → mandatoryConsentManager-CSh8HjSF.d.ts} +4 -4
  47. package/dist/{onDeviceFaceResults-B2iLpDUc.esm.js → onDeviceFaceResults-B1cbeiRv.esm.js} +4 -4
  48. package/dist/personhood.esm.js +4 -4
  49. package/dist/qe-signature.esm.js +1 -1
  50. package/dist/{runChildModule-HXZtxYjx.esm.js → runChildModule-6B5waNIV.esm.js} +1 -1
  51. package/dist/{sdkVersion-P4nHRqYK.esm.js → sdkVersion-DkRFyTPd.esm.js} +1 -1
  52. package/dist/selfie.esm.js +6 -6
  53. package/dist/{selfieErrorUtils-C3lAFggs.esm.js → selfieErrorUtils-C6gC06J7.esm.js} +1 -1
  54. package/dist/{selfieManager-C0WyFPlz.esm.js → selfieManager-CnO_5TQL.esm.js} +3 -3
  55. package/dist/{selfieStateMachine-CmfH4HSn.esm.js → selfieStateMachine-BiINbU9P.esm.js} +3 -3
  56. package/dist/{session-DpCxZHX0.esm.js → session-BXB1i4lk.esm.js} +3 -3
  57. package/dist/session.esm.js +4 -4
  58. package/dist/{sessionInitializer-CH50z5Nj.esm.js → sessionInitializer-D6T8BS_U.esm.js} +5 -23
  59. package/dist/{setup-CoLBy82E.esm.js → setup-BYFxYz35.esm.js} +4 -4
  60. package/dist/{trueSightService-Cfp2qGza.esm.js → trueSightService-Z_tJ_oDu.esm.js} +2 -2
  61. package/dist/{types-DdbdcjPc2.d.ts → types-BBI4-s9u2.d.ts} +2 -0
  62. package/dist/video-selfie.esm.js +4 -4
  63. package/dist/{videoSelfieCameraWarmer-t8uRPsQ2.esm.js → videoSelfieCameraWarmer-9BspjWGC.esm.js} +4 -4
  64. package/dist/wasm.esm.js +1 -1
  65. package/dist/workflow.esm.js +14 -14
  66. package/package.json +1 -1
  67. package/dist/getParsedUserAgent-pJjATANs.esm.js +0 -1622
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-CoLBy82E.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BYFxYz35.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
- import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-dMgzemIH.esm.js";
4
+ import { i as resolveDashboardModuleConfig, l as facingModeForStep } from "./flowServices-DmegoCr4.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-BuFLFuzz.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
7
- import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-B2iLpDUc.esm.js";
7
+ import { a as encryptSelfieImage, l as startDetection, p as FaceDetectionProvider } from "./onDeviceFaceResults-B1cbeiRv.esm.js";
8
8
  import { a as StreamCanvasProcessingSession } from "./recordingsRepository-CCWy13M-.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-C3lAFggs.esm.js";
10
+ import { a as uploadSelfie, r as processFace } from "./selfieErrorUtils-C6gC06J7.esm.js";
11
11
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-D2XcXCZ4.esm.js";
12
- import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-B89hAojR.esm.js";
13
- import { d as uploadIdImage, m as ID_ERROR_CODES, p as validateUploadResponse, s as processId } from "./idCaptureServices-B60k86wA.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-BqbJ1emN.esm.js";
15
- import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-t8uRPsQ2.esm.js";
12
+ import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-BKboAo2k.esm.js";
13
+ import { d as uploadIdImage, m as ID_ERROR_CODES, p as validateUploadResponse, s as processId } from "./idCaptureServices-poLpPyW1.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-CsYeXBv6.esm.js";
15
+ import { i as delay, n as defaultAcquireCamera, o as isSelfieValidationError, s as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-9BspjWGC.esm.js";
16
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
17
  /** Default autocapture window for the selfie step. */
18
18
  const SELFIE_AUTOCAPTURE_MS = 1e4;
package/dist/id.d.ts CHANGED
@@ -2,8 +2,8 @@ import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapabil
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-BEwVKkLJ.js";
3
3
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
4
4
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
5
- import { A as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, B as DeviceWalletPlatform, C as IdDocumentType, D as RecordingSession, E as IdFlowStep, F as ManualUploadTab, G as DigitalIdFunnelEntry, H as DIGITAL_ID_DOCUMENT_TYPES, I as DeviceWalletDecision, J as isRedirectFlowType, K as DigitalIdPlatformSupport, L as DeviceWalletDecryptResponse, M as MANUAL_UPLOAD_MAX_RETRIES, N as ManualUploadContext, O as UploadIdResponse, P as ManualUploadSide, Q as RedirectReturnParams, R as DeviceWalletFailReason, S as IdCapturedImageData, T as IdErrorCode, U as DIGITAL_ID_REGISTRY, V as DeviceWalletProvider, W as DigitalIdDocumentType, X as DigitalIdProviderId, Y as resolveDigitalIdImplementation, _ as IdCaptureInput, a as CaptureOnlyResponse, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureGeometry, h as IdCaptureEvent, i as CaptureIdResponse, j as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as ResolvedDigitalIdRoute, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, w as IdError, x as IdCaptureThresholds, y as IdCaptureOnlyConfig, z as DeviceWalletOutput } from "./types-DdbdcjPc2.js";
6
- import { A as CreateIdCaptureActorOptions, C as uploadManualIdFile, D as createIdCaptureOnlyActor, E as IdCaptureOnlyActor, M as createIdCaptureActor, N as IdCaptureMachine, O as IdCaptureOnlyMachine, P as idCaptureMachine, S as uploadIdImage, T as CreateIdCaptureOnlyActorOptions, _ as prepareRecordingForCameraRetry, a as AddBarcodeParams, b as stopRecording, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as preloadIdRecordingProvider, h as pauseRecordingForAttempt, j as IdCaptureActor, k as idCaptureOnlyMachine, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as processId, w as validateUploadResponse, x as stopStream, y as startRecordingSession } from "./idCaptureManager-BBbaa0Vu.js";
5
+ import { A as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, B as DeviceWalletPlatform, C as IdDocumentType, D as RecordingSession, E as IdFlowStep, F as ManualUploadTab, G as DigitalIdFunnelEntry, H as DIGITAL_ID_DOCUMENT_TYPES, I as DeviceWalletDecision, J as isRedirectFlowType, K as DigitalIdPlatformSupport, L as DeviceWalletDecryptResponse, M as MANUAL_UPLOAD_MAX_RETRIES, N as ManualUploadContext, O as UploadIdResponse, P as ManualUploadSide, Q as RedirectReturnParams, R as DeviceWalletFailReason, S as IdCapturedImageData, T as IdErrorCode, U as DIGITAL_ID_REGISTRY, V as DeviceWalletProvider, W as DigitalIdDocumentType, X as DigitalIdProviderId, Y as resolveDigitalIdImplementation, _ as IdCaptureInput, a as CaptureOnlyResponse, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureGeometry, h as IdCaptureEvent, i as CaptureIdResponse, j as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, q as ResolvedDigitalIdRoute, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, w as IdError, x as IdCaptureThresholds, y as IdCaptureOnlyConfig, z as DeviceWalletOutput } from "./types-BBI4-s9u2.js";
6
+ import { A as CreateIdCaptureActorOptions, C as uploadManualIdFile, D as createIdCaptureOnlyActor, E as IdCaptureOnlyActor, M as createIdCaptureActor, N as IdCaptureMachine, O as IdCaptureOnlyMachine, P as idCaptureMachine, S as uploadIdImage, T as CreateIdCaptureOnlyActorOptions, _ as prepareRecordingForCameraRetry, a as AddBarcodeParams, b as stopRecording, c as StartRecordingParams, d as ValidationError, f as addBarcode, g as preloadIdRecordingProvider, h as pauseRecordingForAttempt, j as IdCaptureActor, k as idCaptureOnlyMachine, l as UploadIdImageParams, m as initializeIdCapture, n as IdCaptureManager, o as IdCaptureInitResult, p as barcodeToBase64, r as IdCaptureState, s as InitializeIdCaptureParams, t as createIdCaptureManager, u as UploadManualIdFileParams, v as processId, w as validateUploadResponse, x as stopStream, y as startRecordingSession } from "./idCaptureManager-DW1GeEUk.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { l as BrowserStorageProvider } from "./setup-CoLBy82E.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { n as eventModuleNames } from "./events-ijlbX_Wx.esm.js";
3
3
  import { i as assign, s as createActor } from "./xstate.esm-BuFLFuzz.esm.js";
4
4
  import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
5
- import { a as isRedirectFlowType, c as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, i as DIGITAL_ID_REGISTRY, l as MANUAL_UPLOAD_MAX_RETRIES, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine, u as resolveWalletPlatform } from "./idCaptureStateMachine-DHwYim8X.esm.js";
6
- import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-JppVvg7G.esm.js";
7
- import { a as preloadIdRecordingProvider, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, n as barcodeToBase64, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream } from "./idCaptureServices-B60k86wA.esm.js";
5
+ import { a as isRedirectFlowType, c as MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES, i as DIGITAL_ID_REGISTRY, l as MANUAL_UPLOAD_MAX_RETRIES, o as resolveDigitalIdImplementation, r as DIGITAL_ID_DOCUMENT_TYPES, s as MANUAL_UPLOAD_EXHAUSTION_FORWARD_MS, t as idCaptureMachine, u as resolveWalletPlatform } from "./idCaptureStateMachine-B10TdDdp.esm.js";
6
+ import { n as createIdCaptureActor, r as createIdCaptureManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Dc7qF-K9.esm.js";
7
+ import { a as preloadIdRecordingProvider, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, n as barcodeToBase64, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream } from "./idCaptureServices-poLpPyW1.esm.js";
8
8
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BjzPjJ_p.esm.js";
9
9
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
10
10
  /**
@@ -1,5 +1,5 @@
1
1
  import { _ as resolveWasmSource, f as WASM_MODEL_FILES } from "./wasmWebClient-BJCaFeBL.esm.js";
2
- import { p as getBarcodeEnhanceModelUrl } from "./setup-CoLBy82E.esm.js";
2
+ import { p as getBarcodeEnhanceModelUrl } from "./setup-BYFxYz35.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
5
  //#region ../infra/src/media/CameraCompositor.ts
@@ -9,7 +9,7 @@ import { n as PermissionStatus } from "./types-BEwVKkLJ.js";
9
9
  import { t as CameraStream } from "./camera-9wWD-pwg.js";
10
10
  import { t as DeepsightService } from "./deepsightService-MZOpj7Vp.js";
11
11
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-DDWlQzhi.js";
12
- import { B as DeviceWalletPlatform, C as IdDocumentType, D as RecordingSession, F as ManualUploadTab, O as UploadIdResponse, P as ManualUploadSide, R as DeviceWalletFailReason, T as IdErrorCode, X as DigitalIdProviderId, Z as FailureReason, _ as IdCaptureInput, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, h as IdCaptureEvent, i as CaptureIdResponse, k as IAnalyticsCapability, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, y as IdCaptureOnlyConfig } from "./types-DdbdcjPc2.js";
12
+ import { B as DeviceWalletPlatform, C as IdDocumentType, D as RecordingSession, F as ManualUploadTab, O as UploadIdResponse, P as ManualUploadSide, R as DeviceWalletFailReason, T as IdErrorCode, X as DigitalIdProviderId, Z as FailureReason, _ as IdCaptureInput, b as IdCaptureOutput, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, h as IdCaptureEvent, i as CaptureIdResponse, k as IAnalyticsCapability, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureMode, y as IdCaptureOnlyConfig } from "./types-BBI4-s9u2.js";
13
13
  //#region src/modules/id/idCaptureStateMachine.d.ts
14
14
  declare const idCaptureMachine: AnyStateMachine;
15
15
  type IdCaptureMachine = StateMachine<IdCaptureContext, IdCaptureEvent, any, any, any, any, any, any, any, IdCaptureInput, any, any, any, any>;
@@ -372,6 +372,8 @@ type IdCaptureManualUploadState = {
372
372
  activeTab: ManualUploadTab;
373
373
  showIdTab: boolean;
374
374
  showPassportTab: boolean;
375
+ /** Whether the ID tab should render a front-of-ID slot. Defaults to true. */
376
+ showFrontSlot?: boolean;
375
377
  /** Whether the ID tab should render a back-of-ID slot. */
376
378
  showBackSlot: boolean;
377
379
  frontFileName: string | undefined;
@@ -1,12 +1,12 @@
1
- import { l as BrowserStorageProvider } from "./setup-CoLBy82E.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.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-DHwYim8X.esm.js";
9
- import { g as resolveIdCaptureThresholds, h as resolveCaptureOptimizingTreatment } from "./idCaptureServices-B60k86wA.esm.js";
8
+ import { n as getManualUploadTabs, t as idCaptureMachine } from "./idCaptureStateMachine-B10TdDdp.esm.js";
9
+ import { g as resolveIdCaptureThresholds, h as resolveCaptureOptimizingTreatment } from "./idCaptureServices-poLpPyW1.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) {
@@ -367,14 +367,17 @@ function mapManualUploadState(snapshot) {
367
367
  /**
368
368
  * Manual upload is client-authoritative for the back side: the slot must be
369
369
  * shown or hidden before any upload round-trip, so there is no
370
- * `skipBackIdCapture` to defer to yet. `config.onlyFront` is therefore read
371
- * directly here — restoring V1 parity (ENG-50532). The camera path is the
372
- * opposite: it forwards the flag and waits for the server's answer.
370
+ * `skipBackIdCapture` to defer to yet. The side-only flags are therefore read
371
+ * directly here (`onlyFront`: ENG-50532; `onlyBack`: ENG-51547). The camera
372
+ * path is the opposite: it forwards only-front and waits for the server's
373
+ * answer.
373
374
  */
374
375
  const onlyFront = config.onlyFront === true;
375
- const idTabCanContinue = (childCtx?.frontUploaded ?? false) && (onlyFront || backUploaded);
376
- const canContinue = childCtx?.activeTab === "id" ? idTabCanContinue : childCtx?.passportUploaded ?? false;
377
- const showBackSlot = !onlyFront;
376
+ const onlyBack = config.onlyBack === true;
377
+ const idTabCanContinue = onlyBack && backUploaded || !onlyBack && (childCtx?.frontUploaded ?? false) && (onlyFront || backUploaded);
378
+ const canContinue = childCtx?.activeTab === "id" ? idTabCanContinue : !onlyBack && (childCtx?.passportUploaded ?? false);
379
+ const showFrontSlot = !onlyBack;
380
+ const showBackSlot = onlyBack || !onlyFront;
378
381
  return {
379
382
  status: "manualUpload",
380
383
  phase,
@@ -382,6 +385,7 @@ function mapManualUploadState(snapshot) {
382
385
  activeTab: childCtx?.activeTab ?? "id",
383
386
  showIdTab,
384
387
  showPassportTab,
388
+ showFrontSlot,
385
389
  showBackSlot,
386
390
  frontFileName: childCtx?.frontFile?.name,
387
391
  backFileName: childCtx?.backFile?.name,
@@ -1,5 +1,5 @@
1
- import { t as ensureWasmPipelines } from "./setup-CoLBy82E.esm.js";
2
- import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CdTUizp-.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BYFxYz35.esm.js";
2
+ import { i as numberParam, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-D0248lYa.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";
@@ -8,9 +8,9 @@ import { n as fromPromise } from "./xstate-actors.esm-BXeQ-Ucz.esm.js";
8
8
  import { s as queryCameraPermission } from "./permissionServices-J5S1dEIf.esm.js";
9
9
  import { n as startRecording, r as stopRecording$1, t as createRecordingSession } from "./recordingsRepository-CCWy13M-.esm.js";
10
10
  import { a as isBackFacingTrack, n as getBackCameraStream } from "./backCameraStream-DE_5qY04.esm.js";
11
- import { t as getDeviceClass } from "./getDeviceClass-q9LxdYDh.esm.js";
11
+ import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
12
12
  import { t as MultipartRecordingService } from "./multipartRecordingService-B3C_zlev.esm.js";
13
- import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-B89hAojR.esm.js";
13
+ import { i as CameraCompositor, n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-BKboAo2k.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-CoLBy82E.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { s as exposeExperimentOnce } from "./feature-management-CdTUizp-.esm.js";
3
+ import { s as exposeExperimentOnce } from "./feature-management-D0248lYa.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-Cfp2qGza.esm.js";
6
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Z_tJ_oDu.esm.js";
7
7
  import { n as eventModuleNames, s as recordExperimentAssignmentOnce } from "./events-ijlbX_Wx.esm.js";
8
- import { t as getDisableIpify } from "./sessionInitializer-CH50z5Nj.esm.js";
8
+ import { t as getDisableIpify } from "./sessionInitializer-D6T8BS_U.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-DpCxZHX0.esm.js";
12
+ import "./session-BXB1i4lk.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 CAPTURE_OPTIMIZING, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream, v as OPTIMIZING_WATCHDOG_MARGIN_MS, y as getIdCameraStream } from "./idCaptureServices-B60k86wA.esm.js";
25
+ import { _ as CAPTURE_OPTIMIZING, c as startRecordingSession, d as uploadIdImage, f as uploadManualIdFile, g as resolveIdCaptureThresholds, i as pauseRecordingForAttempt, l as stopRecording, m as ID_ERROR_CODES, o as prepareRecordingForCameraRetry, p as validateUploadResponse, r as initializeIdCapture, s as processId, t as addBarcode, u as stopStream, v as OPTIMIZING_WATCHDOG_MARGIN_MS, y as getIdCameraStream } from "./idCaptureServices-poLpPyW1.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) {
@@ -700,22 +700,25 @@ const manualUploadMachine = setup({
700
700
  }))
701
701
  },
702
702
  guards: {
703
- isSelectedFileTooLarge: ({ event }) => {
703
+ isAllowedTabChange: ({ context, event }) => event.type === "MANUAL_UPLOAD_TAB_CHANGED" && (!context.onlyBack || event.tab === "id"),
704
+ isSelectedFileTooLarge: ({ context, event }) => {
704
705
  if (event.type !== "MANUAL_UPLOAD_FILE_SELECTED") return false;
706
+ if (context.onlyBack && event.side !== "back") return false;
705
707
  return event.file.size > MANUAL_UPLOAD_MAX_FILE_SIZE_BYTES;
706
708
  },
707
- isFrontFileSelection: ({ event }) => event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "front",
709
+ isFrontFileSelection: ({ context, event }) => !context.onlyBack && event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "front",
708
710
  isBackFileSelection: ({ event }) => event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "back",
709
- isPassportFileSelection: ({ event }) => event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "passport",
711
+ isPassportFileSelection: ({ context, event }) => !context.onlyBack && event.type === "MANUAL_UPLOAD_FILE_SELECTED" && event.side === "passport",
710
712
  manualUploadRetriesExhausted: ({ context }) => context.retriesLeft <= 0,
711
713
  canContinueFromIdTab: ({ context }) => {
712
714
  if (context.activeTab !== "id") return false;
715
+ if (context.onlyBack) return context.backUploaded;
713
716
  if (!context.frontUploaded) return false;
714
717
  if (context.onlyFront) return true;
715
718
  if (context.skipBackFromServer) return true;
716
719
  return context.backUploaded;
717
720
  },
718
- canContinueFromPassportTab: ({ context }) => context.activeTab === "passport" && context.passportUploaded,
721
+ canContinueFromPassportTab: ({ context }) => !context.onlyBack && context.activeTab === "passport" && context.passportUploaded,
719
722
  manualUploadResponseHasError: ({ context, event }) => {
720
723
  const response = getUploadResponseFromEvent(event);
721
724
  if (!response) return false;
@@ -728,6 +731,7 @@ const manualUploadMachine = setup({
728
731
  initial: "selecting",
729
732
  context: ({ input }) => ({
730
733
  onlyFront: input.onlyFront,
734
+ onlyBack: input.onlyBack ?? false,
731
735
  isSecondId: input.isSecondId,
732
736
  captureAttempts: input.captureAttempts,
733
737
  extractIdFace: input.extractIdFace,
@@ -745,6 +749,7 @@ const manualUploadMachine = setup({
745
749
  }),
746
750
  on: {
747
751
  MANUAL_UPLOAD_TAB_CHANGED: {
752
+ guard: "isAllowedTabChange",
748
753
  target: ".selecting",
749
754
  actions: ["setManualUploadActiveTab"]
750
755
  },
@@ -932,7 +937,7 @@ function getPermissionOutput(event) {
932
937
  }
933
938
  const hasShowTutorialGuard = ({ context }) => context.config.showTutorial;
934
939
  const hasAgeAssuranceGuard = ({ context }) => context.config.ageAssurance === true;
935
- const hasShowDocumentChooserGuard = ({ context }) => !context.config.onlyBack && (context.config.showDocumentChooserScreen ?? false);
940
+ const hasShowDocumentChooserGuard = ({ context }) => (!context.config.onlyBack || context.config.manualUploadIdCapture === true) && (context.config.showDocumentChooserScreen ?? false);
936
941
  const isPermissionGrantedGuard = ({ event }) => {
937
942
  return getPermissionOutput(event) === "granted";
938
943
  };
@@ -1286,6 +1291,7 @@ const DOCUMENT_TYPES_CONFIG_TO_ADJUSTED_MAP = [
1286
1291
  * @returns Array of IdDocumentType values that should be shown in the document type chooser
1287
1292
  */
1288
1293
  function getAvailableDocumentTypes(config, platform = { credentialsAvailable: false }) {
1294
+ if (config.onlyBack && config.manualUploadIdCapture) return config.enableId ? ["id", "manualIdUpload"] : ["manualIdUpload"];
1289
1295
  const adjustedDocumentTypes = [];
1290
1296
  for (const [configProperty, adjustedType] of DOCUMENT_TYPES_CONFIG_TO_ADJUSTED_MAP) if (config[configProperty]) adjustedDocumentTypes.push(adjustedType);
1291
1297
  for (const docType of DIGITAL_ID_DOCUMENT_TYPES) {
@@ -1301,6 +1307,10 @@ function getAvailableDocumentTypes(config, platform = { credentialsAvailable: fa
1301
1307
  * `enableId` nor `enablePassport` is set (no accepted documents).
1302
1308
  */
1303
1309
  function getManualUploadTabs(config) {
1310
+ if (config.onlyBack) return {
1311
+ showIdTab: true,
1312
+ showPassportTab: false
1313
+ };
1304
1314
  const showIdTab = !!config.enableId;
1305
1315
  const showPassportTab = !!config.enablePassport;
1306
1316
  if (!showIdTab && !showPassportTab) return {
@@ -2123,7 +2133,7 @@ const startRecordingActor = fromPromise(async ({ input }) => {
2123
2133
  });
2124
2134
  const initializeDeepsightSessionActor = fromPromise(async ({ input }) => {
2125
2135
  if (!input.dependencies) return;
2126
- const { loadDeepsightSession } = await import("./deepsightLoader-Cb-uJa8d.esm.js");
2136
+ const { loadDeepsightSession } = await import("./deepsightLoader-D1G-VFbn.esm.js");
2127
2137
  return loadDeepsightSession({
2128
2138
  ds: input.ds,
2129
2139
  storage: input.dependencies.storage,
@@ -2503,6 +2513,7 @@ function getDetectionStatusFromSideChange(context, side) {
2503
2513
  }
2504
2514
  function getCurrentModeFromEvent(context, event) {
2505
2515
  if ("documentType" in event) {
2516
+ if (context.config.onlyBack) return "back";
2506
2517
  if (event.documentType === "passport") return "passport";
2507
2518
  return context.config.usSmartCapture ? "back" : "front";
2508
2519
  }
@@ -4160,6 +4171,7 @@ const idCaptureMachine = setup({
4160
4171
  input: ({ context }) => ({
4161
4172
  isSecondId: context.config.isSecondId ?? false,
4162
4173
  onlyFront: context.config.onlyFront ?? false,
4174
+ onlyBack: context.config.onlyBack ?? false,
4163
4175
  captureAttempts: context.config.captureAttempts,
4164
4176
  extractIdFace: context.config.extractIdFace
4165
4177
  }),
@@ -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-CoLBy82E.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-BYFxYz35.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-BxrRrlBs.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 };
@@ -57,14 +57,14 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
57
57
  type: "setError";
58
58
  params: NonReducibleUnknown;
59
59
  };
60
- toggleSigned: {
61
- type: "toggleSigned";
62
- params: NonReducibleUnknown;
63
- };
64
60
  clearError: {
65
61
  type: "clearError";
66
62
  params: NonReducibleUnknown;
67
63
  };
64
+ toggleSigned: {
65
+ type: "toggleSigned";
66
+ params: NonReducibleUnknown;
67
+ };
68
68
  resetContext: {
69
69
  type: "resetContext";
70
70
  params: NonReducibleUnknown;
@@ -1,8 +1,8 @@
1
- import { t as ensureWasmPipelines } from "./setup-CoLBy82E.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-BYFxYz35.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-Cfp2qGza.esm.js";
5
- import "./sessionInitializer-CH50z5Nj.esm.js";
4
+ import { c as trueSightHintTransition, l as trueSightLog, r as noteTrueSightCaptureActivity } from "./trueSightService-Z_tJ_oDu.esm.js";
5
+ import "./sessionInitializer-D6T8BS_U.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-Cb-uJa8d.esm.js");
519
+ const { loadDeepsightSession } = await import("./deepsightLoader-D1G-VFbn.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-CoLBy82E.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.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-Cfp2qGza.esm.js";
5
+ import { C as createApi$1, v as randomUUID, y as getStoredHttpConfig } from "./trueSightService-Z_tJ_oDu.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-CH50z5Nj.esm.js";
7
+ import { _ as getDeviceFingerprintInfo, g as getThumbmarkId, n as getFingerprintEnabled, p as isBrowserSimulation, v as BrowserEnvironmentProvider } from "./sessionInitializer-D6T8BS_U.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-B2iLpDUc.esm.js";
13
+ import { f as stopStream, l as startDetection, p as FaceDetectionProvider, s as initializeDeepsightSession } from "./onDeviceFaceResults-B1cbeiRv.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-CHb_WecR.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-Ct5sW4HO.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-Cfp2qGza.esm.js";
2
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Z_tJ_oDu.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-20260908-4af6785e";
2
+ const SDK_VERSION = "0.0.0-dev-20260908-9c122b5c";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,13 +1,13 @@
1
- import { l as BrowserStorageProvider } from "./setup-CoLBy82E.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.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-Cz5b1KM8.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BSYt_obJ.esm.js";
8
- import { r as processFace } from "./selfieErrorUtils-C3lAFggs.esm.js";
9
- import { t as selfieMachine } from "./selfieStateMachine-CmfH4HSn.esm.js";
10
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-C0WyFPlz.esm.js";
6
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-DsKZumna.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D53tSJxt.esm.js";
8
+ import { r as processFace } from "./selfieErrorUtils-C6gC06J7.esm.js";
9
+ import { t as selfieMachine } from "./selfieStateMachine-BiINbU9P.esm.js";
10
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-CnO_5TQL.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,7 +1,7 @@
1
1
  import { t as api } from "./api-Bx3gKW_y.esm.js";
2
2
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
3
3
  import { t as addDeviceStats } from "./stats-DkK-f8JT.esm.js";
4
- import { t as getDeviceClass } from "./getDeviceClass-q9LxdYDh.esm.js";
4
+ import { t as getDeviceClass } from "./getDeviceClass-5NYZg9s6.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
6
  //#region src/modules/selfie/selfieUploadService.ts
7
7
  /**
@@ -1,9 +1,9 @@
1
- import { l as BrowserStorageProvider } from "./setup-CoLBy82E.esm.js";
1
+ import { l as BrowserStorageProvider } from "./setup-BYFxYz35.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-BSYt_obJ.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-CmfH4HSn.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-D53tSJxt.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-BiINbU9P.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,9 +1,9 @@
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-Cz5b1KM8.esm.js";
4
- import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B2iLpDUc.esm.js";
3
+ import { n as manualFaceUploadMachine, t as faceCaptureMachine } from "./faceCaptureSetup-DsKZumna.esm.js";
4
+ import { i as prepareOnDeviceFaceUpload, n as isOnDeviceMode, r as postOnDeviceFaceResults, t as defaultPrepareFaceUpload } from "./onDeviceFaceResults-B1cbeiRv.esm.js";
5
5
  import { t as FACE_ERROR_CODES } from "./types-BN5RPPIZ.esm.js";
6
- import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C3lAFggs.esm.js";
6
+ import { a as uploadSelfie, i as uploadManualSelfie, n as validateUploadResponse, r as processFace } from "./selfieErrorUtils-C6gC06J7.esm.js";
7
7
  //#region src/modules/selfie/selfieStateMachine.ts
8
8
  /**
9
9
  * Validates like the camera path does: a 200 that reports lenses, a mask or
@@ -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-Cfp2qGza.esm.js";
3
- import "./sessionInitializer-CH50z5Nj.esm.js";
2
+ import { h as noteSessionCreated, l as trueSightLog } from "./trueSightService-Z_tJ_oDu.esm.js";
3
+ import "./sessionInitializer-D6T8BS_U.esm.js";
4
4
  import { t as endpoints } from "./endpoints-D3B9mUHh.esm.js";
5
- import { i as toIncodeApiError } from "./apiError-CRM74hYQ.esm.js";
5
+ import { i as toIncodeApiError } from "./apiError-B_B1weL6.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-CH50z5Nj.esm.js";
2
- import { t as IncodeApiError } from "./apiError-CRM74hYQ.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-DpCxZHX0.esm.js";
4
- import { n as getFinishStatus } from "./flowCompletionService-BqbJ1emN.esm.js";
1
+ import { i as initializeSession } from "./sessionInitializer-D6T8BS_U.esm.js";
2
+ import { t as IncodeApiError } from "./apiError-B_B1weL6.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-BXB1i4lk.esm.js";
4
+ import { n as getFinishStatus } from "./flowCompletionService-CsYeXBv6.esm.js";
5
5
  export { IncodeApiError, QR_VALIDATION_ERROR_CODES, QrValidationError, bootstrapSession, createSession, getFinishStatus, initializeSession, refreshQrUrlUuid, validateQrUuid };
@@ -1,11 +1,11 @@
1
- import { E as updateFeatureManagementUser } from "./feature-management-CdTUizp-.esm.js";
1
+ import { E as updateFeatureManagementUser } from "./feature-management-D0248lYa.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-Cfp2qGza.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-Z_tJ_oDu.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-P4nHRqYK.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-DkRFyTPd.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
- import { n as UAParser, t as getParsedUserAgent } from "./getParsedUserAgent-pJjATANs.esm.js";
8
+ import { t as getParsedUserAgent } from "./getParsedUserAgent-B2iFDql1.esm.js";
9
9
  import { a as isIOS } from "./platform-DkcRc9JV.esm.js";
10
10
  import { t as getUserAgent } from "./getBrowser-CBiibsL-.esm.js";
11
11
  import { i as linkSessionWithTRI, r as isTRIStarted } from "./tri-4RsGrIt6.esm.js";
@@ -134,28 +134,10 @@ var BrowserInfoProvider = class {
134
134
  }
135
135
  getBrowserInfo() {
136
136
  const userAgent = typeof navigator !== "undefined" ? navigator.userAgent : "";
137
- const result = new UAParser(userAgent).getResult();
138
137
  return {
139
138
  userAgent,
140
139
  isWebRtcSupported: this.checkWebRtcSupport(),
141
- browser: {
142
- name: result.browser.name,
143
- version: result.browser.version
144
- },
145
- os: {
146
- name: result.os.name,
147
- version: result.os.version
148
- },
149
- device: {
150
- model: result.device.model,
151
- type: result.device.type,
152
- vendor: result.device.vendor
153
- },
154
- engine: {
155
- name: result.engine.name,
156
- version: result.engine.version
157
- },
158
- cpu: { architecture: result.cpu.architecture }
140
+ ...getParsedUserAgent(userAgent)
159
141
  };
160
142
  }
161
143
  };
@@ -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-CdTUizp-.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-D0248lYa.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-Cfp2qGza.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-Z_tJ_oDu.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-CH50z5Nj.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-D6T8BS_U.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-dMgzemIH.esm.js";
13
+ import { n as preloadDashboardFlow, r as resetDashboardFlowCache } from "./flowServices-DmegoCr4.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-P4nHRqYK.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-DkRFyTPd.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-DE3BraaF.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1323
+ cryptoProviderPromise ??= import("./BrowserDiagnosticsCryptoProvider-CD-46IAf.esm.js").then((module) => new module.BrowserDiagnosticsCryptoProvider());
1324
1324
  return cryptoProviderPromise;
1325
1325
  }
1326
1326
  /**