@nightlylabs/dex-sdk 0.1.60 → 0.1.61

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/index.cjs CHANGED
@@ -2028,7 +2028,8 @@ var Client = class _Client {
2028
2028
  params.market,
2029
2029
  params.orderId,
2030
2030
  params.newPrice,
2031
- params.postOnly
2031
+ params.postOnly,
2032
+ params.reduceOnly
2032
2033
  ]
2033
2034
  });
2034
2035
  return await this.createAndSubmitTransaction(aptosPayload);
package/dist/index.d.cts CHANGED
@@ -1307,6 +1307,7 @@ interface ChangePerpOrderPriceParams {
1307
1307
  orderId: string;
1308
1308
  newPrice: string;
1309
1309
  postOnly: boolean;
1310
+ reduceOnly: boolean;
1310
1311
  }
1311
1312
  interface PlacePerpOrderParams {
1312
1313
  userId: string;
package/dist/index.d.ts CHANGED
@@ -1307,6 +1307,7 @@ interface ChangePerpOrderPriceParams {
1307
1307
  orderId: string;
1308
1308
  newPrice: string;
1309
1309
  postOnly: boolean;
1310
+ reduceOnly: boolean;
1310
1311
  }
1311
1312
  interface PlacePerpOrderParams {
1312
1313
  userId: string;
package/dist/index.js CHANGED
@@ -1977,7 +1977,8 @@ var Client = class _Client {
1977
1977
  params.market,
1978
1978
  params.orderId,
1979
1979
  params.newPrice,
1980
- params.postOnly
1980
+ params.postOnly,
1981
+ params.reduceOnly
1981
1982
  ]
1982
1983
  });
1983
1984
  return await this.createAndSubmitTransaction(aptosPayload);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nightlylabs/dex-sdk",
3
- "version": "0.1.60",
3
+ "version": "0.1.61",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {