@exodus/solana-plugin 1.24.1 → 1.24.2

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.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.24.1...@exodus/solana-plugin@1.24.2) (2025-09-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: update Solana base asset name (#6466)
13
+
14
+
15
+
6
16
  ## [1.24.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.24.0...@exodus/solana-plugin@1.24.1) (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.1",
3
+ "version": "1.24.2",
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": "4f019150ea10a3b3853bb351ebd8e55517277e46"
46
+ "gitHead": "c8b232eb144194f40066ec2586d4fb6d66955f70"
47
47
  }
@@ -54,8 +54,8 @@ export const createSolanaAssetFactory =
54
54
  } = {}) => {
55
55
  const assets = connectAssetsList(assetList)
56
56
 
57
- const baseName = assetList.find((asset) => asset.baseAssetName === asset.name)
58
- const base = assets[baseName]
57
+ const base = Object.values(assets).find((asset) => asset.baseAssetName === asset.name)
58
+ const baseAssetName = base.name
59
59
 
60
60
  const smallTxAmount = base.currency.defaultUnit('0.00005')
61
61
  const accountReserve = base.currency.defaultUnit(
@@ -152,7 +152,7 @@ export const createSolanaAssetFactory =
152
152
 
153
153
  const getFeeAsync = getFeeAsyncFactory({ api: serverApi })
154
154
 
155
- const sendValidations = sendValidationsFactory({ api: serverApi, assetName: baseName })
155
+ const sendValidations = sendValidationsFactory({ api: serverApi, assetName: baseAssetName })
156
156
  const api = {
157
157
  getActivityTxs,
158
158
  addressHasHistory: (...args) => serverApi.getAccountInfo(...args).then((acc) => !!acc),