@exodus/solana-plugin 1.28.1 → 1.29.0

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,32 @@
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.29.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.28.2...@exodus/solana-plugin@1.29.0) (2025-12-08)
7
+
8
+
9
+ ### Features
10
+
11
+
12
+ * feat: add SOL WS Monitor (#7014)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+
18
+ * fix: SOL fee payer integration tests (#7058)
19
+
20
+
21
+
22
+ ## [1.28.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.28.1...@exodus/solana-plugin@1.28.2) (2025-11-20)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+
28
+ * fix: fee display for Solana sponsored transaction (#6980)
29
+
30
+
31
+
6
32
  ## [1.28.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.28.0...@exodus/solana-plugin@1.28.1) (2025-11-07)
7
33
 
8
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.28.1",
3
+ "version": "1.29.0",
4
4
  "description": "Solana plugin for Exodus SDK powered wallets.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -27,7 +27,7 @@
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.25.0",
30
+ "@exodus/solana-api": "^3.26.0",
31
31
  "@exodus/solana-lib": "^3.14.0",
32
32
  "@exodus/solana-meta": "^2.3.1",
33
33
  "@exodus/web3-solana-utils": "^2.9.0",
@@ -44,5 +44,5 @@
44
44
  "type": "git",
45
45
  "url": "git+https://github.com/ExodusMovement/assets.git"
46
46
  },
47
- "gitHead": "7f0c43b29e76145c34ef1d70ef5e0a2cec87f831"
47
+ "gitHead": "79ca0050003451552fa7bf075913b87e098885c8"
48
48
  }
@@ -1,4 +1,4 @@
1
- import { SolanaClarityMonitor, SolanaMonitor } from '@exodus/solana-api'
1
+ import { SolanaClarityMonitor, SolanaMonitor, SolanaWebsocketMonitor } from '@exodus/solana-api'
2
2
  import assert from 'minimalistic-assert'
3
3
 
4
4
  export const createHistoryMonitorFactory = ({
@@ -10,6 +10,7 @@ export const createHistoryMonitorFactory = ({
10
10
  ticksBetweenStakeFetches,
11
11
  includeUnparsed,
12
12
  api,
13
+ wsApi,
13
14
  txsLimit,
14
15
  }) => {
15
16
  assert(assetClientInterface, 'expected assetClientInterface')
@@ -20,6 +21,17 @@ export const createHistoryMonitorFactory = ({
20
21
  return (args) => {
21
22
  let monitor
22
23
  switch (monitorType) {
24
+ case 'ws-clarity':
25
+ monitor = new SolanaWebsocketMonitor({
26
+ assetClientInterface,
27
+ interval,
28
+ includeUnparsed,
29
+ api,
30
+ wsApi,
31
+ txsLimit,
32
+ ...args,
33
+ })
34
+ break
23
35
  case 'clarity':
24
36
  monitor = new SolanaClarityMonitor({
25
37
  assetClientInterface,
@@ -11,6 +11,7 @@ import {
11
11
  getBalancesFactory,
12
12
  getFeeAsyncFactory,
13
13
  isSolanaRewardsActivityTx,
14
+ WsApi,
14
15
  } from '@exodus/solana-api'
15
16
  import {
16
17
  createFeeData,
@@ -60,7 +61,10 @@ export const createSolanaAssetFactory =
60
61
  overrideCallback = ({ asset }) => asset,
61
62
  } = {}) => {
62
63
  const assets = connectAssetsList(assetList)
63
- const serverApi = monitorType === 'clarity' ? new ClarityApi({ assets }) : new Api({ assets })
64
+ const serverApi = ['ws-clarity', 'clarity'].includes(monitorType)
65
+ ? new ClarityApi({ assets })
66
+ : new Api({ assets })
67
+ const wsApi = new WsApi({ assets })
64
68
 
65
69
  const { name: baseAssetName } = assetList.find((asset) => asset.baseAssetName === asset.name)
66
70
  const base = assets[baseAssetName]
@@ -197,6 +201,7 @@ export const createSolanaAssetFactory =
197
201
  ticksBetweenStakeFetches,
198
202
  includeUnparsed,
199
203
  api: serverApi,
204
+ wsApi,
200
205
  txsLimit,
201
206
  })
202
207