@talismn/balances 0.0.0-pr2075-20250707075518 → 0.0.0-pr2075-20250707100944

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.
@@ -1685,6 +1685,7 @@ const getTypedContract$1 = (client, abi, contractAddress) => viem.getContract({
1685
1685
  });
1686
1686
 
1687
1687
  const TokenCacheSchema$1 = chaindataProvider.EvmErc20TokenSchema.pick({
1688
+ id: true,
1688
1689
  symbol: true,
1689
1690
  decimals: true,
1690
1691
  name: true
@@ -1717,7 +1718,7 @@ const fetchTokens$8 = async ({
1717
1718
  name
1718
1719
  };
1719
1720
  } catch (err) {
1720
- log.warn(`Failed to fetch ERC20 token data for ${tokenConfig.contractAddress}`, err);
1721
+ log.warn(`Failed to fetch ERC20 token data for ${tokenConfig.contractAddress}`, err.shortMessage);
1721
1722
  continue;
1722
1723
  }
1723
1724
  }
@@ -2178,6 +2179,7 @@ const getUniswapV2PairContractData = async (client, contractAddress) => {
2178
2179
  };
2179
2180
 
2180
2181
  const TokenCacheSchema = chaindataProvider.EvmUniswapV2TokenSchema.pick({
2182
+ id: true,
2181
2183
  symbol: true,
2182
2184
  decimals: true,
2183
2185
  name: true,
@@ -1685,6 +1685,7 @@ const getTypedContract$1 = (client, abi, contractAddress) => viem.getContract({
1685
1685
  });
1686
1686
 
1687
1687
  const TokenCacheSchema$1 = chaindataProvider.EvmErc20TokenSchema.pick({
1688
+ id: true,
1688
1689
  symbol: true,
1689
1690
  decimals: true,
1690
1691
  name: true
@@ -1717,7 +1718,7 @@ const fetchTokens$8 = async ({
1717
1718
  name
1718
1719
  };
1719
1720
  } catch (err) {
1720
- log.warn(`Failed to fetch ERC20 token data for ${tokenConfig.contractAddress}`, err);
1721
+ log.warn(`Failed to fetch ERC20 token data for ${tokenConfig.contractAddress}`, err.shortMessage);
1721
1722
  continue;
1722
1723
  }
1723
1724
  }
@@ -2178,6 +2179,7 @@ const getUniswapV2PairContractData = async (client, contractAddress) => {
2178
2179
  };
2179
2180
 
2180
2181
  const TokenCacheSchema = chaindataProvider.EvmUniswapV2TokenSchema.pick({
2182
+ id: true,
2181
2183
  symbol: true,
2182
2184
  decimals: true,
2183
2185
  name: true,
@@ -1672,6 +1672,7 @@ const getTypedContract$1 = (client, abi, contractAddress) => getContract({
1672
1672
  });
1673
1673
 
1674
1674
  const TokenCacheSchema$1 = EvmErc20TokenSchema.pick({
1675
+ id: true,
1675
1676
  symbol: true,
1676
1677
  decimals: true,
1677
1678
  name: true
@@ -1704,7 +1705,7 @@ const fetchTokens$8 = async ({
1704
1705
  name
1705
1706
  };
1706
1707
  } catch (err) {
1707
- log.warn(`Failed to fetch ERC20 token data for ${tokenConfig.contractAddress}`, err);
1708
+ log.warn(`Failed to fetch ERC20 token data for ${tokenConfig.contractAddress}`, err.shortMessage);
1708
1709
  continue;
1709
1710
  }
1710
1711
  }
@@ -2165,6 +2166,7 @@ const getUniswapV2PairContractData = async (client, contractAddress) => {
2165
2166
  };
2166
2167
 
2167
2168
  const TokenCacheSchema = EvmUniswapV2TokenSchema.pick({
2169
+ id: true,
2168
2170
  symbol: true,
2169
2171
  decimals: true,
2170
2172
  name: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talismn/balances",
3
- "version": "0.0.0-pr2075-20250707075518",
3
+ "version": "0.0.0-pr2075-20250707100944",
4
4
  "author": "Talisman",
5
5
  "homepage": "https://talisman.xyz",
6
6
  "license": "GPL-3.0-or-later",
@@ -35,13 +35,13 @@
35
35
  "scale-ts": "^1.6.1",
36
36
  "viem": "^2.27.3",
37
37
  "zod": "^3.25.62",
38
- "@talismn/chain-connector": "0.0.0-pr2075-20250707075518",
39
- "@talismn/chain-connector-evm": "0.0.0-pr2075-20250707075518",
40
- "@talismn/chaindata-provider": "0.0.0-pr2075-20250707075518",
41
- "@talismn/sapi": "0.0.0-pr2075-20250707075518",
42
- "@talismn/token-rates": "0.0.0-pr2075-20250707075518",
43
- "@talismn/scale": "0.0.0-pr2075-20250707075518",
44
- "@talismn/util": "0.0.0-pr2075-20250707075518"
38
+ "@talismn/chain-connector": "0.0.0-pr2075-20250707100944",
39
+ "@talismn/sapi": "0.0.0-pr2075-20250707100944",
40
+ "@talismn/scale": "0.0.0-pr2075-20250707100944",
41
+ "@talismn/chain-connector-evm": "0.0.0-pr2075-20250707100944",
42
+ "@talismn/token-rates": "0.0.0-pr2075-20250707100944",
43
+ "@talismn/util": "0.0.0-pr2075-20250707100944",
44
+ "@talismn/chaindata-provider": "0.0.0-pr2075-20250707100944"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@polkadot/api-contract": "16.1.2",