@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.
@@ -9316,10 +9316,10 @@ var Client = class _Client {
9316
9316
  }
9317
9317
  });
9318
9318
  }
9319
- async placeTpslsForMarket(market, tpslOrders) {
9319
+ async createPositionTpsl(market, tpslOrders) {
9320
9320
  return await this.submitTransaction({
9321
9321
  exchange: {
9322
- place_tpsl_for_market: {
9322
+ create_position_tpsl: {
9323
9323
  market_id: market,
9324
9324
  tpsl: {
9325
9325
  tp: tpslOrders.tp ? {
@@ -9352,10 +9352,10 @@ var Client = class _Client {
9352
9352
  }
9353
9353
  });
9354
9354
  }
9355
- async replaceOrder(options) {
9355
+ async amendOrder(options) {
9356
9356
  return await this.submitTransaction({
9357
9357
  exchange: {
9358
- replace_order: {
9358
+ amend_order: {
9359
9359
  existing_order_id: options.existingOrderId?.toString() ?? null,
9360
9360
  existing_client_order_id: options.existingClientOrderId?.toString() ?? null,
9361
9361
  order_args: {