@exodus/solana-plugin 1.18.3 → 1.20.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 +7 -2
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.20.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.19.0...@exodus/solana-plugin@1.20.0) (2025-04-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* feat: Solana rent except sender validation (#5394)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [1.19.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.18.3...@exodus/solana-plugin@1.19.0) (2025-04-03)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* feat(solana): add optional addExternalFeePayerToTransaction (#5345)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [1.18.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.18.2...@exodus/solana-plugin@1.18.3) (2025-04-03)
|
|
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.20.0",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@exodus/assets": "^11.0.0",
|
|
25
25
|
"@exodus/bip44-constants": "^195.0.0",
|
|
26
|
-
"@exodus/solana-api": "^3.
|
|
27
|
-
"@exodus/solana-lib": "^3.
|
|
26
|
+
"@exodus/solana-api": "^3.16.0",
|
|
27
|
+
"@exodus/solana-lib": "^3.10.0",
|
|
28
28
|
"@exodus/solana-meta": "^2.3.1",
|
|
29
29
|
"@exodus/web3-solana-utils": "^2.9.0",
|
|
30
30
|
"minimalistic-assert": "^1.0.1",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"type": "git",
|
|
41
41
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "06bfa593f6ed1ccb1905a95ed09b151a5eabe93f"
|
|
44
44
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -47,6 +47,7 @@ export const createSolanaAssetFactory =
|
|
|
47
47
|
ticksBetweenStakeFetches,
|
|
48
48
|
txsLimit,
|
|
49
49
|
signWithSigner = true,
|
|
50
|
+
feePayerApiUrl,
|
|
50
51
|
} = {},
|
|
51
52
|
overrideCallback = ({ asset }) => asset,
|
|
52
53
|
} = {}) => {
|
|
@@ -81,7 +82,11 @@ export const createSolanaAssetFactory =
|
|
|
81
82
|
|
|
82
83
|
const feeData = createFeeData({ asset: base })
|
|
83
84
|
|
|
84
|
-
const sendTx = createAndBroadcastTXFactory({
|
|
85
|
+
const sendTx = createAndBroadcastTXFactory({
|
|
86
|
+
api: serverApi,
|
|
87
|
+
assetClientInterface,
|
|
88
|
+
feePayerApiUrl,
|
|
89
|
+
})
|
|
85
90
|
|
|
86
91
|
const createToken = ({ mintAddress, name, ...tokenDef }) => ({
|
|
87
92
|
...tokenDef,
|
|
@@ -201,6 +206,7 @@ export const createSolanaAssetFactory =
|
|
|
201
206
|
accountReserve,
|
|
202
207
|
lowBalance,
|
|
203
208
|
MIN_STAKING_AMOUNT,
|
|
209
|
+
serverApi,
|
|
204
210
|
}
|
|
205
211
|
|
|
206
212
|
return overrideCallback({
|
|
@@ -217,6 +223,5 @@ export const createSolanaAssetFactory =
|
|
|
217
223
|
txsLimit,
|
|
218
224
|
signWithSigner,
|
|
219
225
|
},
|
|
220
|
-
serverApi,
|
|
221
226
|
})
|
|
222
227
|
}
|