@orderly.network/ui-positions 2.10.2 → 3.0.0-beta.0
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 +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +750 -57
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +754 -61
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -13
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrderType, OrderSide, API } from '@orderly.network/types';
|
|
1
|
+
import { OrderType, OrderSide, API, MarginMode } from '@orderly.network/types';
|
|
2
2
|
import React, { FC } from 'react';
|
|
3
3
|
import { PriceMode } from '@orderly.network/hooks';
|
|
4
4
|
import * as _orderly_network_ui from '@orderly.network/ui';
|
|
@@ -242,6 +242,7 @@ declare const useReversePositionScript: (options?: UseReversePositionScriptOptio
|
|
|
242
242
|
side: OrderSide;
|
|
243
243
|
order_quantity: string;
|
|
244
244
|
reduce_only: boolean;
|
|
245
|
+
margin_mode: MarginMode;
|
|
245
246
|
}[];
|
|
246
247
|
};
|
|
247
248
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrderType, OrderSide, API } from '@orderly.network/types';
|
|
1
|
+
import { OrderType, OrderSide, API, MarginMode } from '@orderly.network/types';
|
|
2
2
|
import React, { FC } from 'react';
|
|
3
3
|
import { PriceMode } from '@orderly.network/hooks';
|
|
4
4
|
import * as _orderly_network_ui from '@orderly.network/ui';
|
|
@@ -242,6 +242,7 @@ declare const useReversePositionScript: (options?: UseReversePositionScriptOptio
|
|
|
242
242
|
side: OrderSide;
|
|
243
243
|
order_quantity: string;
|
|
244
244
|
reduce_only: boolean;
|
|
245
|
+
margin_mode: MarginMode;
|
|
245
246
|
}[];
|
|
246
247
|
};
|
|
247
248
|
};
|