@exodus/solana-plugin 1.16.5 → 1.16.7
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 +30 -0
- package/package.json +4 -4
- package/src/create-asset.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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
|
+
## [1.16.7](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.16.6...@exodus/solana-plugin@1.16.7) (2025-01-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* chore: add MELANIA as built-in Solana token (#4895)
|
|
13
|
+
|
|
14
|
+
* chore: add official Trump meme as built-in Solana token (#4889)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* fix: solana-plugin integration test (#4848)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [1.16.6](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.16.5...@exodus/solana-plugin@1.16.6) (2025-01-09)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Bug Fixes
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
* fix: consolidate smallTxAmount (#4798)
|
|
31
|
+
|
|
32
|
+
* fix: missing token transaction when parsing solana transactions (#4788)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [1.16.5](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.16.4...@exodus/solana-plugin@1.16.5) (2025-01-02)
|
|
7
37
|
|
|
8
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.7",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@exodus/assets": "^11.0.0",
|
|
25
25
|
"@exodus/bip44-constants": "^195.0.0",
|
|
26
|
-
"@exodus/solana-api": "^3.
|
|
26
|
+
"@exodus/solana-api": "^3.13.1",
|
|
27
27
|
"@exodus/solana-lib": "^3.9.4",
|
|
28
|
-
"@exodus/solana-meta": "^2.
|
|
28
|
+
"@exodus/solana-meta": "^2.3.1",
|
|
29
29
|
"@exodus/web3-solana-utils": "^2.2.5",
|
|
30
30
|
"minimalistic-assert": "^1.0.1",
|
|
31
31
|
"ms": "^2.1.3"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"type": "git",
|
|
41
41
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "c3a3e0f59ab75d976fc316981325f51d5689bff5"
|
|
44
44
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -54,6 +54,7 @@ export const createSolanaAssetFactory =
|
|
|
54
54
|
const baseName = assetList.find((asset) => asset.baseAssetName === asset.name)
|
|
55
55
|
const base = assets[baseName]
|
|
56
56
|
|
|
57
|
+
const smallTxAmount = base.currency.defaultUnit('0.000005')
|
|
57
58
|
const accountReserve = base.currency.defaultUnit(
|
|
58
59
|
defaultAccountReserve ?? DEFAULT_ACCOUNT_RESERVE
|
|
59
60
|
)
|
|
@@ -103,7 +104,7 @@ export const createSolanaAssetFactory =
|
|
|
103
104
|
!isSolanaRewardsActivityTx(tx) &&
|
|
104
105
|
// check that the coinAmount does not drop below the solana base fee
|
|
105
106
|
// we shouldn't see users sending under the base fee so we consider this safe
|
|
106
|
-
|
|
107
|
+
tx.coinAmount.abs().lte(smallTxAmount)
|
|
107
108
|
|
|
108
109
|
const getActivityTxs = ({ txs }) => txs.filter((tx) => !isSmallValueTx(tx))
|
|
109
110
|
|