@orderly.network/portfolio 2.8.1 → 2.8.2-alpha.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 +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.js +8728 -52
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8715 -39
- package/dist/index.mjs.map +1 -1
- package/package.json +18 -18
package/dist/index.d.mts
CHANGED
|
@@ -292,7 +292,15 @@ declare const DistributionHistoryMobile: FC<FundingHistoryProps$1>;
|
|
|
292
292
|
type FundingHistoryProps = {} & useDistributionHistoryHookReturn;
|
|
293
293
|
declare const DistributionHistoryDesktop: FC<FundingHistoryProps>;
|
|
294
294
|
|
|
295
|
-
|
|
295
|
+
type MobileOverviewProps = {
|
|
296
|
+
/** show affiliate card, mobile only */
|
|
297
|
+
hideAffiliateCard?: boolean;
|
|
298
|
+
/** show trader card, mobile only */
|
|
299
|
+
hideTraderCard?: boolean;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
type OverviewPageProps = MobileOverviewProps;
|
|
303
|
+
declare const OverviewPage: FC<OverviewPageProps>;
|
|
296
304
|
|
|
297
305
|
declare const OverviewProvider: FC<PropsWithChildren<{
|
|
298
306
|
type?: TWType;
|
|
@@ -462,10 +470,7 @@ declare const useAssetsScript: () => {
|
|
|
462
470
|
onDeposit: () => void;
|
|
463
471
|
onWithdraw: () => void;
|
|
464
472
|
holding: _orderly_network_types.API.Holding[];
|
|
465
|
-
assetsOptions:
|
|
466
|
-
label: string;
|
|
467
|
-
value: string;
|
|
468
|
-
}[];
|
|
473
|
+
assetsOptions: readonly any[];
|
|
469
474
|
canTrade: boolean;
|
|
470
475
|
};
|
|
471
476
|
type useAssetsScriptReturn = ReturnType<typeof useAssetsScript> & ReturnType<typeof useAccount>;
|
package/dist/index.d.ts
CHANGED
|
@@ -292,7 +292,15 @@ declare const DistributionHistoryMobile: FC<FundingHistoryProps$1>;
|
|
|
292
292
|
type FundingHistoryProps = {} & useDistributionHistoryHookReturn;
|
|
293
293
|
declare const DistributionHistoryDesktop: FC<FundingHistoryProps>;
|
|
294
294
|
|
|
295
|
-
|
|
295
|
+
type MobileOverviewProps = {
|
|
296
|
+
/** show affiliate card, mobile only */
|
|
297
|
+
hideAffiliateCard?: boolean;
|
|
298
|
+
/** show trader card, mobile only */
|
|
299
|
+
hideTraderCard?: boolean;
|
|
300
|
+
};
|
|
301
|
+
|
|
302
|
+
type OverviewPageProps = MobileOverviewProps;
|
|
303
|
+
declare const OverviewPage: FC<OverviewPageProps>;
|
|
296
304
|
|
|
297
305
|
declare const OverviewProvider: FC<PropsWithChildren<{
|
|
298
306
|
type?: TWType;
|
|
@@ -462,10 +470,7 @@ declare const useAssetsScript: () => {
|
|
|
462
470
|
onDeposit: () => void;
|
|
463
471
|
onWithdraw: () => void;
|
|
464
472
|
holding: _orderly_network_types.API.Holding[];
|
|
465
|
-
assetsOptions:
|
|
466
|
-
label: string;
|
|
467
|
-
value: string;
|
|
468
|
-
}[];
|
|
473
|
+
assetsOptions: readonly any[];
|
|
469
474
|
canTrade: boolean;
|
|
470
475
|
};
|
|
471
476
|
type useAssetsScriptReturn = ReturnType<typeof useAssetsScript> & ReturnType<typeof useAccount>;
|