@exodus/solana-plugin 1.32.1 → 1.32.3
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 +16 -0
- package/package.json +3 -3
- package/src/create-asset.js +11 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
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.32.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.32.2...@exodus/solana-plugin@1.32.3) (2026-02-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/solana-plugin
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.32.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.32.1...@exodus/solana-plugin@1.32.2) (2026-02-12)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @exodus/solana-plugin
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.32.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.32.0...@exodus/solana-plugin@1.32.1) (2026-02-03)
|
|
7
23
|
|
|
8
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.32.
|
|
3
|
+
"version": "1.32.3",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
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.29.
|
|
30
|
+
"@exodus/solana-api": "^3.29.4",
|
|
31
31
|
"@exodus/solana-lib": "^3.20.1",
|
|
32
32
|
"@exodus/solana-meta": "^2.3.1",
|
|
33
33
|
"@exodus/web3-solana-utils": "^2.9.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"type": "git",
|
|
45
45
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "7f0ba4d0c14841809acd9d9365fbe1d38db3835e"
|
|
48
48
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
getBalancesFactory,
|
|
13
13
|
getFeeAsyncFactory,
|
|
14
14
|
isSolanaRewardsActivityTx,
|
|
15
|
+
stakingApiFactory,
|
|
15
16
|
WsApi,
|
|
16
17
|
} from '@exodus/solana-api'
|
|
17
18
|
import {
|
|
@@ -118,6 +119,11 @@ export const createSolanaAssetFactory =
|
|
|
118
119
|
assetClientInterface,
|
|
119
120
|
})
|
|
120
121
|
|
|
122
|
+
const stakingApi = stakingApiFactory({
|
|
123
|
+
assetName: baseAssetName,
|
|
124
|
+
assetClientInterface,
|
|
125
|
+
})
|
|
126
|
+
|
|
121
127
|
const initAgentWallet = createInitAgentWalletFactory({
|
|
122
128
|
api: defaultApi,
|
|
123
129
|
assetClientInterface,
|
|
@@ -163,6 +169,7 @@ export const createSolanaAssetFactory =
|
|
|
163
169
|
}
|
|
164
170
|
|
|
165
171
|
const assetStakingApi = {
|
|
172
|
+
...stakingApi,
|
|
166
173
|
isStaking: ({ accountState }) => accountState.stakingInfo.isDelegating,
|
|
167
174
|
}
|
|
168
175
|
|
|
@@ -195,11 +202,10 @@ export const createSolanaAssetFactory =
|
|
|
195
202
|
assetClientInterface,
|
|
196
203
|
})
|
|
197
204
|
|
|
198
|
-
const { approveDelegation, revokeDelegation
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
})
|
|
205
|
+
const { approveDelegation, revokeDelegation } = createTokenDelegationFactory({
|
|
206
|
+
api: defaultApi,
|
|
207
|
+
assetClientInterface,
|
|
208
|
+
})
|
|
203
209
|
|
|
204
210
|
const createHistoryMonitor = createHistoryMonitorFactory({
|
|
205
211
|
monitorType,
|
|
@@ -268,7 +274,6 @@ export const createSolanaAssetFactory =
|
|
|
268
274
|
approveDelegation,
|
|
269
275
|
bip44,
|
|
270
276
|
accountReserve,
|
|
271
|
-
getDelegatedAddresses,
|
|
272
277
|
initAgentWallet,
|
|
273
278
|
lowBalance,
|
|
274
279
|
MIN_STAKING_AMOUNT,
|