@exodus/solana-api 2.5.33 → 2.5.34

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-api",
3
- "version": "2.5.33",
3
+ "version": "2.5.34",
4
4
  "description": "Exodus internal Solana asset API wrapper",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -44,5 +44,5 @@
44
44
  "devDependencies": {
45
45
  "@exodus/assets-testing": "^1.0.0"
46
46
  },
47
- "gitHead": "a35477168e62cc23a0d047983278b64ef1081a97"
47
+ "gitHead": "9da341db0c5c18d52690699d241675c1f7392d71"
48
48
  }
@@ -21,6 +21,7 @@ export class SolanaMonitor extends BaseMonitor {
21
21
  includeUnparsed = false,
22
22
  ticksBetweenHistoryFetches = TICKS_BETWEEN_HISTORY_FETCHES,
23
23
  ticksBetweenStakeFetches = TICKS_BETWEEN_STAKE_FETCHES,
24
+ txsLimit,
24
25
  ...args
25
26
  }) {
26
27
  super(args)
@@ -32,6 +33,7 @@ export class SolanaMonitor extends BaseMonitor {
32
33
  this.ticksBetweenStakeFetches = ticksBetweenStakeFetches
33
34
  this.ticksBetweenHistoryFetches = ticksBetweenHistoryFetches
34
35
  this.includeUnparsed = includeUnparsed
36
+ this.txsLimit = txsLimit
35
37
  this.addHook('before-stop', (...args) => this.beforeStop(...args))
36
38
  }
37
39
 
@@ -195,6 +197,7 @@ export class SolanaMonitor extends BaseMonitor {
195
197
  const { transactions, newCursor } = await this.api.getTransactions(address, {
196
198
  cursor,
197
199
  includeUnparsed: this.includeUnparsed,
200
+ limit: this.txsLimit,
198
201
  })
199
202
 
200
203
  const mappedTransactions = []