@exodus/ethereum-api 8.13.1 → 8.13.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [8.13.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.13.1...@exodus/ethereum-api@8.13.2) (2024-08-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * base monitor crash ([#3144](https://github.com/ExodusMovement/assets/issues/3144)) ([e3738cd](https://github.com/ExodusMovement/assets/commit/e3738cd89f37472a1d6a7d5b479f20ac88ff7bfa))
12
+
13
+
14
+
6
15
  ## [8.13.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.13.0...@exodus/ethereum-api@8.13.1) (2024-08-07)
7
16
 
8
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "8.13.1",
3
+ "version": "8.13.2",
4
4
  "description": "Ethereum Api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -65,5 +65,5 @@
65
65
  "type": "git",
66
66
  "url": "git+https://github.com/ExodusMovement/assets.git"
67
67
  },
68
- "gitHead": "6f74d1acedf14defa2a949dc756495dbab413ceb"
68
+ "gitHead": "fc7420fbe8a8acf647ee9319de3eb2d3832b87f6"
69
69
  }
@@ -69,6 +69,7 @@ export class EthereumNoHistoryMonitor extends BaseMonitor {
69
69
  const tokenBalanceEntries = tokenBalancePairs
70
70
  .map((pair) => {
71
71
  const token = tokens.find((token) => token.name === pair[0])
72
+ if (!token) return null
72
73
  const value = token.currency.baseUnit(pair[1] || 0)
73
74
  return [token.name, value]
74
75
  })