@drift-labs/vaults-sdk 0.1.306 → 0.1.308

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.
@@ -738,7 +738,7 @@ class VaultClient {
738
738
  preFlightCommitment: 'confirmed',
739
739
  forceVersionedTransaction: true,
740
740
  txVersion: 0,
741
- fetchMarketLookupTableAccount: this.driftClient.fetchMarketLookupTableAccount,
741
+ fetchMarketLookupTableAccount: this.driftClient.fetchMarketLookupTableAccount.bind(this.driftClient),
742
742
  }));
743
743
  let txSig = bytes_1.bs58.encode(tx.signatures[0]);
744
744
  if (txParams === null || txParams === void 0 ? void 0 : txParams.simulateTransaction) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/vaults-sdk",
3
- "version": "0.1.306",
3
+ "version": "0.1.308",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "directories": {
@@ -9,7 +9,7 @@
9
9
  "dependencies": {
10
10
  "@coral-xyz/anchor": "^0.26.0",
11
11
  "@drift-labs/competitions-sdk": "0.2.303",
12
- "@drift-labs/sdk": "2.83.0-beta.6",
12
+ "@drift-labs/sdk": "2.83.0-beta.7",
13
13
  "@solana/web3.js": "1.73.2",
14
14
  "commander": "^11.0.0",
15
15
  "dotenv": "^16.3.1",
@@ -1133,7 +1133,7 @@ export class VaultClient {
1133
1133
  forceVersionedTransaction: true,
1134
1134
  txVersion: 0,
1135
1135
  fetchMarketLookupTableAccount:
1136
- this.driftClient.fetchMarketLookupTableAccount,
1136
+ this.driftClient.fetchMarketLookupTableAccount.bind(this.driftClient),
1137
1137
  })) as VersionedTransaction;
1138
1138
  let txSig = bs58.encode(tx.signatures[0]);
1139
1139
  if (txParams?.simulateTransaction) {