@drift-labs/sdk 2.36.1-beta.8 → 2.36.1-beta.9
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 +2 -2
- package/lib/idl/drift.json +4 -4
- package/package.json +1 -1
- package/src/driftClient.ts +2 -2
- package/src/idl/drift.json +4 -4
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.36.1-beta.
|
|
1
|
+
2.36.1-beta.9
|
package/lib/driftClient.js
CHANGED
|
@@ -3099,10 +3099,10 @@ class DriftClient {
|
|
|
3099
3099
|
const tx = await this.program.transaction.depositIntoSpotMarketRevenuePool(amount, {
|
|
3100
3100
|
accounts: {
|
|
3101
3101
|
state: await this.getStatePublicKey(),
|
|
3102
|
-
spotMarket: spotMarket.
|
|
3103
|
-
userTokenAccount: userTokenAccountPublicKey,
|
|
3102
|
+
spotMarket: spotMarket.pubkey,
|
|
3104
3103
|
authority: this.wallet.publicKey,
|
|
3105
3104
|
spotMarketVault: spotMarket.vault,
|
|
3105
|
+
userTokenAccount: userTokenAccountPublicKey,
|
|
3106
3106
|
tokenProgram: spl_token_1.TOKEN_PROGRAM_ID,
|
|
3107
3107
|
},
|
|
3108
3108
|
});
|
package/lib/idl/drift.json
CHANGED
|
@@ -2968,13 +2968,13 @@
|
|
|
2968
2968
|
"name": "depositIntoSpotMarketRevenuePool",
|
|
2969
2969
|
"accounts": [
|
|
2970
2970
|
{
|
|
2971
|
-
"name": "
|
|
2972
|
-
"isMut":
|
|
2971
|
+
"name": "state",
|
|
2972
|
+
"isMut": false,
|
|
2973
2973
|
"isSigner": false
|
|
2974
2974
|
},
|
|
2975
2975
|
{
|
|
2976
|
-
"name": "
|
|
2977
|
-
"isMut":
|
|
2976
|
+
"name": "spotMarket",
|
|
2977
|
+
"isMut": true,
|
|
2978
2978
|
"isSigner": false
|
|
2979
2979
|
},
|
|
2980
2980
|
{
|
package/package.json
CHANGED
package/src/driftClient.ts
CHANGED
|
@@ -5595,10 +5595,10 @@ export class DriftClient {
|
|
|
5595
5595
|
{
|
|
5596
5596
|
accounts: {
|
|
5597
5597
|
state: await this.getStatePublicKey(),
|
|
5598
|
-
spotMarket: spotMarket.
|
|
5599
|
-
userTokenAccount: userTokenAccountPublicKey,
|
|
5598
|
+
spotMarket: spotMarket.pubkey,
|
|
5600
5599
|
authority: this.wallet.publicKey,
|
|
5601
5600
|
spotMarketVault: spotMarket.vault,
|
|
5601
|
+
userTokenAccount: userTokenAccountPublicKey,
|
|
5602
5602
|
tokenProgram: TOKEN_PROGRAM_ID,
|
|
5603
5603
|
},
|
|
5604
5604
|
}
|
package/src/idl/drift.json
CHANGED
|
@@ -2968,13 +2968,13 @@
|
|
|
2968
2968
|
"name": "depositIntoSpotMarketRevenuePool",
|
|
2969
2969
|
"accounts": [
|
|
2970
2970
|
{
|
|
2971
|
-
"name": "
|
|
2972
|
-
"isMut":
|
|
2971
|
+
"name": "state",
|
|
2972
|
+
"isMut": false,
|
|
2973
2973
|
"isSigner": false
|
|
2974
2974
|
},
|
|
2975
2975
|
{
|
|
2976
|
-
"name": "
|
|
2977
|
-
"isMut":
|
|
2976
|
+
"name": "spotMarket",
|
|
2977
|
+
"isMut": true,
|
|
2978
2978
|
"isSigner": false
|
|
2979
2979
|
},
|
|
2980
2980
|
{
|