@exodus/solana-plugin 1.26.0 → 1.27.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 +9 -1
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.27.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.26.1...@exodus/solana-plugin@1.27.0) (2025-10-27)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* feat: SOL agent accounts (#6757)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [1.26.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.26.0...@exodus/solana-plugin@1.26.1) (2025-10-24)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* fix: address has history method (#6764)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [1.26.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.25.0...@exodus/solana-plugin@1.26.0) (2025-10-15)
|
|
7
27
|
|
|
8
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.27.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.23.0",
|
|
31
|
+
"@exodus/solana-lib": "^3.14.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": "a5882a43d39ef9455f25523d20ed3060b40eb1a8"
|
|
48
48
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
ClarityApi,
|
|
6
6
|
createAccountState,
|
|
7
7
|
createAndBroadcastTXFactory,
|
|
8
|
+
createInitAgentWalletFactory,
|
|
8
9
|
createTxFactory,
|
|
9
10
|
feePayerClientFactory,
|
|
10
11
|
getBalancesFactory,
|
|
@@ -112,6 +113,12 @@ export const createSolanaAssetFactory =
|
|
|
112
113
|
assetClientInterface,
|
|
113
114
|
})
|
|
114
115
|
|
|
116
|
+
const initAgentWallet = createInitAgentWalletFactory({
|
|
117
|
+
api: serverApi,
|
|
118
|
+
assetClientInterface,
|
|
119
|
+
sendTx,
|
|
120
|
+
})
|
|
121
|
+
|
|
115
122
|
const createToken = ({ mintAddress, name, ...tokenDef }) => ({
|
|
116
123
|
...tokenDef,
|
|
117
124
|
address,
|
|
@@ -195,7 +202,7 @@ export const createSolanaAssetFactory =
|
|
|
195
202
|
|
|
196
203
|
const api = {
|
|
197
204
|
getActivityTxs,
|
|
198
|
-
addressHasHistory: (...args) => serverApi.
|
|
205
|
+
addressHasHistory: (...args) => serverApi.addressHasHistory(...args),
|
|
199
206
|
broadcastTx: (...args) => serverApi.broadcastTransaction(...args),
|
|
200
207
|
createAccountState: () => SolanaAccountState,
|
|
201
208
|
createHistoryMonitor,
|
|
@@ -245,6 +252,7 @@ export const createSolanaAssetFactory =
|
|
|
245
252
|
api,
|
|
246
253
|
bip44,
|
|
247
254
|
accountReserve,
|
|
255
|
+
initAgentWallet,
|
|
248
256
|
lowBalance,
|
|
249
257
|
MIN_STAKING_AMOUNT,
|
|
250
258
|
serverApi,
|