@exodus/ethereum-api 8.25.1 → 8.25.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,18 @@
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.25.2](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.25.1...@exodus/ethereum-api@8.25.2) (2025-01-10)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: add missing polygon exports (#4829)
13
+
14
+ * fix: ETH web3 assert typo (#4826)
15
+
16
+
17
+
6
18
  ## [8.25.1](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-api@8.25.0...@exodus/ethereum-api@8.25.1) (2025-01-09)
7
19
 
8
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/ethereum-api",
3
- "version": "8.25.1",
3
+ "version": "8.25.2",
4
4
  "description": "Transaction monitors, fee monitors, RPC with the blockchain node, and other networking code for Ethereum and EVM-based blockchains",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -64,5 +64,5 @@
64
64
  "type": "git",
65
65
  "url": "git+https://github.com/ExodusMovement/assets.git"
66
66
  },
67
- "gitHead": "d4f217a359d8cefd79482d3af82a398d79093e6d"
67
+ "gitHead": "4047b725fd2d9000e809e72074a82650f69c120f"
68
68
  }
package/src/index.js CHANGED
@@ -45,6 +45,14 @@ export {
45
45
  isEthereumUndelegatePending,
46
46
  isEthereumUndelegate,
47
47
  isEthereumClaimUndelegate,
48
+ MaticStakingApi,
49
+ createPolygonStakingService,
50
+ getPolygonStakingInfo,
51
+ isPolygonTx,
52
+ isPolygonDelegate,
53
+ isPolygonUndelegate,
54
+ isPolygonReward,
55
+ isPolygonClaimUndelegate,
48
56
  } from './staking/index.js'
49
57
 
50
58
  export { fetchTxPreview, maybeRemoveDuplicates, retrieveSideEffects } from './simulate-tx/index.js'
@@ -2,7 +2,7 @@ import { createSimulateMessage as createSimulateEVMMessage } from '@exodus/web3-
2
2
  import assert from 'minimalistic-assert'
3
3
 
4
4
  export const createSimulateMessage = ({ asset }) => {
5
- assert('asset', '"asset" should be passed.')
5
+ assert(asset, '"asset" should be passed.')
6
6
 
7
7
  const simulateEVMMessage = createSimulateEVMMessage()
8
8
 
@@ -2,7 +2,7 @@ import { createSimulateTransactions as createSimulateEVMTransactions } from '@ex
2
2
  import assert from 'minimalistic-assert'
3
3
 
4
4
  export const createSimulateTransactions = ({ asset }) => {
5
- assert('asset', '"asset" should be passed.')
5
+ assert(asset, '"asset" should be passed.')
6
6
 
7
7
  const simulateEVMTransactions = createSimulateEVMTransactions({
8
8
  apiEndpoint: 'https://simulation.a.exodus.io/simulate',