@ledgerhq/live-cli 24.28.0-nightly.20251111023817 → 24.28.0-nightly.20251113023835

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 +12 -12
  2. package/package.json +3 -3
package/lib/cli.js CHANGED
@@ -520289,7 +520289,7 @@ var require_package7 = __commonJS({
520289
520289
  module2.exports = {
520290
520290
  name: "@ledgerhq/live-common",
520291
520291
  description: "Common ground for the Ledger Live apps",
520292
- version: "34.53.0-nightly.20251111023817",
520292
+ version: "34.53.0-nightly.20251113023835",
520293
520293
  repository: {
520294
520294
  type: "git",
520295
520295
  url: "https://github.com/LedgerHQ/ledger-live.git"
@@ -520628,7 +520628,7 @@ var require_package8 = __commonJS({
520628
520628
  "package.json"(exports2, module2) {
520629
520629
  module2.exports = {
520630
520630
  name: "@ledgerhq/live-cli",
520631
- version: "24.28.0-nightly.20251111023817",
520631
+ version: "24.28.0-nightly.20251113023835",
520632
520632
  description: "ledger-live CLI version",
520633
520633
  repository: {
520634
520634
  type: "git",
@@ -527101,8 +527101,8 @@ var cryptocurrenciesById = {
527101
527101
  ],
527102
527102
  explorerViews: [
527103
527103
  {
527104
- tx: "https://lighthouse.cantonloop.com/transactions/$hash",
527105
- address: "https://lighthouse.cantonloop.com/party/$address"
527104
+ tx: "https://ccview.io/updates/$hash",
527105
+ address: "https://ccview.io/party/$address"
527106
527106
  }
527107
527107
  ],
527108
527108
  keywords: ["canton_network"]
@@ -527133,8 +527133,8 @@ var cryptocurrenciesById = {
527133
527133
  ],
527134
527134
  explorerViews: [
527135
527135
  {
527136
- tx: "https://lighthouse.testnet.cantonloop.com/transactions/$hash",
527137
- address: "https://lighthouse.testnet.cantonloop.com/party/$address"
527136
+ tx: "https://testnet.ccview.io/updates/$hash",
527137
+ address: "https://testnet.ccview.io/party/$address"
527138
527138
  }
527139
527139
  ],
527140
527140
  keywords: ["canton_network_testnet"]
@@ -527165,8 +527165,8 @@ var cryptocurrenciesById = {
527165
527165
  ],
527166
527166
  explorerViews: [
527167
527167
  {
527168
- tx: "https://lighthouse.devnet.cantonloop.com/transactions/$hash",
527169
- address: "https://lighthouse.devnet.cantonloop.com/party/$address"
527168
+ tx: "https://devnet.ccview.io/updates/$hash",
527169
+ address: "https://devnet.ccview.io/party/$address"
527170
527170
  }
527171
527171
  ],
527172
527172
  keywords: ["canton_network_devnet"]
@@ -819072,16 +819072,16 @@ function mergeSubAccounts5(oldSubAccounts, newSubAccounts) {
819072
819072
  if (!oldSubAccounts.length) {
819073
819073
  return newSubAccounts;
819074
819074
  }
819075
- const oldSubAccountsById = Object.fromEntries(oldSubAccounts.map((account3) => [account3.id, account3]));
819075
+ const oldSubAccountsByTokenId = Object.fromEntries(oldSubAccounts.map((account3) => [account3.token.id, account3]));
819076
819076
  const newSubAccountsToAdd = [];
819077
819077
  for (const newSubAccount of newSubAccounts) {
819078
- const existingSubAccount = oldSubAccountsById[newSubAccount.id];
819078
+ const existingSubAccount = oldSubAccountsByTokenId[newSubAccount.token.id];
819079
819079
  if (!existingSubAccount) {
819080
819080
  newSubAccountsToAdd.push(newSubAccount);
819081
819081
  continue;
819082
819082
  }
819083
819083
  const operations4 = mergeOps(existingSubAccount.operations, newSubAccount.operations);
819084
- oldSubAccountsById[newSubAccount.id] = {
819084
+ oldSubAccountsByTokenId[newSubAccount.token.id] = {
819085
819085
  ...existingSubAccount,
819086
819086
  balance: newSubAccount.balance,
819087
819087
  spendableBalance: newSubAccount.spendableBalance,
@@ -819089,7 +819089,7 @@ function mergeSubAccounts5(oldSubAccounts, newSubAccounts) {
819089
819089
  operationsCount: operations4.length
819090
819090
  };
819091
819091
  }
819092
- const updatedOldSubAccounts = Object.values(oldSubAccountsById);
819092
+ const updatedOldSubAccounts = Object.values(oldSubAccountsByTokenId);
819093
819093
  return [...updatedOldSubAccounts, ...newSubAccountsToAdd];
819094
819094
  }
819095
819095
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-cli",
3
- "version": "24.28.0-nightly.20251111023817",
3
+ "version": "24.28.0-nightly.20251113023835",
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-live": "^6.89.0-nightly.20251111023817",
62
- "@ledgerhq/types-cryptoassets": "^7.30.0"
61
+ "@ledgerhq/types-cryptoassets": "^7.30.0",
62
+ "@ledgerhq/types-live": "^6.89.0-nightly.20251113023835"
63
63
  },
64
64
  "publishConfig": {
65
65
  "directory": "dist"