@exodus/solana-plugin 1.39.4 → 1.40.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 +9 -0
- package/package.json +2 -2
- package/src/create-asset.js +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
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.40.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.39.4...@exodus/solana-plugin@1.40.0) (2026-06-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **solana:** implement getHistoricalBalance via backwards tx walk ([#8280](https://github.com/ExodusMovement/assets/issues/8280)) ([c3104bc](https://github.com/ExodusMovement/assets/commit/c3104bcbe904733661ce9de5bded512c61d0b5c8))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [1.39.4](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.39.3...@exodus/solana-plugin@1.39.4) (2026-06-19)
|
|
7
16
|
|
|
8
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.0",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"type": "git",
|
|
46
46
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "e7ad872f0fdfc1309c37833b2d69854b8e0e27f6"
|
|
49
49
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
feePayerClientFactory,
|
|
14
14
|
getBalancesFactory,
|
|
15
15
|
getFeeAsyncFactory,
|
|
16
|
+
getHistoricalBalanceFactory,
|
|
16
17
|
isSolanaRewardsActivityTx,
|
|
17
18
|
SolanaFeeMonitor,
|
|
18
19
|
stakingApiFactory,
|
|
@@ -108,6 +109,8 @@ export const createSolanaAssetFactory =
|
|
|
108
109
|
|
|
109
110
|
const getBalances = getBalancesFactory({ stakingFeatureAvailable, allowSendingAll })
|
|
110
111
|
|
|
112
|
+
const getHistoricalBalance = getHistoricalBalanceFactory({ assetClientInterface, getBalances })
|
|
113
|
+
|
|
111
114
|
const feeData = createFeeData({ asset: base })
|
|
112
115
|
|
|
113
116
|
let feePayerClient = null
|
|
@@ -159,6 +162,7 @@ export const createSolanaAssetFactory =
|
|
|
159
162
|
api: {
|
|
160
163
|
features: { family: ASSET_FAMILY.SOLANA },
|
|
161
164
|
getBalances: (...args) => api.getBalances(...args),
|
|
165
|
+
getHistoricalBalance: (...args) => api.getHistoricalBalance(...args),
|
|
162
166
|
},
|
|
163
167
|
})
|
|
164
168
|
|
|
@@ -180,6 +184,7 @@ export const createSolanaAssetFactory =
|
|
|
180
184
|
family: ASSET_FAMILY.SOLANA,
|
|
181
185
|
feeMonitor: true,
|
|
182
186
|
feesApi: true,
|
|
187
|
+
historicalBalance: true,
|
|
183
188
|
moveFunds: true,
|
|
184
189
|
nfts: true,
|
|
185
190
|
staking: {},
|
|
@@ -288,6 +293,7 @@ export const createSolanaAssetFactory =
|
|
|
288
293
|
getActivityTxs,
|
|
289
294
|
getBalanceForAddress: createGetBalanceForAddress({ api: defaultApi, asset: base }),
|
|
290
295
|
getBalances,
|
|
296
|
+
getHistoricalBalance,
|
|
291
297
|
getDefaultAddressPath: () => defaultAddressPath,
|
|
292
298
|
getFee,
|
|
293
299
|
getFeeAsync: async (...args) => {
|