@talismn/balances 0.7.0 → 0.7.2

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.
@@ -109,7 +109,7 @@ class EvmTokenFetcher {
109
109
 
110
110
  var packageJson = {
111
111
  name: "@talismn/balances",
112
- version: "0.7.0",
112
+ version: "0.7.2",
113
113
  author: "Talisman",
114
114
  homepage: "https://talisman.xyz",
115
115
  license: "GPL-3.0-or-later",
@@ -4882,10 +4882,10 @@ async function subscribeSubtensorStaking(chaindataProvider, chainConnector, addr
4882
4882
  dynamicInfoCache.set(netuid, decodedResult); // Cache successful response
4883
4883
  return decodedResult;
4884
4884
  } catch (error) {
4885
- log.warn(`Attempt ${attempt} failed for netuid ${netuid}:`, error);
4885
+ log.trace(`Attempt ${attempt} failed for netuid ${netuid}:`, error);
4886
4886
  if (attempt < MAX_RETRIES) {
4887
4887
  const backoffTime = RETRY_DELAY_MS * 2 ** (attempt - 1);
4888
- log.info(`Retrying in ${backoffTime}ms...`);
4888
+ log.trace(`Retrying in ${backoffTime}ms...`);
4889
4889
  await delay(backoffTime);
4890
4890
  }
4891
4891
  }
@@ -4893,7 +4893,7 @@ async function subscribeSubtensorStaking(chaindataProvider, chainConnector, addr
4893
4893
  if (dynamicInfoCache.has(netuid)) {
4894
4894
  return dynamicInfoCache.get(netuid); // Use cached value on failure
4895
4895
  }
4896
- log.error(`Failed to fetch dynamic info for netuid ${netuid} after ${MAX_RETRIES} attempts.`);
4896
+ log.trace(`Failed to fetch dynamic info for netuid ${netuid} after ${MAX_RETRIES} attempts.`);
4897
4897
  return null;
4898
4898
  };
4899
4899
  return Promise.all(uniqueNetuids.map(fetchInfo));
@@ -109,7 +109,7 @@ class EvmTokenFetcher {
109
109
 
110
110
  var packageJson = {
111
111
  name: "@talismn/balances",
112
- version: "0.7.0",
112
+ version: "0.7.2",
113
113
  author: "Talisman",
114
114
  homepage: "https://talisman.xyz",
115
115
  license: "GPL-3.0-or-later",
@@ -4882,10 +4882,10 @@ async function subscribeSubtensorStaking(chaindataProvider, chainConnector, addr
4882
4882
  dynamicInfoCache.set(netuid, decodedResult); // Cache successful response
4883
4883
  return decodedResult;
4884
4884
  } catch (error) {
4885
- log.warn(`Attempt ${attempt} failed for netuid ${netuid}:`, error);
4885
+ log.trace(`Attempt ${attempt} failed for netuid ${netuid}:`, error);
4886
4886
  if (attempt < MAX_RETRIES) {
4887
4887
  const backoffTime = RETRY_DELAY_MS * 2 ** (attempt - 1);
4888
- log.info(`Retrying in ${backoffTime}ms...`);
4888
+ log.trace(`Retrying in ${backoffTime}ms...`);
4889
4889
  await delay(backoffTime);
4890
4890
  }
4891
4891
  }
@@ -4893,7 +4893,7 @@ async function subscribeSubtensorStaking(chaindataProvider, chainConnector, addr
4893
4893
  if (dynamicInfoCache.has(netuid)) {
4894
4894
  return dynamicInfoCache.get(netuid); // Use cached value on failure
4895
4895
  }
4896
- log.error(`Failed to fetch dynamic info for netuid ${netuid} after ${MAX_RETRIES} attempts.`);
4896
+ log.trace(`Failed to fetch dynamic info for netuid ${netuid} after ${MAX_RETRIES} attempts.`);
4897
4897
  return null;
4898
4898
  };
4899
4899
  return Promise.all(uniqueNetuids.map(fetchInfo));
@@ -96,7 +96,7 @@ class EvmTokenFetcher {
96
96
 
97
97
  var packageJson = {
98
98
  name: "@talismn/balances",
99
- version: "0.7.0",
99
+ version: "0.7.2",
100
100
  author: "Talisman",
101
101
  homepage: "https://talisman.xyz",
102
102
  license: "GPL-3.0-or-later",
@@ -4869,10 +4869,10 @@ async function subscribeSubtensorStaking(chaindataProvider, chainConnector, addr
4869
4869
  dynamicInfoCache.set(netuid, decodedResult); // Cache successful response
4870
4870
  return decodedResult;
4871
4871
  } catch (error) {
4872
- log.warn(`Attempt ${attempt} failed for netuid ${netuid}:`, error);
4872
+ log.trace(`Attempt ${attempt} failed for netuid ${netuid}:`, error);
4873
4873
  if (attempt < MAX_RETRIES) {
4874
4874
  const backoffTime = RETRY_DELAY_MS * 2 ** (attempt - 1);
4875
- log.info(`Retrying in ${backoffTime}ms...`);
4875
+ log.trace(`Retrying in ${backoffTime}ms...`);
4876
4876
  await delay(backoffTime);
4877
4877
  }
4878
4878
  }
@@ -4880,7 +4880,7 @@ async function subscribeSubtensorStaking(chaindataProvider, chainConnector, addr
4880
4880
  if (dynamicInfoCache.has(netuid)) {
4881
4881
  return dynamicInfoCache.get(netuid); // Use cached value on failure
4882
4882
  }
4883
- log.error(`Failed to fetch dynamic info for netuid ${netuid} after ${MAX_RETRIES} attempts.`);
4883
+ log.trace(`Failed to fetch dynamic info for netuid ${netuid} after ${MAX_RETRIES} attempts.`);
4884
4884
  return null;
4885
4885
  };
4886
4886
  return Promise.all(uniqueNetuids.map(fetchInfo));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talismn/balances",
3
- "version": "0.7.0",
3
+ "version": "0.7.2",
4
4
  "author": "Talisman",
5
5
  "homepage": "https://talisman.xyz",
6
6
  "license": "GPL-3.0-or-later",
@@ -33,12 +33,12 @@
33
33
  "rxjs": "^7.8.1",
34
34
  "scale-ts": "^1.6.1",
35
35
  "viem": "^2.21.34",
36
- "@talismn/chain-connector": "0.8.0",
37
- "@talismn/chain-connector-evm": "0.8.0",
38
- "@talismn/chaindata-provider": "0.8.0",
36
+ "@talismn/chain-connector": "0.8.2",
37
+ "@talismn/chain-connector-evm": "0.8.2",
38
+ "@talismn/chaindata-provider": "0.8.2",
39
+ "@talismn/token-rates": "1.0.2",
39
40
  "@talismn/scale": "0.1.0",
40
- "@talismn/token-rates": "1.0.0",
41
- "@talismn/util": "0.3.0"
41
+ "@talismn/util": "0.3.1"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@polkadot/api-contract": "15.8.1",