@exodus/solana-plugin 1.24.2 → 1.24.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 CHANGED
@@ -3,6 +3,16 @@
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.24.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.24.2...@exodus/solana-plugin@1.24.3) (2025-09-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: solana asset name perf (#6467)
13
+
14
+
15
+
6
16
  ## [1.24.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.24.1...@exodus/solana-plugin@1.24.2) (2025-09-15)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.24.2",
3
+ "version": "1.24.3",
4
4
  "description": "Solana plugin for Exodus SDK powered wallets.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -43,5 +43,5 @@
43
43
  "type": "git",
44
44
  "url": "git+https://github.com/ExodusMovement/assets.git"
45
45
  },
46
- "gitHead": "c8b232eb144194f40066ec2586d4fb6d66955f70"
46
+ "gitHead": "f205dceaa506c168cb789204d99fec4c70b86dfd"
47
47
  }
@@ -54,8 +54,8 @@ export const createSolanaAssetFactory =
54
54
  } = {}) => {
55
55
  const assets = connectAssetsList(assetList)
56
56
 
57
- const base = Object.values(assets).find((asset) => asset.baseAssetName === asset.name)
58
- const baseAssetName = base.name
57
+ const { name: baseAssetName } = assetList.find((asset) => asset.baseAssetName === asset.name)
58
+ const base = assets[baseAssetName]
59
59
 
60
60
  const smallTxAmount = base.currency.defaultUnit('0.00005')
61
61
  const accountReserve = base.currency.defaultUnit(
@@ -152,7 +152,12 @@ export const createSolanaAssetFactory =
152
152
 
153
153
  const getFeeAsync = getFeeAsyncFactory({ api: serverApi })
154
154
 
155
- const sendValidations = sendValidationsFactory({ api: serverApi, assetName: baseAssetName })
155
+ const sendValidations = sendValidationsFactory({
156
+ api: serverApi,
157
+ assetName: baseAssetName,
158
+ assetClientInterface,
159
+ })
160
+
156
161
  const api = {
157
162
  getActivityTxs,
158
163
  addressHasHistory: (...args) => serverApi.getAccountInfo(...args).then((acc) => !!acc),
@@ -141,7 +141,7 @@ const sendValidationsFactory = ({ api, assetName, assetClientInterface }) => {
141
141
 
142
142
  const accountState = await assetClientInterface.getAccountState({
143
143
  assetName,
144
- walletAccount: fromWalletAccount,
144
+ walletAccount: fromWalletAccount.toString(),
145
145
  })
146
146
 
147
147
  if (!accountState?.rentExemptAmount) {