@drift-labs/sdk 2.48.0-beta.6 → 2.48.0-beta.7

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.48.0-beta.6
1
+ 2.48.0-beta.7
@@ -1150,7 +1150,7 @@ class DriftClient {
1150
1150
  withdrawIxs.push((0, spl_token_1.createCloseAccountInstruction)(associatedTokenAddress, authority, authority, []));
1151
1151
  }
1152
1152
  const tx = await this.buildTransaction(withdrawIxs, {
1153
- computeUnits: 600000,
1153
+ computeUnits: 1400000,
1154
1154
  });
1155
1155
  const { txSig, slot } = await this.sendTransaction(tx, additionalSigners, this.opts);
1156
1156
  this.spotMarketLastSlotCache.set(marketIndex, slot);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.48.0-beta.6",
3
+ "version": "2.48.0-beta.7",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -2028,7 +2028,7 @@ export class DriftClient {
2028
2028
  }
2029
2029
 
2030
2030
  const tx = await this.buildTransaction(withdrawIxs, {
2031
- computeUnits: 600_000,
2031
+ computeUnits: 1_400_000,
2032
2032
  });
2033
2033
  const { txSig, slot } = await this.sendTransaction(
2034
2034
  tx,