@exodus/solana-plugin 1.14.0 → 1.14.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,22 @@
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.14.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.14.1...@exodus/solana-plugin@1.14.2) (2024-08-21)
7
+
8
+ **Note:** Version bump only for package @exodus/solana-plugin
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.14.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.14.0...@exodus/solana-plugin@1.14.1) (2024-08-13)
15
+
16
+ **Note:** Version bump only for package @exodus/solana-plugin
17
+
18
+
19
+
20
+
21
+
6
22
  ## [1.14.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.13.0...@exodus/solana-plugin@1.14.0) (2024-08-13)
7
23
 
8
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.14.0",
3
+ "version": "1.14.2",
4
4
  "description": "Exodus internal Solana asset plugin",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -39,5 +39,5 @@
39
39
  "type": "git",
40
40
  "url": "git+https://github.com/ExodusMovement/assets.git"
41
41
  },
42
- "gitHead": "3ec12ef1c834783e0f421557b98fa3d15d99f969"
42
+ "gitHead": "ec60bae875abe8f3007ab039a2d11cf562697424"
43
43
  }
@@ -102,7 +102,9 @@ export const createSolanaAssetFactory =
102
102
  const isSmallValueTx = (tx) =>
103
103
  !tx.tokens?.length &&
104
104
  !isSolanaRewardsActivityTx(tx) &&
105
- Math.abs(tx.coinAmount.toDefaultNumber()) <= 0.000_000_001
105
+ // check that the coinAmount does not drop below the solana base fee
106
+ // we shouldn't see users sending under the base fee so we consider this safe
107
+ Math.abs(tx.coinAmount.toDefaultNumber()) <= 0.000_005
106
108
 
107
109
  const getActivityTxs = ({ txs }) => txs.filter((tx) => !isSmallValueTx(tx))
108
110
 
@@ -134,6 +136,7 @@ export const createSolanaAssetFactory =
134
136
  createFeeMonitor: (args) => new SolanaFeeMonitor({ ...args, api: serverApi }),
135
137
  createHistoryMonitor: (args) =>
136
138
  new SolanaMonitor({
139
+ assetClientInterface,
137
140
  interval: monitorInterval,
138
141
  ticksBetweenHistoryFetches,
139
142
  ticksBetweenStakeFetches,