@drift-labs/sdk 2.95.0-beta.1 → 2.95.0-beta.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/VERSION CHANGED
@@ -1 +1 @@
1
- 2.95.0-beta.1
1
+ 2.95.0-beta.2
@@ -16,8 +16,7 @@ const DEFAULT_TIMEOUT = 35000;
16
16
  const DEFAULT_TX_LAND_RATE_LOOKBACK_WINDOW_MINUTES = 10;
17
17
  const NOT_CONFIRMED_ERROR_CODE = -1001;
18
18
  class BaseTxSender {
19
- constructor({ connection, wallet, opts = anchor_1.AnchorProvider.defaultOptions(), timeout = DEFAULT_TIMEOUT, additionalConnections = new Array(), confirmationStrategy = types_1.ConfirmationStrategy.Combo, additionalTxSenderCallbacks, trackTxLandRate, txHandler, txLandRateLookbackWindowMinutes = DEFAULT_TX_LAND_RATE_LOOKBACK_WINDOW_MINUTES *
20
- 60, landRateToFeeFunc, }) {
19
+ constructor({ connection, wallet, opts = anchor_1.AnchorProvider.defaultOptions(), timeout = DEFAULT_TIMEOUT, additionalConnections = new Array(), confirmationStrategy = types_1.ConfirmationStrategy.Combo, additionalTxSenderCallbacks, trackTxLandRate, txHandler, txLandRateLookbackWindowMinutes = DEFAULT_TX_LAND_RATE_LOOKBACK_WINDOW_MINUTES, landRateToFeeFunc, }) {
21
20
  this.timeoutCount = 0;
22
21
  this.txLandRate = 0;
23
22
  this.lastPriorityFeeSuggestion = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.95.0-beta.1",
3
+ "version": "2.95.0-beta.2",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -61,8 +61,7 @@ export abstract class BaseTxSender implements TxSender {
61
61
  additionalTxSenderCallbacks,
62
62
  trackTxLandRate,
63
63
  txHandler,
64
- txLandRateLookbackWindowMinutes = DEFAULT_TX_LAND_RATE_LOOKBACK_WINDOW_MINUTES *
65
- 60,
64
+ txLandRateLookbackWindowMinutes = DEFAULT_TX_LAND_RATE_LOOKBACK_WINDOW_MINUTES,
66
65
  landRateToFeeFunc,
67
66
  }: {
68
67
  connection: Connection;