@drift-labs/sdk 2.59.0-beta.4 → 2.59.0-beta.5

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.4
1
+ 2.59.0-beta.5
@@ -45,7 +45,7 @@ class WebSocketDriftClientAccountSubscriber {
45
45
  }
46
46
  const statePublicKey = await (0, pda_1.getDriftStateAccountPublicKey)(this.program.programId);
47
47
  // create and activate main state account subscription
48
- this.stateAccountSubscriber = new webSocketAccountSubscriber_1.WebSocketAccountSubscriber('state', this.program, statePublicKey, undefined, this.resubTimeoutMs, this.commitment);
48
+ this.stateAccountSubscriber = new webSocketAccountSubscriber_1.WebSocketAccountSubscriber('state', this.program, statePublicKey, undefined, undefined, this.commitment);
49
49
  await this.stateAccountSubscriber.subscribe((data) => {
50
50
  this.eventEmitter.emit('stateAccountUpdate', data);
51
51
  this.eventEmitter.emit('update');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.59.0-beta.4",
3
+ "version": "2.59.0-beta.5",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -104,7 +104,7 @@ export class WebSocketDriftClientAccountSubscriber
104
104
  this.program,
105
105
  statePublicKey,
106
106
  undefined,
107
- this.resubTimeoutMs,
107
+ undefined,
108
108
  this.commitment
109
109
  );
110
110
  await this.stateAccountSubscriber.subscribe((data: StateAccount) => {