@incodetech/core 0.0.0-dev-20261125-c2d32a87 → 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 (88) hide show
  1. package/dist/{FaceDetectionProvider-Bimayshb.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-CVYAG2Z_.esm.js → apiError-CuZcUZuv.esm.js} +1 -1
  5. package/dist/authentication.esm.js +2 -2
  6. package/dist/{authenticationManager-CHVbmrts.esm.js → authenticationManager-DisUbRlN.esm.js} +3 -3
  7. package/dist/{authenticationStateMachine-ai6diJlx.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-vI6QHkHU.d.ts → consentManager-CMed_O5F.d.ts} +4 -4
  11. package/dist/{deepsightCaptureConfig-O1T_84db.esm.js → deepsightCaptureConfig-DGVUTY29.esm.js} +2 -2
  12. package/dist/{deepsightLoader-C5BVeFua.esm.js → deepsightLoader-D_RQdqL_.esm.js} +5 -5
  13. package/dist/{desktopCameraElection-lXQfiOdG.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-BxpQqiYE.esm.js → documentSignatureStateMachine-D-6LvS1H.esm.js} +1 -1
  21. package/dist/dynamic-forms.esm.js +2 -2
  22. package/dist/{dynamicFormsManager-C3Ql66XG.esm.js → dynamicFormsManager-D5ZYdtQr.esm.js} +1 -1
  23. package/dist/{dynamicFormsStateMachine-Ca_iKFe_.esm.js → dynamicFormsStateMachine-BR6iuC5G.esm.js} +1 -1
  24. package/dist/ekyb.esm.js +2 -2
  25. package/dist/{ekybManager-DLfyUT5h.esm.js → ekybManager-Be_YnkHA.esm.js} +1 -1
  26. package/dist/{ekybStateMachine-eHQXDNRM.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-BQL2SIZ9.esm.js → ekycPrefillManager-CaMwNpP0.esm.js} +1 -1
  30. package/dist/{ekycPrefillManager-D-8VY48A.d.ts → ekycPrefillManager-Dhy0OG_b.d.ts} +26 -26
  31. package/dist/{ekycPrefillStateMachine-DZlLystx.esm.js → ekycPrefillStateMachine-NMaEb10U.esm.js} +1 -1
  32. package/dist/electronic-signature.esm.js +1 -1
  33. package/dist/{electronicSignatureManager-E1n1Kwbs.esm.js → electronicSignatureManager-D42Fx6cT.esm.js} +1 -1
  34. package/dist/extensibility.d.ts +9 -9
  35. package/dist/extensibility.esm.js +13 -13
  36. package/dist/{faceCaptureManagerFactory-BKGc2B3n.esm.js → faceCaptureManagerFactory-BbRj8P8O.esm.js} +3 -3
  37. package/dist/{faceCaptureSetup-B2yCpiPO.esm.js → faceCaptureSetup-WxNPfp15.esm.js} +17 -9
  38. package/dist/{feature-management-CdDXzSfd.esm.js → feature-management-B0q4TMsC.esm.js} +1 -1
  39. package/dist/feature-management.esm.js +1 -1
  40. package/dist/flow.d.ts +1 -1
  41. package/dist/flow.esm.js +3 -3
  42. package/dist/{flowCompletionService-DE0XYT8d.esm.js → flowCompletionService-BASbhN57.esm.js} +1 -1
  43. package/dist/{flowServices-CJKw69cc.esm.js → flowServices-CrBbfWoL.esm.js} +4 -4
  44. package/dist/geolocation.d.ts +1 -1
  45. package/dist/geolocation.esm.js +2 -2
  46. package/dist/{geolocationManager-CJCfbJ8E.esm.js → geolocationManager-CZlG5tET.esm.js} +1 -1
  47. package/dist/{geolocationManager-CENrvxpK.d.ts → geolocationManager-Del2ddmt.d.ts} +1 -1
  48. package/dist/{geolocationStateMachine-DPK_cROM.esm.js → geolocationStateMachine-DMm-G7NL.esm.js} +1 -1
  49. package/dist/id-ocr.d.ts +1 -1
  50. package/dist/id-selfie-flow.esm.js +6 -6
  51. package/dist/id.d.ts +2 -2
  52. package/dist/id.esm.js +3 -3
  53. package/dist/{idCaptureManager-jqxUGv_1.d.ts → idCaptureManager-CNFBeYgV.d.ts} +18 -3
  54. package/dist/{idCaptureManager-CNwUiiIB.esm.js → idCaptureManager-DEy-XaBi.esm.js} +19 -13
  55. package/dist/{idCaptureServices-s2DYAtCw.esm.js → idCaptureServices-CpqaRkff.esm.js} +2 -2
  56. package/dist/{idCaptureStateMachine-5knMuyFv.esm.js → idCaptureStateMachine-Bzj86X_4.esm.js} +91 -29
  57. package/dist/{idOcrManager-DflRx-_u.d.ts → idOcrManager-voLpv_jJ.d.ts} +1 -1
  58. package/dist/identity-reuse.d.ts +1 -1
  59. package/dist/{identityReuseManager-CZ-qJ_Aa.d.ts → identityReuseManager-D_jiHp1n.d.ts} +4 -4
  60. package/dist/index.esm.js +1 -1
  61. package/dist/kyb-checks.esm.js +2 -2
  62. package/dist/{kybChecksManager-Bt3_ltDe.esm.js → kybChecksManager-BIlgSbb0.esm.js} +1 -1
  63. package/dist/{kybChecksStateMachine-C1u53dmF.esm.js → kybChecksStateMachine-JwoWvTVP.esm.js} +1 -1
  64. package/dist/mandatory-consent.d.ts +1 -1
  65. package/dist/{mandatoryConsentManager-aij01joJ.d.ts → mandatoryConsentManager-BY8WCCKq.d.ts} +4 -4
  66. package/dist/{permissionGuards-BqqRUDJ3.esm.js → permissionGuards-SvIvYyWB.esm.js} +1 -1
  67. package/dist/{permissionServices-Csq_7Cbg.esm.js → permissionServices-GQyOY1tb.esm.js} +18 -6
  68. package/dist/qe-signature.esm.js +1 -1
  69. package/dist/{recordingService-BBdqhPOF.esm.js → recordingService-BMy-wSI4.esm.js} +1 -1
  70. package/dist/{runChildModule-DwZbVWtY.esm.js → runChildModule-DiXTIKoa.esm.js} +1 -1
  71. package/dist/{sdkVersion-ct4LTGVB.esm.js → sdkVersion-BkmV6loo.esm.js} +1 -1
  72. package/dist/selfie.esm.js +7 -7
  73. package/dist/{selfieErrorUtils-CMmldcbZ.esm.js → selfieErrorUtils-CPZwkfS1.esm.js} +1 -1
  74. package/dist/{selfieManager-CJvjDZXw.esm.js → selfieManager-DeovVNrI.esm.js} +3 -3
  75. package/dist/{selfieStateMachine-BXvzX970.esm.js → selfieStateMachine-B8WvkomM.esm.js} +3 -3
  76. package/dist/{session-CU-Lp0qT.esm.js → session-DNqHhYmG.esm.js} +4 -4
  77. package/dist/session.esm.js +4 -4
  78. package/dist/{sessionInitializer-JXmI9OW9.esm.js → sessionInitializer-BaxrnKP5.esm.js} +4 -4
  79. package/dist/{setup-Sw3b0txu.esm.js → setup-CBVQS0Tc.esm.js} +5 -5
  80. package/dist/trueSight-B5TsmkOb.esm.js +1 -0
  81. package/dist/{trueSightService-5eKTmpx4.esm.js → trueSightService-j-XfYmgc.esm.js} +1 -1
  82. package/dist/{types-qwsv8Mln.d.ts → types-D-FEM1rT.d.ts} +20 -5
  83. package/dist/video-selfie.esm.js +3 -3
  84. package/dist/{videoSelfieCameraWarmer-udkCUPN3.esm.js → videoSelfieCameraWarmer-D7kNNRsI.esm.js} +4 -4
  85. package/dist/wasm.esm.js +1 -1
  86. package/dist/workflow.esm.js +18 -18
  87. package/package.json +3 -3
  88. package/dist/trueSight-B1AdsXJv.esm.js +0 -1
@@ -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-5eKTmpx4.esm.js";
4
- import "./trueSight-B1AdsXJv.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-O1T_84db.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-Bimayshb.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-lXQfiOdG.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-BBdqhPOF.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-BBdqhPOF.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-ct4LTGVB.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-CdDXzSfd.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.d.ts CHANGED
@@ -9,7 +9,7 @@ import { t as AuthenticationConfig } from "./types-BinnzVrL.js";
9
9
  import { r as DocumentCaptureConfig } from "./types-Cy6Lx3L6.js";
10
10
  import { t as DynamicFormsConfig } from "./types-BSBzhHRH.js";
11
11
  import { t as EkybConfig } from "./types-BaA0Qscz.js";
12
- import { u as IdCaptureConfig } from "./types-qwsv8Mln.js";
12
+ import { u as IdCaptureConfig } from "./types-D-FEM1rT.js";
13
13
  import { r as MandatoryConsentConfig } from "./types-LbccjQYX.js";
14
14
  import { t as IdOcrConfig } from "./types-Bpo97EOh.js";
15
15
  import { t as RedirectToMobileConfig } from "./types-DNVzoRvi.js";
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-CJKw69cc.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-DE0XYT8d.esm.js";
9
- import { n as attachFlowEventEmitter, t as runChildModule } from "./runChildModule-DwZbVWtY.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-CVYAG2Z_.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-JXmI9OW9.esm.js";
5
- import { E as updateFeatureManagementUser } from "./feature-management-CdDXzSfd.esm.js";
6
- import { i as toIncodeApiError } from "./apiError-CVYAG2Z_.esm.js";
7
- import "./session-CU-Lp0qT.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-CJCfbJ8E.esm.js";
2
- import { t as geolocationMachine } from "./geolocationStateMachine-DPK_cROM.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-DPK_cROM.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-CVYAG2Z_.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-Sw3b0txu.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-CJKw69cc.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-Bimayshb.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-s2DYAtCw.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-DE0XYT8d.esm.js";
15
- import { a as isSelfieValidationError, i as delay, n as defaultAcquireCamera, o as isWrongVideoSelfieIdSide } from "./videoSelfieCameraWarmer-udkCUPN3.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.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { t as IVisibilityObserverCapability } from "./IVisibilityObserverCapability-D4tvIB5v.js";
2
2
  import { n as PermissionStatus, t as PermissionResult } from "./types-CeEcakO7.js";
3
- import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-jqxUGv_1.js";
3
+ import { A as ValidationError, B as processId, C as AddBarcodeParams, D as InitializeIdCaptureParams, E as IdCaptureInitResult, F as getRealQualityValue, G as uploadIdImage, H as startRecordingSession, I as initializeIdCapture, K as validateUploadResponse, L as isSuspendableRecordingSession, M as barcodeToBase64, N as disposeRecordingSession, O as StartRecordingParams, P as finalizeRecordingSession, R as pauseRecordingForAttempt, S as idCaptureMachine, T as ID_QUALITY_BACKEND_VALIDATION_GATE, U as stopRecording, V as resumeRecordingAfterPause, W as stopStream, _ as idCaptureOnlyMachine, a as RenderWalletError, b as createIdCaptureActor, c as DeviceWalletManager, d as CreateDeviceWalletActorOptions, f as resolveWalletPlatform, g as IdCaptureOnlyMachine, h as createIdCaptureOnlyActor, j as addBarcode, k as UploadIdImageParams, l as DeviceWalletState, m as IdCaptureOnlyActor, n as IdCaptureManager, o as RenderWalletParams, p as CreateIdCaptureOnlyActorOptions, r as IdCaptureState, s as renderWallet, t as createIdCaptureManager, u as createDeviceWalletManager, v as CreateIdCaptureActorOptions, w as FinalizedIdRecording, x as IdCaptureMachine, y as IdCaptureActor, z as prepareRecordingForCameraRetry } from "./idCaptureManager-CNFBeYgV.js";
4
4
  import { t as CameraStream } from "./camera-9yYDUOsO.js";
5
5
  import { r as IdCaptureSettings, t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
6
- import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-qwsv8Mln.js";
6
+ import { A as DigitalIdCountryDetectionDependencies, B as DeviceWalletDecryptResponse, C as IdCapturedImageData, D as IdFlowStep, E as IdErrorCode, F as DigitalIdPlatformSupport, H as DeviceWalletOutput, I as ResolvedDigitalIdRoute, J as RedirectReturnParams, K as DigitalIdProviderId, L as isRedirectFlowType, M as DIGITAL_ID_REGISTRY, N as DigitalIdDocumentType, O as UploadIdResponse, P as DigitalIdFunnelEntry, R as resolveDigitalIdImplementation, S as IdCaptureThresholds, T as IdError, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, _ as IdCaptureGeometry, a as CaptureOnlyResponse, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, j as DIGITAL_ID_DOCUMENT_TYPES, l as ID_ERROR_CODES, m as IdCaptureDigitalIdMethod, n as AcceptedDocumentType, o as CapturedImage, p as IdCaptureDigitalIdFlowType, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-D-FEM1rT.js";
7
7
  //#region src/modules/id/deviceWallet/deviceWalletErrors.d.ts
8
8
  /**
9
9
  * Fail reason → i18n key for the device-wallet error screen (same shape as
package/dist/id.esm.js CHANGED
@@ -1,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-5knMuyFv.esm.js";
2
- import { a as idCaptureOnlyMachine, i as createIdCaptureOnlyActor, n as createIdCaptureOnlyManager, o as createIdCaptureActor, r as createIdCaptureOnlyManagerFromActor, t as createIdCaptureManager } from "./idCaptureManager-CNwUiiIB.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-s2DYAtCw.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
@@ -12,7 +12,7 @@ import { t as BaseWasmProvider } from "./BaseWasmProvider-CPdofn7R.js";
12
12
  import { n as DeepsightService } from "./StreamCanvasCapture-BqaHTJF0.js";
13
13
  import { t as CameraStream } from "./camera-9yYDUOsO.js";
14
14
  import { i as Pdf417DecodeResult, n as IIdCaptureCapability, t as DetectionOrientation } from "./IIdCaptureCapability-BRAZQtkM.js";
15
- import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-qwsv8Mln.js";
15
+ import { B as DeviceWalletDecryptResponse, E as IdErrorCode, G as DeviceWalletServices, K as DigitalIdProviderId, O as UploadIdResponse, U as DeviceWalletPlatform, V as DeviceWalletFailReason, W as DeviceWalletProvider, Y as IDigitalCredentialsCapability, b as IdCaptureOnlyConfig, c as DetectionStatus, d as IdCaptureContext, f as IdCaptureDependencies, g as IdCaptureEvent, h as IdCaptureDigitalIdRedirectOption, i as CaptureIdResponse, k as IAnalyticsCapability, q as FailureReason, r as AddBarcodeV3Response, s as DetectionArea, t as AcceptedDocument, u as IdCaptureConfig, v as IdCaptureInput, w as IdDocumentType, x as IdCaptureOutput, y as IdCaptureMode, z as DeviceWalletDecision } from "./types-D-FEM1rT.js";
16
16
  //#region src/internal/http/endpoints.d.ts
17
17
  /**
18
18
  * Backend `CaptureType` for the `captureType` query param on `add/front-id`,
@@ -674,12 +674,27 @@ type IdCaptureDigitalIdRedirectState = {
674
674
  * `failed` — recoverable failure screen (retry / use another method);
675
675
  * `error` — generic recoverable error screen.
676
676
  */
677
- phase: 'loading' | 'redirecting' | 'success' | 'failed' | 'error';
678
- /** Provider full-page redirect target; present in the `redirecting` phase. */
677
+ phase: 'loading' | 'redirecting' | 'qr' | 'success' | 'failed' | 'error';
678
+ /**
679
+ * Provider full-page redirect target in the `redirecting` phase; in the `qr` phase
680
+ * (cross-device wallet, e.g. France Identité) the link to render as a QR code while polling.
681
+ */
679
682
  launchUrl: string | undefined;
680
683
  /** Localized-failure discriminator; present in the `failed` phase. */
681
684
  failureReason: FailureReason | undefined;
682
685
  providerId: DigitalIdProviderId | undefined;
686
+ /**
687
+ * The provider's name from the backend catalog (`displayName` of the chooser
688
+ * option), e.g. `France Identité`. The `qr` screen names the wallet with it,
689
+ * so a new wallet needs no SDK change. `undefined` when the catalog has none.
690
+ */
691
+ walletName: string | undefined;
692
+ /**
693
+ * `true` on a phone or tablet, where the wallet may be installed on this
694
+ * device: the `qr` screen then also offers to open `launchUrl` here. On a
695
+ * desktop the wallet link has no handler, so only the QR code is shown.
696
+ */
697
+ canOpenWalletOnDevice: boolean;
683
698
  };
684
699
  type IdCaptureDeviceWalletState = {
685
700
  status: 'deviceWallet';
@@ -1,19 +1,20 @@
1
- import { u as BrowserStorageProvider } from "./setup-Sw3b0txu.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";
5
5
  import { t as topLevelStateName } from "./topLevelStateName-B5i2avbh.esm.js";
6
+ import { r as isDesktop } from "./platform-GIg4uPWe.esm.js";
6
7
  import { t as createManager } from "./Manager-BvXAwDv9.esm.js";
7
8
  import { i as assign, s as createActor } from "./xstate.esm-CIqUf_i6.esm.js";
8
9
  import { n as fromPromise } from "./xstate-actors.esm-BCcwgosu.esm.js";
9
10
  import { t as splitTrackedName } from "./splitTrackedName-3zJRd2RD.esm.js";
10
11
  import { t as setWasmDsFlagSync } from "./wasmDsFlagSync-0SxaYTcb.esm.js";
11
12
  import { t as BrowserVisibilityObserverProvider } from "./BrowserVisibilityObserverProvider-BrJN1B8A.esm.js";
12
- 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";
13
14
  import { t as getDeviceClass } from "./getDeviceClass-Dcy9erbl.esm.js";
14
- import { r as wantsDeepsightMotion } from "./deepsightCaptureConfig-O1T_84db.esm.js";
15
- 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-5knMuyFv.esm.js";
16
- import { b as resolveCountdownStepMs, v as ID_ERROR_CODES, x as resolveIdCaptureThresholds, y as resolveCaptureOptimizingTreatment } from "./idCaptureServices-s2DYAtCw.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";
17
18
  import { t as invokeOnCaptureCallback } from "./invokeOnCaptureCallback-D2FOfi4O.esm.js";
18
19
  //#region src/modules/id/digitalUpload/instrumentation.ts
19
20
  const TERMINAL_REASONS = /* @__PURE__ */ new Set(["DIGITAL_ID_REQUESTED_BUT_OTHER_PROVIDED", "ID_TYPE_UNACCEPTABLE"]);
@@ -316,18 +317,23 @@ function mapDigitalIdRedirectState(snapshot) {
316
317
  const childSnapshot = snapshot.children["digitalIdRedirect"]?.getSnapshot();
317
318
  const childCtx = childSnapshot?.context;
318
319
  const childValue = childSnapshot?.value;
320
+ const phase = (() => {
321
+ if (childValue === "readyToRedirect") return "redirecting";
322
+ if (childValue === "showingQr") return "qr";
323
+ if (childValue === "succeeded") return "success";
324
+ if (childValue === "failed") return "failed";
325
+ if (childValue === "error") return "error";
326
+ return "loading";
327
+ })();
328
+ const providerId = childCtx?.selectedProvider ?? childCtx?.config.provider;
319
329
  return {
320
330
  status: "digitalIdRedirect",
321
- phase: (() => {
322
- if (childValue === "readyToRedirect") return "redirecting";
323
- if (childValue === "succeeded") return "success";
324
- if (childValue === "failed") return "failed";
325
- if (childValue === "error") return "error";
326
- return "loading";
327
- })(),
331
+ phase,
328
332
  launchUrl: childCtx?.launchUrl,
329
333
  failureReason: childCtx?.failureReason,
330
- providerId: childCtx?.selectedProvider ?? childCtx?.config.provider
334
+ providerId,
335
+ walletName: snapshot.context.digitalIdRedirectOptions.find((option) => option.providerId === providerId)?.displayName,
336
+ canOpenWalletOnDevice: !isDesktop()
331
337
  };
332
338
  }
333
339
  function mapDeviceWalletState(snapshot) {
@@ -1,6 +1,6 @@
1
- import { t as ensureWasmPipelines } from "./setup-Sw3b0txu.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-CdDXzSfd.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";