@exodus/solana-plugin 1.36.4 → 1.36.5

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.36.5](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.36.4...@exodus/solana-plugin@1.36.5) (2026-04-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: solana devnet monitorType (#7816)
13
+
14
+
15
+
6
16
  ## [1.36.4](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.36.3...@exodus/solana-plugin@1.36.4) (2026-04-04)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.36.4",
3
+ "version": "1.36.5",
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": "a2cd3fbc02d07f1c3dc127be4d7896292d2dc967"
47
+ "gitHead": "4109b7a0cfe42fbfd8915543fac4264f478ce2dc"
48
48
  }
@@ -44,7 +44,7 @@ export const createSolanaAssetFactory =
44
44
  ({
45
45
  assetClientInterface,
46
46
  config: {
47
- monitorType = 'ws-clarity', // 'rpc' | 'clarity' | 'ws-clarity'
47
+ monitorType,
48
48
  stakingFeatureAvailable = true,
49
49
  includeUnparsed = false,
50
50
  allowSendingAll = true,
@@ -62,6 +62,7 @@ export const createSolanaAssetFactory =
62
62
  } = {},
63
63
  overrideCallback = ({ asset }) => asset,
64
64
  } = {}) => {
65
+ const resolvedMonitorType = isTestnet ? 'rpc' : monitorType ?? 'ws-clarity'
65
66
  const assets = connectAssetsList(assetList)
66
67
  const { name: baseAssetName } = assetList.find((asset) => asset.baseAssetName === asset.name)
67
68
  const base = assets[baseAssetName]
@@ -69,7 +70,7 @@ export const createSolanaAssetFactory =
69
70
  const rpcApi = new Api({ rpcUrl, assets })
70
71
  const clarityApi = new ClarityApi({ assets })
71
72
  const wsApi = new WsApi({ assets })
72
- const defaultApi = ['ws-clarity', 'clarity'].includes(monitorType) ? clarityApi : rpcApi
73
+ const defaultApi = ['ws-clarity', 'clarity'].includes(resolvedMonitorType) ? clarityApi : rpcApi
73
74
 
74
75
  const smallTxAmount = base.currency.defaultUnit('0.0001')
75
76
  const accountReserve = base.currency.defaultUnit(
@@ -209,7 +210,7 @@ export const createSolanaAssetFactory =
209
210
  })
210
211
 
211
212
  const createHistoryMonitor = createHistoryMonitorFactory({
212
- monitorType,
213
+ monitorType: resolvedMonitorType,
213
214
  assetClientInterface,
214
215
  interval: monitorInterval,
215
216
  shouldUpdateBalanceBeforeHistory,