@incodetech/core 0.0.0-dev-20261125-65fbd784 → 0.0.0-dev-20261125-e10a167e

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 (84) hide show
  1. package/dist/{FaceDetectionProvider-UrN7k619.esm.js → FaceDetectionProvider-DBV0ahb8.esm.js} +4 -4
  2. package/dist/{MotionSensorProvider-X4_2eBGd.esm.js → MotionSensorProvider-BAGydZPH.esm.js} +5 -0
  3. package/dist/ae-signature.esm.js +1 -1
  4. package/dist/{apiError-CsuExqla.esm.js → apiError-CuZcUZuv.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-Cbpz582r.esm.js → authenticationManager-DisUbRlN.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-CH9TtEc6.esm.js → authenticationStateMachine-DkBQguqq.esm.js} +3 -3
  8. package/dist/camera.esm.js +1 -1
  9. package/dist/consent.d.ts +1 -1
  10. package/dist/{consentManager-B0YKqYtZ.d.ts → consentManager-CMed_O5F.d.ts} +8 -8
  11. package/dist/{deepsightCaptureConfig-RVaZFoEz.esm.js → deepsightCaptureConfig-DGVUTY29.esm.js} +2 -2
  12. package/dist/{deepsightLoader-Be1Bjk19.esm.js → deepsightLoader-D_RQdqL_.esm.js} +5 -5
  13. package/dist/{desktopCameraElection-DHaOf19x.esm.js → desktopCameraElection-CuLTefJ0.esm.js} +5 -5
  14. package/dist/document-capture.d.ts +1 -1
  15. package/dist/document-capture.esm.js +2 -2
  16. package/dist/document-signature.esm.js +1 -1
  17. package/dist/{documentCaptureManager-sJWgqtUy.d.ts → documentCaptureManager-DOgJTJ4F.d.ts} +4 -4
  18. package/dist/{documentCaptureManager-2sdAI82V.esm.js → documentCaptureManager-ytELw-yO.esm.js} +1 -1
  19. package/dist/{documentCaptureStateMachine-4e3ojswD.esm.js → documentCaptureStateMachine-lKG1IVEM.esm.js} +2 -2
  20. package/dist/{documentSignatureStateMachine-DnfvJuoF.esm.js → documentSignatureStateMachine-D-6LvS1H.esm.js} +1 -1
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-SMPiIP9V.esm.js → dynamicFormsManager-D5ZYdtQr.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-g-GCXUfp.esm.js → dynamicFormsStateMachine-BR6iuC5G.esm.js} +1 -1
  24. package/dist/ekyb.esm.js +2 -2
  25. package/dist/{ekybManager-Csz6Yln4.esm.js → ekybManager-Be_YnkHA.esm.js} +1 -1
  26. package/dist/{ekybStateMachine-IzsMbVST.esm.js → ekybStateMachine-hWRDkhAT.esm.js} +1 -1
  27. package/dist/ekyc-prefill.d.ts +1 -1
  28. package/dist/ekyc-prefill.esm.js +2 -2
  29. package/dist/{ekycPrefillManager-DAdxVx71.esm.js → ekycPrefillManager-CaMwNpP0.esm.js} +1 -1
  30. package/dist/{ekycPrefillManager-BwmPXfhY.d.ts → ekycPrefillManager-Dhy0OG_b.d.ts} +30 -30
  31. package/dist/{ekycPrefillStateMachine-Dejlk4O7.esm.js → ekycPrefillStateMachine-NMaEb10U.esm.js} +1 -1
  32. package/dist/electronic-signature.esm.js +1 -1
  33. package/dist/{electronicSignatureManager-zgzamcm1.esm.js → electronicSignatureManager-D42Fx6cT.esm.js} +1 -1
  34. package/dist/extensibility.d.ts +7 -7
  35. package/dist/extensibility.esm.js +13 -13
  36. package/dist/{faceCaptureManagerFactory-C8a6AyaE.esm.js → faceCaptureManagerFactory-BbRj8P8O.esm.js} +3 -3
  37. package/dist/{faceCaptureSetup-BViX3dHW.esm.js → faceCaptureSetup-WxNPfp15.esm.js} +17 -9
  38. package/dist/{feature-management-DZv3-5N-.esm.js → feature-management-B0q4TMsC.esm.js} +1 -1
  39. package/dist/feature-management.esm.js +1 -1
  40. package/dist/flow.esm.js +3 -3
  41. package/dist/{flowCompletionService-DIGIkFDm.esm.js → flowCompletionService-BASbhN57.esm.js} +1 -1
  42. package/dist/{flowServices-B1lJmQ2F.esm.js → flowServices-CrBbfWoL.esm.js} +4 -4
  43. package/dist/geolocation.d.ts +1 -1
  44. package/dist/geolocation.esm.js +2 -2
  45. package/dist/{geolocationManager-DFinMPWo.esm.js → geolocationManager-CZlG5tET.esm.js} +1 -1
  46. package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
  47. package/dist/{geolocationStateMachine-27nczfaJ.esm.js → geolocationStateMachine-DMm-G7NL.esm.js} +1 -1
  48. package/dist/id-ocr.d.ts +1 -1
  49. package/dist/id-selfie-flow.esm.js +6 -6
  50. package/dist/id.esm.js +3 -3
  51. package/dist/{idCaptureManager-BYyDEMJw.esm.js → idCaptureManager-DEy-XaBi.esm.js} +5 -5
  52. package/dist/{idCaptureServices-CP98fZUe.esm.js → idCaptureServices-CpqaRkff.esm.js} +2 -2
  53. package/dist/{idCaptureStateMachine-Ddj9SOMp.esm.js → idCaptureStateMachine-Bzj86X_4.esm.js} +26 -13
  54. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-voLpv_jJ.d.ts} +1 -1
  55. package/dist/identity-reuse.d.ts +1 -1
  56. package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
  57. package/dist/index.esm.js +1 -1
  58. package/dist/kyb-checks.esm.js +2 -2
  59. package/dist/{kybChecksManager-Dg9BsU9Y.esm.js → kybChecksManager-BIlgSbb0.esm.js} +1 -1
  60. package/dist/{kybChecksStateMachine-HBHyQLgV.esm.js → kybChecksStateMachine-JwoWvTVP.esm.js} +1 -1
  61. package/dist/mandatory-consent.d.ts +1 -1
  62. package/dist/{mandatoryConsentManager-BcxCesP5.d.ts → mandatoryConsentManager-BY8WCCKq.d.ts} +8 -8
  63. package/dist/{permissionGuards-BqqRUDJ3.esm.js → permissionGuards-SvIvYyWB.esm.js} +1 -1
  64. package/dist/{permissionServices-Csq_7Cbg.esm.js → permissionServices-GQyOY1tb.esm.js} +18 -6
  65. package/dist/qe-signature.esm.js +1 -1
  66. package/dist/{recordingService-CjvUTbJ2.esm.js → recordingService-BMy-wSI4.esm.js} +1 -1
  67. package/dist/{runChildModule-CgRyonpB.esm.js → runChildModule-DiXTIKoa.esm.js} +1 -1
  68. package/dist/{sdkVersion-DCCBTate.esm.js → sdkVersion-BkmV6loo.esm.js} +1 -1
  69. package/dist/selfie.esm.js +7 -7
  70. package/dist/{selfieErrorUtils-bGh4PR_u.esm.js → selfieErrorUtils-CPZwkfS1.esm.js} +1 -1
  71. package/dist/{selfieManager-xqPVk5ID.esm.js → selfieManager-DeovVNrI.esm.js} +3 -3
  72. package/dist/{selfieStateMachine-C4QDeMWl.esm.js → selfieStateMachine-B8WvkomM.esm.js} +3 -3
  73. package/dist/{session-SjMxzn_z.esm.js → session-DNqHhYmG.esm.js} +4 -4
  74. package/dist/session.esm.js +4 -4
  75. package/dist/{sessionInitializer-B62QNOn0.esm.js → sessionInitializer-BaxrnKP5.esm.js} +4 -4
  76. package/dist/{setup-C9kGuFdp.esm.js → setup-CBVQS0Tc.esm.js} +5 -5
  77. package/dist/trueSight-B5TsmkOb.esm.js +1 -0
  78. package/dist/{trueSightService-CS75tmsV.esm.js → trueSightService-j-XfYmgc.esm.js} +1 -1
  79. package/dist/video-selfie.esm.js +3 -3
  80. package/dist/{videoSelfieCameraWarmer-rPGaHVRK.esm.js → videoSelfieCameraWarmer-D7kNNRsI.esm.js} +4 -4
  81. package/dist/wasm.esm.js +1 -1
  82. package/dist/workflow.esm.js +18 -18
  83. package/package.json +2 -2
  84. package/dist/trueSight-ByoxDfCz.esm.js +0 -1
@@ -3,11 +3,11 @@ import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
3
3
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
4
4
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
5
5
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
6
- import { r as concealmentToAvatar } from "./faceCaptureSetup-BViX3dHW.esm.js";
6
+ import { r as concealmentToAvatar } from "./faceCaptureSetup-WxNPfp15.esm.js";
7
7
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
8
8
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
9
- import { r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Csq_7Cbg.esm.js";
10
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-RVaZFoEz.esm.js";
9
+ import { i as primeMotionFromUserGestureIfNeeded } from "./permissionServices-GQyOY1tb.esm.js";
10
+ import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-DGVUTY29.esm.js";
11
11
  //#region src/internal/faceCapture/faceCaptureManagerFactory.ts
12
12
  function getPermissionStatus(snapshot) {
13
13
  if (!snapshot.matches("permissions")) return;
@@ -1,20 +1,20 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { r as getToken } from "./api-B58edv6M.esm.js";
3
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CS75tmsV.esm.js";
4
- import "./trueSight-ByoxDfCz.esm.js";
3
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-j-XfYmgc.esm.js";
4
+ import "./trueSight-B5TsmkOb.esm.js";
5
5
  import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
6
6
  import { s as isIPhone14OrHigher } from "./platform-GIg4uPWe.esm.js";
7
7
  import { i as assign, n as enqueueActions, r as sendTo, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
8
8
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
9
9
  import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
10
- import { n as invokeRequestPermissionActor, t as checkPermission } from "./permissionServices-Csq_7Cbg.esm.js";
10
+ import { n as checkPermission, r as invokeRequestPermissionActor, t as canPrimeMotionWithoutUserGesture } from "./permissionServices-GQyOY1tb.esm.js";
11
11
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
12
- import { n as recordsLivenessClip, r as wantsDeepsightMotion } from "./deepsightCaptureConfig-RVaZFoEz.esm.js";
13
- import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-UrN7k619.esm.js";
14
- import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, o as flagFaceManualReview, r as readIadCameraStepGates, t as electDesktopCameraDevice } from "./desktopCameraElection-DHaOf19x.esm.js";
12
+ import { n as recordsLivenessClip, r as wantsDeepsightMotion } from "./deepsightCaptureConfig-DGVUTY29.esm.js";
13
+ import { a as sendLabelInspectionEvent, i as probeFaceCamera, l as getFaceUploadErrorCode, r as initializeDeepsightSession, t as FaceDetectionProvider, u as FACE_ERROR_CODES } from "./FaceDetectionProvider-DBV0ahb8.esm.js";
14
+ import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, o as flagFaceManualReview, r as readIadCameraStepGates, t as electDesktopCameraDevice } from "./desktopCameraElection-CuLTefJ0.esm.js";
15
15
  import { n as releaseFaceAvatarWarmup, r as warmFaceAvatar, t as createFaceAvatar } from "./createFaceAvatar-BNHdeFj8.esm.js";
16
16
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
17
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BqqRUDJ3.esm.js";
17
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-SvIvYyWB.esm.js";
18
18
  import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
19
19
  //#region src/internal/avatar/concealment.ts
20
20
  /**
@@ -192,7 +192,7 @@ var ProtectedFaceAttemptRuntime = class ProtectedFaceAttemptRuntime {
192
192
  /** Per-attempt fallback when no step owner supplies the recording service. */
193
193
  async createAttemptRecordingService() {
194
194
  const wasmUtil = await this.options.dependencies.getWasmUtil();
195
- return (await import("./recordingService-CjvUTbJ2.esm.js")).createRecordingService({
195
+ return (await import("./recordingService-BMy-wSI4.esm.js")).createRecordingService({
196
196
  config: this.options.config,
197
197
  wasmUtil,
198
198
  sessionToken: getToken(),
@@ -492,7 +492,7 @@ function createProtectedFaceControllerActor(options) {
492
492
  const input = getControllerInput();
493
493
  const pending = (async () => {
494
494
  const wasmUtil = await input.dependencies.getWasmUtil();
495
- const recordingModule = await import("./recordingService-CjvUTbJ2.esm.js");
495
+ const recordingModule = await import("./recordingService-BMy-wSI4.esm.js");
496
496
  if (!active) return;
497
497
  stepRecording ??= recordingModule.createRecordingService({
498
498
  config: input.config,
@@ -1092,6 +1092,9 @@ const faceCaptureMachine = setup({
1092
1092
  needsMotionPrimeOnly: ({ context, event }) => {
1093
1093
  return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult("output" in event ? event.output : void 0, context.permissionResult), wantsDeepsightMotion(context.config));
1094
1094
  },
1095
+ needsMotionPrimeWithoutGesture: ({ context, event }) => {
1096
+ return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult("output" in event ? event.output : void 0, context.permissionResult), wantsDeepsightMotion(context.config)) && canPrimeMotionWithoutUserGesture();
1097
+ },
1095
1098
  isPermissionDeniedError: ({ event }) => {
1096
1099
  if ("error" in event) {
1097
1100
  const error = event.error;
@@ -1364,6 +1367,11 @@ const faceCaptureMachine = setup({
1364
1367
  guard: ({ event }) => event.output === "denied",
1365
1368
  actions: "setPermissionResultFromEvent"
1366
1369
  },
1370
+ {
1371
+ target: "requesting",
1372
+ guard: "needsMotionPrimeWithoutGesture",
1373
+ actions: "setPermissionResultFromEvent"
1374
+ },
1367
1375
  {
1368
1376
  target: "motionOnly",
1369
1377
  guard: "needsMotionPrimeOnly",
@@ -1,5 +1,5 @@
1
1
  import { r as __toESM } from "./rolldown-runtime-B-1-B7_t.esm.js";
2
- import { t as SDK_VERSION } from "./sdkVersion-DCCBTate.esm.js";
2
+ import { t as SDK_VERSION } from "./sdkVersion-BkmV6loo.esm.js";
3
3
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
4
4
  let currentEnvironment;
5
5
  /** Effective tier: the explicitly-set value, else the default (see note above). */
@@ -1,2 +1,2 @@
1
- import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-DZv3-5N-.esm.js";
1
+ import { E as updateFeatureManagementUser, T as subscribeFeatureManagement, _ as getIsFeatureManagementInitialized, a as stringParam, d as ONBOARDING_WEB_SDK_PARAMETER_STORE, f as getExperiment, g as getFeatureParameterStore, h as getFeatureManagementVersion, i as numberParam, l as resolveExperiment, m as getFeatureGate, n as defineExperimentParams, o as EXPERIMENT_UNAVAILABLE_SENTINEL, p as getFeatureDynamicConfig, r as enumParam, s as exposeExperimentOnce, t as booleanParam, u as resolveExperimentOnce, x as logEvent, y as getLayer } from "./feature-management-B0q4TMsC.esm.js";
2
2
  export { EXPERIMENT_UNAVAILABLE_SENTINEL, ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, exposeExperimentOnce, getExperiment, getFeatureDynamicConfig, getFeatureGate, getFeatureManagementVersion, getFeatureParameterStore, getIsFeatureManagementInitialized, getLayer, logEvent, numberParam, resolveExperiment, resolveExperimentOnce, stringParam, subscribeFeatureManagement, updateFeatureManagementUser };
package/dist/flow.esm.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { g as screenOpened, m as screenClosed, v as addEvent } from "./types-DLsivQsu.esm.js";
2
2
  import "./events-PUWyizJn.esm.js";
3
3
  import { i as retryAfterReconnect } from "./connectivity-BCuEoQ-n.esm.js";
4
- import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-B1lJmQ2F.esm.js";
4
+ import { S as mergeDashboardConfig, _ as resolveFlowModuleConfig, a as resolveDashboardModuleConfig, c as decideFlowPresets, d as stepsThatMayRunNext, f as enrichFlowModuleConfig, g as normalizeFlowModules, h as loadFlowConfigConverters, l as flowPresetAnalyticsModule, m as getRequiredWasmPipelines, n as getFlow, o as applyFlowPresets, p as getNextRequiredWasmPipelines, r as preloadDashboardFlow, s as armFlowPresets, t as completeDeferredActivation, u as getFirstFlowModuleKey, x as applyModulesConfig } from "./flowServices-CrBbfWoL.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
- import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-DIGIkFDm.esm.js";
9
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-CgRyonpB.esm.js";
8
+ import { n as getFinishStatus, r as getTotalScoreStatus, t as classifyScoreStatus } from "./flowCompletionService-BASbhN57.esm.js";
9
+ import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DiXTIKoa.esm.js";
10
10
  import { n as isAdvanceableError } from "./advanceableErrors-CxZyPRyh.esm.js";
11
11
  //#region src/modules/flow/noOpFlowModuleMachine.ts
12
12
  const noOpFlowModuleMachine = /* @__PURE__ */ (() => setup({}).createMachine({
@@ -1,5 +1,5 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
- import { i as toIncodeApiError } from "./apiError-CsuExqla.esm.js";
2
+ import { i as toIncodeApiError } from "./apiError-CuZcUZuv.esm.js";
3
3
  //#region src/modules/flow/flowCompletionService.ts
4
4
  const getFinishStatus = async (flowId, signal) => {
5
5
  const url = `${endpoints.finishStatus}${flowId ? `?flowId=${flowId}` : ""}`;
@@ -1,10 +1,10 @@
1
1
  import { r as getWasmStatus } from "./warmup-O3rAoe1-.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
3
3
  import { r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
4
- import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-B62QNOn0.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-DZv3-5N-.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-CsuExqla.esm.js";
7
- import "./session-SjMxzn_z.esm.js";
4
+ import { d as whenSessionFingerprintSettled, f as getStandaloneFlowPolicy, i as initializeSession, r as getSessionFingerprintResult } from "./sessionInitializer-BaxrnKP5.esm.js";
5
+ import { E as updateFeatureManagementUser } from "./feature-management-B0q4TMsC.esm.js";
6
+ import { i as toIncodeApiError } from "./apiError-CuZcUZuv.esm.js";
7
+ import "./session-DNqHhYmG.esm.js";
8
8
  import { n as loadPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
9
9
  import { i as prefetchStartInfo } from "./phoneServices-Dk4j3NhI.esm.js";
10
10
  //#region src/modules/flow/dashboardConfig.ts
@@ -1,2 +1,2 @@
1
- import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-CENrvxpK.js";
1
+ import { n as GeolocationState, o as geolocationMachine, r as createGeolocationManager, s as GeolocationConfig, t as GeolocationManager } from "./geolocationManager-Del2ddmt.js";
2
2
  export { type GeolocationConfig, type GeolocationManager, type GeolocationState, createGeolocationManager, geolocationMachine };
@@ -1,3 +1,3 @@
1
- import { t as createGeolocationManager } from "./geolocationManager-DFinMPWo.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-27nczfaJ.esm.js";
1
+ import { t as createGeolocationManager } from "./geolocationManager-CZlG5tET.esm.js";
2
+ import { t as geolocationMachine } from "./geolocationStateMachine-DMm-G7NL.esm.js";
3
3
  export { createGeolocationManager, geolocationMachine };
@@ -2,7 +2,7 @@ import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
2
2
  import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
3
3
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
- import { t as geolocationMachine } from "./geolocationStateMachine-27nczfaJ.esm.js";
5
+ import { t as geolocationMachine } from "./geolocationStateMachine-DMm-G7NL.esm.js";
6
6
  //#region ../infra/src/providers/browser/BrowserGeolocationProvider.ts
7
7
  var BrowserGeolocationProvider = class {
8
8
  getCurrentPosition() {
@@ -117,7 +117,7 @@ declare const geolocationMachine: StateMachine<GeolocationContext, {
117
117
  type: "isPermissionDenied";
118
118
  params: unknown;
119
119
  };
120
- }>, never, "error" | "idle" | "closed" | "finished" | "requestingLocation" | "submitting" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
120
+ }>, never, "error" | "idle" | "closed" | "finished" | "submitting" | "requestingLocation" | "permissionDenied" | "locationAcquired", string, GeolocationInput, NonReducibleUnknown, EventObject, MetaObject, {
121
121
  readonly id: "geolocation";
122
122
  readonly initial: "idle";
123
123
  readonly context: ({ input, self }: {
@@ -1,6 +1,6 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
2
  import { i as isIOS, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
3
- import { n as isConnectivityError } from "./apiError-CsuExqla.esm.js";
3
+ import { n as isConnectivityError } from "./apiError-CuZcUZuv.esm.js";
4
4
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
6
6
  import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
package/dist/id-ocr.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as UpdateOcrDataParams, n as OcrData, o as ValidationRule, r as OcrFieldConfig, t as IdOcrConfig } from "./types-Bpo97EOh.js";
2
- import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-DflRx-_u.js";
2
+ import { a as IdOcrActor, i as createIdOcrManagerFromActor, n as IdOcrState, o as IdOcrOcrDocument, r as createIdOcrManager, s as idOcrStateMachine, t as IdOcrManager } from "./idOcrManager-voLpv_jJ.js";
3
3
  //#region src/modules/id-ocr/idOcrFields.d.ts
4
4
  declare const OCR_FIELDS: OcrFieldConfig[];
5
5
  declare const getOcrFields: (config: Pick<IdOcrConfig, "cpfOnly" | "flowId">) => OcrFieldConfig[];
@@ -1,18 +1,18 @@
1
- import { t as ensureWasmPipelines } from "./setup-C9kGuFdp.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CBVQS0Tc.esm.js";
2
2
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
3
3
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
4
- import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-B1lJmQ2F.esm.js";
4
+ import { a as resolveDashboardModuleConfig, v as facingModeForStep } from "./flowServices-CrBbfWoL.esm.js";
5
5
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
6
6
  import { i as assign, r as sendTo, s as createActor, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
7
7
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
8
8
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
9
- import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-UrN7k619.esm.js";
9
+ import { c as uploadSelfie, n as encryptSelfieImage, o as startDetection, s as processFace, t as FaceDetectionProvider } from "./FaceDetectionProvider-DBV0ahb8.esm.js";
10
10
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
11
11
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider, t as DEFAULT_ID_CAPTURE_GEOMETRY } from "./idCaptureDefaults-CFyXIRuM.esm.js";
12
- import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-CP98fZUe.esm.js";
12
+ import { _ as validateUploadResponse, d as processId, g as uploadIdImage, v as ID_ERROR_CODES } from "./idCaptureServices-CpqaRkff.esm.js";
13
13
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
14
- import { n as getFinishStatus } from "./flowCompletionService-DIGIkFDm.esm.js";
15
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-rPGaHVRK.esm.js";
14
+ import { n as getFinishStatus } from "./flowCompletionService-BASbhN57.esm.js";
15
+ import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-D7kNNRsI.esm.js";
16
16
  import { t as CameraCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
17
17
  //#region src/modules/id-selfie-flow/idSelfieFlowStepDetector.ts
18
18
  /** 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-Ddj9SOMp.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-BYyDEMJw.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-CP98fZUe.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-Bzj86X_4.esm.js";
2
+ import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-DEy-XaBi.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-CpqaRkff.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-C9kGuFdp.esm.js";
1
+ import { u as BrowserStorageProvider } from "./setup-CBVQS0Tc.esm.js";
2
2
  import { n as eventModuleNames } from "./types-DLsivQsu.esm.js";
3
3
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
4
4
  import { t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
@@ -10,11 +10,11 @@ import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
10
10
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
11
11
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
12
12
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
13
- import { c as resetWasmMotionPrimedForModule, o as requiresMotionPermissionUserGesture, r as primeMotionFromUserGestureIfNeeded } from "./permissionServices-Csq_7Cbg.esm.js";
13
+ import { i as primeMotionFromUserGestureIfNeeded, l as resetWasmMotionPrimedForModule, s as requiresMotionPermissionUserGesture } from "./permissionServices-GQyOY1tb.esm.js";
14
14
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
15
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-RVaZFoEz.esm.js";
16
- 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-Ddj9SOMp.esm.js";
17
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-CP98fZUe.esm.js";
15
+ import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-DGVUTY29.esm.js";
16
+ 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-Bzj86X_4.esm.js";
17
+ import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-CpqaRkff.esm.js";
18
18
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-D2FOfi4O.esm.js";
19
19
  //#region src/modules/id/digitalUpload/instrumentation.ts
20
20
  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-C9kGuFdp.esm.js";
1
+ import { t as ensureWasmPipelines } from "./setup-CBVQS0Tc.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
- import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-DZv3-5N-.esm.js";
3
+ import { i as numberParam, m as getFeatureGate, n as defineExperimentParams, t as booleanParam, u as resolveExperimentOnce } from "./feature-management-B0q4TMsC.esm.js";
4
4
  import { r as isDesktop } from "./platform-GIg4uPWe.esm.js";
5
5
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
6
6
  import { n as isBackFacingTrack } from "./backCameraLabel-yda5ugE4.esm.js";
@@ -1,36 +1,36 @@
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-C9kGuFdp.esm.js";
2
+ import { l as isGoogleWalletSignedRequestsEnabled, t as ensureWasmPipelines, u as BrowserStorageProvider } from "./setup-CBVQS0Tc.esm.js";
3
3
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
4
4
  import { n as eventModuleNames, v as addEvent } from "./types-DLsivQsu.esm.js";
5
5
  import { r as getToken, t as api, u as endpoints } from "./api-B58edv6M.esm.js";
6
6
  import { n as recordExperimentAssignmentOnce, t as createManagerInstrumentation } from "./events-PUWyizJn.esm.js";
7
- import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-CS75tmsV.esm.js";
8
- import "./trueSight-ByoxDfCz.esm.js";
9
- import { t as getDisableIpify } from "./sessionInitializer-B62QNOn0.esm.js";
7
+ import { l as trueSightHintTransition, r as noteTrueSightCaptureActivity, u as trueSightLog, y as isTrueSightTesting } from "./trueSightService-j-XfYmgc.esm.js";
8
+ import "./trueSight-B5TsmkOb.esm.js";
9
+ import { t as getDisableIpify } from "./sessionInitializer-BaxrnKP5.esm.js";
10
10
  import { t as BrowserTimerProvider } from "./BrowserTimerProvider-BXhgNxLt.esm.js";
11
- import { s as exposeExperimentOnce } from "./feature-management-DZv3-5N-.esm.js";
11
+ import { s as exposeExperimentOnce } from "./feature-management-B0q4TMsC.esm.js";
12
12
  import { t as addDeviceStats } from "./stats-DHu3li6G.esm.js";
13
13
  import { d as isSamsungDevice, i as isIOS, l as isMacOsSafari, o as isIPad, s as isIPhone14OrHigher, t as isAndroid } from "./platform-GIg4uPWe.esm.js";
14
- import "./session-SjMxzn_z.esm.js";
14
+ import "./session-DNqHhYmG.esm.js";
15
15
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
16
16
  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 } from "./xstate.esm-CIqUf_i6.esm.js";
17
17
  import { n as fromPromise, t as fromCallback } from "./xstate-actors.esm-BCcwgosu.esm.js";
18
18
  import { n as getUrlSearchParam, t as buildUrlWithSearchParams } from "./urlUtils-eYiyWjh0.esm.js";
19
19
  import { c as isCameraDenialErrorName } from "./camera-CJKApt0x.esm.js";
20
- import { i as requestMotionPermission, n as invokeRequestPermissionActor, o as requiresMotionPermissionUserGesture, t as checkPermission, u as queryPermission } from "./permissionServices-Csq_7Cbg.esm.js";
20
+ import { a as requestMotionPermission, d as queryPermission, n as checkPermission, r as invokeRequestPermissionActor, s as requiresMotionPermissionUserGesture, t as canPrimeMotionWithoutUserGesture } from "./permissionServices-GQyOY1tb.esm.js";
21
21
  import { n as getWindowDimensions } from "./getDeviceClass-CeBiEayS.esm.js";
22
22
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
23
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-RVaZFoEz.esm.js";
24
- import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-DHaOf19x.esm.js";
23
+ import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-DGVUTY29.esm.js";
24
+ import { a as cameraCycleProvider, c as deepsightSignalConfigActor, i as runProtectedAttempt, l as PROTECTED_CAPTURE_TARGET, n as createCameraCycleOwnership, r as readIadCameraStepGates, s as flagIdManualReview, t as electDesktopCameraDevice } from "./desktopCameraElection-CuLTefJ0.esm.js";
25
25
  import { t as IncodeCanvas } from "./canvas-BxFzWTt-.esm.js";
26
- import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-BqqRUDJ3.esm.js";
26
+ import { n as needsMotionPrimeOnlyFromPermission, r as resolveStoredPermissionResult, t as isReadyForCaptureFromPermission } from "./permissionGuards-SvIvYyWB.esm.js";
27
27
  import { t as carryAttempts } from "./attemptCarry-CxiYlUAO.esm.js";
28
28
  import { t as StreamCanvasProcessingSession } from "./StreamCanvasProcessingSession-CBnbTnOr.esm.js";
29
29
  import { t as sleep } from "./ITimerCapability-DgdDzp8G.esm.js";
30
30
  import { t as getBrowser } from "./getBrowser-Cbe1C4Tn.esm.js";
31
31
  import { t as isBackCameraLabel } from "./backCameraLabel-yda5ugE4.esm.js";
32
32
  import { n as DEFAULT_ID_CAPTURE_THRESHOLDS, r as IdCaptureProvider } from "./idCaptureDefaults-CFyXIRuM.esm.js";
33
- 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-CP98fZUe.esm.js";
33
+ 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-CpqaRkff.esm.js";
34
34
  import { t as StreamCanvasCapture } from "./StreamCanvasCapture-CXd87trH.esm.js";
35
35
  import { n as runVirtualCameraCheck, t as frameSources } from "./virtualCameraCheck-eFOm2C9q.esm.js";
36
36
  //#region src/modules/id/digitalUpload/digitalUploadErrors.ts
@@ -1439,6 +1439,10 @@ const isReadyForCaptureGuard = ({ context, event }) => {
1439
1439
  const needsMotionPrimeOnlyGuard = ({ context, event }) => {
1440
1440
  return needsMotionPrimeOnlyFromPermission(resolveStoredPermissionResult(getPermissionOutput(event), context.permissionResult), wantsDeepsightMotion(context.config));
1441
1441
  };
1442
+ const needsMotionPrimeWithoutGestureGuard = ({ context, event }) => needsMotionPrimeOnlyGuard({
1443
+ context,
1444
+ event
1445
+ }) && canPrimeMotionWithoutUserGesture();
1442
1446
  const isPermissionDeniedErrorGuard = ({ event }) => {
1443
1447
  if ("error" in event) {
1444
1448
  const error = event.error;
@@ -2080,7 +2084,7 @@ fromPromise(async ({ input }) => {
2080
2084
  });
2081
2085
  fromPromise(async ({ input }) => {
2082
2086
  if (!input.dependencies) return;
2083
- const { loadDeepsightSession } = await import("./deepsightLoader-Be1Bjk19.esm.js");
2087
+ const { loadDeepsightSession } = await import("./deepsightLoader-D_RQdqL_.esm.js");
2084
2088
  return loadDeepsightSession({
2085
2089
  ds: input.ds,
2086
2090
  storage: input.dependencies.storage,
@@ -2524,7 +2528,7 @@ function cleanup(service) {
2524
2528
  service.cleanup();
2525
2529
  } catch {}
2526
2530
  }
2527
- function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-Be1Bjk19.esm.js")).loadDeepsightSession(input)) {
2531
+ function createIdMetadataPreparationCoordinator(load = async (input) => (await import("./deepsightLoader-D_RQdqL_.esm.js")).loadDeepsightSession(input)) {
2528
2532
  let disposed = false;
2529
2533
  let preparation;
2530
2534
  let service;
@@ -4748,6 +4752,10 @@ const idCaptureMachine = setup({
4748
4752
  context,
4749
4753
  event: asPublicIdEvent(event)
4750
4754
  }),
4755
+ needsMotionPrimeWithoutGesture: ({ context, event }) => needsMotionPrimeWithoutGestureGuard({
4756
+ context,
4757
+ event: asPublicIdEvent(event)
4758
+ }),
4751
4759
  isPermissionDeniedError: ({ event }) => isPermissionDeniedErrorGuard({ event: asPublicIdEvent(event) }),
4752
4760
  isPermissionBlocked: isPermissionBlockedGuard,
4753
4761
  requiresMotionPermissionUserGesture: requiresMotionPermissionUserGestureGuard,
@@ -5227,6 +5235,11 @@ const idCaptureMachine = setup({
5227
5235
  guard: ({ event }) => event.output === "denied",
5228
5236
  actions: assign({ permissionResult: ({ event }) => event.output })
5229
5237
  },
5238
+ {
5239
+ target: "requesting",
5240
+ guard: "needsMotionPrimeWithoutGesture",
5241
+ actions: assign({ permissionResult: ({ event }) => event.output })
5242
+ },
5230
5243
  {
5231
5244
  target: "motionOnly",
5232
5245
  guard: "needsMotionPrimeOnly",
@@ -110,7 +110,7 @@ declare const idOcrStateMachine: StateMachine<IdOcrContext, {
110
110
  type: "shouldProceedWithoutSubmitToSecondId";
111
111
  params: unknown;
112
112
  };
113
- }>, never, "error" | "idle" | "success" | "finished" | "submitting" | "loading" | "inputting" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
113
+ }>, never, "error" | "idle" | "success" | "finished" | "inputting" | "submitting" | "loading" | "readonly" | "validatingContinue", string, IdOcrInput, NonReducibleUnknown, EventObject, MetaObject, {
114
114
  readonly id: "idOcr";
115
115
  readonly initial: "idle";
116
116
  readonly context: ({ input }: {
@@ -1,2 +1,2 @@
1
- import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-CZ-qJ_Aa.js";
1
+ import { c as identityReuseMachine, d as IdentityReuseConfig, f as IdentityReuseOutput, i as createIdentityReuseManagerFromActor, l as FetchCompanyNameResponse, m as SubmitResponse, n as IdentityReuseState, o as SCAN_NEW_DOCUMENT, p as ReusableDocument, r as createIdentityReuseManager, s as SelectedDocumentId, t as IdentityReuseManager, u as FetchDocumentsResponse } from "./identityReuseManager-D_jiHp1n.js";
2
2
  export { type FetchCompanyNameResponse, type FetchDocumentsResponse, type IdentityReuseConfig, type IdentityReuseManager, type IdentityReuseOutput, type IdentityReuseState, type ReusableDocument, SCAN_NEW_DOCUMENT, type SelectedDocumentId, type SubmitResponse, createIdentityReuseManager, createIdentityReuseManagerFromActor, identityReuseMachine };
@@ -138,14 +138,14 @@ declare const identityReuseMachine: StateMachine<IdentityReuseContext, {
138
138
  type: "setDocuments";
139
139
  params: NonReducibleUnknown;
140
140
  };
141
- setError: {
142
- type: "setError";
143
- params: NonReducibleUnknown;
144
- };
145
141
  clearError: {
146
142
  type: "clearError";
147
143
  params: NonReducibleUnknown;
148
144
  };
145
+ setError: {
146
+ type: "setError";
147
+ params: NonReducibleUnknown;
148
+ };
149
149
  setSelectedDocument: {
150
150
  type: "setSelectedDocument";
151
151
  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-C9kGuFdp.esm.js";
1
+ import { i as reset, r as isConfigured, s as setup } from "./setup-CBVQS0Tc.esm.js";
2
2
  export { isConfigured, reset, setup };
@@ -1,3 +1,3 @@
1
- import { t as kybChecksMachine } from "./kybChecksStateMachine-HBHyQLgV.esm.js";
2
- import { t as createKybChecksManager } from "./kybChecksManager-Dg9BsU9Y.esm.js";
1
+ import { t as kybChecksMachine } from "./kybChecksStateMachine-JwoWvTVP.esm.js";
2
+ import { t as createKybChecksManager } from "./kybChecksManager-BIlgSbb0.esm.js";
3
3
  export { createKybChecksManager, kybChecksMachine };
@@ -1,6 +1,6 @@
1
1
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
2
2
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
3
- import { n as toKybErrors, t as kybChecksMachine } from "./kybChecksStateMachine-HBHyQLgV.esm.js";
3
+ import { n as toKybErrors, t as kybChecksMachine } from "./kybChecksStateMachine-JwoWvTVP.esm.js";
4
4
  //#region src/modules/kyb-checks/kybChecksActor.ts
5
5
  /** Creates and starts a KYB Checks actor, idle until `LOAD`. */
6
6
  function createKybChecksActor(options = {}) {
@@ -1,6 +1,6 @@
1
1
  import { t as getLocalIsoDate } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
3
- import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-CsuExqla.esm.js";
3
+ import { i as toIncodeApiError, t as IncodeApiError } from "./apiError-CuZcUZuv.esm.js";
4
4
  import { n as loadPhoneValidation, t as getPhoneValidation } from "./phoneValidation-OggtfjRt.esm.js";
5
5
  import { i as assign, t as setup } from "./xstate.esm-CIqUf_i6.esm.js";
6
6
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
@@ -1,3 +1,3 @@
1
1
  import { r as MandatoryConsentConfig } from "./types-LbccjQYX.js";
2
- import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BcxCesP5.js";
2
+ import { a as MandatoryConsentActor, i as createMandatoryConsentManagerFromActor, n as MandatoryConsentState, o as mandatoryConsentMachine, r as createMandatoryConsentManager, t as MandatoryConsentManager } from "./mandatoryConsentManager-BY8WCCKq.js";
3
3
  export { type MandatoryConsentActor, type MandatoryConsentConfig, type MandatoryConsentManager, type MandatoryConsentState, createMandatoryConsentManager, createMandatoryConsentManagerFromActor, mandatoryConsentMachine };
@@ -54,26 +54,26 @@ declare const mandatoryConsentMachine: StateMachine<MandatoryConsentContext, {
54
54
  type: "setConsent";
55
55
  params: NonReducibleUnknown;
56
56
  };
57
- setError: {
58
- type: "setError";
59
- params: NonReducibleUnknown;
60
- };
61
57
  clearError: {
62
58
  type: "clearError";
63
59
  params: NonReducibleUnknown;
64
60
  };
65
- setLoadError: {
66
- type: "setLoadError";
61
+ setError: {
62
+ type: "setError";
67
63
  params: NonReducibleUnknown;
68
64
  };
69
- toggleSigned: {
70
- type: "toggleSigned";
65
+ setLoadError: {
66
+ type: "setLoadError";
71
67
  params: NonReducibleUnknown;
72
68
  };
73
69
  resetContext: {
74
70
  type: "resetContext";
75
71
  params: NonReducibleUnknown;
76
72
  };
73
+ toggleSigned: {
74
+ type: "toggleSigned";
75
+ params: NonReducibleUnknown;
76
+ };
77
77
  }>, Values<{
78
78
  canSubmit: {
79
79
  type: "canSubmit";
@@ -1,4 +1,4 @@
1
- import { s as isWasmMotionPrimedForModule } from "./permissionServices-Csq_7Cbg.esm.js";
1
+ import { c as isWasmMotionPrimedForModule } from "./permissionServices-GQyOY1tb.esm.js";
2
2
  //#region src/internal/permissions/permissionGuards.ts
3
3
  function resolveStoredPermissionResult(fromEvent, fromContext) {
4
4
  if (fromEvent === "granted" || fromEvent === "denied" || fromEvent === "prompt" || fromEvent === "refresh") return fromEvent;
@@ -1,6 +1,6 @@
1
1
  import { t as WasmUtilProvider } from "./WasmUtilProvider-unrmGEHD.esm.js";
2
2
  import { n as isAndroidWebView } from "./platform-GIg4uPWe.esm.js";
3
- import { t as MotionSensorProvider } from "./MotionSensorProvider-X4_2eBGd.esm.js";
3
+ import { t as MotionSensorProvider } from "./MotionSensorProvider-BAGydZPH.esm.js";
4
4
  import { a as stopCameraStream, l as isCameraGrantedInDocument, r as requestCameraAccess, s as clearCameraGrantedInDocument } from "./camera-CJKApt0x.esm.js";
5
5
  //#region ../infra/src/media/permissions.ts
6
6
  async function queryPermission(name) {
@@ -52,6 +52,17 @@ function requiresMotionPermissionUserGesture(ds) {
52
52
  return !motionSensor.hasPermission && !motionSensor.hasMotionPermissionDeniedThisSession();
53
53
  }
54
54
  /**
55
+ * Whether the Deepsight motion setup (sensor start plus WASM `rsp`/`ssl`) can
56
+ * run without a user gesture. Only the iOS DeviceMotion permission API needs
57
+ * one. Elsewhere, Android Chrome included, the sensors and the WASM listeners
58
+ * start from script. So with the camera already granted, the capture machines
59
+ * set motion up directly instead of showing a sheet that asks for camera
60
+ * access the user already gave (ENG-64995).
61
+ */
62
+ function canPrimeMotionWithoutUserGesture() {
63
+ return !MotionSensorProvider.isIosMotionPermissionRequired();
64
+ }
65
+ /**
55
66
  * Deliberately reads only the caller-supplied flag. Do not fold the camera grant
56
67
  * memo in here: an earlier version OR'd in a session-cached grant, which made
57
68
  * Firefox for Android skip camera acquisition entirely (PR #726). Motion priming
@@ -66,10 +77,11 @@ async function resolveMotionOsPermission(motionSensor) {
66
77
  return requestMotionOsPermission(motionSensor);
67
78
  }
68
79
  /**
69
- * On mobile, motion permission (iOS OS dialog when required) and WASM sensor
70
- * priming (rsp/ssl) must run during a user gesture. When camera is already
71
- * granted (cached permission), V1 requests motion on tutorial Continue before
72
- * any async permission actors run.
80
+ * On iOS, the motion permission dialog and the WASM sensor priming (rsp/ssl)
81
+ * must run during a user gesture. Other browsers need no gesture (see
82
+ * `canPrimeMotionWithoutUserGesture`), but priming here is harmless there.
83
+ * When camera is already granted (cached permission), V1 requests motion on
84
+ * tutorial Continue before any async permission actors run.
73
85
  */
74
86
  async function primeMotionFromUserGestureIfNeeded(options) {
75
87
  if (options.ds !== true) return;
@@ -186,4 +198,4 @@ async function invokeRequestPermissionActor(input) {
186
198
  });
187
199
  }
188
200
  //#endregion
189
- export { requestPermission as a, resetWasmMotionPrimedForModule as c, requestMotionPermission as i, queryCameraPermission as l, invokeRequestPermissionActor as n, requiresMotionPermissionUserGesture as o, primeMotionFromUserGestureIfNeeded as r, isWasmMotionPrimedForModule as s, checkPermission as t, queryPermission as u };
201
+ export { requestMotionPermission as a, isWasmMotionPrimedForModule as c, queryPermission as d, primeMotionFromUserGestureIfNeeded as i, resetWasmMotionPrimedForModule as l, checkPermission as n, requestPermission as o, invokeRequestPermissionActor as r, requiresMotionPermissionUserGesture as s, canPrimeMotionWithoutUserGesture as t, queryCameraPermission as u };
@@ -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-zgzamcm1.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-D42Fx6cT.esm.js";
2
2
  //#region src/modules/qe-signature/index.ts
3
3
  function createQeSignatureManager(options) {
4
4
  return createElectronicSignatureManager({ config: {
@@ -1,6 +1,6 @@
1
1
  import { t as api, u as endpoints } from "./api-B58edv6M.esm.js";
2
2
  import { t as BrowserLazyImportProvider } from "./BrowserLazyImportProvider-BhoA957O.esm.js";
3
- import { n as recordsLivenessClip } from "./deepsightCaptureConfig-RVaZFoEz.esm.js";
3
+ import { n as recordsLivenessClip } from "./deepsightCaptureConfig-DGVUTY29.esm.js";
4
4
  import { r as createRecordingCompositor } from "./CameraCompositor-C7N1N61V.esm.js";
5
5
  import { t as getAdaptiveMediaRecorderOptions } from "./mediaRecorderOptions-Di_V9TnZ.esm.js";
6
6
  import { t as WorkerEncoderRecordingProvider } from "./WorkerEncoderRecordingProvider-BO7urYwT.esm.js";
@@ -1,6 +1,6 @@
1
1
  import { n as getTimestamp } from "./IBrowserEnvironmentCapability-D7JG7ML3.esm.js";
2
2
  import { C as createEventBus } from "./types-DLsivQsu.esm.js";
3
- import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-CS75tmsV.esm.js";
3
+ import { a as notifyTrueSightManagerStopped, i as notifyTrueSightFlowEvent } from "./trueSightService-j-XfYmgc.esm.js";
4
4
  import { s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
5
5
  import { t as fromCallback } from "./xstate-actors.esm-BCcwgosu.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-20261125-65fbd784";
2
+ const SDK_VERSION = "0.0.0-dev-20261125-e10a167e";
3
3
  //#endregion
4
4
  export { SDK_VERSION as t };