@ledgerhq/live-cli 24.17.3 → 24.17.4-nightly.0

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 +6 -5
  2. package/package.json +2 -2
package/lib/cli.js CHANGED
@@ -528250,7 +528250,7 @@ var require_package8 = __commonJS({
528250
528250
  module2.exports = {
528251
528251
  name: "@ledgerhq/live-common",
528252
528252
  description: "Common ground for the Ledger Live apps",
528253
- version: "34.31.2",
528253
+ version: "34.32.0-nightly.0",
528254
528254
  repository: {
528255
528255
  type: "git",
528256
528256
  url: "https://github.com/LedgerHQ/ledger-live.git"
@@ -535051,7 +535051,7 @@ var require_package9 = __commonJS({
535051
535051
  "package.json"(exports2, module2) {
535052
535052
  module2.exports = {
535053
535053
  name: "@ledgerhq/live-cli",
535054
- version: "24.17.3",
535054
+ version: "24.17.4-nightly.0",
535055
535055
  description: "ledger-live CLI version",
535056
535056
  repository: {
535057
535057
  type: "git",
@@ -620954,7 +620954,7 @@ var explorerApi = {
620954
620954
  var etherscan_default = explorerApi;
620955
620955
 
620956
620956
  // ../../libs/coin-modules/coin-evm/lib-es/api/explorer/ledger.js
620957
- var BATCH_SIZE = 1e4;
620957
+ var DEFAULT_BATCH_SIZE = 1e4;
620958
620958
  var LEDGER_TIMEOUT2 = 200;
620959
620959
  var DEFAULT_RETRIES_API3 = 2;
620960
620960
  async function fetchPaginatedOpsWithRetries(params, paginationToken = null, previousOperations = [], retries = DEFAULT_RETRIES_API3) {
@@ -620968,7 +620968,7 @@ async function fetchPaginatedOpsWithRetries(params, paginationToken = null, prev
620968
620968
  from_height: params.fromBlock ?? 0,
620969
620969
  order: "ascending",
620970
620970
  // Needed to make sure we get transactions after the block height and not before. Order is still descending in the end
620971
- batch_size: BATCH_SIZE,
620971
+ batch_size: params.batchSize,
620972
620972
  token: paginationToken
620973
620973
  }
620974
620974
  });
@@ -620995,7 +620995,8 @@ var getLastOperations2 = async (currency24, address4, accountId2, fromBlock) =>
620995
620995
  const ledgerExplorerOps = await fetchPaginatedOpsWithRetries({
620996
620996
  explorerId: explorer.explorerId,
620997
620997
  address: address4,
620998
- fromBlock
620998
+ fromBlock,
620999
+ batchSize: explorer.batchSize ?? DEFAULT_BATCH_SIZE
620999
621000
  });
621000
621001
  const lastCoinOperations = [];
621001
621002
  const lastTokenOperations = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-cli",
3
- "version": "24.17.3",
3
+ "version": "24.17.4-nightly.0",
4
4
  "description": "ledger-live CLI version",
5
5
  "repository": {
6
6
  "type": "git",
@@ -56,7 +56,7 @@
56
56
  "ts-node": "10.9.2",
57
57
  "tsup": "7.3.0",
58
58
  "@ledgerhq/types-cryptoassets": "^7.22.0",
59
- "@ledgerhq/types-live": "^6.68.0"
59
+ "@ledgerhq/types-live": "^6.69.0-nightly.0"
60
60
  },
61
61
  "publishConfig": {
62
62
  "directory": "dist"