@incodetech/core 0.0.0-dev-20261109-a0cf3c4f → 0.0.0-dev-20261109-64d36744

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 (75) hide show
  1. package/dist/{FaceDetectionProvider-ND4HlRHf.esm.js → FaceDetectionProvider-Qu3EP9Kz.esm.js} +4 -4
  2. package/dist/{MultipartRecordingProvider-D9mauUdS.esm.js → MultipartRecordingProvider-BfQPSgSO.esm.js} +5 -0
  3. package/dist/{WorkerEncoderRecordingProvider-B1ODYtgN.esm.js → WorkerEncoderRecordingProvider-CyCrQnZR.esm.js} +1 -1
  4. package/dist/ae-signature.esm.js +1 -1
  5. package/dist/{apiError-BJz3Jst_.esm.js → apiError-BSRsaU1Z.esm.js} +1 -1
  6. package/dist/authentication.esm.js +2 -2
  7. package/dist/{authenticationManager-o8sMGW17.esm.js → authenticationManager-BbXb38OI.esm.js} +3 -3
  8. package/dist/{authenticationStateMachine-BeIj7osy.esm.js → authenticationStateMachine-2cbbQpzG.esm.js} +2 -2
  9. package/dist/consent.d.ts +1 -1
  10. package/dist/{consentManager-LGFN0QSw.d.ts → consentManager-7aHaehwF.d.ts} +9 -9
  11. package/dist/{deepsightLoader-DsU3JLH6.esm.js → deepsightLoader-5kb9xOWU.esm.js} +3 -3
  12. package/dist/document-capture.d.ts +1 -1
  13. package/dist/{documentCaptureManager-JmV11_R6.d.ts → documentCaptureManager-CD5iQiUI.d.ts} +4 -4
  14. package/dist/dynamic-forms.esm.js +2 -2
  15. package/dist/{dynamicFormsManager-BYtpUa5K.esm.js → dynamicFormsManager-BJOCqttV.esm.js} +1 -1
  16. package/dist/{dynamicFormsStateMachine-CCWaCmCc.esm.js → dynamicFormsStateMachine-BzbywVKu.esm.js} +1 -1
  17. package/dist/ekyb.esm.js +2 -2
  18. package/dist/{ekybManager-DhIClLyd.esm.js → ekybManager-DeZmt4Bs.esm.js} +1 -1
  19. package/dist/{ekybStateMachine-NaG7roVb.esm.js → ekybStateMachine-CkMZZN0I.esm.js} +1 -1
  20. package/dist/ekyc-prefill.d.ts +1 -1
  21. package/dist/ekyc-prefill.esm.js +2 -2
  22. package/dist/{ekycPrefillManager-CKkfE9jd.esm.js → ekycPrefillManager-CWx9Hot6.esm.js} +1 -1
  23. package/dist/{ekycPrefillManager-CB1d6mt4.d.ts → ekycPrefillManager-DtGTW-Kk.d.ts} +5 -5
  24. package/dist/{ekycPrefillStateMachine-Dp8MjIpD.esm.js → ekycPrefillStateMachine-BhzsAHgN.esm.js} +1 -1
  25. package/dist/electronic-signature.esm.js +1 -1
  26. package/dist/{electronicSignatureManager-Cogayd5T.esm.js → electronicSignatureManager-BC1QfWgW.esm.js} +1 -1
  27. package/dist/extensibility.d.ts +7 -7
  28. package/dist/extensibility.esm.js +12 -12
  29. package/dist/{faceCaptureManagerFactory-CA_BAkTa.esm.js → faceCaptureManagerFactory-BuH-ZRo3.esm.js} +1 -1
  30. package/dist/{faceCaptureSetup-BaabZUlZ.esm.js → faceCaptureSetup-CnmaoXBN.esm.js} +5 -5
  31. package/dist/{feature-management-lkjzqq9f.esm.js → feature-management-CV3fR1Pw.esm.js} +1 -1
  32. package/dist/feature-management.esm.js +1 -1
  33. package/dist/flow.esm.js +3 -3
  34. package/dist/{flowCompletionService-BAwmzXxc.esm.js → flowCompletionService-CfHYdO6Q.esm.js} +1 -1
  35. package/dist/{flowServices-DuCPzkmb.esm.js → flowServices-BAZmgw0N.esm.js} +4 -4
  36. package/dist/geolocation.d.ts +1 -1
  37. package/dist/geolocation.esm.js +2 -2
  38. package/dist/{geolocationManager-CPhykMow.d.ts → geolocationManager-6e1i9UIR.d.ts} +1 -1
  39. package/dist/{geolocationManager-BaIwPeBV.esm.js → geolocationManager-BlVnV9di.esm.js} +1 -1
  40. package/dist/{geolocationStateMachine-Cfjhp1Z7.esm.js → geolocationStateMachine-B-F71Yls.esm.js} +1 -1
  41. package/dist/id-ocr.d.ts +1 -1
  42. package/dist/id-selfie-flow.esm.js +6 -6
  43. package/dist/id.esm.js +3 -3
  44. package/dist/{idCaptureManager-Db0SuhHr.esm.js → idCaptureManager-B9f_kNdD.esm.js} +3 -3
  45. package/dist/{idCaptureServices-CWgppgqs.esm.js → idCaptureServices-hkOxHnkn.esm.js} +4 -4
  46. package/dist/{idCaptureStateMachine-jsuV2xmD.esm.js → idCaptureStateMachine-DWcdmoz7.esm.js} +8 -8
  47. package/dist/{idOcrManager-GFy7tFVV.d.ts → idOcrManager-B5xeI2lg.d.ts} +1 -1
  48. package/dist/identity-reuse.d.ts +1 -1
  49. package/dist/{identityReuseManager-CU8d7T8n.d.ts → identityReuseManager-ooAbp6Kc.d.ts} +4 -4
  50. package/dist/index.esm.js +1 -1
  51. package/dist/kyb-checks.esm.js +2 -2
  52. package/dist/{kybChecksManager-BkQs1iNJ.esm.js → kybChecksManager-DBAN4Q6j.esm.js} +1 -1
  53. package/dist/{kybChecksStateMachine-BaOaMYM0.esm.js → kybChecksStateMachine-Dt9MhMMn.esm.js} +1 -1
  54. package/dist/mandatory-consent.d.ts +1 -1
  55. package/dist/{mandatoryConsentManager-vmuOCg8d.d.ts → mandatoryConsentManager-JNeVXgK8.d.ts} +9 -9
  56. package/dist/{multipartRecordingService-2iVLb-2Y.esm.js → multipartRecordingService-OmSzHBqh.esm.js} +1 -1
  57. package/dist/qe-signature.esm.js +1 -1
  58. package/dist/{recordingService-DKXaaOHO.esm.js → recordingService-BUqAQd8F.esm.js} +2 -2
  59. package/dist/{runChildModule-hFXW0DXx.esm.js → runChildModule-CEt0mNZs.esm.js} +1 -1
  60. package/dist/{sdkVersion-9Vd3rPko.esm.js → sdkVersion-CwFnA3Zj.esm.js} +1 -1
  61. package/dist/selfie.esm.js +6 -6
  62. package/dist/{selfieErrorUtils-CjAZXpAG.esm.js → selfieErrorUtils-BfDkYDXk.esm.js} +1 -1
  63. package/dist/{selfieManager-BAa__5dR.esm.js → selfieManager-QzhhV-0a.esm.js} +3 -3
  64. package/dist/{selfieStateMachine-Dyj4mb7I.esm.js → selfieStateMachine-DRPRU_ZU.esm.js} +3 -3
  65. package/dist/{session-gttYd4CH.esm.js → session-yp5zx6mw.esm.js} +3 -3
  66. package/dist/session.esm.js +4 -4
  67. package/dist/{sessionInitializer-CjMdm-aq.esm.js → sessionInitializer-BtPLbp2E.esm.js} +3 -3
  68. package/dist/{setup-CJ2VBcA5.esm.js → setup-CyRmjz4t.esm.js} +4 -4
  69. package/dist/{trueSightService-Dg20aLqG.esm.js → trueSightService-d1gT8juZ.esm.js} +1 -1
  70. package/dist/video-selfie.d.ts +2 -1
  71. package/dist/video-selfie.esm.js +5 -5
  72. package/dist/{videoSelfieCameraWarmer-CIAgJR2J.esm.js → videoSelfieCameraWarmer-v8NxvLg1.esm.js} +11 -9
  73. package/dist/wasm.esm.js +1 -1
  74. package/dist/workflow.esm.js +15 -15
  75. package/package.json +3 -3
@@ -1,17 +1,17 @@
1
- import { t as ensureWasmPipelines } from "./setup-CJ2VBcA5.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CyRmjz4t.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-DuCPzkmb.esm.js";
4
+ import { a as resolveDashboardModuleConfig, f as facingModeForStep } from "./flowServices-BAZmgw0N.esm.js";
5
5
  import { i as assign, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
6
6
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
7
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-ND4HlRHf.esm.js";
7
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
8
8
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
10
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CnAGmc1o.esm.js";
11
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-CWgppgqs.esm.js";
11
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-hkOxHnkn.esm.js";
12
12
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
- import { n as getFinishStatus } from "./flowCompletionService-BAwmzXxc.esm.js";
14
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-CIAgJR2J.esm.js";
13
+ import { n as getFinishStatus } from "./flowCompletionService-CfHYdO6Q.esm.js";
14
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-v8NxvLg1.esm.js";
15
15
  import { t as CameraCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
16
16
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
17
17
  /** Default autocapture window for the selfie step. */
package/dist/id.esm.js CHANGED
@@ -1,6 +1,6 @@
1
- import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-jsuV2xmD.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-Db0SuhHr.esm.js";
3
- import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-CWgppgqs.esm.js";
1
+ import { d as DIGITAL_ID_REGISTRY, f as isRedirectFlowType, h as createDeviceWalletManager, m as renderWallet, p as resolveDigitalIdImplementation, t as idCaptureMachine, u as DIGITAL_ID_DOCUMENT_TYPES, v as resolveWalletPlatform } from "./idCaptureStateMachine-DWcdmoz7.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-B9f_kNdD.esm.js";
3
+ import { _ as validateUploadResponse, a as finalizeRecordingSession, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, r as barcodeToBase64, s as initializeIdCapture, t as ID_QUALITY_BACKEND_VALIDATION_GATE, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES } from "./idCaptureServices-hkOxHnkn.esm.js";
4
4
  //#region src/modules/id/deviceWallet/deviceWalletErrors.ts
5
5
  /**
6
6
  * Fail reason → i18n key for the device-wallet error screen (same shape as
@@ -1,4 +1,4 @@
1
- import { u as BrowserStorageProvider } from "./setup-CJ2VBcA5.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CyRmjz4t.esm.js";
2
2
  import { n as eventModuleNames, o as createManagerInstrumentation } from "./events-kU5WJU4B.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
4
4
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
@@ -9,8 +9,8 @@ import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-DhJXZ9el.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
10
  import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-RawRSsLZ.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
12
- import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-jsuV2xmD.esm.js";
13
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-CWgppgqs.esm.js";
12
+ import { _ as mapDeviceWalletScreenName, a as createIdProtectedCaptureController, c as hasOnCaptureCallback, g as BrowserDigitalCredentialsProvider, i as createIdCaptureOnlyDeliveryActor, l as pickIdCaptureOnlyConfig, n as provideIdProtectedCaptureController, o as findIdProtectedCaptureController, r as attachIdProtectedCaptureController, s as captureOnlyNeedsBack, t as idCaptureMachine } from "./idCaptureStateMachine-DWcdmoz7.esm.js";
13
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-hkOxHnkn.esm.js";
14
14
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BkvXSZfa.esm.js";
15
15
  //#region src/modules/id/digitalUpload/instrumentation.ts
16
16
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -1,6 +1,6 @@
1
- import { t as ensureWasmPipelines } from "./setup-CJ2VBcA5.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CyRmjz4t.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-lkjzqq9f.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-CV3fR1Pw.esm.js";
4
4
  import { i as isDesktop } from "./platform-aPh7gTWh.esm.js";
5
5
  import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
6
6
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
@@ -435,8 +435,8 @@ async function startRecordingSession(params) {
435
435
  }
436
436
  const [compositorModule, recorderModule, serviceModule] = await Promise.all([
437
437
  import("./CameraCompositor-DN7NkJzV.esm.js").then((n) => n.n),
438
- import("./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js").then((n) => n.n),
439
- import("./multipartRecordingService-2iVLb-2Y.esm.js").then((n) => n.n)
438
+ import("./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js").then((n) => n.n),
439
+ import("./multipartRecordingService-OmSzHBqh.esm.js").then((n) => n.n)
440
440
  ]);
441
441
  const recordingSource = params.stream.clone();
442
442
  const compositor = compositorModule.createRecordingCompositor();
@@ -1,15 +1,15 @@
1
1
  import { n as getTimestamp, r as revokeObjectURL } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
- import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-CJ2VBcA5.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-CyRmjz4t.esm.js";
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
4
4
  import { n as eventModuleNames, o as createManagerInstrumentation, s as recordExperimentAssignmentOnce, y as addEvent } from "./events-kU5WJU4B.esm.js";
5
5
  import { r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
6
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-Dg20aLqG.esm.js";
7
- import { n as getDisableIpify } from "./sessionInitializer-CjMdm-aq.esm.js";
6
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-d1gT8juZ.esm.js";
7
+ import { n as getDisableIpify } from "./sessionInitializer-BtPLbp2E.esm.js";
8
8
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
- import { s as exposeExperimentOnce } from "./feature-management-lkjzqq9f.esm.js";
9
+ import { s as exposeExperimentOnce } from "./feature-management-CV3fR1Pw.esm.js";
10
10
  import { t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
11
11
  import { a as isIOS, c as isIPhone14OrHigher, f as isSamsungDevice, s as isIPad, t as isAndroid, u as isMacOsSafari } from "./platform-aPh7gTWh.esm.js";
12
- import "./session-gttYd4CH.esm.js";
12
+ import "./session-yp5zx6mw.esm.js";
13
13
  import { c as not, i as assign, l as raise, n as enqueueActions, o as and, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
14
14
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
15
15
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
@@ -26,7 +26,7 @@ import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
26
26
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
27
27
  import { t as getDeviceClass } from "./getDeviceClass-DoIWuKI8.esm.js";
28
28
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CnAGmc1o.esm.js";
29
- import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-CWgppgqs.esm.js";
29
+ import { C as OPTIMIZING_WATCHDOG_MARGIN_MS, S as CAPTURE_OPTIMIZING, _ as validateUploadResponse, a as finalizeRecordingSession, b as resolveCountdownStepMs, c as isSuspendableRecordingSession, d as processId, f as resumeRecordingAfterPause, g as uploadIdImage, h as stopStream, i as disposeRecordingSession, l as pauseRecordingForAttempt, m as stopRecording, n as addBarcode, o as getRealQualityValue, p as startRecordingSession, s as initializeIdCapture, u as prepareRecordingForCameraRetry, v as ID_ERROR_CODES, w as getIdCameraStream, x as resolveIdCaptureThresholds } from "./idCaptureServices-hkOxHnkn.esm.js";
30
30
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
31
31
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
32
32
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -2044,7 +2044,7 @@ fromPromise(async ({ input }) => {
2044
2044
  });
2045
2045
  fromPromise(async ({ input }) => {
2046
2046
  if (!input.dependencies) return;
2047
- const { loadDeepsightSession } = await import("./deepsightLoader-DsU3JLH6.esm.js");
2047
+ const { loadDeepsightSession } = await import("./deepsightLoader-5kb9xOWU.esm.js");
2048
2048
  return loadDeepsightSession({
2049
2049
  ds: input.ds,
2050
2050
  storage: input.dependencies.storage,
@@ -2487,7 +2487,7 @@ function cleanup(service) {
2487
2487
  service.cleanup();
2488
2488
  } catch {}
2489
2489
  }
2490
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-DsU3JLH6.esm.js")).loadDeepsightSession(input)) {
2490
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-5kb9xOWU.esm.js")).loadDeepsightSession(input)) {
2491
2491
  let disposed = false;
2492
2492
  let preparation;
2493
2493
  let service;
@@ -109,7 +109,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
109
109
  type: "shouldProceedWithoutSubmitToSecondId";
110
110
  params: unknown;
111
111
  };
112
- }>, never, "error" | "idle" | "success" | "finished" | "inputting" | "submitting" | "loading" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
112
+ }>, never, "error" | "idle" | "success" | "finished" | "loading" | "submitting" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
113
  readonly id: "idOcr";
114
114
  readonly initial: "idle";
115
115
  readonly context: ({ input }: {
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-CU8d7T8n.js";
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as ReusableDocument, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as SubmitResponse, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-ooAbp6Kc.js";
2
2
  export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -116,14 +116,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
116
116
  type: "setDocuments";
117
117
  params: NonReducibleUnknown;
118
118
  };
119
- clearError: {
120
- type: "clearError";
121
- params: NonReducibleUnknown;
122
- };
123
119
  setError: {
124
120
  type: "setError";
125
121
  params: NonReducibleUnknown;
126
122
  };
123
+ clearError: {
124
+ type: "clearError";
125
+ params: NonReducibleUnknown;
126
+ };
127
127
  setSelectedDocument: {
128
128
  type: "setSelectedDocument";
129
129
  params: NonReducibleUnknown;
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import { i as reset, r as isConfigured, s as setup } from "./setup-CJ2VBcA5.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-CyRmjz4t.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
- import { t as kybChecksMachine } from "./kybChecksStateMachine-BaOaMYM0.esm.js";
2
- import { t as createKybChecksManager } from "./kybChecksManager-BkQs1iNJ.esm.js";
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-Dt9MhMMn.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-DBAN4Q6j.esm.js";
3
3
  export { createKybChecksManager, kybChecksMachine };
@@ -1,5 +1,5 @@
1
1
  import { s as createActor, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
2
- import { t as kybChecksMachine } from "./kybChecksStateMachine-BaOaMYM0.esm.js";
2
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-Dt9MhMMn.esm.js";
3
3
  //#region src/modules/kyb-checks/kybChecksActor.ts
4
4
  /** Creates and starts a KYB Checks actor, idle until `LOAD`. */
5
5
  function createKybChecksActor(options = {}) {
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
- import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-BJz3Jst_.esm.js";
2
+ import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-BSRsaU1Z.esm.js";
3
3
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-LA74KylV.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-vmuOCg8d.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-JNeVXgK8.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -53,26 +53,26 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
53
53
  type: "setConsent";
54
54
  params: NonReducibleUnknown;
55
55
  };
56
- clearError: {
57
- type: "clearError";
58
- params: NonReducibleUnknown;
59
- };
60
56
  setError: {
61
57
  type: "setError";
62
58
  params: NonReducibleUnknown;
63
59
  };
64
- setLoadError: {
65
- type: "setLoadError";
60
+ clearError: {
61
+ type: "clearError";
66
62
  params: NonReducibleUnknown;
67
63
  };
68
- toggleSigned: {
69
- type: "toggleSigned";
64
+ setLoadError: {
65
+ type: "setLoadError";
70
66
  params: NonReducibleUnknown;
71
67
  };
72
68
  resetContext: {
73
69
  type: "resetContext";
74
70
  params: NonReducibleUnknown;
75
71
  };
72
+ toggleSigned: {
73
+ type: "toggleSigned";
74
+ params: NonReducibleUnknown;
75
+ };
76
76
  }>, Values<{
77
77
  canSubmit: {
78
78
  type: "canSubmit";
@@ -82,7 +82,7 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
82
82
  type: "hasConsent";
83
83
  params: unknown;
84
84
  };
85
- }>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "loading" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
85
+ }>, never, "error" | "idle" | "closed" | "finished" | "loading" | "submitting" | "display", string, MandatoryConsentInput, NonReducibleUnknown, EventObject, MetaObject, {
86
86
  readonly id: "mandatoryConsent";
87
87
  readonly initial: "idle";
88
88
  readonly context: ({ input }: {
@@ -2,7 +2,7 @@ import { n as __exportAll } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
4
  import { t as BrowserNetworkStatusProvider } from "./BrowserNetworkStatusProvider-BrDXBEDd.esm.js";
5
- import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-D9mauUdS.esm.js";
5
+ import { t as MultipartRecordingProvider } from "./MultipartRecordingProvider-BfQPSgSO.esm.js";
6
6
  //#region src/internal/recordings/videoSelfieUploadService.ts
7
7
  /**
8
8
  * Opens a scoped multipart video upload session. Idempotent server-side: if
@@ -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-Cogayd5T.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-BC1QfWgW.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -2,8 +2,8 @@ import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
2
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
3
3
  import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
4
4
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-B9-IEVtV.esm.js";
5
- import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js";
6
- import { t as MultipartRecordingService } from "./multipartRecordingService-2iVLb-2Y.esm.js";
5
+ import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js";
6
+ import { t as MultipartRecordingService } from "./multipartRecordingService-OmSzHBqh.esm.js";
7
7
  //#region ../infra/src/media/VideoTrimmer.ts
8
8
  /** A trim that runs longer than this uploads the full recording instead. */
9
9
  const TRIM_TIMEOUT_MS = 1e4;
@@ -1,6 +1,6 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { w as createEventBus } from "./events-kU5WJU4B.esm.js";
3
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-Dg20aLqG.esm.js";
3
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-d1gT8juZ.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
6
  //#region src/internal/flow-events/flowEvents.ts
@@ -1,4 +1,4 @@
1
1
  //#region src/internal/version/sdkVersion.ts
2
- const SDK_VERSION = "0.0.0-dev-20261109-a0cf3c4f";
2
+ const SDK_VERSION = "0.0.0-dev-20261109-64d36744";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };
@@ -1,14 +1,14 @@
1
- import { u as BrowserStorageProvider } from "./setup-CJ2VBcA5.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CyRmjz4t.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
3
3
  import { n as eventModuleNames } from "./events-kU5WJU4B.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
6
- import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-BaabZUlZ.esm.js";
7
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CA_BAkTa.esm.js";
8
- import { s as processFace } from "./FaceDetectionProvider-ND4HlRHf.esm.js";
6
+ import { n as createDefaultProtectedFaceControllerActor, t as faceCaptureMachine } from "./faceCaptureSetup-CnmaoXBN.esm.js";
7
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BuH-ZRo3.esm.js";
8
+ import { s as processFace } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
9
9
  import { s as PROTECTED_CAPTURE_TARGET } from "./desktopCameraElection-K3INt8tJ.esm.js";
10
- import { t as selfieMachine } from "./selfieStateMachine-Dyj4mb7I.esm.js";
11
- import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-BAa__5dR.esm.js";
10
+ import { t as selfieMachine } from "./selfieStateMachine-DRPRU_ZU.esm.js";
11
+ import { n as createSelfieManagerFromActor, t as createSelfieManager } from "./selfieManager-QzhhV-0a.esm.js";
12
12
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-BkvXSZfa.esm.js";
13
13
  /**
14
14
  * Selfie state machine variant for the captureOnly flow. Shares the full base
@@ -1,4 +1,4 @@
1
- import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ND4HlRHf.esm.js";
1
+ import { u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
2
2
  //#region src/modules/selfie/selfieErrorUtils.ts
3
3
  const FACE_ERROR_CODE_VALUES = Object.values(FACE_ERROR_CODES);
4
4
  const isFaceErrorCode = (value) => {
@@ -1,9 +1,9 @@
1
- import { u as BrowserStorageProvider } from "./setup-CJ2VBcA5.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CyRmjz4t.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
3
3
  import { n as eventModuleNames } from "./events-kU5WJU4B.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-DSajW7CJ.esm.js";
5
- import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-CA_BAkTa.esm.js";
6
- import { t as selfieMachine } from "./selfieStateMachine-Dyj4mb7I.esm.js";
5
+ import { t as createFaceCaptureManagerFromActor } from "./faceCaptureManagerFactory-BuH-ZRo3.esm.js";
6
+ import { t as selfieMachine } from "./selfieStateMachine-DRPRU_ZU.esm.js";
7
7
  //#region src/modules/selfie/selfieActor.ts
8
8
  function createSelfieActor(options) {
9
9
  const dependencies = options.dependencies ?? {
@@ -1,8 +1,8 @@
1
1
  import { i as assign } from "./xstate.esm-DSajW7CJ.esm.js";
2
2
  import { n as fromPromise } from "./xstate-actors.esm-8Gzepa_A.esm.js";
3
- import { t as faceCaptureMachine } from "./faceCaptureSetup-BaabZUlZ.esm.js";
4
- import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ND4HlRHf.esm.js";
5
- import { n as validateUploadResponse } from "./selfieErrorUtils-CjAZXpAG.esm.js";
3
+ import { t as faceCaptureMachine } from "./faceCaptureSetup-CnmaoXBN.esm.js";
4
+ import { d as isOnDeviceMode, s as processFace, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
5
+ import { n as validateUploadResponse } from "./selfieErrorUtils-BfDkYDXk.esm.js";
6
6
  /**
7
7
  * The selfie capture state machine.
8
8
  *
@@ -1,7 +1,7 @@
1
1
  import { n as getApi, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
- import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-Dg20aLqG.esm.js";
3
- import "./sessionInitializer-CjMdm-aq.esm.js";
4
- import { i as toIncodeApiError } from "./apiError-BJz3Jst_.esm.js";
2
+ import { u as trueSightLog, x as noteSessionCreated } from "./trueSightService-d1gT8juZ.esm.js";
3
+ import "./sessionInitializer-BtPLbp2E.esm.js";
4
+ import { i as toIncodeApiError } from "./apiError-BSRsaU1Z.esm.js";
5
5
  //#region src/internal/session/sessionService.ts
6
6
  /**
7
7
  * HTTP status codes the QR validation endpoint emits, keyed by their semantic
@@ -1,10 +1,10 @@
1
1
  import { r as getToken } from "./api-C_P9YXbL.esm.js";
2
2
  import { r as subscribeHttpErrors } from "./HttpRequestError-Bh0pNGSC.esm.js";
3
- import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-CjMdm-aq.esm.js";
3
+ import { a as initializeSession, f as whenSessionFingerprintSettled } from "./sessionInitializer-BtPLbp2E.esm.js";
4
4
  import { n as onConnectivityChange, r as resumeConnectivity, t as isConnectivityLost } from "./connectivity-BCuEoQ-n.esm.js";
5
- import { t as IncodeApiError } from "./apiError-BJz3Jst_.esm.js";
6
- import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-gttYd4CH.esm.js";
7
- import { n as getFinishStatus } from "./flowCompletionService-BAwmzXxc.esm.js";
5
+ import { t as IncodeApiError } from "./apiError-BSRsaU1Z.esm.js";
6
+ import { a as continueSession, c as validateQrUuid, i as bootstrapSession, n as QrValidationError, o as createSession, r as SESSION_CONTINUE_ERROR_CODES, s as refreshQrUrlUuid, t as QR_VALIDATION_ERROR_CODES } from "./session-yp5zx6mw.esm.js";
7
+ import { n as getFinishStatus } from "./flowCompletionService-CfHYdO6Q.esm.js";
8
8
  //#region src/internal/session/sessionExpired.ts
9
9
  var SessionExpiredError = class extends Error {
10
10
  constructor() {
@@ -2,10 +2,10 @@ import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.
2
2
  import { n as setWasmMetadataV2Enabled } from "./wasmMetadataVersionSync-U8EFUr1T.esm.js";
3
3
  import { C as subscribeEvent, b as getAnalyticsBatcher, y as addEvent } from "./events-kU5WJU4B.esm.js";
4
4
  import { c as setToken, r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
5
- import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-Dg20aLqG.esm.js";
6
- import { t as SDK_VERSION } from "./sdkVersion-9Vd3rPko.esm.js";
5
+ import { C as noteTokenActivated, _ as isFeatureEnabled, b as noteEnvironment, c as startTrueSightCollection, g as fetchFeatureConfig, u as trueSightLog, v as resetFeatureConfigCache } from "./trueSightService-d1gT8juZ.esm.js";
6
+ import { t as SDK_VERSION } from "./sdkVersion-CwFnA3Zj.esm.js";
7
7
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
8
- import { E as updateFeatureManagementUser } from "./feature-management-lkjzqq9f.esm.js";
8
+ import { E as updateFeatureManagementUser } from "./feature-management-CV3fR1Pw.esm.js";
9
9
  import { n as flushDeviceStatsQueue, r as resetDeviceStatsQueue } from "./stats-Bv5PiWvo.esm.js";
10
10
  import { t as getParsedUserAgent } from "./getParsedUserAgent-DhQPeKqw.esm.js";
11
11
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
@@ -3,14 +3,14 @@ import { a as setWasmOnDeviceMode, f as drainWasmDiagnostics, m as rearmWasmDiag
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
4
4
  import { S as setAnalyticsBatcher, b as getAnalyticsBatcher, c as resetExperimentAssignments, v as createAnalyticsBatchingService, x as resetAnalyticsBatcher } from "./events-kU5WJU4B.esm.js";
5
5
  import { a as resetApi, i as isApiConfigured, n as getApi, r as getToken, s as setHttpRequestObserver, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
6
- import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-Dg20aLqG.esm.js";
7
- import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-CjMdm-aq.esm.js";
6
+ import { S as noteTestingSignals, d as categoryForEndpoint, f as getStoredHttpConfig, h as upgradeToWasmHttpClient$1, m as resetHttpClientState, n as initializeTrueSightDiagnostics, o as resetTrueSight, p as installFreshHttpClient, s as setTrueSightExternalDrain, t as finalizeTrueSight, u as trueSightLog } from "./trueSightService-d1gT8juZ.esm.js";
7
+ import { C as BrowserEnvironmentProvider, _ as setStandaloneFlowPolicy, a as initializeSession, c as setClientHostingApp, d as setClientWasmDisabled, g as resolveStandaloneFlowPolicy, h as resetStandaloneFlowPolicy, l as setClientIpLookupEnabled, m as registerFlowPreloader, o as resetSessionInit, s as setClientFingerprintEnabled, u as setClientWasmConfig, w as fingerprintSignalsReporter } from "./sessionInitializer-BtPLbp2E.esm.js";
8
8
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
9
9
  import { t as resolveLocalStorage } from "./safeStorage-UxDrnjwa.esm.js";
10
- 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-lkjzqq9f.esm.js";
10
+ 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-CV3fR1Pw.esm.js";
11
11
  import { r as resetDeviceStatsQueue, t as addDeviceStats } from "./stats-Bv5PiWvo.esm.js";
12
12
  import { a as resetTRI, n as initializeTRI, o as resetTRIProviderInstance } from "./tri-xzRLIIMN.esm.js";
13
- import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-DuCPzkmb.esm.js";
13
+ import { i as resetDashboardFlowCache, r as preloadDashboardFlow } from "./flowServices-BAZmgw0N.esm.js";
14
14
  //#region ../infra/src/wasm/wasmRuntimeProfile.ts
15
15
  /**
16
16
  * The WASM facts TrueSight reports as `session.webProfile.wasm`
@@ -2,7 +2,7 @@ import { a as setWebApiHttpTransport, g as emitWasmDiagnostic, i as initializeWa
2
2
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
3
3
  import { C as subscribeEvent, n as eventModuleNames } from "./events-kU5WJU4B.esm.js";
4
4
  import { i as isApiConfigured, l as withTiming, n as getApi, o as setClient, r as getToken, t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
5
- import { t as SDK_VERSION } from "./sdkVersion-9Vd3rPko.esm.js";
5
+ import { t as SDK_VERSION } from "./sdkVersion-CwFnA3Zj.esm.js";
6
6
  import { n as reportHttpError, t as HttpRequestError } from "./HttpRequestError-Bh0pNGSC.esm.js";
7
7
  /** Dirty-timer half of the interrupted-snapshot rebuild debounce (module boundaries + timer). */
8
8
  const SNAPSHOT_DIRTY_INTERVAL_MS = 15e3;
@@ -299,7 +299,8 @@ type VideoSelfieCameraWarmer = {
299
299
  /**
300
300
  * Stop a warmed-but-unused stream. Call on unmount when capture never started
301
301
  * so the camera light doesn't stay on. No-op once the stream has been consumed
302
- * by the recording machine.
302
+ * by the recording machine. After `dispose()`, `warm()` does nothing and
303
+ * `acquireCamera` always acquires a fresh stream.
303
304
  */
304
305
  dispose(): void;
305
306
  };
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-CJ2VBcA5.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CyRmjz4t.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-BP6-08Yn.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
4
4
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
5
5
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
6
- import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-DuCPzkmb.esm.js";
6
+ import { f as facingModeForStep, m as videoSelfieWasmPipelines, p as resolveVideoSelfieSteps } from "./flowServices-BAZmgw0N.esm.js";
7
7
  import { i as assign, l as raise, r as sendTo, s as createActor, t as setup, u as createManager } from "./xstate.esm-DSajW7CJ.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-8Gzepa_A.esm.js";
9
9
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
10
10
  import { t as carryAttempts } from "./attemptCarry-BaAXPR_w.esm.js";
11
11
  import { t as VIDEO_SELFIE_VALIDATION_ATTEMPTS_EXHAUSTED_CODE } from "./advanceableErrors-k-U-cL5m.esm.js";
12
- import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-CIAgJR2J.esm.js";
12
+ import { n as defaultAcquireCamera, r as createDefaultStepDetector, s as isConnectionError, t as createVideoSelfieCameraWarmer } from "./videoSelfieCameraWarmer-v8NxvLg1.esm.js";
13
13
  import { r as createRecordingCompositor } from "./CameraCompositor-DN7NkJzV.esm.js";
14
- import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-B1ODYtgN.esm.js";
15
- import { t as MultipartRecordingService } from "./multipartRecordingService-2iVLb-2Y.esm.js";
14
+ import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-CyCrQnZR.esm.js";
15
+ import { t as MultipartRecordingService } from "./multipartRecordingService-OmSzHBqh.esm.js";
16
16
  import { t as videoSelfieFlowModuleMachine } from "./videoSelfieFlowModuleMachine-BCFVHBQ1.esm.js";
17
17
  //#region ../../node_modules/.pnpm/audio-recorder-polyfill@0.4.1/node_modules/audio-recorder-polyfill/wave-encoder/index.js
18
18
  var wave_encoder_default = () => {
@@ -1,13 +1,13 @@
1
1
  import { t as api, u as endpoints } from "./api-C_P9YXbL.esm.js";
2
2
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
3
- import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-DuCPzkmb.esm.js";
3
+ import { f as facingModeForStep, p as resolveVideoSelfieSteps } from "./flowServices-BAZmgw0N.esm.js";
4
4
  import { i as requestCameraWithFallback, r as requestCameraAccess } from "./camera-E_Kcre4O.esm.js";
5
5
  import { t as checkPermission } from "./permissionServices-RawRSsLZ.esm.js";
6
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-ND4HlRHf.esm.js";
6
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-Qu3EP9Kz.esm.js";
7
7
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
8
8
  import { n as getBackCameraStream } from "./backCameraStream-DS1oDiUq.esm.js";
9
9
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
10
- import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-CjAZXpAG.esm.js";
10
+ import { t as getFaceErrorCodeFromUnknown } from "./selfieErrorUtils-BfDkYDXk.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CnAGmc1o.esm.js";
12
12
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-C9jtgBdT.esm.js";
13
13
  //#region src/modules/video-selfie/videoSelfieCompareService.ts
@@ -470,10 +470,10 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
470
470
  const firstFacing = facingModeForStep(steps[0] ?? "selfie");
471
471
  let warming = null;
472
472
  let warmed = null;
473
- let consumed = false;
473
+ let handedOff = null;
474
474
  return {
475
475
  warm() {
476
- if (warming) return;
476
+ if (warming || handedOff) return;
477
477
  warming = (async () => {
478
478
  try {
479
479
  if (await checkPermission() !== "granted") return null;
@@ -485,8 +485,8 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
485
485
  })();
486
486
  },
487
487
  async acquireCamera(facingMode, withAudio) {
488
- if (!consumed && facingMode === firstFacing && withAudio) {
489
- consumed = true;
488
+ if (!handedOff && facingMode === firstFacing && withAudio) {
489
+ handedOff = "consumed";
490
490
  const stream = warmed ?? (warming ? await warming : null);
491
491
  warmed = null;
492
492
  if (stream) return stream;
@@ -494,12 +494,14 @@ function createVideoSelfieCameraWarmer(config, steps = resolveVideoSelfieSteps(c
494
494
  return defaultAcquireCamera(facingMode, withAudio);
495
495
  },
496
496
  dispose() {
497
- if (consumed) return;
497
+ if (handedOff) return;
498
+ handedOff = "disposed";
498
499
  if (warmed) {
499
500
  stopStream(warmed);
500
501
  warmed = null;
501
502
  } else if (warming) warming.then((stream) => {
502
- if (!consumed) stopStream(stream);
503
+ stopStream(stream);
504
+ warmed = null;
503
505
  });
504
506
  }
505
507
  };
package/dist/wasm.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { E as WASM_PIPELINE_LAZY_MODEL_NAMES, O as WASM_PIPELINE_MODEL_NAMES, T as WASM_MODEL_FILES, b as buildDefaultWasmConfig, w as resolveWasmConfig, x as buildWasmConfigFromBasePath, y as DEFAULT_WASM_VERSION } from "./wasmWebClient-CowdFxEv.esm.js";
2
2
  import { s as warmupWasm } from "./warmup-BUnab2eW.esm.js";
3
- import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-CJ2VBcA5.esm.js";
3
+ import { a as resolveWasmConfigForPipelines, c as upgradeToWasmHttpClient, n as initializeWasmUtil, o as setWasmConfig, t as ensureWasmPipelines } from "./setup-CyRmjz4t.esm.js";
4
4
  //#region src/defineWasm.ts
5
5
  function requiredModels(pipelines) {
6
6
  const models = /* @__PURE__ */ new Set();