@exodus/solana-plugin 1.36.3 → 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,28 @@
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
+
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)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+
22
+ * fix: addressIsActive users tx history (#7708)
23
+
24
+ * fix: sponsored Solana token sends when CU simulation fails (#7707)
25
+
26
+
27
+
6
28
  ## [1.36.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.36.2...@exodus/solana-plugin@1.36.3) (2026-03-27)
7
29
 
8
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.36.3",
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",
@@ -27,9 +27,9 @@
27
27
  "@exodus/bip44-constants": "^195.0.0",
28
28
  "@exodus/i18n-dummy": "^1.0.0",
29
29
  "@exodus/send-validation-model": "^1.0.0",
30
- "@exodus/solana-api": "^3.30.4",
31
- "@exodus/solana-lib": "^3.20.1",
32
- "@exodus/solana-meta": "^2.3.1",
30
+ "@exodus/solana-api": "^3.30.9",
31
+ "@exodus/solana-lib": "^3.22.5",
32
+ "@exodus/solana-meta": "^2.9.0",
33
33
  "@exodus/web3-solana-utils": "^2.9.0",
34
34
  "minimalistic-assert": "^1.0.1",
35
35
  "ms": "^2.1.3"
@@ -44,5 +44,5 @@
44
44
  "type": "git",
45
45
  "url": "git+https://github.com/ExodusMovement/assets.git"
46
46
  },
47
- "gitHead": "07a8157aec179f656835db50568127788d4b91b6"
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(
@@ -183,8 +184,8 @@ export const createSolanaAssetFactory =
183
184
  const getFee = ({ asset, feeData }) => {
184
185
  const priorityFee = feeData.priorityFee ?? 0
185
186
  // NOTE: fee is bumped via remote config, eventually fee = feeData.fee + (priorityFee * unitsConsumed * feeData.computeUnitsMultiplier)
186
- const SOL_TRANSFER_CU = 450 // standard SOL transfer // HACK: solana needs to use getFeeAsync
187
- const SPL_TRANSFER_CU = 4944 // SPL transfer // HACK: solana needs to use getFeeAsync
187
+ const SOL_TRANSFER_CU = 450 // HACK: solana needs to use getFeeAsync
188
+ const SPL_TRANSFER_CU = 4944 // HACK: solana needs to use getFeeAsync
188
189
  const isToken = asset.name !== base.name
189
190
 
190
191
  const computeUnits = isToken ? SPL_TRANSFER_CU : SOL_TRANSFER_CU
@@ -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,