@bulletxyz/bullet-sdk 0.24.0-rc.6 → 0.24.0-rc.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/dist/browser/index.js
CHANGED
|
@@ -2441,7 +2441,7 @@ var NETWORKS = {
|
|
|
2441
2441
|
},
|
|
2442
2442
|
Testnet: {
|
|
2443
2443
|
rest: "https://rollup.testnet.bullet.xyz",
|
|
2444
|
-
ws: "
|
|
2444
|
+
ws: "wss://ws.testnet.bullet.xyz"
|
|
2445
2445
|
},
|
|
2446
2446
|
Mainnet: {
|
|
2447
2447
|
rest: "https://rollup-mainnet.zeta.markets",
|
|
@@ -6757,7 +6757,8 @@ var Tpsl = z.object({
|
|
|
6757
6757
|
order_type: z.enum(ORDER_TYPES),
|
|
6758
6758
|
owner: Base58Address,
|
|
6759
6759
|
parent_order_id: OrderId.nullable(),
|
|
6760
|
-
linked_tpsl_order_ids: z.array(OrderId)
|
|
6760
|
+
linked_tpsl_order_ids: z.array(OrderId),
|
|
6761
|
+
is_executable: z.boolean()
|
|
6761
6762
|
});
|
|
6762
6763
|
var PerpLedger = z.object({
|
|
6763
6764
|
orders: createJsonMap(OrderId, Order),
|
|
@@ -9403,7 +9404,7 @@ var Client = class _Client {
|
|
|
9403
9404
|
}
|
|
9404
9405
|
return await this.submitTransaction({
|
|
9405
9406
|
exchange: {
|
|
9406
|
-
|
|
9407
|
+
update_market_max_leverage: {
|
|
9407
9408
|
market_id: market,
|
|
9408
9409
|
max_leverage: maxLeverage
|
|
9409
9410
|
}
|