@ledgerhq/live-cli 24.28.0-nightly.20251125023817 → 24.28.0-nightly.20251125074637

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 +14 -3
  2. package/package.json +2 -2
package/lib/cli.js CHANGED
@@ -520455,7 +520455,7 @@ var require_package7 = __commonJS({
520455
520455
  module2.exports = {
520456
520456
  name: "@ledgerhq/live-common",
520457
520457
  description: "Common ground for the Ledger Live apps",
520458
- version: "34.53.0-nightly.20251125023817",
520458
+ version: "34.53.0-nightly.20251125074637",
520459
520459
  repository: {
520460
520460
  type: "git",
520461
520461
  url: "https://github.com/LedgerHQ/ledger-live.git"
@@ -520808,7 +520808,7 @@ var require_package8 = __commonJS({
520808
520808
  "package.json"(exports2, module2) {
520809
520809
  module2.exports = {
520810
520810
  name: "@ledgerhq/live-cli",
520811
- version: "24.28.0-nightly.20251125023817",
520811
+ version: "24.28.0-nightly.20251125074637",
520812
520812
  description: "ledger-live CLI version",
520813
520813
  repository: {
520814
520814
  type: "git",
@@ -829677,6 +829677,7 @@ function hasEmptyBalance(account3) {
829677
829677
  }
829678
829678
 
829679
829679
  // ../../libs/coin-modules/coin-tezos/lib-es/logic/craftTransaction.js
829680
+ init_lib_es2();
829680
829681
  async function craftTransaction9(account3, transaction, publicKey4) {
829681
829682
  const { address: address3 } = account3;
829682
829683
  const transactionFees = {
@@ -829694,7 +829695,17 @@ async function craftTransaction9(account3, transaction, publicKey4) {
829694
829695
  const counter = account3.counter ?? Number(sourceData.counter);
829695
829696
  const contents = [];
829696
829697
  if (publicKey4 !== void 0) {
829697
- const revealFees = await tezosToolkit.estimate.reveal();
829698
+ let revealFees;
829699
+ try {
829700
+ revealFees = await tezosToolkit.estimate.reveal();
829701
+ } catch (error) {
829702
+ log2("estimate-error", "error estimating reveal fees, trying using getRevealGasLimit", {
829703
+ error
829704
+ });
829705
+ revealFees = {
829706
+ gasLimit: getRevealGasLimit(address3)
829707
+ };
829708
+ }
829698
829709
  const minRevealGasLimit = config_default9.getCoinConfig().fees.minRevealGasLimit;
829699
829710
  const revealGasLimit = Math.max(revealFees?.gasLimit || 0, minRevealGasLimit);
829700
829711
  contents.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-cli",
3
- "version": "24.28.0-nightly.20251125023817",
3
+ "version": "24.28.0-nightly.20251125074637",
4
4
  "description": "ledger-live CLI version",
5
5
  "repository": {
6
6
  "type": "git",
@@ -59,7 +59,7 @@
59
59
  "tsup": "7.3.0",
60
60
  "yaml": "2.8.1",
61
61
  "@ledgerhq/types-cryptoassets": "^7.30.0",
62
- "@ledgerhq/types-live": "^6.89.0-nightly.20251125023817"
62
+ "@ledgerhq/types-live": "^6.89.0-nightly.20251125074637"
63
63
  },
64
64
  "publishConfig": {
65
65
  "directory": "dist"