@drift-labs/sdk 2.36.1-beta.7 → 2.36.1-beta.8

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.36.1-beta.7
1
+ 2.36.1-beta.8
@@ -2832,7 +2832,7 @@ class DriftClient {
2832
2832
  isSigner: false,
2833
2833
  });
2834
2834
  }
2835
- return await this.program.instruction.updatePerpBidAskTwap(perpMarketIndex, {
2835
+ return await this.program.instruction.updatePerpBidAskTwap({
2836
2836
  accounts: {
2837
2837
  state: await this.getStatePublicKey(),
2838
2838
  perpMarket: perpMarket.pubkey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drift-labs/sdk",
3
- "version": "2.36.1-beta.7",
3
+ "version": "2.36.1-beta.8",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "author": "crispheaney",
@@ -5109,19 +5109,16 @@ export class DriftClient {
5109
5109
  });
5110
5110
  }
5111
5111
 
5112
- return await this.program.instruction.updatePerpBidAskTwap(
5113
- perpMarketIndex,
5114
- {
5115
- accounts: {
5116
- state: await this.getStatePublicKey(),
5117
- perpMarket: perpMarket.pubkey,
5118
- oracle: perpMarket.amm.oracle,
5119
- authority: this.wallet.publicKey,
5120
- keeperStats: this.getUserStatsAccountPublicKey(),
5121
- },
5122
- remainingAccounts,
5123
- }
5124
- );
5112
+ return await this.program.instruction.updatePerpBidAskTwap({
5113
+ accounts: {
5114
+ state: await this.getStatePublicKey(),
5115
+ perpMarket: perpMarket.pubkey,
5116
+ oracle: perpMarket.amm.oracle,
5117
+ authority: this.wallet.publicKey,
5118
+ keeperStats: this.getUserStatsAccountPublicKey(),
5119
+ },
5120
+ remainingAccounts,
5121
+ });
5125
5122
  }
5126
5123
 
5127
5124
  public async settleFundingPayment(