@exodus/ethereum-plugin 3.1.3 → 3.2.0
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 +18 -0
- package/package.json +3 -3
- package/src/index.js +1 -0
- package/src/staking/polygon/service.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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
|
+
## [3.2.0](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@3.1.4...@exodus/ethereum-plugin@3.2.0) (2026-11-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **ethereum-api:** add EXOD send error codes and user hints ([#9205](https://github.com/ExodusMovement/assets/issues/9205)) ([ebdbd9e](https://github.com/ExodusMovement/assets/commit/ebdbd9e778107182c3e0b7d0fd12866f30d384e2))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
## [3.1.4](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@3.1.3...@exodus/ethereum-plugin@3.1.4) (2026-11-04)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **ethereum-plugin:** guard polygon staking operation lookup ([#9159](https://github.com/ExodusMovement/assets/issues/9159)) ([662cd3c](https://github.com/ExodusMovement/assets/commit/662cd3c587d726f1a0b74b1862f4e18ad9fe9c97))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [3.1.3](https://github.com/ExodusMovement/assets/compare/@exodus/ethereum-plugin@3.1.2...@exodus/ethereum-plugin@3.1.3) (2026-11-03)
|
|
7
25
|
|
|
8
26
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/ethereum-plugin",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Ethereum plugin for Exodus SDK powered wallets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@exodus/asset": "^2.3.0",
|
|
36
36
|
"@exodus/assets": "^11.4.0",
|
|
37
37
|
"@exodus/assets-testing": "^1.0.0",
|
|
38
|
-
"@exodus/evm-fork-testing": "^0.7.
|
|
38
|
+
"@exodus/evm-fork-testing": "^0.7.4",
|
|
39
39
|
"@exodus/models": "^13.0.0",
|
|
40
40
|
"@exodus/solidity-contract": "^1.3.3",
|
|
41
41
|
"@exodus/web3-ethereum-utils": "^5.0.3",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"type": "git",
|
|
51
51
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "e646d8655bc613c1f188e7d7187498d82700ae90"
|
|
54
54
|
}
|
package/src/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import { tetherusdBlackListCheckFactory, usdcoinBlackListCheckFactory } from './
|
|
|
6
6
|
import { stakingConfiguration, stakingDependencies } from './staking.js'
|
|
7
7
|
|
|
8
8
|
export { POLYGON_STAKING_PREFLIGHT_ERROR_REASONS } from './staking/polygon/service.js'
|
|
9
|
+
export { EVM_ERRORS } from '@exodus/ethereum-api'
|
|
9
10
|
|
|
10
11
|
const createAsset = createAssetFactory({
|
|
11
12
|
assetsList,
|
|
@@ -471,8 +471,9 @@ export function stakingServiceFactory({ assetClientInterface, server: _server, s
|
|
|
471
471
|
|
|
472
472
|
feeData = await resolveFeeData({ feeData })
|
|
473
473
|
|
|
474
|
+
if (!Object.prototype.hasOwnProperty.call(stakingServer, operation)) return
|
|
474
475
|
const delegateOperation = stakingServer[operation]
|
|
475
|
-
if (
|
|
476
|
+
if (typeof delegateOperation !== 'function') return
|
|
476
477
|
|
|
477
478
|
const { amount } = args
|
|
478
479
|
if (amount) {
|