@orderly.network/hooks 2.9.1-alpha.0 → 2.10.0-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 CHANGED
@@ -37,7 +37,7 @@ declare global {
37
37
  };
38
38
  }
39
39
  }
40
- declare const _default: "2.9.1-alpha.0";
40
+ declare const _default: "2.10.0-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 & {
@@ -490,24 +490,15 @@ type FilteredChains = {
490
490
  }[];
491
491
  };
492
492
  interface OrderlyConfigContextState {
493
+ /** @deprecated will be removed in next minor version */
493
494
  fetcher?: (url: string, init: RequestInit) => Promise<any>;
494
495
  configStore: ConfigStore;
495
496
  keyStore: OrderlyKeyStore;
496
497
  walletAdapters: WalletAdapter[];
497
498
  networkId: NetworkId;
498
- /**
499
- * @hidden
500
- */
501
- onlyTestnet?: boolean;
502
499
  filteredChains?: FilteredChains;
500
+ /** custom chains, please include all chain information, otherwise there will be problems */
503
501
  customChains?: Chains<undefined, undefined>;
504
- chainTransformer?: (params: {
505
- chains: API.Chain[];
506
- tokenChains: API.Token[];
507
- chainInfos: any[];
508
- swapChains: any[];
509
- mainnet: boolean;
510
- }) => API.Chain[];
511
502
  /** enable swap deposit, default is false */
512
503
  enableSwapDeposit?: boolean;
513
504
  /**
@@ -518,11 +509,16 @@ interface OrderlyConfigContextState {
518
509
  * Custom orderbook default symbol depths.
519
510
  */
520
511
  defaultOrderbookSymbolDepths?: Record<PropertyKey, number[]>;
512
+ /** when use this, please keep the reference stable, otherwise it will cause unnecessary renders */
521
513
  dataAdapter?: {
514
+ /**
515
+ * custom useChains return list data
516
+ */
517
+ chainsList?: (chains: API.Chain[]) => API.Chain[];
522
518
  /**
523
519
  * Custom `/v1/public/futures` response data.
524
520
  */
525
- symbolList?: (originalVal: API.MarketInfoExt[]) => any[];
521
+ symbolList?: (data: API.MarketInfoExt[]) => any[];
526
522
  /**
527
523
  * custom `/v2/public/announcement` response data
528
524
  */
@@ -577,6 +573,7 @@ type BaseConfigProviderProps = {
577
573
  keyStore?: OrderlyKeyStore;
578
574
  contracts?: IContract;
579
575
  walletAdapters?: WalletAdapter[];
576
+ /** filter chains, only show chains in the filter */
580
577
  chainFilter?: ChainFilter;
581
578
  /**
582
579
  * Custom orderbook default tick sizes.
@@ -586,7 +583,7 @@ type BaseConfigProviderProps = {
586
583
  * Custom orderbook default symbol depths.
587
584
  */
588
585
  orderbookDefaultSymbolDepths?: Record<PropertyKey, number[]>;
589
- } & Pick<OrderlyConfigContextState, "enableSwapDeposit" | "customChains" | "chainTransformer" | "dataAdapter" | "notification" | "amplitudeConfig" | "orderMetadata">;
586
+ } & Pick<OrderlyConfigContextState, "enableSwapDeposit" | "customChains" | "dataAdapter" | "notification" | "amplitudeConfig" | "orderMetadata">;
590
587
  type ExclusiveConfigProviderProps = {
591
588
  brokerId: string;
592
589
  brokerName?: string;
@@ -1369,39 +1366,38 @@ type DepositOptions = {
1369
1366
  srcToken?: string;
1370
1367
  /** output token */
1371
1368
  dstToken?: string;
1372
- swapEnable?: boolean;
1369
+ /** cross chain route address */
1373
1370
  crossChainRouteAddress?: string;
1371
+ /** swap deposit vault address */
1374
1372
  depositorAddress?: string;
1375
- /** @deprecated unused, will be removed in the future */
1376
- networkId?: NetworkId;
1377
1373
  };
1374
+ type DST = {
1375
+ symbol: string;
1376
+ address: string;
1377
+ decimals: number;
1378
+ chainId: number;
1379
+ network: string;
1380
+ };
1381
+ type UseDepositReturn = ReturnType<typeof useDeposit>;
1378
1382
  declare const useDeposit: (options: DepositOptions) => {
1379
- /** orderly support chain dst */
1380
- dst: {
1381
- symbol: string;
1382
- address: string | undefined;
1383
- decimals: number | undefined;
1384
- chainId: number;
1385
- network: string;
1386
- };
1387
1383
  balance: string;
1388
1384
  allowance: string;
1389
- isNativeToken: boolean;
1385
+ /** deposit fee, unit: wei */
1386
+ depositFee: bigint;
1390
1387
  balanceRevalidating: boolean;
1391
1388
  allowanceRevalidating: boolean;
1389
+ depositFeeRevalidating: boolean;
1390
+ isNativeToken: boolean;
1391
+ dst: DST;
1392
+ targetChain: API.Chain;
1392
1393
  /** input quantiy */
1393
1394
  quantity: string;
1394
- /** orderly deposit fee, unit: wei */
1395
- depositFee: bigint;
1396
- /** enquiring depositFee status on chain */
1397
- depositFeeRevalidating: boolean;
1395
+ /** set input quantity */
1396
+ setQuantity: react.Dispatch<react.SetStateAction<string>>;
1398
1397
  approve: (amount?: string) => Promise<void | undefined>;
1399
1398
  deposit: () => Promise<any>;
1400
- fetchBalance: (address: string, decimals?: number, token?: string) => Promise<string>;
1399
+ fetchBalance: (address: string, decimals?: number) => Promise<string>;
1401
1400
  fetchBalances: (tokens: API.TokenInfo[]) => Promise<Record<string, string>>;
1402
- /** set input quantity */
1403
- setQuantity: react.Dispatch<react.SetStateAction<string>>;
1404
- targetChain: API.Chain;
1405
1401
  };
1406
1402
 
1407
1403
  interface ConvertOptions {
@@ -2956,4 +2952,4 @@ declare const useGetEstLiqPrice: (props: {
2956
2952
  side: OrderSide;
2957
2953
  }) => number | null;
2958
2954
 
2959
- 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 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 };
2955
+ 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 };
package/dist/index.d.ts CHANGED
@@ -37,7 +37,7 @@ declare global {
37
37
  };
38
38
  }
39
39
  }
40
- declare const _default: "2.9.1-alpha.0";
40
+ declare const _default: "2.10.0-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 & {
@@ -490,24 +490,15 @@ type FilteredChains = {
490
490
  }[];
491
491
  };
492
492
  interface OrderlyConfigContextState {
493
+ /** @deprecated will be removed in next minor version */
493
494
  fetcher?: (url: string, init: RequestInit) => Promise<any>;
494
495
  configStore: ConfigStore;
495
496
  keyStore: OrderlyKeyStore;
496
497
  walletAdapters: WalletAdapter[];
497
498
  networkId: NetworkId;
498
- /**
499
- * @hidden
500
- */
501
- onlyTestnet?: boolean;
502
499
  filteredChains?: FilteredChains;
500
+ /** custom chains, please include all chain information, otherwise there will be problems */
503
501
  customChains?: Chains<undefined, undefined>;
504
- chainTransformer?: (params: {
505
- chains: API.Chain[];
506
- tokenChains: API.Token[];
507
- chainInfos: any[];
508
- swapChains: any[];
509
- mainnet: boolean;
510
- }) => API.Chain[];
511
502
  /** enable swap deposit, default is false */
512
503
  enableSwapDeposit?: boolean;
513
504
  /**
@@ -518,11 +509,16 @@ interface OrderlyConfigContextState {
518
509
  * Custom orderbook default symbol depths.
519
510
  */
520
511
  defaultOrderbookSymbolDepths?: Record<PropertyKey, number[]>;
512
+ /** when use this, please keep the reference stable, otherwise it will cause unnecessary renders */
521
513
  dataAdapter?: {
514
+ /**
515
+ * custom useChains return list data
516
+ */
517
+ chainsList?: (chains: API.Chain[]) => API.Chain[];
522
518
  /**
523
519
  * Custom `/v1/public/futures` response data.
524
520
  */
525
- symbolList?: (originalVal: API.MarketInfoExt[]) => any[];
521
+ symbolList?: (data: API.MarketInfoExt[]) => any[];
526
522
  /**
527
523
  * custom `/v2/public/announcement` response data
528
524
  */
@@ -577,6 +573,7 @@ type BaseConfigProviderProps = {
577
573
  keyStore?: OrderlyKeyStore;
578
574
  contracts?: IContract;
579
575
  walletAdapters?: WalletAdapter[];
576
+ /** filter chains, only show chains in the filter */
580
577
  chainFilter?: ChainFilter;
581
578
  /**
582
579
  * Custom orderbook default tick sizes.
@@ -586,7 +583,7 @@ type BaseConfigProviderProps = {
586
583
  * Custom orderbook default symbol depths.
587
584
  */
588
585
  orderbookDefaultSymbolDepths?: Record<PropertyKey, number[]>;
589
- } & Pick<OrderlyConfigContextState, "enableSwapDeposit" | "customChains" | "chainTransformer" | "dataAdapter" | "notification" | "amplitudeConfig" | "orderMetadata">;
586
+ } & Pick<OrderlyConfigContextState, "enableSwapDeposit" | "customChains" | "dataAdapter" | "notification" | "amplitudeConfig" | "orderMetadata">;
590
587
  type ExclusiveConfigProviderProps = {
591
588
  brokerId: string;
592
589
  brokerName?: string;
@@ -1369,39 +1366,38 @@ type DepositOptions = {
1369
1366
  srcToken?: string;
1370
1367
  /** output token */
1371
1368
  dstToken?: string;
1372
- swapEnable?: boolean;
1369
+ /** cross chain route address */
1373
1370
  crossChainRouteAddress?: string;
1371
+ /** swap deposit vault address */
1374
1372
  depositorAddress?: string;
1375
- /** @deprecated unused, will be removed in the future */
1376
- networkId?: NetworkId;
1377
1373
  };
1374
+ type DST = {
1375
+ symbol: string;
1376
+ address: string;
1377
+ decimals: number;
1378
+ chainId: number;
1379
+ network: string;
1380
+ };
1381
+ type UseDepositReturn = ReturnType<typeof useDeposit>;
1378
1382
  declare const useDeposit: (options: DepositOptions) => {
1379
- /** orderly support chain dst */
1380
- dst: {
1381
- symbol: string;
1382
- address: string | undefined;
1383
- decimals: number | undefined;
1384
- chainId: number;
1385
- network: string;
1386
- };
1387
1383
  balance: string;
1388
1384
  allowance: string;
1389
- isNativeToken: boolean;
1385
+ /** deposit fee, unit: wei */
1386
+ depositFee: bigint;
1390
1387
  balanceRevalidating: boolean;
1391
1388
  allowanceRevalidating: boolean;
1389
+ depositFeeRevalidating: boolean;
1390
+ isNativeToken: boolean;
1391
+ dst: DST;
1392
+ targetChain: API.Chain;
1392
1393
  /** input quantiy */
1393
1394
  quantity: string;
1394
- /** orderly deposit fee, unit: wei */
1395
- depositFee: bigint;
1396
- /** enquiring depositFee status on chain */
1397
- depositFeeRevalidating: boolean;
1395
+ /** set input quantity */
1396
+ setQuantity: react.Dispatch<react.SetStateAction<string>>;
1398
1397
  approve: (amount?: string) => Promise<void | undefined>;
1399
1398
  deposit: () => Promise<any>;
1400
- fetchBalance: (address: string, decimals?: number, token?: string) => Promise<string>;
1399
+ fetchBalance: (address: string, decimals?: number) => Promise<string>;
1401
1400
  fetchBalances: (tokens: API.TokenInfo[]) => Promise<Record<string, string>>;
1402
- /** set input quantity */
1403
- setQuantity: react.Dispatch<react.SetStateAction<string>>;
1404
- targetChain: API.Chain;
1405
1401
  };
1406
1402
 
1407
1403
  interface ConvertOptions {
@@ -2956,4 +2952,4 @@ declare const useGetEstLiqPrice: (props: {
2956
2952
  side: OrderSide;
2957
2953
  }) => number | null;
2958
2954
 
2959
- 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 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 };
2955
+ 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 };