@talismn/balances 0.9.2 → 0.9.3

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.
@@ -1625,7 +1625,10 @@ const EvmErc20Module = hydrate => {
1625
1625
  const {
1626
1626
  errors,
1627
1627
  results
1628
- } = await fetchBalances$3(chainConnectors.evm, fetchesPerNetwork, aggregators);
1628
+ } = await fetchBalances$3(chainConnectors.evm, {
1629
+ [evmNetworkId]: fetchesPerNetwork[evmNetworkId]
1630
+ }, aggregators);
1631
+
1629
1632
  // handle errors first
1630
1633
  errors.forEach(error => {
1631
1634
  if (error instanceof EvmErc20BalanceError) {
@@ -1625,7 +1625,10 @@ const EvmErc20Module = hydrate => {
1625
1625
  const {
1626
1626
  errors,
1627
1627
  results
1628
- } = await fetchBalances$3(chainConnectors.evm, fetchesPerNetwork, aggregators);
1628
+ } = await fetchBalances$3(chainConnectors.evm, {
1629
+ [evmNetworkId]: fetchesPerNetwork[evmNetworkId]
1630
+ }, aggregators);
1631
+
1629
1632
  // handle errors first
1630
1633
  errors.forEach(error => {
1631
1634
  if (error instanceof EvmErc20BalanceError) {
@@ -1612,7 +1612,10 @@ const EvmErc20Module = hydrate => {
1612
1612
  const {
1613
1613
  errors,
1614
1614
  results
1615
- } = await fetchBalances$3(chainConnectors.evm, fetchesPerNetwork, aggregators);
1615
+ } = await fetchBalances$3(chainConnectors.evm, {
1616
+ [evmNetworkId]: fetchesPerNetwork[evmNetworkId]
1617
+ }, aggregators);
1618
+
1616
1619
  // handle errors first
1617
1620
  errors.forEach(error => {
1618
1621
  if (error instanceof EvmErc20BalanceError) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talismn/balances",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "author": "Talisman",
5
5
  "homepage": "https://talisman.xyz",
6
6
  "license": "GPL-3.0-or-later",
@@ -34,13 +34,13 @@
34
34
  "rxjs": "^7.8.1",
35
35
  "scale-ts": "^1.6.1",
36
36
  "viem": "^2.27.3",
37
- "@talismn/chain-connector": "0.10.1",
38
- "@talismn/chain-connector-evm": "0.10.1",
37
+ "@talismn/chain-connector": "0.10.2",
38
+ "@talismn/chain-connector-evm": "0.10.2",
39
39
  "@talismn/sapi": "0.0.3",
40
- "@talismn/chaindata-provider": "0.10.1",
41
- "@talismn/token-rates": "2.0.2",
42
- "@talismn/util": "0.4.0",
43
- "@talismn/scale": "0.1.1"
40
+ "@talismn/scale": "0.1.1",
41
+ "@talismn/chaindata-provider": "0.10.2",
42
+ "@talismn/util": "0.4.1",
43
+ "@talismn/token-rates": "2.0.3"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@polkadot/api-contract": "15.8.1",