@drift-labs/sdk 2.59.0-beta.1 → 2.59.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.59.0-beta.1
1
+ 2.59.0-beta.2
@@ -38,6 +38,9 @@ class PriorityFeeSubscriber {
38
38
  throw new Error('Connection must be helius, or heliusRpcUrl must be provided to use PriorityFeeMethod.HELIUS');
39
39
  }
40
40
  }
41
+ else {
42
+ this.heliusRpcUrl = config.heliusRpcUrl;
43
+ }
41
44
  }
42
45
  }
43
46
  if (this.priorityFeeMethod === types_1.PriorityFeeMethod.SOLANA) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.59.0-beta.1",
3
+ "version": "2.59.0-beta.2",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -56,6 +56,8 @@ export class PriorityFeeSubscriber {
56
56
  'Connection must be helius, or heliusRpcUrl must be provided to use PriorityFeeMethod.HELIUS'
57
57
  );
58
58
  }
59
+ } else {
60
+ this.heliusRpcUrl = config.heliusRpcUrl;
59
61
  }
60
62
  }
61
63
  }