@bulletxyz/bullet-sdk 0.25.4-rc.6 → 0.25.4-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.
@@ -9302,10 +9302,10 @@ var Client = class _Client {
9302
9302
  }
9303
9303
  });
9304
9304
  }
9305
- async placeTpslsForMarket(market, tpslOrders) {
9305
+ async createPositionTpsl(market, tpslOrders) {
9306
9306
  return await this.submitTransaction({
9307
9307
  exchange: {
9308
- place_tpsl_for_market: {
9308
+ create_position_tpsl: {
9309
9309
  market_id: market,
9310
9310
  tpsl: {
9311
9311
  tp: tpslOrders.tp ? {
@@ -9338,10 +9338,10 @@ var Client = class _Client {
9338
9338
  }
9339
9339
  });
9340
9340
  }
9341
- async replaceOrder(options) {
9341
+ async amendOrder(options) {
9342
9342
  return await this.submitTransaction({
9343
9343
  exchange: {
9344
- replace_order: {
9344
+ amend_order: {
9345
9345
  existing_order_id: options.existingOrderId?.toString() ?? null,
9346
9346
  existing_client_order_id: options.existingClientOrderId?.toString() ?? null,
9347
9347
  order_args: {