@orderly.network/portfolio 2.5.3 → 2.6.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 +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +17 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +18 -18
package/dist/index.d.mts
CHANGED
|
@@ -66,6 +66,7 @@ declare const useAssetScript: () => {
|
|
|
66
66
|
readonly onTransfer: () => void;
|
|
67
67
|
readonly namespace: _orderly_network_types.ChainNamespace | null;
|
|
68
68
|
readonly isMainAccount: boolean;
|
|
69
|
+
readonly hasSubAccount: boolean;
|
|
69
70
|
};
|
|
70
71
|
type AssetScriptReturn = ReturnType<typeof useAssetScript>;
|
|
71
72
|
|
|
@@ -112,7 +113,7 @@ declare const useAssetsChartScript: () => {
|
|
|
112
113
|
pnl?: number | undefined;
|
|
113
114
|
snapshot_time?: number | undefined;
|
|
114
115
|
}[];
|
|
115
|
-
readonly volumeUpdateDate:
|
|
116
|
+
readonly volumeUpdateDate: any;
|
|
116
117
|
readonly totalOrderClaimedReward: [number | undefined, {
|
|
117
118
|
refresh: () => void;
|
|
118
119
|
}];
|
|
@@ -196,7 +197,7 @@ declare const usePerformanceScript: () => {
|
|
|
196
197
|
pnl?: number | undefined;
|
|
197
198
|
snapshot_time?: number | undefined;
|
|
198
199
|
}[];
|
|
199
|
-
volumeUpdateDate:
|
|
200
|
+
volumeUpdateDate: any;
|
|
200
201
|
totalOrderClaimedReward: [number | undefined, {
|
|
201
202
|
refresh: () => void;
|
|
202
203
|
}];
|
|
@@ -263,9 +264,9 @@ declare const DistributionHistoryDesktop: FC<FundingHistoryProps>;
|
|
|
263
264
|
|
|
264
265
|
declare const OverviewPage: () => react_jsx_runtime.JSX.Element;
|
|
265
266
|
|
|
266
|
-
declare const
|
|
267
|
+
declare const OverviewProvider: FC<PropsWithChildren<{
|
|
267
268
|
type?: TWType;
|
|
268
|
-
}
|
|
269
|
+
}>>;
|
|
269
270
|
|
|
270
271
|
declare const index$5_AssetHistory: typeof AssetHistory;
|
|
271
272
|
declare const index$5_AssetHistoryWidget: typeof AssetHistoryWidget;
|
|
@@ -278,8 +279,8 @@ declare const index$5_DistributionHistoryMobile: typeof DistributionHistoryMobil
|
|
|
278
279
|
declare const index$5_DistributionHistoryWidget: typeof DistributionHistoryWidget;
|
|
279
280
|
declare const index$5_FundingHistoryWidget: typeof FundingHistoryWidget;
|
|
280
281
|
declare const index$5_HistoryDataGroupWidget: typeof HistoryDataGroupWidget;
|
|
281
|
-
declare const index$5_OverviewContextProvider: typeof OverviewContextProvider;
|
|
282
282
|
declare const index$5_OverviewPage: typeof OverviewPage;
|
|
283
|
+
declare const index$5_OverviewProvider: typeof OverviewProvider;
|
|
283
284
|
declare const index$5_PerformanceUI: typeof PerformanceUI;
|
|
284
285
|
declare const index$5_PerformanceWidget: typeof PerformanceWidget;
|
|
285
286
|
declare const index$5_useAssetHistoryColumns: typeof useAssetHistoryColumns;
|
|
@@ -289,7 +290,7 @@ declare const index$5_useFundingHistoryColumns: typeof useFundingHistoryColumns;
|
|
|
289
290
|
declare const index$5_useFundingHistoryHook: typeof useFundingHistoryHook;
|
|
290
291
|
declare const index$5_usePerformanceScript: typeof usePerformanceScript;
|
|
291
292
|
declare namespace index$5 {
|
|
292
|
-
export { index$5_AssetHistory as AssetHistory, index$5_AssetHistoryWidget as AssetHistoryWidget, index$5_AssetWidget as AssetWidget, index$5_AssetsChart as AssetsChart, index$5_AssetsChartWidget as AssetsChartWidget, index$5_AssetsUI as AssetsUI, index$5_DistributionHistoryDesktop as DistributionHistoryDesktop, index$5_DistributionHistoryMobile as DistributionHistoryMobile, index$5_DistributionHistoryWidget as DistributionHistoryWidget, index$5_FundingHistoryWidget as FundingHistoryWidget, index$5_HistoryDataGroupWidget as HistoryDataGroupWidget, index$
|
|
293
|
+
export { index$5_AssetHistory as AssetHistory, index$5_AssetHistoryWidget as AssetHistoryWidget, index$5_AssetWidget as AssetWidget, index$5_AssetsChart as AssetsChart, index$5_AssetsChartWidget as AssetsChartWidget, index$5_AssetsUI as AssetsUI, index$5_DistributionHistoryDesktop as DistributionHistoryDesktop, index$5_DistributionHistoryMobile as DistributionHistoryMobile, index$5_DistributionHistoryWidget as DistributionHistoryWidget, index$5_FundingHistoryWidget as FundingHistoryWidget, index$5_HistoryDataGroupWidget as HistoryDataGroupWidget, index$5_OverviewPage as OverviewPage, index$5_OverviewProvider as OverviewProvider, index$5_PerformanceUI as PerformanceUI, index$5_PerformanceWidget as PerformanceWidget, index$5_useAssetHistoryColumns as useAssetHistoryColumns, index$5_useAssetHistoryScript as useAssetHistoryScript, index$5_useAssetsChartScript as useAssetsChartScript, index$5_useFundingHistoryColumns as useFundingHistoryColumns, index$5_useFundingHistoryHook as useFundingHistoryHook, index$5_usePerformanceScript as usePerformanceScript };
|
|
293
294
|
}
|
|
294
295
|
|
|
295
296
|
type UseFeeTierScriptOptions = {
|
package/dist/index.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ declare const useAssetScript: () => {
|
|
|
66
66
|
readonly onTransfer: () => void;
|
|
67
67
|
readonly namespace: _orderly_network_types.ChainNamespace | null;
|
|
68
68
|
readonly isMainAccount: boolean;
|
|
69
|
+
readonly hasSubAccount: boolean;
|
|
69
70
|
};
|
|
70
71
|
type AssetScriptReturn = ReturnType<typeof useAssetScript>;
|
|
71
72
|
|
|
@@ -112,7 +113,7 @@ declare const useAssetsChartScript: () => {
|
|
|
112
113
|
pnl?: number | undefined;
|
|
113
114
|
snapshot_time?: number | undefined;
|
|
114
115
|
}[];
|
|
115
|
-
readonly volumeUpdateDate:
|
|
116
|
+
readonly volumeUpdateDate: any;
|
|
116
117
|
readonly totalOrderClaimedReward: [number | undefined, {
|
|
117
118
|
refresh: () => void;
|
|
118
119
|
}];
|
|
@@ -196,7 +197,7 @@ declare const usePerformanceScript: () => {
|
|
|
196
197
|
pnl?: number | undefined;
|
|
197
198
|
snapshot_time?: number | undefined;
|
|
198
199
|
}[];
|
|
199
|
-
volumeUpdateDate:
|
|
200
|
+
volumeUpdateDate: any;
|
|
200
201
|
totalOrderClaimedReward: [number | undefined, {
|
|
201
202
|
refresh: () => void;
|
|
202
203
|
}];
|
|
@@ -263,9 +264,9 @@ declare const DistributionHistoryDesktop: FC<FundingHistoryProps>;
|
|
|
263
264
|
|
|
264
265
|
declare const OverviewPage: () => react_jsx_runtime.JSX.Element;
|
|
265
266
|
|
|
266
|
-
declare const
|
|
267
|
+
declare const OverviewProvider: FC<PropsWithChildren<{
|
|
267
268
|
type?: TWType;
|
|
268
|
-
}
|
|
269
|
+
}>>;
|
|
269
270
|
|
|
270
271
|
declare const index$5_AssetHistory: typeof AssetHistory;
|
|
271
272
|
declare const index$5_AssetHistoryWidget: typeof AssetHistoryWidget;
|
|
@@ -278,8 +279,8 @@ declare const index$5_DistributionHistoryMobile: typeof DistributionHistoryMobil
|
|
|
278
279
|
declare const index$5_DistributionHistoryWidget: typeof DistributionHistoryWidget;
|
|
279
280
|
declare const index$5_FundingHistoryWidget: typeof FundingHistoryWidget;
|
|
280
281
|
declare const index$5_HistoryDataGroupWidget: typeof HistoryDataGroupWidget;
|
|
281
|
-
declare const index$5_OverviewContextProvider: typeof OverviewContextProvider;
|
|
282
282
|
declare const index$5_OverviewPage: typeof OverviewPage;
|
|
283
|
+
declare const index$5_OverviewProvider: typeof OverviewProvider;
|
|
283
284
|
declare const index$5_PerformanceUI: typeof PerformanceUI;
|
|
284
285
|
declare const index$5_PerformanceWidget: typeof PerformanceWidget;
|
|
285
286
|
declare const index$5_useAssetHistoryColumns: typeof useAssetHistoryColumns;
|
|
@@ -289,7 +290,7 @@ declare const index$5_useFundingHistoryColumns: typeof useFundingHistoryColumns;
|
|
|
289
290
|
declare const index$5_useFundingHistoryHook: typeof useFundingHistoryHook;
|
|
290
291
|
declare const index$5_usePerformanceScript: typeof usePerformanceScript;
|
|
291
292
|
declare namespace index$5 {
|
|
292
|
-
export { index$5_AssetHistory as AssetHistory, index$5_AssetHistoryWidget as AssetHistoryWidget, index$5_AssetWidget as AssetWidget, index$5_AssetsChart as AssetsChart, index$5_AssetsChartWidget as AssetsChartWidget, index$5_AssetsUI as AssetsUI, index$5_DistributionHistoryDesktop as DistributionHistoryDesktop, index$5_DistributionHistoryMobile as DistributionHistoryMobile, index$5_DistributionHistoryWidget as DistributionHistoryWidget, index$5_FundingHistoryWidget as FundingHistoryWidget, index$5_HistoryDataGroupWidget as HistoryDataGroupWidget, index$
|
|
293
|
+
export { index$5_AssetHistory as AssetHistory, index$5_AssetHistoryWidget as AssetHistoryWidget, index$5_AssetWidget as AssetWidget, index$5_AssetsChart as AssetsChart, index$5_AssetsChartWidget as AssetsChartWidget, index$5_AssetsUI as AssetsUI, index$5_DistributionHistoryDesktop as DistributionHistoryDesktop, index$5_DistributionHistoryMobile as DistributionHistoryMobile, index$5_DistributionHistoryWidget as DistributionHistoryWidget, index$5_FundingHistoryWidget as FundingHistoryWidget, index$5_HistoryDataGroupWidget as HistoryDataGroupWidget, index$5_OverviewPage as OverviewPage, index$5_OverviewProvider as OverviewProvider, index$5_PerformanceUI as PerformanceUI, index$5_PerformanceWidget as PerformanceWidget, index$5_useAssetHistoryColumns as useAssetHistoryColumns, index$5_useAssetHistoryScript as useAssetHistoryScript, index$5_useAssetsChartScript as useAssetsChartScript, index$5_useFundingHistoryColumns as useFundingHistoryColumns, index$5_useFundingHistoryHook as useFundingHistoryHook, index$5_usePerformanceScript as usePerformanceScript };
|
|
293
294
|
}
|
|
294
295
|
|
|
295
296
|
type UseFeeTierScriptOptions = {
|