@exodus/solana-api 3.20.7 → 3.20.8
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 +10 -0
- package/package.json +3 -3
- package/src/get-balances.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.20.8](https://github.com/ExodusMovement/assets/compare/@exodus/solana-api@3.20.7...@exodus/solana-api@3.20.8) (2025-09-18)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix: SOL coinAmount for staking (regression) (#6476)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [3.20.7](https://github.com/ExodusMovement/assets/compare/@exodus/solana-api@3.20.6...@exodus/solana-api@3.20.7) (2025-08-12)
|
|
7
17
|
|
|
8
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-api",
|
|
3
|
-
"version": "3.20.
|
|
3
|
+
"version": "3.20.8",
|
|
4
4
|
"description": "Transaction monitors, fee monitors, RPC with the blockchain node, and other networking code for Solana",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
"url-join": "^4.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@exodus/asset": "^2.0
|
|
45
|
+
"@exodus/asset": "^2.2.0",
|
|
46
46
|
"@exodus/assets-testing": "^1.0.0",
|
|
47
47
|
"@exodus/solana-web3.js": "^1.63.1-exodus.9-rc3"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "b94e40bcbccd75eab27cd08988ea039a597b0c42",
|
|
50
50
|
"bugs": {
|
|
51
51
|
"url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Asolana-api"
|
|
52
52
|
},
|
package/src/get-balances.js
CHANGED
|
@@ -109,7 +109,8 @@ const fixBalances = ({
|
|
|
109
109
|
// staking tx
|
|
110
110
|
switch (tx.data.staking?.method) {
|
|
111
111
|
case 'delegate':
|
|
112
|
-
|
|
112
|
+
const stakeAmount = asset.currency.baseUnit(tx.data.staking?.stake || '0')
|
|
113
|
+
activating = activating.add(stakeAmount.abs())
|
|
113
114
|
break
|
|
114
115
|
case 'withdraw':
|
|
115
116
|
withdrawable = asset.currency.ZERO
|