@ledgerhq/live-cli 24.28.0-nightly.20251108023448 → 24.28.0-nightly.20251110130205

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 +15 -8
  2. package/package.json +2 -2
package/lib/cli.js CHANGED
@@ -520281,7 +520281,7 @@ var require_package7 = __commonJS({
520281
520281
  module2.exports = {
520282
520282
  name: "@ledgerhq/live-common",
520283
520283
  description: "Common ground for the Ledger Live apps",
520284
- version: "34.53.0-nightly.20251108023448",
520284
+ version: "34.53.0-nightly.20251110130205",
520285
520285
  repository: {
520286
520286
  type: "git",
520287
520287
  url: "https://github.com/LedgerHQ/ledger-live.git"
@@ -520620,7 +520620,7 @@ var require_package8 = __commonJS({
520620
520620
  "package.json"(exports2, module2) {
520621
520621
  module2.exports = {
520622
520622
  name: "@ledgerhq/live-cli",
520623
- version: "24.28.0-nightly.20251108023448",
520623
+ version: "24.28.0-nightly.20251110130205",
520624
520624
  description: "ledger-live CLI version",
520625
520625
  repository: {
520626
520626
  type: "git",
@@ -566278,7 +566278,8 @@ function transactionsToOperations(address3, txs) {
566278
566278
  hash: tx.hash,
566279
566279
  block: { height: 0 },
566280
566280
  fees: BigInt(0),
566281
- date: new Date(parseInt(tx.timestamp) / 1e3)
566281
+ date: new Date(parseInt(tx.timestamp) / 1e3),
566282
+ failed: !tx.success
566282
566283
  }
566283
566284
  };
566284
566285
  const fees2 = new import_bignumber56.default(tx.gas_used).multipliedBy(new import_bignumber56.default(tx.gas_unit_price));
@@ -628545,7 +628546,8 @@ function toOperation(asset, op) {
628545
628546
  hash: op.blockHash ?? ""
628546
628547
  },
628547
628548
  fees: BigInt(op.fee.toFixed(0)),
628548
- date: op.date
628549
+ date: op.date,
628550
+ failed: op.hasFailed ?? false
628549
628551
  },
628550
628552
  details: {
628551
628553
  sequence: op.transactionSequenceNumber,
@@ -769191,7 +769193,8 @@ function fromTrongridTxInfoToOperation(trongridTxInfo, userAddress) {
769191
769193
  hash: trongridTxInfo.txID,
769192
769194
  block: { height: trongridTxInfo.blockHeight || 0, time: trongridTxInfo.date },
769193
769195
  fees: fromBigNumberToBigInt(trongridTxInfo.fee, BigInt(0)),
769194
- date: trongridTxInfo.date
769196
+ date: trongridTxInfo.date,
769197
+ failed: trongridTxInfo.hasFailed
769195
769198
  },
769196
769199
  type: inferOperationType(trongridTxInfo, userAddress),
769197
769200
  value: fromBigNumberToBigInt(trongridTxInfo.value, BigInt(0)),
@@ -797309,6 +797312,7 @@ var convertToCoreOperation = (address3) => (operation) => {
797309
797312
  sequence: Sequence,
797310
797313
  signingPubKey: SigningPubKey
797311
797314
  };
797315
+ const failed = operation.meta.TransactionResult !== "tesSUCCESS";
797312
797316
  let op = {
797313
797317
  id: hash10,
797314
797318
  asset: { type: "native" },
@@ -797320,7 +797324,8 @@ var convertToCoreOperation = (address3) => (operation) => {
797320
797324
  time: new Date(close_time_iso),
797321
797325
  hash: ledger_hash,
797322
797326
  height: ledger_index
797323
- }
797327
+ },
797328
+ failed
797324
797329
  },
797325
797330
  type: type4,
797326
797331
  value: value2,
@@ -798114,7 +798119,8 @@ var convertToCoreOperation2 = (operation) => {
798114
798119
  height: operation.blockHeight
798115
798120
  },
798116
798121
  fees: BigInt(operation.fee.toString()),
798117
- date: operation.date
798122
+ date: operation.date,
798123
+ failed: operation.hasFailed ?? false
798118
798124
  },
798119
798125
  details: {
798120
798126
  sequence: operation.transactionSequenceNumber?.toString(),
@@ -818426,7 +818432,8 @@ function convertOperation(address3, operation) {
818426
818432
  height: operation.level,
818427
818433
  time: new Date(operation.timestamp)
818428
818434
  },
818429
- date: new Date(operation.timestamp)
818435
+ date: new Date(operation.timestamp),
818436
+ failed: hasFailed ?? false
818430
818437
  },
818431
818438
  type: normalizedType,
818432
818439
  value: amount,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-cli",
3
- "version": "24.28.0-nightly.20251108023448",
3
+ "version": "24.28.0-nightly.20251110130205",
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.20251108023448"
62
+ "@ledgerhq/types-live": "^6.89.0-nightly.20251110130205"
63
63
  },
64
64
  "publishConfig": {
65
65
  "directory": "dist"