@drift-labs/sdk 2.37.1-beta.5 → 2.37.1-beta.6
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/idl/drift.json +33 -0
- package/package.json +1 -1
- package/src/idl/drift.json +33 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.37.1-beta.
|
|
1
|
+
2.37.1-beta.6
|
package/lib/idl/drift.json
CHANGED
|
@@ -1122,6 +1122,31 @@
|
|
|
1122
1122
|
}
|
|
1123
1123
|
]
|
|
1124
1124
|
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "updateUserReduceOnly",
|
|
1127
|
+
"accounts": [
|
|
1128
|
+
{
|
|
1129
|
+
"name": "user",
|
|
1130
|
+
"isMut": true,
|
|
1131
|
+
"isSigner": false
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "authority",
|
|
1135
|
+
"isMut": false,
|
|
1136
|
+
"isSigner": true
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
"args": [
|
|
1140
|
+
{
|
|
1141
|
+
"name": "subAccountId",
|
|
1142
|
+
"type": "u16"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "reduceOnly",
|
|
1146
|
+
"type": "bool"
|
|
1147
|
+
}
|
|
1148
|
+
]
|
|
1149
|
+
},
|
|
1125
1150
|
{
|
|
1126
1151
|
"name": "deleteUser",
|
|
1127
1152
|
"accounts": [
|
|
@@ -8314,6 +8339,9 @@
|
|
|
8314
8339
|
},
|
|
8315
8340
|
{
|
|
8316
8341
|
"name": "Bankrupt"
|
|
8342
|
+
},
|
|
8343
|
+
{
|
|
8344
|
+
"name": "ReduceOnly"
|
|
8317
8345
|
}
|
|
8318
8346
|
]
|
|
8319
8347
|
}
|
|
@@ -10681,6 +10709,11 @@
|
|
|
10681
10709
|
"code": 6253,
|
|
10682
10710
|
"name": "CantUpdatePerpBidAskTwap",
|
|
10683
10711
|
"msg": "CantUpdatePerpBidAskTwap"
|
|
10712
|
+
},
|
|
10713
|
+
{
|
|
10714
|
+
"code": 6254,
|
|
10715
|
+
"name": "UserReduceOnly",
|
|
10716
|
+
"msg": "UserReduceOnly"
|
|
10684
10717
|
}
|
|
10685
10718
|
]
|
|
10686
10719
|
}
|
package/package.json
CHANGED
package/src/idl/drift.json
CHANGED
|
@@ -1122,6 +1122,31 @@
|
|
|
1122
1122
|
}
|
|
1123
1123
|
]
|
|
1124
1124
|
},
|
|
1125
|
+
{
|
|
1126
|
+
"name": "updateUserReduceOnly",
|
|
1127
|
+
"accounts": [
|
|
1128
|
+
{
|
|
1129
|
+
"name": "user",
|
|
1130
|
+
"isMut": true,
|
|
1131
|
+
"isSigner": false
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "authority",
|
|
1135
|
+
"isMut": false,
|
|
1136
|
+
"isSigner": true
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
"args": [
|
|
1140
|
+
{
|
|
1141
|
+
"name": "subAccountId",
|
|
1142
|
+
"type": "u16"
|
|
1143
|
+
},
|
|
1144
|
+
{
|
|
1145
|
+
"name": "reduceOnly",
|
|
1146
|
+
"type": "bool"
|
|
1147
|
+
}
|
|
1148
|
+
]
|
|
1149
|
+
},
|
|
1125
1150
|
{
|
|
1126
1151
|
"name": "deleteUser",
|
|
1127
1152
|
"accounts": [
|
|
@@ -8314,6 +8339,9 @@
|
|
|
8314
8339
|
},
|
|
8315
8340
|
{
|
|
8316
8341
|
"name": "Bankrupt"
|
|
8342
|
+
},
|
|
8343
|
+
{
|
|
8344
|
+
"name": "ReduceOnly"
|
|
8317
8345
|
}
|
|
8318
8346
|
]
|
|
8319
8347
|
}
|
|
@@ -10681,6 +10709,11 @@
|
|
|
10681
10709
|
"code": 6253,
|
|
10682
10710
|
"name": "CantUpdatePerpBidAskTwap",
|
|
10683
10711
|
"msg": "CantUpdatePerpBidAskTwap"
|
|
10712
|
+
},
|
|
10713
|
+
{
|
|
10714
|
+
"code": 6254,
|
|
10715
|
+
"name": "UserReduceOnly",
|
|
10716
|
+
"msg": "UserReduceOnly"
|
|
10684
10717
|
}
|
|
10685
10718
|
]
|
|
10686
10719
|
}
|