@bulletxyz/bullet-sdk 0.25.4-rc.6 → 0.25.4-rc.7

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.
@@ -12,7 +12,7 @@ export interface TransactionOpts {
12
12
  gasLimit: number[] | null;
13
13
  chainId: number;
14
14
  }
15
- type ReplaceOrderOptions = {
15
+ type AmendOrderOptions = {
16
16
  existingOrderId: bigint;
17
17
  existingClientOrderId?: never;
18
18
  placeOrderArgs: PlaceOrderArgs;
@@ -116,7 +116,7 @@ export declare class Client {
116
116
  borrowSpot(asset: Asset, amount: Decimal): Promise<TransactionResult<Transaction<RuntimeCall>>>;
117
117
  placeOrder(placeOrderArgs: PlaceOrderArgs): Promise<TransactionResult<Transaction<RuntimeCall>>>;
118
118
  placeTpslsForMarket(market: Market, tpslOrders: PlacePositionTpslArgs): Promise<TransactionResult<Transaction<RuntimeCall>>>;
119
- replaceOrder(options: ReplaceOrderOptions): Promise<TransactionResult<Transaction<RuntimeCall>>>;
119
+ amendOrder(options: AmendOrderOptions): Promise<TransactionResult<Transaction<RuntimeCall>>>;
120
120
  cancelTpsl(tpslOrderId: bigint): Promise<TransactionResult<Transaction<RuntimeCall>>>;
121
121
  cancelOrder(orderId?: bigint, clientOrderId?: bigint): Promise<TransactionResult<Transaction<RuntimeCall>>>;
122
122
  cancelAllOrdersForMarket(market: Market): Promise<TransactionResult<Transaction<RuntimeCall>>>;
@@ -69,7 +69,7 @@ type ExchangeCallMessage = {
69
69
  market_id: MarketId;
70
70
  tpsl: PlacePositionTpslArgs;
71
71
  };
72
- replace_order: {
72
+ amend_order: {
73
73
  existing_order_id: string | null;
74
74
  existing_client_order_id: string | null;
75
75
  order_args: {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/zetamarkets/bullet-sdk.git"
6
6
  },
7
- "version": "0.25.4-rc.6",
7
+ "version": "0.25.4-rc.7",
8
8
  "description": "Bullet SDK",
9
9
  "author": "@bulletxyz",
10
10
  "license": "Apache-2.0",