@orderly.network/trading 2.5.2 → 2.5.3-alpha.1
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 +9 -3
- package/dist/index.d.ts +9 -3
- package/dist/index.js +45 -45
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -20
package/dist/index.d.mts
CHANGED
|
@@ -229,7 +229,6 @@ declare const useAssetViewScript: () => {
|
|
|
229
229
|
visible: any;
|
|
230
230
|
toggleVisible: () => void;
|
|
231
231
|
networkId: NetworkId;
|
|
232
|
-
isFirstTimeDeposit: boolean;
|
|
233
232
|
totalValue: number | undefined;
|
|
234
233
|
status: AccountStatusEnum;
|
|
235
234
|
freeCollateral: number | undefined;
|
|
@@ -242,9 +241,14 @@ declare const useAssetViewScript: () => {
|
|
|
242
241
|
};
|
|
243
242
|
type AssetViewState = ReturnType<typeof useAssetViewScript>;
|
|
244
243
|
|
|
245
|
-
declare const AssetView: FC<AssetViewState
|
|
244
|
+
declare const AssetView: FC<AssetViewState & {
|
|
245
|
+
isFirstTimeDeposit?: boolean;
|
|
246
|
+
}>;
|
|
246
247
|
|
|
247
|
-
|
|
248
|
+
type AssetViewWidgetProps = {
|
|
249
|
+
isFirstTimeDeposit?: boolean;
|
|
250
|
+
};
|
|
251
|
+
declare const AssetViewWidget: (props: AssetViewWidgetProps) => react_jsx_runtime.JSX.Element;
|
|
248
252
|
|
|
249
253
|
declare const useOrderBookScript: (props: {
|
|
250
254
|
symbol: string;
|
|
@@ -423,6 +427,8 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
423
427
|
hideAssets: any;
|
|
424
428
|
setHideAssets: (value: boolean) => void;
|
|
425
429
|
onShowPortfolioSheet: () => void;
|
|
430
|
+
navigateToPortfolio: (() => void) | undefined;
|
|
431
|
+
isFirstTimeDeposit: boolean;
|
|
426
432
|
max2XLSplitRef: RefObject<Split>;
|
|
427
433
|
tradingviewAndOrderbookSplitRef: RefObject<Split>;
|
|
428
434
|
onTradingviewAndOrderbookDragging: (preSize: number, nextSize: number) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -229,7 +229,6 @@ declare const useAssetViewScript: () => {
|
|
|
229
229
|
visible: any;
|
|
230
230
|
toggleVisible: () => void;
|
|
231
231
|
networkId: NetworkId;
|
|
232
|
-
isFirstTimeDeposit: boolean;
|
|
233
232
|
totalValue: number | undefined;
|
|
234
233
|
status: AccountStatusEnum;
|
|
235
234
|
freeCollateral: number | undefined;
|
|
@@ -242,9 +241,14 @@ declare const useAssetViewScript: () => {
|
|
|
242
241
|
};
|
|
243
242
|
type AssetViewState = ReturnType<typeof useAssetViewScript>;
|
|
244
243
|
|
|
245
|
-
declare const AssetView: FC<AssetViewState
|
|
244
|
+
declare const AssetView: FC<AssetViewState & {
|
|
245
|
+
isFirstTimeDeposit?: boolean;
|
|
246
|
+
}>;
|
|
246
247
|
|
|
247
|
-
|
|
248
|
+
type AssetViewWidgetProps = {
|
|
249
|
+
isFirstTimeDeposit?: boolean;
|
|
250
|
+
};
|
|
251
|
+
declare const AssetViewWidget: (props: AssetViewWidgetProps) => react_jsx_runtime.JSX.Element;
|
|
248
252
|
|
|
249
253
|
declare const useOrderBookScript: (props: {
|
|
250
254
|
symbol: string;
|
|
@@ -423,6 +427,8 @@ declare const useTradingScript: () => TradingPageState & {
|
|
|
423
427
|
hideAssets: any;
|
|
424
428
|
setHideAssets: (value: boolean) => void;
|
|
425
429
|
onShowPortfolioSheet: () => void;
|
|
430
|
+
navigateToPortfolio: (() => void) | undefined;
|
|
431
|
+
isFirstTimeDeposit: boolean;
|
|
426
432
|
max2XLSplitRef: RefObject<Split>;
|
|
427
433
|
tradingviewAndOrderbookSplitRef: RefObject<Split>;
|
|
428
434
|
onTradingviewAndOrderbookDragging: (preSize: number, nextSize: number) => void;
|