@exodus/solana-plugin 1.39.3 → 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 CHANGED
@@ -3,6 +3,25 @@
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
+
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)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+
21
+ * fix: re-introduce MIN_STAKING_AMOUNT constant (#8266)
22
+
23
+
24
+
6
25
  ## [1.39.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.39.2...@exodus/solana-plugin@1.39.3) (2026-06-18)
7
26
 
8
27
  **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.39.3",
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": "4405d203c9da98ac38c4daf8854dddde749814a9"
48
+ "gitHead": "e7ad872f0fdfc1309c37833b2d69854b8e0e27f6"
49
49
  }
@@ -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,
@@ -41,6 +42,7 @@ import { createWeb3API } from './web3/index.js'
41
42
 
42
43
  const DEFAULT_ACCOUNT_RESERVE = 0
43
44
  const DEFAULT_LOW_BALANCE = 0.01
45
+ const MIN_STAKING_AMOUNT = '1.003'
44
46
  const STAKE_ACCOUNT_SIZE = 200
45
47
 
46
48
  const normalizePositiveIntegerLamports = (value, errorMessage) => {
@@ -107,6 +109,8 @@ export const createSolanaAssetFactory =
107
109
 
108
110
  const getBalances = getBalancesFactory({ stakingFeatureAvailable, allowSendingAll })
109
111
 
112
+ const getHistoricalBalance = getHistoricalBalanceFactory({ assetClientInterface, getBalances })
113
+
110
114
  const feeData = createFeeData({ asset: base })
111
115
 
112
116
  let feePayerClient = null
@@ -158,6 +162,7 @@ export const createSolanaAssetFactory =
158
162
  api: {
159
163
  features: { family: ASSET_FAMILY.SOLANA },
160
164
  getBalances: (...args) => api.getBalances(...args),
165
+ getHistoricalBalance: (...args) => api.getHistoricalBalance(...args),
161
166
  },
162
167
  })
163
168
 
@@ -179,6 +184,7 @@ export const createSolanaAssetFactory =
179
184
  family: ASSET_FAMILY.SOLANA,
180
185
  feeMonitor: true,
181
186
  feesApi: true,
187
+ historicalBalance: true,
182
188
  moveFunds: true,
183
189
  nfts: true,
184
190
  staking: {},
@@ -287,6 +293,7 @@ export const createSolanaAssetFactory =
287
293
  getActivityTxs,
288
294
  getBalanceForAddress: createGetBalanceForAddress({ api: defaultApi, asset: base }),
289
295
  getBalances,
296
+ getHistoricalBalance,
290
297
  getDefaultAddressPath: () => defaultAddressPath,
291
298
  getFee,
292
299
  getFeeAsync: async (...args) => {
@@ -335,6 +342,7 @@ export const createSolanaAssetFactory =
335
342
  findRecoverableNestedAccounts: recoverNestedAccounts.findRecoverableNestedAccounts,
336
343
  initAgentWallet,
337
344
  lowBalance,
345
+ MIN_STAKING_AMOUNT: base.currency.defaultUnit(MIN_STAKING_AMOUNT),
338
346
  recoverNestedAccountFunds: recoverNestedAccounts.recoverNestedAccountFunds,
339
347
  revokeDelegation,
340
348
  serverApi: defaultApi,