@bulletxyz/bullet-sdk 0.21.0-rc.0 → 0.21.0-rc.3

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.
@@ -9161,10 +9161,10 @@ var Client = class _Client {
9161
9161
  }
9162
9162
  });
9163
9163
  }
9164
- async placeTpsls(asset, tpslOrders) {
9164
+ async placeTpslsForAsset(asset, tpslOrders) {
9165
9165
  return await this.submitTransaction({
9166
9166
  exchange: {
9167
- place_tpsls: {
9167
+ place_tpsls_for_asset: {
9168
9168
  asset_id: asset,
9169
9169
  tpsls: tpslOrders.map(
9170
9170
  ({
@@ -9251,10 +9251,10 @@ var Client = class _Client {
9251
9251
  }
9252
9252
  });
9253
9253
  }
9254
- async cancelAllOrders(asset) {
9254
+ async cancelAllOrdersForAsset(asset) {
9255
9255
  return await this.submitTransaction({
9256
9256
  exchange: {
9257
- cancel_all_orders: {
9257
+ cancel_all_orders_for_asset: {
9258
9258
  asset_id: asset
9259
9259
  }
9260
9260
  }
@@ -9345,10 +9345,10 @@ var Client = class _Client {
9345
9345
  }
9346
9346
  });
9347
9347
  }
9348
- async liquidate(address, positions) {
9348
+ async liquidatePerpPositions(address, positions) {
9349
9349
  return await this.submitTransaction({
9350
9350
  exchange: {
9351
- liquidate: {
9351
+ liquidate_perps_positions: {
9352
9352
  address,
9353
9353
  positions: positions?.map(({ asset, size }) => ({
9354
9354
  asset_id: asset,