@gbozee/ultimate 0.0.2-next.79 → 0.0.2-next.80

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
@@ -72029,7 +72029,7 @@ class BaseExchange {
72029
72029
  quantity: Math.abs(payload.quantity),
72030
72030
  kind: payload.kind,
72031
72031
  cancel: payload.cancel ?? true,
72032
- is_limit: true,
72032
+ is_limit: !payload.is_market,
72033
72033
  price_places: payload.price_places,
72034
72034
  decimal_places: payload.decimal_places,
72035
72035
  hedge: payload.hedge,
package/dist/index.d.ts CHANGED
@@ -371,6 +371,7 @@ declare abstract class BaseExchange {
371
371
  hedge?: boolean;
372
372
  place?: boolean;
373
373
  cancel?: boolean;
374
+ is_market?: boolean;
374
375
  }): Promise<any>;
375
376
  previewSpotMarginHedge(_payload: {
376
377
  borrow_amount?: number;
package/dist/index.js CHANGED
@@ -71927,7 +71927,7 @@ class BaseExchange {
71927
71927
  quantity: Math.abs(payload.quantity),
71928
71928
  kind: payload.kind,
71929
71929
  cancel: payload.cancel ?? true,
71930
- is_limit: true,
71930
+ is_limit: !payload.is_market,
71931
71931
  price_places: payload.price_places,
71932
71932
  decimal_places: payload.decimal_places,
71933
71933
  hedge: payload.hedge,
@@ -75749,7 +75749,7 @@ class BaseExchange {
75749
75749
  quantity: Math.abs(payload.quantity),
75750
75750
  kind: payload.kind,
75751
75751
  cancel: payload.cancel ?? true,
75752
- is_limit: true,
75752
+ is_limit: !payload.is_market,
75753
75753
  price_places: payload.price_places,
75754
75754
  decimal_places: payload.decimal_places,
75755
75755
  hedge: payload.hedge,
@@ -75708,7 +75708,7 @@ class BaseExchange {
75708
75708
  quantity: Math.abs(payload.quantity),
75709
75709
  kind: payload.kind,
75710
75710
  cancel: payload.cancel ?? true,
75711
- is_limit: true,
75711
+ is_limit: !payload.is_market,
75712
75712
  price_places: payload.price_places,
75713
75713
  decimal_places: payload.decimal_places,
75714
75714
  hedge: payload.hedge,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gbozee/ultimate",
3
3
  "type": "module",
4
- "version": "0.0.2-next.79",
4
+ "version": "0.0.2-next.80",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",