@ledgerhq/live-cli 24.30.0-nightly.20251215120904 → 24.30.0-nightly.20251216024112

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 (2) hide show
  1. package/lib/cli.js +11 -3
  2. package/package.json +3 -3
package/lib/cli.js CHANGED
@@ -543744,7 +543744,7 @@ var require_package8 = __commonJS({
543744
543744
  module2.exports = {
543745
543745
  name: "@ledgerhq/live-common",
543746
543746
  description: "Common ground for the Ledger Live apps",
543747
- version: "34.55.0-nightly.20251215120904",
543747
+ version: "34.55.0-nightly.20251216024112",
543748
543748
  repository: {
543749
543749
  type: "git",
543750
543750
  url: "https://github.com/LedgerHQ/ledger-live.git"
@@ -544081,7 +544081,7 @@ var require_package9 = __commonJS({
544081
544081
  "package.json"(exports2, module2) {
544082
544082
  module2.exports = {
544083
544083
  name: "@ledgerhq/live-cli",
544084
- version: "24.30.0-nightly.20251215120904",
544084
+ version: "24.30.0-nightly.20251216024112",
544085
544085
  description: "ledger-live CLI version",
544086
544086
  repository: {
544087
544087
  type: "git",
@@ -888280,11 +888280,19 @@ var getOnboardingStatePolling = ({
888280
888280
  // Nb Empirical value
888281
888281
  allowedErrorChecks = []
888282
888282
  }) => {
888283
+ let hasQuitAppAlreadyRun = false;
888283
888284
  const getOnboardingStateOnce = () => {
888284
888285
  return withDevice(deviceId, {
888285
888286
  openTimeoutMs: transportAbortTimeoutMs,
888286
888287
  matchDeviceByName: deviceName ?? void 0
888287
- })((t110) => (0, import_rxjs276.from)(getVersion(t110, { abortTimeoutMs: transportAbortTimeoutMs }))).pipe(
888288
+ })((t110) => {
888289
+ const getVersionObs = (0, import_rxjs276.from)(getVersion(t110, { abortTimeoutMs: transportAbortTimeoutMs }));
888290
+ if (hasQuitAppAlreadyRun) {
888291
+ return getVersionObs;
888292
+ }
888293
+ hasQuitAppAlreadyRun = true;
888294
+ return quitApp(t110).pipe((0, import_operators90.switchMap)(() => getVersionObs));
888295
+ }).pipe(
888288
888296
  (0, import_operators90.timeout)(safeGuardTimeoutMs),
888289
888297
  // Throws a TimeoutError
888290
888298
  (0, import_operators90.first)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-cli",
3
- "version": "24.30.0-nightly.20251215120904",
3
+ "version": "24.30.0-nightly.20251216024112",
4
4
  "description": "ledger-live CLI version",
5
5
  "repository": {
6
6
  "type": "git",
@@ -58,8 +58,8 @@
58
58
  "ts-node": "10.9.2",
59
59
  "tsup": "7.3.0",
60
60
  "yaml": "2.8.1",
61
- "@ledgerhq/types-cryptoassets": "^7.31.0-nightly.20251215120904",
62
- "@ledgerhq/types-live": "^6.91.0-nightly.20251215120904"
61
+ "@ledgerhq/types-cryptoassets": "^7.31.0-nightly.20251216024112",
62
+ "@ledgerhq/types-live": "^6.91.0-nightly.20251216024112"
63
63
  },
64
64
  "publishConfig": {
65
65
  "directory": "dist"