@crypticdot/defituna-api 1.4.2 → 1.4.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.
package/dist/index.d.mts CHANGED
@@ -6178,6 +6178,7 @@ type GetUserTradeHistoryOptions = {
6178
6178
  type GetUserOrderHistoryOptions = {
6179
6179
  pool?: string[];
6180
6180
  orderType?: OrderHistoryOrderTypeType[];
6181
+ uiDiretion?: OrderHistoryUIDirectionType[];
6181
6182
  cursor?: string;
6182
6183
  limit?: number;
6183
6184
  desc?: boolean;
package/dist/index.d.ts CHANGED
@@ -6178,6 +6178,7 @@ type GetUserTradeHistoryOptions = {
6178
6178
  type GetUserOrderHistoryOptions = {
6179
6179
  pool?: string[];
6180
6180
  orderType?: OrderHistoryOrderTypeType[];
6181
+ uiDiretion?: OrderHistoryUIDirectionType[];
6181
6182
  cursor?: string;
6182
6183
  limit?: number;
6183
6184
  desc?: boolean;
package/dist/index.js CHANGED
@@ -916,6 +916,9 @@ var TunaApiClient = class {
916
916
  if (options.orderType?.length) {
917
917
  query.order_type = options.orderType.join(",");
918
918
  }
919
+ if (options.uiDiretion?.length) {
920
+ query.ui_direction = options.uiDiretion.join(",");
921
+ }
919
922
  if (options.limit) {
920
923
  query.limit = options.limit;
921
924
  }
package/dist/index.mjs CHANGED
@@ -881,6 +881,9 @@ var TunaApiClient = class {
881
881
  if (options.orderType?.length) {
882
882
  query.order_type = options.orderType.join(",");
883
883
  }
884
+ if (options.uiDiretion?.length) {
885
+ query.ui_direction = options.uiDiretion.join(",");
886
+ }
884
887
  if (options.limit) {
885
888
  query.limit = options.limit;
886
889
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crypticdot/defituna-api",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "private": false,
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",