@exodus/solana-plugin 1.30.3 → 1.30.4

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,14 @@
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.30.4](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.30.3...@exodus/solana-plugin@1.30.4) (2026-01-20)
7
+
8
+ **Note:** Version bump only for package @exodus/solana-plugin
9
+
10
+
11
+
12
+
13
+
6
14
  ## [1.30.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.30.2...@exodus/solana-plugin@1.30.3) (2026-01-13)
7
15
 
8
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.30.3",
3
+ "version": "1.30.4",
4
4
  "description": "Solana plugin for Exodus SDK powered wallets.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -44,5 +44,5 @@
44
44
  "type": "git",
45
45
  "url": "git+https://github.com/ExodusMovement/assets.git"
46
46
  },
47
- "gitHead": "ecc849a8b24d0d0f5518437dc58d3fb943a2a1cd"
47
+ "gitHead": "7c645f44d790b08a59cfedfcd1bb9635d1173fbc"
48
48
  }
@@ -38,7 +38,7 @@ const DEFAULT_LOW_BALANCE = 0.01
38
38
  const DEFAULT_MIN_STAKING_AMOUNT = 0.01
39
39
 
40
40
  export const createSolanaAssetFactory =
41
- ({ assetList, isTestnet = false }) =>
41
+ ({ assetList, rpcUrl, isTestnet = false }) =>
42
42
  ({
43
43
  assetClientInterface,
44
44
  config: {
@@ -61,14 +61,14 @@ export const createSolanaAssetFactory =
61
61
  overrideCallback = ({ asset }) => asset,
62
62
  } = {}) => {
63
63
  const assets = connectAssetsList(assetList)
64
- const rpcApi = new Api({ assets })
64
+ const { name: baseAssetName } = assetList.find((asset) => asset.baseAssetName === asset.name)
65
+ const base = assets[baseAssetName]
66
+
67
+ const rpcApi = new Api({ rpcUrl, assets })
65
68
  const clarityApi = new ClarityApi({ assets })
66
69
  const wsApi = new WsApi({ assets })
67
70
  const defaultApi = ['ws-clarity', 'clarity'].includes(monitorType) ? clarityApi : rpcApi
68
71
 
69
- const { name: baseAssetName } = assetList.find((asset) => asset.baseAssetName === asset.name)
70
- const base = assets[baseAssetName]
71
-
72
72
  const smallTxAmount = base.currency.defaultUnit('0.0001')
73
73
  const accountReserve = base.currency.defaultUnit(
74
74
  defaultAccountReserve ?? DEFAULT_ACCOUNT_RESERVE