@orderly.network/hooks 2.10.1-alpha.0 → 2.10.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 +140 -116
- package/dist/index.d.ts +140 -116
- package/dist/index.js +463 -460
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +54 -52
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { SWRMutationConfiguration, SWRMutationResponse } from 'swr/mutation';
|
|
|
7
7
|
import * as swr_infinite from 'swr/infinite';
|
|
8
8
|
import { SWRInfiniteKeyLoader, SWRInfiniteConfiguration } from 'swr/infinite';
|
|
9
9
|
import * as react from 'react';
|
|
10
|
-
import
|
|
10
|
+
import { PropsWithChildren, FC, ReactNode } from 'react';
|
|
11
11
|
import * as _orderly_network_types from '@orderly.network/types';
|
|
12
12
|
import { NetworkId, TrackerEventName, API, OrderlyOrder, ChainNamespace, WSMessage, OrderType, OrderStatus, OrderSide, AlgoOrderRootType, OrderEntity, PositionType, AlgoOrderEntity, AssetHistoryStatusEnum, AlgoOrderType, RequireKeys } from '@orderly.network/types';
|
|
13
13
|
import * as _orderly_network_core from '@orderly.network/core';
|
|
@@ -37,7 +37,7 @@ declare global {
|
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
|
-
declare const _default: "2.10.
|
|
40
|
+
declare const _default: "2.10.2-alpha.0";
|
|
41
41
|
|
|
42
42
|
declare const fetcher: (url: string, init: RequestInit | undefined, queryOptions: useQueryOptions<any>) => Promise<any>;
|
|
43
43
|
type useQueryOptions<T> = SWRConfiguration & {
|
|
@@ -132,23 +132,17 @@ declare const useMemoizedFn: <T extends noop>(fn?: T) => PickFunction<T>;
|
|
|
132
132
|
|
|
133
133
|
interface AudioPlayerOptions {
|
|
134
134
|
volume?: number;
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
/** When true, play() will run; when false, play() no-ops. Used for on/off toggle. */
|
|
136
|
+
enabled?: boolean;
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
onPlay: () => void;
|
|
147
|
-
onPlaying: () => void;
|
|
148
|
-
onPause: () => void;
|
|
149
|
-
onEnded: () => void;
|
|
150
|
-
onError: () => void;
|
|
151
|
-
}, HTMLAudioElement>, react__default.MutableRefObject<HTMLAudioElement | null>, "error" | "paused" | "idle" | "play" | "playing" | "ended"];
|
|
138
|
+
/**
|
|
139
|
+
* Single shared Audio instance. Play is explicit: pause() then set src then play().
|
|
140
|
+
* Use for order-filled notification sound (and any other one-shot global sound).
|
|
141
|
+
* Compatible with legacy single-sound + on/off: pass enabled = user's on/off and src = media or "".
|
|
142
|
+
*/
|
|
143
|
+
declare const useAudioPlayer: (src: string, options?: AudioPlayerOptions) => {
|
|
144
|
+
play: () => void;
|
|
145
|
+
};
|
|
152
146
|
|
|
153
147
|
declare const useCommission: (options?: {
|
|
154
148
|
size?: number;
|
|
@@ -477,6 +471,102 @@ declare function useChains<T extends NetworkId | undefined, K extends UseChainsO
|
|
|
477
471
|
UseChainsReturnObject
|
|
478
472
|
];
|
|
479
473
|
|
|
474
|
+
/**
|
|
475
|
+
* Check if currently trading based on next_open/next_close timestamps
|
|
476
|
+
* @param nextOpen - Next open time timestamp
|
|
477
|
+
* @param nextClose - Next close time timestamp
|
|
478
|
+
* @param currentTime - Current time timestamp
|
|
479
|
+
* @returns boolean - true if currently trading
|
|
480
|
+
*/
|
|
481
|
+
declare const isCurrentlyTrading: (nextClose: number, status: "open" | "close", currentTime?: number) => boolean;
|
|
482
|
+
declare const isCurrentlyClosed: (nextOpen: number, status: "open" | "close", currentTime?: number) => boolean;
|
|
483
|
+
/**
|
|
484
|
+
* Type alias for the return type of useSymbolsInfo hook
|
|
485
|
+
*/
|
|
486
|
+
type RwaSymbolsInfo = ReturnType<typeof useRwaSymbolsInfo>;
|
|
487
|
+
/**
|
|
488
|
+
* A hook that provides access to symbol information.
|
|
489
|
+
*
|
|
490
|
+
* @returns A getter object that provides access to symbol information.
|
|
491
|
+
* The getter allows accessing symbol data either by symbol name directly,
|
|
492
|
+
* or through a two-level access pattern (symbol and property).
|
|
493
|
+
*
|
|
494
|
+
* @example
|
|
495
|
+
* ```typescript
|
|
496
|
+
* const rwaSymbolsInfo = useRwaSymbolsInfo();
|
|
497
|
+
*
|
|
498
|
+
* // Get all info for a symbol
|
|
499
|
+
* const ethInfo = rwaSymbolsInfo["PERP_ETH_USDC"]();
|
|
500
|
+
* ```
|
|
501
|
+
*/
|
|
502
|
+
declare const useRwaSymbolsInfo: () => Record<string, <Key extends keyof API.RwaSymbol>(key: Key, defaultValue?: API.RwaSymbol[Key] | undefined) => API.RwaSymbol[Key]> & Record<string, () => API.RwaSymbol> & {
|
|
503
|
+
isNil: boolean;
|
|
504
|
+
};
|
|
505
|
+
declare const useRwaSymbolsInfoStore: () => Record<string, API.RwaSymbol> | undefined;
|
|
506
|
+
/**
|
|
507
|
+
* Return type definition for the hook
|
|
508
|
+
*
|
|
509
|
+
* - isRwa: true if the symbol is an RWA symbol
|
|
510
|
+
* - open: true if the symbol is open for trading
|
|
511
|
+
* - nextOpen: the next open time in milliseconds
|
|
512
|
+
* - nextClose: the next close time in milliseconds
|
|
513
|
+
* - closeTimeInterval: the time interval in seconds until the symbol closes (countdown format)
|
|
514
|
+
* - openTimeInterval: the time interval in seconds until the symbol opens (countdown format)
|
|
515
|
+
*/
|
|
516
|
+
interface RwaSymbolResult {
|
|
517
|
+
isRwa: boolean;
|
|
518
|
+
open?: boolean;
|
|
519
|
+
nextOpen?: number;
|
|
520
|
+
nextClose?: number;
|
|
521
|
+
closeTimeInterval?: number;
|
|
522
|
+
openTimeInterval?: number;
|
|
523
|
+
}
|
|
524
|
+
/**
|
|
525
|
+
* Hook to initialize and manage the global timer
|
|
526
|
+
* This hook should be called once at the top level of the application to start and manage the global timer
|
|
527
|
+
*/
|
|
528
|
+
declare const useInitRwaSymbolsRuntime: () => void;
|
|
529
|
+
/**
|
|
530
|
+
* Hook to get current RWA symbol information with real-time updates
|
|
531
|
+
* Retrieves the state of a specific symbol from the centralized store
|
|
532
|
+
* @param symbol - The symbol to query
|
|
533
|
+
* @returns RwaSymbolResult containing RWA status and countdown information
|
|
534
|
+
*/
|
|
535
|
+
declare const useGetRwaSymbolInfo: (symbol: string) => RwaSymbolResult;
|
|
536
|
+
/**
|
|
537
|
+
* Simplified hook to get RWA symbol open status with real-time updates
|
|
538
|
+
* @param symbol - The symbol to query
|
|
539
|
+
* @returns Object containing isRwa and open status
|
|
540
|
+
*/
|
|
541
|
+
declare const useGetRwaSymbolOpenStatus: (symbol: string) => {
|
|
542
|
+
isRwa: boolean;
|
|
543
|
+
open?: boolean;
|
|
544
|
+
};
|
|
545
|
+
/**
|
|
546
|
+
* Hook to get RWA symbol close time interval with filtering
|
|
547
|
+
* @param symbol - The symbol to query
|
|
548
|
+
* @param thresholdMinutes - Time threshold in minutes, defaults to 30
|
|
549
|
+
* @returns Close time interval in seconds, or undefined if not within threshold
|
|
550
|
+
*/
|
|
551
|
+
declare const useGetRwaSymbolCloseTimeInterval: (symbol: string, thresholdMinutes?: number) => {
|
|
552
|
+
isRwa: boolean;
|
|
553
|
+
open?: boolean;
|
|
554
|
+
closeTimeInterval?: number;
|
|
555
|
+
nextClose?: number;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* Hook to get RWA symbol open time interval with filtering
|
|
559
|
+
* @param symbol - The symbol to query
|
|
560
|
+
* @param thresholdMinutes - Time threshold in minutes, defaults to 30
|
|
561
|
+
* @returns Open time interval in seconds, or undefined if not within threshold
|
|
562
|
+
*/
|
|
563
|
+
declare const useGetRwaSymbolOpenTimeInterval: (symbol: string, thresholdMinutes?: number) => {
|
|
564
|
+
isRwa: boolean;
|
|
565
|
+
open?: boolean;
|
|
566
|
+
openTimeInterval?: number;
|
|
567
|
+
nextOpen?: number;
|
|
568
|
+
};
|
|
569
|
+
|
|
480
570
|
type FilteredChains = {
|
|
481
571
|
mainnet?: {
|
|
482
572
|
id: number;
|
|
@@ -514,7 +604,9 @@ interface OrderlyConfigContextState {
|
|
|
514
604
|
/**
|
|
515
605
|
* Custom `/v1/public/futures` response data.
|
|
516
606
|
*/
|
|
517
|
-
symbolList?: (data: API.MarketInfoExt[]
|
|
607
|
+
symbolList?: (data: API.MarketInfoExt[], context: {
|
|
608
|
+
rwaSymbolsInfo: RwaSymbolsInfo;
|
|
609
|
+
}) => any[];
|
|
518
610
|
/**
|
|
519
611
|
* custom `/v2/public/announcement` response data
|
|
520
612
|
*/
|
|
@@ -524,11 +616,16 @@ interface OrderlyConfigContextState {
|
|
|
524
616
|
orderFilled?: {
|
|
525
617
|
/**
|
|
526
618
|
* Sound to play when an order is successful.
|
|
619
|
+
* If `soundOptions` is provided, this field is treated as the legacy
|
|
620
|
+
* single-sound configuration and only used when `soundOptions` is
|
|
621
|
+
* absent.
|
|
527
622
|
* @default undefined
|
|
528
623
|
*/
|
|
529
624
|
media?: string;
|
|
530
625
|
/**
|
|
531
626
|
* Whether to open the notification by default.
|
|
627
|
+
* For multi-sound mode this controls whether the initial selection
|
|
628
|
+
* should be sound-on or muted when there is no stored preference.
|
|
532
629
|
* @default false
|
|
533
630
|
*/
|
|
534
631
|
defaultOpen?: boolean;
|
|
@@ -537,6 +634,22 @@ interface OrderlyConfigContextState {
|
|
|
537
634
|
* @default true
|
|
538
635
|
*/
|
|
539
636
|
displayInOrderEntry?: boolean;
|
|
637
|
+
/**
|
|
638
|
+
* Multiple sound options for order filled notification.
|
|
639
|
+
* When provided, the UI should render a single-choice selector
|
|
640
|
+
* (e.g. radio group) instead of a simple on/off toggle. One of the
|
|
641
|
+
* options should represent the muted/off state.
|
|
642
|
+
*/
|
|
643
|
+
soundOptions?: Array<{
|
|
644
|
+
label: string;
|
|
645
|
+
value: string;
|
|
646
|
+
media: string;
|
|
647
|
+
}>;
|
|
648
|
+
/**
|
|
649
|
+
* Default selected sound option value when there is no stored
|
|
650
|
+
* preference. If omitted, the first item in `soundOptions` is used.
|
|
651
|
+
*/
|
|
652
|
+
defaultSoundValue?: string;
|
|
540
653
|
};
|
|
541
654
|
};
|
|
542
655
|
amplitudeConfig?: {
|
|
@@ -1707,6 +1820,13 @@ declare const useStatisticsDaily: (params: QueryParams, options?: {
|
|
|
1707
1820
|
};
|
|
1708
1821
|
}];
|
|
1709
1822
|
|
|
1823
|
+
type UserStatistics = {
|
|
1824
|
+
perp_trading_volume_last_24_hours?: number;
|
|
1825
|
+
};
|
|
1826
|
+
declare const useUserStatistics: () => readonly [UserStatistics | null, {
|
|
1827
|
+
readonly isValidating: boolean;
|
|
1828
|
+
}];
|
|
1829
|
+
|
|
1710
1830
|
type FundingSearchParams = {
|
|
1711
1831
|
/**
|
|
1712
1832
|
* Data range for the funding fee history
|
|
@@ -1814,102 +1934,6 @@ declare const useTokensInfo: () => _orderly_network_types.API.Token[] | undefine
|
|
|
1814
1934
|
*/
|
|
1815
1935
|
declare const useTokenInfo: (token: string) => _orderly_network_types.API.Token | undefined;
|
|
1816
1936
|
|
|
1817
|
-
/**
|
|
1818
|
-
* Check if currently trading based on next_open/next_close timestamps
|
|
1819
|
-
* @param nextOpen - Next open time timestamp
|
|
1820
|
-
* @param nextClose - Next close time timestamp
|
|
1821
|
-
* @param currentTime - Current time timestamp
|
|
1822
|
-
* @returns boolean - true if currently trading
|
|
1823
|
-
*/
|
|
1824
|
-
declare const isCurrentlyTrading: (nextClose: number, status: "open" | "close", currentTime?: number) => boolean;
|
|
1825
|
-
declare const isCurrentlyClosed: (nextOpen: number, status: "open" | "close", currentTime?: number) => boolean;
|
|
1826
|
-
/**
|
|
1827
|
-
* Type alias for the return type of useSymbolsInfo hook
|
|
1828
|
-
*/
|
|
1829
|
-
type RwaSymbolsInfo = ReturnType<typeof useRwaSymbolsInfo>;
|
|
1830
|
-
/**
|
|
1831
|
-
* A hook that provides access to symbol information.
|
|
1832
|
-
*
|
|
1833
|
-
* @returns A getter object that provides access to symbol information.
|
|
1834
|
-
* The getter allows accessing symbol data either by symbol name directly,
|
|
1835
|
-
* or through a two-level access pattern (symbol and property).
|
|
1836
|
-
*
|
|
1837
|
-
* @example
|
|
1838
|
-
* ```typescript
|
|
1839
|
-
* const rwaSymbolsInfo = useRwaSymbolsInfo();
|
|
1840
|
-
*
|
|
1841
|
-
* // Get all info for a symbol
|
|
1842
|
-
* const ethInfo = rwaSymbolsInfo["PERP_ETH_USDC"]();
|
|
1843
|
-
* ```
|
|
1844
|
-
*/
|
|
1845
|
-
declare const useRwaSymbolsInfo: () => Record<string, <Key extends keyof API.RwaSymbol>(key: Key, defaultValue?: API.RwaSymbol[Key] | undefined) => API.RwaSymbol[Key]> & Record<string, () => API.RwaSymbol> & {
|
|
1846
|
-
isNil: boolean;
|
|
1847
|
-
};
|
|
1848
|
-
declare const useRwaSymbolsInfoStore: () => Record<string, API.RwaSymbol> | undefined;
|
|
1849
|
-
/**
|
|
1850
|
-
* Return type definition for the hook
|
|
1851
|
-
*
|
|
1852
|
-
* - isRwa: true if the symbol is an RWA symbol
|
|
1853
|
-
* - open: true if the symbol is open for trading
|
|
1854
|
-
* - nextOpen: the next open time in milliseconds
|
|
1855
|
-
* - nextClose: the next close time in milliseconds
|
|
1856
|
-
* - closeTimeInterval: the time interval in seconds until the symbol closes (countdown format)
|
|
1857
|
-
* - openTimeInterval: the time interval in seconds until the symbol opens (countdown format)
|
|
1858
|
-
*/
|
|
1859
|
-
interface RwaSymbolResult {
|
|
1860
|
-
isRwa: boolean;
|
|
1861
|
-
open?: boolean;
|
|
1862
|
-
nextOpen?: number;
|
|
1863
|
-
nextClose?: number;
|
|
1864
|
-
closeTimeInterval?: number;
|
|
1865
|
-
openTimeInterval?: number;
|
|
1866
|
-
}
|
|
1867
|
-
/**
|
|
1868
|
-
* Hook to initialize and manage the global timer
|
|
1869
|
-
* This hook should be called once at the top level of the application to start and manage the global timer
|
|
1870
|
-
*/
|
|
1871
|
-
declare const useInitRwaSymbolsRuntime: () => void;
|
|
1872
|
-
/**
|
|
1873
|
-
* Hook to get current RWA symbol information with real-time updates
|
|
1874
|
-
* Retrieves the state of a specific symbol from the centralized store
|
|
1875
|
-
* @param symbol - The symbol to query
|
|
1876
|
-
* @returns RwaSymbolResult containing RWA status and countdown information
|
|
1877
|
-
*/
|
|
1878
|
-
declare const useGetRwaSymbolInfo: (symbol: string) => RwaSymbolResult;
|
|
1879
|
-
/**
|
|
1880
|
-
* Simplified hook to get RWA symbol open status with real-time updates
|
|
1881
|
-
* @param symbol - The symbol to query
|
|
1882
|
-
* @returns Object containing isRwa and open status
|
|
1883
|
-
*/
|
|
1884
|
-
declare const useGetRwaSymbolOpenStatus: (symbol: string) => {
|
|
1885
|
-
isRwa: boolean;
|
|
1886
|
-
open?: boolean;
|
|
1887
|
-
};
|
|
1888
|
-
/**
|
|
1889
|
-
* Hook to get RWA symbol close time interval with filtering
|
|
1890
|
-
* @param symbol - The symbol to query
|
|
1891
|
-
* @param thresholdMinutes - Time threshold in minutes, defaults to 30
|
|
1892
|
-
* @returns Close time interval in seconds, or undefined if not within threshold
|
|
1893
|
-
*/
|
|
1894
|
-
declare const useGetRwaSymbolCloseTimeInterval: (symbol: string, thresholdMinutes?: number) => {
|
|
1895
|
-
isRwa: boolean;
|
|
1896
|
-
open?: boolean;
|
|
1897
|
-
closeTimeInterval?: number;
|
|
1898
|
-
nextClose?: number;
|
|
1899
|
-
};
|
|
1900
|
-
/**
|
|
1901
|
-
* Hook to get RWA symbol open time interval with filtering
|
|
1902
|
-
* @param symbol - The symbol to query
|
|
1903
|
-
* @param thresholdMinutes - Time threshold in minutes, defaults to 30
|
|
1904
|
-
* @returns Open time interval in seconds, or undefined if not within threshold
|
|
1905
|
-
*/
|
|
1906
|
-
declare const useGetRwaSymbolOpenTimeInterval: (symbol: string, thresholdMinutes?: number) => {
|
|
1907
|
-
isRwa: boolean;
|
|
1908
|
-
open?: boolean;
|
|
1909
|
-
openTimeInterval?: number;
|
|
1910
|
-
nextOpen?: number;
|
|
1911
|
-
};
|
|
1912
|
-
|
|
1913
1937
|
type AppStatus = {
|
|
1914
1938
|
positionsLoading: boolean;
|
|
1915
1939
|
ordersLoading: boolean;
|
|
@@ -2948,4 +2972,4 @@ declare const useGetEstLiqPrice: (props: {
|
|
|
2948
2972
|
side: OrderSide;
|
|
2949
2973
|
}) => number | null;
|
|
2950
2974
|
|
|
2951
|
-
export { type APIKeyItem, type AccountRewardsHistory, type AccountRewardsHistoryRow, type Brokers, type Chain, type ChainFilter, type Chains, type CheckReferralCodeReturns, type CollateralOutputs, type ComputedAlgoOrder, type ConfigProviderProps, type ConnectedChain, type CurrentEpochEstimate, DefaultLayoutConfig, DistributionId, type DrawOptions, ENVType, ERROR_MSG_CODES, type EpochInfoItem, type EpochInfoType, EpochStatus, type ExclusiveConfigProviderProps, ExtendedConfigStore, type Favorite, type FavoriteTab, type FilteredChains, type FundingRates, MaintenanceStatus, type MarginRatioReturn, type MarketsItem, MarketsStorageKey, type MarketsStore, MarketsType, type NewListing, ORDERLY_ORDERBOOK_DEPTH_KEY, type OrderBookItem, type OrderEntryReturn, type OrderMetadata, type OrderMetadataConfig, type OrderParams, type OrderValidationItem, type OrderValidationResult, type OrderbookData, type OrderbookOptions, type OrderlyConfigContextState, OrderlyConfigProvider, OrderlyContext, OrderlyProvider, type PosterLayoutConfig, type PriceMode, type Recent, RefferalAPI, type RestrictedInfoOptions, type RestrictedInfoReturns, type RwaSymbolResult, type RwaSymbolsInfo, ScopeType, type StatusInfo, StatusProvider, type SymbolsInfo, TWType, type UseChainsOptions, type UseChainsReturnObject, type UseDepositReturn, type UseOrderEntryMetaState, WalletConnectorContext, type WalletConnectorContextState, type WalletRewards, type WalletRewardsHistoryReturns, type WalletRewardsItem, type WalletState, WsNetworkStatus, checkNotional, cleanStringStyle, fetcher, findPositionTPSLFromOrders, findTPSLFromOrder, findTPSLOrderPriceFromOrder, getMinNotional, getPriceKey, indexedDBManager, initializeAppDatabase, isCurrentlyClosed, isCurrentlyTrading, noCacheConfig, parseJSON, persistIndexedDB, resetTimestampOffsetState, timestampWaitingMiddleware, useAccount, useAccountInfo, useAccountInstance, useAccountRewardsHistory, useAllBrokers, useApiKeyManager, useAppStore, useAssetsHistory, useAudioPlayer, useBalanceSubscription, useBalanceTopic, useBoolean, useChain, useChainInfo, useChains, useCheckReferralCode, useCollateral, useCommission, useComputedLTV, useConfig, useConvert, useCurEpochEstimate, useDaily, useDeposit, useDistribution, useDistributionHistory, useEpochInfo, useEstLiqPriceBySymbol, useEventEmitter, useFeeState, useFundingDetails, useFundingFeeHistory, useFundingRate, useFundingRateBySymbol, useFundingRateHistory, useFundingRates, useFundingRatesStore, useGetClaimed, useGetEnv, useGetEstLiqPrice, useGetReferralCode, useGetRwaSymbolCloseTimeInterval, useGetRwaSymbolInfo, useGetRwaSymbolOpenStatus, useGetRwaSymbolOpenTimeInterval, useHoldingStream, useIndexPrice, useIndexPricesStream, useInfiniteQuery, useInitRwaSymbolsRuntime, useInternalTransfer, useKeyStore, useLazyQuery, useLeverage, useLeverageBySymbol, useLocalStorage, useMainTokenStore, useMainnetChainsStore, useMaintenanceStatus, useMarginRatio, useMarkPrice, useMarkPriceBySymbol, useMarkPricesStream, useMarket, useMarketList, useMarketMap, useMarketTradeStream, useMarkets, useMarketsStore, useMarketsStream, useMaxLeverage, useMaxQty, useMaxWithdrawal, useMediaQuery, useMemoizedFn, useMutation, useNetworkInfo, useOdosQuote, useOrderEntity, useOrderEntry, useOrderEntry$1 as useOrderEntry_deprecated, useOrderStore, useOrderStream, useOrderbookStream, useOrderlyContext, usePortfolio, usePositionActions, usePositionClose, usePositionStream, usePoster, usePreLoadData, usePrivateDataObserver, usePrivateInfiniteQuery, usePrivateQuery, useQuery, type useQueryOptions, useRefereeHistory, useRefereeInfo, useRefereeRebateSummary, useReferralInfo, useReferralRebateSummary, useRestrictedInfo, useRwaSymbolsInfo, useRwaSymbolsInfoStore, useSessionStorage, useSettleSubscription, useSimpleDI, useStatisticsDaily, useStorageChain, useStorageLedgerAddress, useSubAccountAlgoOrderStream, useSubAccountDataObserver, useSubAccountMaxWithdrawal, useSubAccountMutation, useSubAccountQuery, useSubAccountWS, useSwapSupportStore, useSymbolInfo, useSymbolLeverage, useSymbolPriceRange, useSymbolsInfo, useSymbolsInfoStore, useTPSLOrder, useTestTokenStore, useTestnetChainsStore, useTickerStream, useTokenInfo, useTokensInfo, useTpslPriceChecker, useTrack, useTrackingInstance, useTradingRewardsStatus, useTransfer, useTransferHistory, useUpdatedRef, useVaultsHistory, useWS, useWalletConnector, useWalletRewardsHistory, useWalletSubscription, useWalletTopic, useWithdraw, useWsStatus, index as utils, _default as version };
|
|
2975
|
+
export { type APIKeyItem, type AccountRewardsHistory, type AccountRewardsHistoryRow, type Brokers, type Chain, type ChainFilter, type Chains, type CheckReferralCodeReturns, type CollateralOutputs, type ComputedAlgoOrder, type ConfigProviderProps, type ConnectedChain, type CurrentEpochEstimate, DefaultLayoutConfig, DistributionId, type DrawOptions, ENVType, ERROR_MSG_CODES, type EpochInfoItem, type EpochInfoType, EpochStatus, type ExclusiveConfigProviderProps, ExtendedConfigStore, type Favorite, type FavoriteTab, type FilteredChains, type FundingRates, MaintenanceStatus, type MarginRatioReturn, type MarketsItem, MarketsStorageKey, type MarketsStore, MarketsType, type NewListing, ORDERLY_ORDERBOOK_DEPTH_KEY, type OrderBookItem, type OrderEntryReturn, type OrderMetadata, type OrderMetadataConfig, type OrderParams, type OrderValidationItem, type OrderValidationResult, type OrderbookData, type OrderbookOptions, type OrderlyConfigContextState, OrderlyConfigProvider, OrderlyContext, OrderlyProvider, type PosterLayoutConfig, type PriceMode, type Recent, RefferalAPI, type RestrictedInfoOptions, type RestrictedInfoReturns, type RwaSymbolResult, type RwaSymbolsInfo, ScopeType, type StatusInfo, StatusProvider, type SymbolsInfo, TWType, type UseChainsOptions, type UseChainsReturnObject, type UseDepositReturn, type UseOrderEntryMetaState, WalletConnectorContext, type WalletConnectorContextState, type WalletRewards, type WalletRewardsHistoryReturns, type WalletRewardsItem, type WalletState, WsNetworkStatus, checkNotional, cleanStringStyle, fetcher, findPositionTPSLFromOrders, findTPSLFromOrder, findTPSLOrderPriceFromOrder, getMinNotional, getPriceKey, indexedDBManager, initializeAppDatabase, isCurrentlyClosed, isCurrentlyTrading, noCacheConfig, parseJSON, persistIndexedDB, resetTimestampOffsetState, timestampWaitingMiddleware, useAccount, useAccountInfo, useAccountInstance, useAccountRewardsHistory, useAllBrokers, useApiKeyManager, useAppStore, useAssetsHistory, useAudioPlayer, useBalanceSubscription, useBalanceTopic, useBoolean, useChain, useChainInfo, useChains, useCheckReferralCode, useCollateral, useCommission, useComputedLTV, useConfig, useConvert, useCurEpochEstimate, useDaily, useDeposit, useDistribution, useDistributionHistory, useEpochInfo, useEstLiqPriceBySymbol, useEventEmitter, useFeeState, useFundingDetails, useFundingFeeHistory, useFundingRate, useFundingRateBySymbol, useFundingRateHistory, useFundingRates, useFundingRatesStore, useGetClaimed, useGetEnv, useGetEstLiqPrice, useGetReferralCode, useGetRwaSymbolCloseTimeInterval, useGetRwaSymbolInfo, useGetRwaSymbolOpenStatus, useGetRwaSymbolOpenTimeInterval, useHoldingStream, useIndexPrice, useIndexPricesStream, useInfiniteQuery, useInitRwaSymbolsRuntime, useInternalTransfer, useKeyStore, useLazyQuery, useLeverage, useLeverageBySymbol, useLocalStorage, useMainTokenStore, useMainnetChainsStore, useMaintenanceStatus, useMarginRatio, useMarkPrice, useMarkPriceBySymbol, useMarkPricesStream, useMarket, useMarketList, useMarketMap, useMarketTradeStream, useMarkets, useMarketsStore, useMarketsStream, useMaxLeverage, useMaxQty, useMaxWithdrawal, useMediaQuery, useMemoizedFn, useMutation, useNetworkInfo, useOdosQuote, useOrderEntity, useOrderEntry, useOrderEntry$1 as useOrderEntry_deprecated, useOrderStore, useOrderStream, useOrderbookStream, useOrderlyContext, usePortfolio, usePositionActions, usePositionClose, usePositionStream, usePoster, usePreLoadData, usePrivateDataObserver, usePrivateInfiniteQuery, usePrivateQuery, useQuery, type useQueryOptions, useRefereeHistory, useRefereeInfo, useRefereeRebateSummary, useReferralInfo, useReferralRebateSummary, useRestrictedInfo, useRwaSymbolsInfo, useRwaSymbolsInfoStore, useSessionStorage, useSettleSubscription, useSimpleDI, useStatisticsDaily, useStorageChain, useStorageLedgerAddress, useSubAccountAlgoOrderStream, useSubAccountDataObserver, useSubAccountMaxWithdrawal, useSubAccountMutation, useSubAccountQuery, useSubAccountWS, useSwapSupportStore, useSymbolInfo, useSymbolLeverage, useSymbolPriceRange, useSymbolsInfo, useSymbolsInfoStore, useTPSLOrder, useTestTokenStore, useTestnetChainsStore, useTickerStream, useTokenInfo, useTokensInfo, useTpslPriceChecker, useTrack, useTrackingInstance, useTradingRewardsStatus, useTransfer, useTransferHistory, useUpdatedRef, useUserStatistics, useVaultsHistory, useWS, useWalletConnector, useWalletRewardsHistory, useWalletSubscription, useWalletTopic, useWithdraw, useWsStatus, index as utils, _default as version };
|