@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 +1 -1
- package/lib/driftClient.js +1 -1
- package/package.json +1 -1
- package/src/driftClient.ts +10 -13
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.36.1-beta.
|
|
1
|
+
2.36.1-beta.8
|
package/lib/driftClient.js
CHANGED
|
@@ -2832,7 +2832,7 @@ class DriftClient {
|
|
|
2832
2832
|
isSigner: false,
|
|
2833
2833
|
});
|
|
2834
2834
|
}
|
|
2835
|
-
return await this.program.instruction.updatePerpBidAskTwap(
|
|
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
package/src/driftClient.ts
CHANGED
|
@@ -5109,19 +5109,16 @@ export class DriftClient {
|
|
|
5109
5109
|
});
|
|
5110
5110
|
}
|
|
5111
5111
|
|
|
5112
|
-
return await this.program.instruction.updatePerpBidAskTwap(
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
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(
|