@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.
|
|
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,
|
|
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