@exodus/solana-plugin 1.38.0 → 1.39.1
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 +28 -0
- package/package.json +4 -3
- package/src/create-asset.js +15 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,34 @@
|
|
|
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.39.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.39.0...@exodus/solana-plugin@1.39.1) (2026-05-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix: add SOL compatibility mode test (#8132)
|
|
13
|
+
|
|
14
|
+
* fix: SOL token integration test (#8077)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Performance
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* perf: lazy asset factories (#8083)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [1.39.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.38.0...@exodus/solana-plugin@1.39.0) (2026-05-13)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
* feat(solana): refresh fee-payer capabilities via fee monitor (#8065)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
6
34
|
## [1.38.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.37.1...@exodus/solana-plugin@1.38.0) (2026-05-12)
|
|
7
35
|
|
|
8
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.1",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -24,10 +24,11 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@exodus/asset-lib": "^5.0.0",
|
|
26
26
|
"@exodus/assets": "^11.8.0",
|
|
27
|
+
"@exodus/basic-utils": "^5.1.0",
|
|
27
28
|
"@exodus/bip44-constants": "^195.0.0",
|
|
28
29
|
"@exodus/i18n-dummy": "^1.0.0",
|
|
29
30
|
"@exodus/send-validation-model": "^1.0.0",
|
|
30
|
-
"@exodus/solana-api": "^3.
|
|
31
|
+
"@exodus/solana-api": "^3.34.0",
|
|
31
32
|
"@exodus/solana-lib": "^3.24.0",
|
|
32
33
|
"@exodus/solana-meta": "^2.9.0",
|
|
33
34
|
"@exodus/web3-solana-utils": "^2.9.0",
|
|
@@ -44,5 +45,5 @@
|
|
|
44
45
|
"type": "git",
|
|
45
46
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
46
47
|
},
|
|
47
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "31ef78abe48afdebd23769ff81a4d7e427b36406"
|
|
48
49
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ASSET_FAMILY, connectAssetsList } from '@exodus/assets'
|
|
2
|
+
import { lazyFn } from '@exodus/basic-utils'
|
|
2
3
|
import bip44Constants from '@exodus/bip44-constants/by-ticker.js'
|
|
3
4
|
import {
|
|
4
5
|
Api,
|
|
@@ -12,6 +13,7 @@ import {
|
|
|
12
13
|
getBalancesFactory,
|
|
13
14
|
getFeeAsyncFactory,
|
|
14
15
|
isSolanaRewardsActivityTx,
|
|
16
|
+
SolanaFeeMonitor,
|
|
15
17
|
stakingApiFactory,
|
|
16
18
|
WsApi,
|
|
17
19
|
} from '@exodus/solana-api'
|
|
@@ -110,11 +112,9 @@ export const createSolanaAssetFactory =
|
|
|
110
112
|
})
|
|
111
113
|
}
|
|
112
114
|
|
|
113
|
-
const createTx =
|
|
114
|
-
assetClientInterface,
|
|
115
|
-
|
|
116
|
-
feePayerClient,
|
|
117
|
-
})
|
|
115
|
+
const createTx = lazyFn(() =>
|
|
116
|
+
createTxFactory({ assetClientInterface, api: defaultApi, feePayerClient })
|
|
117
|
+
)
|
|
118
118
|
|
|
119
119
|
const sendTx = createAndBroadcastTXFactory({
|
|
120
120
|
api: defaultApi,
|
|
@@ -169,7 +169,7 @@ export const createSolanaAssetFactory =
|
|
|
169
169
|
accountState: true,
|
|
170
170
|
customTokens: base.name === 'solana',
|
|
171
171
|
family: ASSET_FAMILY.SOLANA,
|
|
172
|
-
feeMonitor:
|
|
172
|
+
feeMonitor: true,
|
|
173
173
|
feesApi: true,
|
|
174
174
|
moveFunds: true,
|
|
175
175
|
nfts: true,
|
|
@@ -207,6 +207,14 @@ export const createSolanaAssetFactory =
|
|
|
207
207
|
|
|
208
208
|
const getFeeAsync = getFeeAsyncFactory({ assetClientInterface, createTx })
|
|
209
209
|
|
|
210
|
+
const createFeeMonitor = (args) =>
|
|
211
|
+
new SolanaFeeMonitor({
|
|
212
|
+
...args,
|
|
213
|
+
assetName: baseAssetName,
|
|
214
|
+
feePayerClient,
|
|
215
|
+
interval: feePayer.capabilitiesRefreshInterval,
|
|
216
|
+
})
|
|
217
|
+
|
|
210
218
|
const sendValidations = sendValidationsFactory({
|
|
211
219
|
api: defaultApi,
|
|
212
220
|
assetName: baseAssetName,
|
|
@@ -236,6 +244,7 @@ export const createSolanaAssetFactory =
|
|
|
236
244
|
addressHasHistory: (...args) => defaultApi.addressIsActive(...args),
|
|
237
245
|
broadcastTx: (...args) => defaultApi.broadcastTransaction(...args),
|
|
238
246
|
createAccountState: () => SolanaAccountState,
|
|
247
|
+
createFeeMonitor,
|
|
239
248
|
createHistoryMonitor,
|
|
240
249
|
createToken: (tokenDef) =>
|
|
241
250
|
tokenDef.isBuiltIn ? createToken(tokenDef) : createCustomToken(tokenDef),
|