@exodus/solana-plugin 1.30.4 → 1.31.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 +20 -0
- package/package.json +4 -4
- package/src/create-asset.js +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.31.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.30.5...@exodus/solana-plugin@1.31.0) (2026-02-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* feat(solana): reintroduce solana SPL delegation (#7353)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [1.30.5](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.30.4...@exodus/solana-plugin@1.30.5) (2026-01-21)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* fix: Solana merge multi-transfer transactions to prevent data loss (#7297)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [1.30.4](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.30.3...@exodus/solana-plugin@1.30.4) (2026-01-20)
|
|
7
27
|
|
|
8
28
|
**Note:** Version bump only for package @exodus/solana-plugin
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.0",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"@exodus/bip44-constants": "^195.0.0",
|
|
28
28
|
"@exodus/i18n-dummy": "^1.0.0",
|
|
29
29
|
"@exodus/send-validation-model": "^1.0.0",
|
|
30
|
-
"@exodus/solana-api": "^3.
|
|
31
|
-
"@exodus/solana-lib": "^3.
|
|
30
|
+
"@exodus/solana-api": "^3.28.0",
|
|
31
|
+
"@exodus/solana-lib": "^3.20.0",
|
|
32
32
|
"@exodus/solana-meta": "^2.3.1",
|
|
33
33
|
"@exodus/web3-solana-utils": "^2.9.0",
|
|
34
34
|
"minimalistic-assert": "^1.0.1",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"type": "git",
|
|
45
45
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "3cea3bc89ff5c4aaa461ac148e384ea24dbe2d38"
|
|
48
48
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
createAccountState,
|
|
7
7
|
createAndBroadcastTXFactory,
|
|
8
8
|
createInitAgentWalletFactory,
|
|
9
|
+
createTokenDelegationFactory,
|
|
9
10
|
createTxFactory,
|
|
10
11
|
feePayerClientFactory,
|
|
11
12
|
getBalancesFactory,
|
|
@@ -194,6 +195,11 @@ export const createSolanaAssetFactory =
|
|
|
194
195
|
assetClientInterface,
|
|
195
196
|
})
|
|
196
197
|
|
|
198
|
+
const { approveDelegation, revokeDelegation } = createTokenDelegationFactory({
|
|
199
|
+
api: defaultApi,
|
|
200
|
+
assetClientInterface,
|
|
201
|
+
})
|
|
202
|
+
|
|
197
203
|
const createHistoryMonitor = createHistoryMonitorFactory({
|
|
198
204
|
monitorType,
|
|
199
205
|
assetClientInterface,
|
|
@@ -258,11 +264,13 @@ export const createSolanaAssetFactory =
|
|
|
258
264
|
address,
|
|
259
265
|
keys,
|
|
260
266
|
api,
|
|
267
|
+
approveDelegation,
|
|
261
268
|
bip44,
|
|
262
269
|
accountReserve,
|
|
263
270
|
initAgentWallet,
|
|
264
271
|
lowBalance,
|
|
265
272
|
MIN_STAKING_AMOUNT,
|
|
273
|
+
revokeDelegation,
|
|
266
274
|
serverApi: defaultApi,
|
|
267
275
|
}
|
|
268
276
|
|