@nexus-cross/dapp-ui 1.4.2-beta.3 → 1.4.2-beta.5
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.cjs +27 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -9
- package/dist/index.d.ts +56 -9
- package/dist/index.js +27 -27
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -8,6 +8,19 @@ import { QueryClient, UseQueryOptions } from '@tanstack/react-query';
|
|
|
8
8
|
type Environment = "dev" | "stage" | "production";
|
|
9
9
|
type Theme = "dark" | "light";
|
|
10
10
|
type DrawerDirection$1 = "right" | "bottom" | "left";
|
|
11
|
+
/**
|
|
12
|
+
* CAIP-2 체인 식별자 (`"eip155:612055"`). 자산 목록과 운영 설정이 체인을
|
|
13
|
+
* 가리키는 형식이다.
|
|
14
|
+
*
|
|
15
|
+
* `eip155` 이외 namespace(`solana:`·`bip122:` 등)를 **지금 지원하지는 않는다** —
|
|
16
|
+
* 만나면 걸러내고 경고한다(`features/networks.md` AC-13). 그럼에도 식별자
|
|
17
|
+
* 자체는 좁히지 않는다: 조회 목록은 운영이 편집하는 published JSON 이 정본이라,
|
|
18
|
+
* 형식을 십진수로 굳혀 두면 나중에 namespace 를 열 때 파일과 코드를 동시에
|
|
19
|
+
* 갈아야 한다. 자리를 비워 두는 쪽이 싸다 (`context/decisions/0009`).
|
|
20
|
+
*/
|
|
21
|
+
type ChainId = `${string}:${string}`;
|
|
22
|
+
/** EVM 전용 경로가 좁혀 쓰는 CAIP-2 식별자. */
|
|
23
|
+
type EvmChainId = `eip155:${number}`;
|
|
11
24
|
|
|
12
25
|
declare function resolveEnvironment(env?: Environment | "staging" | "prd" | "prod" | "stg"): Environment;
|
|
13
26
|
|
|
@@ -38,6 +51,8 @@ type AppsConfig = {
|
|
|
38
51
|
swap?: boolean;
|
|
39
52
|
bridge?: boolean;
|
|
40
53
|
transferCrypto?: boolean;
|
|
54
|
+
/** Stake ONEUSD into the sONEUSD vault. Opt-in like Transfer Crypto. */
|
|
55
|
+
stake?: boolean;
|
|
41
56
|
};
|
|
42
57
|
/**
|
|
43
58
|
* 액션별 최소 dapp-ui 버전. 호스트가 설치한 dapp-ui 가 이 값보다 낮으면
|
|
@@ -49,6 +64,7 @@ type AppsConfig = {
|
|
|
49
64
|
swap?: string;
|
|
50
65
|
bridge?: string;
|
|
51
66
|
transferCrypto?: string;
|
|
67
|
+
stake?: string;
|
|
52
68
|
};
|
|
53
69
|
};
|
|
54
70
|
/**
|
|
@@ -127,17 +143,27 @@ type AppsConfig = {
|
|
|
127
143
|
};
|
|
128
144
|
};
|
|
129
145
|
declare const CHAINS_CONFIG_FILE = "chains.json";
|
|
130
|
-
/** 체인 하나의
|
|
146
|
+
/** 체인 하나의 메타. 지정 안 된 필드는 호출부 폴백(온체인/하드코딩)으로. */
|
|
131
147
|
type ChainDisplayMeta = {
|
|
132
148
|
/** 체인 표시명 (예: 'One Mainnet'). */
|
|
133
149
|
name?: string;
|
|
134
150
|
/** 네이티브 통화 표시 심볼 (예: 'ONE' / 'tONE'). DISPLAY 전용. */
|
|
135
151
|
nativeSymbol?: string;
|
|
152
|
+
/**
|
|
153
|
+
* WalletInfo 자산 목록에서 이 체인의 잔고를 조회할지. 지정 안 하면 조회하지
|
|
154
|
+
* 않는다 — 표시 메타만 필요한 체인(전환 UI 등)이 조회 대상이 되지 않게.
|
|
155
|
+
*/
|
|
156
|
+
balance?: boolean;
|
|
136
157
|
};
|
|
137
|
-
/** chains.json 스키마 —
|
|
158
|
+
/** chains.json 스키마 — CAIP-2(또는 10진) chainId → 체인 메타. */
|
|
138
159
|
type ChainsConfig = {
|
|
139
160
|
chains?: Record<string, ChainDisplayMeta>;
|
|
140
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* chains.json 의 `chains` 맵에서 한 체인의 메타를 꺼낸다. CAIP-2 키를
|
|
164
|
+
* 먼저 보고, 없으면 십진수 키로 폴백한다 — 두 형태가 공존한다.
|
|
165
|
+
*/
|
|
166
|
+
declare function selectChainMeta(chains: Record<string, ChainDisplayMeta> | undefined, chainId: number): ChainDisplayMeta;
|
|
141
167
|
/**
|
|
142
168
|
* chains.json에서 특정 chainId의 표시 메타를 비동기로 반환한다.
|
|
143
169
|
* fetch 실패·미정의면 `{}` — 호출부에서 `?? 폴백`으로 처리.
|
|
@@ -151,9 +177,12 @@ declare function getChainDisplay(chainId: number, env: Environment): Promise<Cha
|
|
|
151
177
|
*/
|
|
152
178
|
declare function useChainDisplay(chainId: number | undefined, env: Environment): ChainDisplayMeta;
|
|
153
179
|
/**
|
|
154
|
-
* chains.json의 전체 chainId
|
|
180
|
+
* chains.json의 전체 chainId→체인 메타 맵을 구독한다. 여러 체인의 표시명을
|
|
155
181
|
* 한 번에 매핑해야 하는 곳(네트워크 스위처 등)에서 사용한다. 로딩 전/실패 시
|
|
156
|
-
* 빈
|
|
182
|
+
* 빈 객체다.
|
|
183
|
+
*
|
|
184
|
+
* 키는 CAIP-2 와 십진수가 공존하므로 **`selectChainMeta(map, id)` 로 꺼낸다** —
|
|
185
|
+
* `map[String(id)]` 로 직접 읽으면 CAIP-2 로 적힌 항목을 놓친다.
|
|
157
186
|
*/
|
|
158
187
|
declare function useChainsConfig(env: Environment): Record<string, ChainDisplayMeta>;
|
|
159
188
|
|
|
@@ -301,8 +330,6 @@ declare function AppLauncherContent({ align, sideOffset, className, }: AppLaunch
|
|
|
301
330
|
|
|
302
331
|
declare function useGlobalMenu(env?: Environment): _tanstack_react_query.UseQueryResult<GlobalMenu, Error>;
|
|
303
332
|
|
|
304
|
-
/** CAIP-2 chain identifier (e.g. "eip155:612044") */
|
|
305
|
-
type ChainId = `eip155:${number}`;
|
|
306
333
|
declare enum ConnectorId {
|
|
307
334
|
CROSSx = "crossx",
|
|
308
335
|
MetaMask = "io.metamask",
|
|
@@ -2574,7 +2601,7 @@ declare function StatusTracker({ orderId, order, error }: StatusTrackerProps): r
|
|
|
2574
2601
|
* the old ones. */
|
|
2575
2602
|
declare const DEFAULT_TRUSTED_FACTORIES: readonly string[];
|
|
2576
2603
|
|
|
2577
|
-
type GetOneUsdActionId = "swap" | "bridge" | "transfer";
|
|
2604
|
+
type GetOneUsdActionId = "swap" | "bridge" | "transfer" | "stake";
|
|
2578
2605
|
type GetOneUsdMode = "floating" | "button";
|
|
2579
2606
|
type GetOneUsdButtonComponent = ElementType<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
2580
2607
|
type GetOneUsdWaitForTransaction = (info: BridgeSubmittedInfo) => Promise<void>;
|
|
@@ -2595,6 +2622,23 @@ interface GetOneUsdPairs {
|
|
|
2595
2622
|
}
|
|
2596
2623
|
type GetOneUsdBridgeProps = Omit<BridgeFlowProps, "walletAddress" | "tokens" | "initialFromToken" | "initialToToken" | "env" | "onClose" | "onBackToWallet" | "className" | "title" | "variant" | "isConnected" | "onRequestConnect">;
|
|
2597
2624
|
type GetOneUsdRelayProps = Omit<RelayDepositProps, "walletAddress" | "children" | "open" | "onOpenChange" | "requireWalletConnection" | "showRecipientInput" | "hideAmount" | "targetTokens" | "defaultTarget" | "onRequestConnect">;
|
|
2625
|
+
/**
|
|
2626
|
+
* Stake (ONEUSD → sONEUSD vault) configuration and wallet ports. Every port is
|
|
2627
|
+
* optional here because the same capabilities are usually already injected via
|
|
2628
|
+
* `relay` — a missing port falls back to the matching `relay` one. The action
|
|
2629
|
+
* is hidden when, after that fallback, `readContract`/`writeContract` are still
|
|
2630
|
+
* missing or the environment has no vault address.
|
|
2631
|
+
*/
|
|
2632
|
+
interface GetOneUsdStakeProps {
|
|
2633
|
+
/** ERC-4626 sONEUSD vault. Built-in per-environment address when omitted. */
|
|
2634
|
+
vaultAddress?: string;
|
|
2635
|
+
/** Wallet's active chain; a stake switches chain first when it differs. */
|
|
2636
|
+
walletChainId?: number;
|
|
2637
|
+
readContract?: ReadContractFn;
|
|
2638
|
+
writeContract?: WriteContractFn;
|
|
2639
|
+
switchChain?: SwitchChainFn;
|
|
2640
|
+
waitForReceipt?: WaitForReceiptFn;
|
|
2641
|
+
}
|
|
2598
2642
|
type GetOneUsdEvent = {
|
|
2599
2643
|
name: "fab_click";
|
|
2600
2644
|
state: "expanded" | "icon_only";
|
|
@@ -2626,6 +2670,8 @@ interface GetOneUsdProps {
|
|
|
2626
2670
|
bridge: GetOneUsdBridgeProps;
|
|
2627
2671
|
/** Relay configuration and low-level wallet ports. Built-in env URL is used when omitted. */
|
|
2628
2672
|
relay?: GetOneUsdRelayProps;
|
|
2673
|
+
/** Stake vault override and wallet ports. Falls back to `relay` ports when omitted. */
|
|
2674
|
+
stake?: GetOneUsdStakeProps;
|
|
2629
2675
|
env?: Environment;
|
|
2630
2676
|
targetSymbol?: string;
|
|
2631
2677
|
/** Relay catalog delivery symbol. Defaults to the canonical `ONEUSD`. */
|
|
@@ -2666,13 +2712,14 @@ interface ResolvedGetOneUsdRoute {
|
|
|
2666
2712
|
targetToken?: BridgeToken;
|
|
2667
2713
|
}
|
|
2668
2714
|
|
|
2669
|
-
declare function GetOneUsd({ walletAddress, tokens, pairs, loading, bridge, relay, env, targetSymbol: targetSymbolProp, relayTargetSymbol, targetIconUrl, mode, buttonComponent, theme, mobileBreakpoint, drawerDirection, dialogWidth, drawerMaxWidth, drawerMinWidth, style, className, contentClassName, hidden, compactTrigger, collapseOnScroll, scrollThreshold, waitForTransaction, transactionResultDurationMs, onRequestConnect, onEvent, }: GetOneUsdProps): react_jsx_runtime.JSX.Element;
|
|
2715
|
+
declare function GetOneUsd({ walletAddress, tokens, pairs, loading, bridge, relay, stake, env, targetSymbol: targetSymbolProp, relayTargetSymbol, targetIconUrl, mode, buttonComponent, theme, mobileBreakpoint, drawerDirection, dialogWidth, drawerMaxWidth, drawerMinWidth, style, className, contentClassName, hidden, compactTrigger, collapseOnScroll, scrollThreshold, waitForTransaction, transactionResultDurationMs, onRequestConnect, onEvent, }: GetOneUsdProps): react_jsx_runtime.JSX.Element;
|
|
2670
2716
|
|
|
2671
2717
|
type GetOneUsdRemoteModes = NonNullable<NonNullable<AppsConfig["getOneUsd"]>["modes"]>;
|
|
2672
2718
|
type GetOneUsdRemoteMinVersions = NonNullable<NonNullable<AppsConfig["getOneUsd"]>["minVersions"]>;
|
|
2673
2719
|
/**
|
|
2674
2720
|
* 목록에 보일지 여부. Swap/Bridge stay enabled when config is unavailable.
|
|
2675
2721
|
* Transfer Crypto is opt-in and stays hidden until S3 explicitly enables it.
|
|
2722
|
+
* Swap/Bridge/Stake stay visible when config is unavailable.
|
|
2676
2723
|
*/
|
|
2677
2724
|
declare function isGetOneUsdActionVisible(action: GetOneUsdActionId, modes?: GetOneUsdRemoteModes): boolean;
|
|
2678
2725
|
/**
|
|
@@ -3119,4 +3166,4 @@ interface SkillsButtonProps {
|
|
|
3119
3166
|
declare const DEFAULT_SKILLS_HREF = "https://www.onechain.nexus/skills";
|
|
3120
3167
|
declare function SkillsButton({ label, href, onClick, className, style, theme, disabled, isLoading, loadingLabel, openInNewTab, type, }: SkillsButtonProps): react_jsx_runtime.JSX.Element;
|
|
3121
3168
|
|
|
3122
|
-
export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, type AppLauncherUsageMode, BINANCE_ICON, type BridgeAmountSource, type BridgeApprovalInfo, type BridgeApproveFn, type BridgeFailedInfo, BridgeFlow, type BridgeFlowProps, type BridgeGetApprovalFn, type BridgeGetToTokensFn, type BridgeHistoryItem, type BridgeInfoRow, type BridgeInfoTokenRef, type BridgeLiquidityInfo, type BridgePathType, type BridgeQuoteFn, type BridgeQuoteInput, type BridgeQuoteResult, type BridgeStatus, type BridgeStep, type BridgeSubmitFn, type BridgeSubmittedInfo, type BridgeToken, type BridgeTxSummary, CHAINS_CONFIG_FILE, CONNECTOR_REGISTRY, CROSSX_ICON, type Catalog, type ChainDisplayMeta, type ChainId, type ChainsConfig, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, type CrossdPosition, type CrossdPositionDetail, type CrossdPositionPoolRef, type CrossdPositionTokenRef, DEFAULT_SKILLS_HREF, DEFAULT_TRUSTED_FACTORIES, DappUiErrorBoundary, type DappUiErrorBoundaryProps, type DappUiFailureReason, type DappUiFeature, type DappUiFlow, type DepositAddressResult, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GameSwapPool, type GameSwapTokenRef, type GasEstimate, type GetBalanceFn, GetOneUsd, type GetOneUsdActionId, type GetOneUsdBridgeProps, type GetOneUsdButtonComponent, type GetOneUsdEvent, type GetOneUsdMode, type GetOneUsdPairs, type GetOneUsdProps, type GetOneUsdRelayProps, type GetOneUsdRemoteModes, type GetOneUsdTokenRef, type GetOneUsdWaitForTransaction, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemAssetUrl, type GlobalMenuItemServiceStatus, type GlobalMenuItemUrl, type InitDappUiSentryOptions, type LpBalanceInfo, type LpBalanceReaderFn, METAMASK_ICON, type OnOutlink, type OnePopActivityDirection, type OnePopActivityItem, type OnePopActivityStatus, OnePopBody, type OnePopBodyProps, OnePopGetTokenTrigger, type OnePopSummary, type OrderSummary, type OriginOption, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, PORTFOLIO_SECTIONS, type PortfolioSection, type PreferredToken, type QuoteResult, type ReadContractFn, type RecentSendAddress, type RecoveryInfo, type RecoverySuccessResult, RelayApiError, type RelayBalance, type RelayClient, type RelayClientOptions, type RelayContractCall, RelayDeposit, type RelayDepositContentProps, type RelayDepositProps, type RelayDepositTriggerProps, type RelayDrawerDirection, type Hex as RelayHex, RelayHistory, type RelayHistoryContentProps, type RelayHistoryProps, type RelayHistoryTriggerProps, RelayRecovery, type RecoveryAction as RelayRecoveryAction, type RelayRecoveryContentProps, type RelayRecoveryProps, type RelayRecoveryQueryKey, type RelayRecoveryQueryOptions, type RecoveryState as RelayRecoveryState, type RecoveryStep as RelayRecoveryStep, type RelayRecoveryTriggerProps, type SendTransactionFn as RelaySendTransactionFn, type RelayTheme, type RelayTxRequest, type RelayWalletProps, type ResolvedGetOneUsdRoute, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendFlow, type SendFlowProps, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn$1 as SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, type StakingRewardsInfo, type StakingRewardsReaderFn, StatusTracker, type StatusTrackerProps, type SwitchChainFn, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TrackDappUiFunnelOptions, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, type UseRelayConfigOptions, type UseRelayConfigResult, type UseRelayOrdersOptions, type UseRelayOrdersResult, type UseRelayRecoveryOptions, type UseRelayRecoveryResult, WALLET_PORTFOLIO_QUERY_PREFIX, WALLET_REGISTRY, type WaitForReceiptFn, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, type WriteContractFn, announceAppLauncherUsage, captureDappUiException, createRelayClient, findGetOneUsdToken, getChainDisplay, getDappUiSentryScope, getOneUsdTokenKey, initDappUiSentry, invalidateWalletPortfolioQueries, isGetOneUsdActionEnabled, isGetOneUsdActionSupported, isGetOneUsdActionVisible, isGetOneUsdTargetAvailable, matchesGetOneUsdToken, normalizeFailureReason, resolveEnvironment, resolveGetOneUsdRoute, setDappUiAnalyticsUser, trackDappUiEvent, trackDappUiFunnel, useChainDisplay, useChainsConfig, useGlobalMenu, useRelayConfig, useRelayOrders, useRelayRecovery, useTokenBalance, useTokenStats, useWalletDetect };
|
|
3169
|
+
export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, type AppLauncherUsageMode, BINANCE_ICON, type BridgeAmountSource, type BridgeApprovalInfo, type BridgeApproveFn, type BridgeFailedInfo, BridgeFlow, type BridgeFlowProps, type BridgeGetApprovalFn, type BridgeGetToTokensFn, type BridgeHistoryItem, type BridgeInfoRow, type BridgeInfoTokenRef, type BridgeLiquidityInfo, type BridgePathType, type BridgeQuoteFn, type BridgeQuoteInput, type BridgeQuoteResult, type BridgeStatus, type BridgeStep, type BridgeSubmitFn, type BridgeSubmittedInfo, type BridgeToken, type BridgeTxSummary, CHAINS_CONFIG_FILE, CONNECTOR_REGISTRY, CROSSX_ICON, type Catalog, type ChainDisplayMeta, type ChainId, type ChainsConfig, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, type CrossdPosition, type CrossdPositionDetail, type CrossdPositionPoolRef, type CrossdPositionTokenRef, DEFAULT_SKILLS_HREF, DEFAULT_TRUSTED_FACTORIES, DappUiErrorBoundary, type DappUiErrorBoundaryProps, type DappUiFailureReason, type DappUiFeature, type DappUiFlow, type DepositAddressResult, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, type EvmChainId, GOOGLE_ICON, type GameSwapPool, type GameSwapTokenRef, type GasEstimate, type GetBalanceFn, GetOneUsd, type GetOneUsdActionId, type GetOneUsdBridgeProps, type GetOneUsdButtonComponent, type GetOneUsdEvent, type GetOneUsdMode, type GetOneUsdPairs, type GetOneUsdProps, type GetOneUsdRelayProps, type GetOneUsdRemoteModes, type GetOneUsdStakeProps, type GetOneUsdTokenRef, type GetOneUsdWaitForTransaction, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemAssetUrl, type GlobalMenuItemServiceStatus, type GlobalMenuItemUrl, type InitDappUiSentryOptions, type LpBalanceInfo, type LpBalanceReaderFn, METAMASK_ICON, type OnOutlink, type OnePopActivityDirection, type OnePopActivityItem, type OnePopActivityStatus, OnePopBody, type OnePopBodyProps, OnePopGetTokenTrigger, type OnePopSummary, type OrderSummary, type OriginOption, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, PORTFOLIO_SECTIONS, type PortfolioSection, type PreferredToken, type QuoteResult, type ReadContractFn, type RecentSendAddress, type RecoveryInfo, type RecoverySuccessResult, RelayApiError, type RelayBalance, type RelayClient, type RelayClientOptions, type RelayContractCall, RelayDeposit, type RelayDepositContentProps, type RelayDepositProps, type RelayDepositTriggerProps, type RelayDrawerDirection, type Hex as RelayHex, RelayHistory, type RelayHistoryContentProps, type RelayHistoryProps, type RelayHistoryTriggerProps, RelayRecovery, type RecoveryAction as RelayRecoveryAction, type RelayRecoveryContentProps, type RelayRecoveryProps, type RelayRecoveryQueryKey, type RelayRecoveryQueryOptions, type RecoveryState as RelayRecoveryState, type RecoveryStep as RelayRecoveryStep, type RelayRecoveryTriggerProps, type SendTransactionFn as RelaySendTransactionFn, type RelayTheme, type RelayTxRequest, type RelayWalletProps, type ResolvedGetOneUsdRoute, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendFlow, type SendFlowProps, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn$1 as SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, type StakingRewardsInfo, type StakingRewardsReaderFn, StatusTracker, type StatusTrackerProps, type SwitchChainFn, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TrackDappUiFunnelOptions, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, type UseRelayConfigOptions, type UseRelayConfigResult, type UseRelayOrdersOptions, type UseRelayOrdersResult, type UseRelayRecoveryOptions, type UseRelayRecoveryResult, WALLET_PORTFOLIO_QUERY_PREFIX, WALLET_REGISTRY, type WaitForReceiptFn, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, type WriteContractFn, announceAppLauncherUsage, captureDappUiException, createRelayClient, findGetOneUsdToken, getChainDisplay, getDappUiSentryScope, getOneUsdTokenKey, initDappUiSentry, invalidateWalletPortfolioQueries, isGetOneUsdActionEnabled, isGetOneUsdActionSupported, isGetOneUsdActionVisible, isGetOneUsdTargetAvailable, matchesGetOneUsdToken, normalizeFailureReason, resolveEnvironment, resolveGetOneUsdRoute, selectChainMeta, setDappUiAnalyticsUser, trackDappUiEvent, trackDappUiFunnel, useChainDisplay, useChainsConfig, useGlobalMenu, useRelayConfig, useRelayOrders, useRelayRecovery, useTokenBalance, useTokenStats, useWalletDetect };
|
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,19 @@ import { QueryClient, UseQueryOptions } from '@tanstack/react-query';
|
|
|
8
8
|
type Environment = "dev" | "stage" | "production";
|
|
9
9
|
type Theme = "dark" | "light";
|
|
10
10
|
type DrawerDirection$1 = "right" | "bottom" | "left";
|
|
11
|
+
/**
|
|
12
|
+
* CAIP-2 체인 식별자 (`"eip155:612055"`). 자산 목록과 운영 설정이 체인을
|
|
13
|
+
* 가리키는 형식이다.
|
|
14
|
+
*
|
|
15
|
+
* `eip155` 이외 namespace(`solana:`·`bip122:` 등)를 **지금 지원하지는 않는다** —
|
|
16
|
+
* 만나면 걸러내고 경고한다(`features/networks.md` AC-13). 그럼에도 식별자
|
|
17
|
+
* 자체는 좁히지 않는다: 조회 목록은 운영이 편집하는 published JSON 이 정본이라,
|
|
18
|
+
* 형식을 십진수로 굳혀 두면 나중에 namespace 를 열 때 파일과 코드를 동시에
|
|
19
|
+
* 갈아야 한다. 자리를 비워 두는 쪽이 싸다 (`context/decisions/0009`).
|
|
20
|
+
*/
|
|
21
|
+
type ChainId = `${string}:${string}`;
|
|
22
|
+
/** EVM 전용 경로가 좁혀 쓰는 CAIP-2 식별자. */
|
|
23
|
+
type EvmChainId = `eip155:${number}`;
|
|
11
24
|
|
|
12
25
|
declare function resolveEnvironment(env?: Environment | "staging" | "prd" | "prod" | "stg"): Environment;
|
|
13
26
|
|
|
@@ -38,6 +51,8 @@ type AppsConfig = {
|
|
|
38
51
|
swap?: boolean;
|
|
39
52
|
bridge?: boolean;
|
|
40
53
|
transferCrypto?: boolean;
|
|
54
|
+
/** Stake ONEUSD into the sONEUSD vault. Opt-in like Transfer Crypto. */
|
|
55
|
+
stake?: boolean;
|
|
41
56
|
};
|
|
42
57
|
/**
|
|
43
58
|
* 액션별 최소 dapp-ui 버전. 호스트가 설치한 dapp-ui 가 이 값보다 낮으면
|
|
@@ -49,6 +64,7 @@ type AppsConfig = {
|
|
|
49
64
|
swap?: string;
|
|
50
65
|
bridge?: string;
|
|
51
66
|
transferCrypto?: string;
|
|
67
|
+
stake?: string;
|
|
52
68
|
};
|
|
53
69
|
};
|
|
54
70
|
/**
|
|
@@ -127,17 +143,27 @@ type AppsConfig = {
|
|
|
127
143
|
};
|
|
128
144
|
};
|
|
129
145
|
declare const CHAINS_CONFIG_FILE = "chains.json";
|
|
130
|
-
/** 체인 하나의
|
|
146
|
+
/** 체인 하나의 메타. 지정 안 된 필드는 호출부 폴백(온체인/하드코딩)으로. */
|
|
131
147
|
type ChainDisplayMeta = {
|
|
132
148
|
/** 체인 표시명 (예: 'One Mainnet'). */
|
|
133
149
|
name?: string;
|
|
134
150
|
/** 네이티브 통화 표시 심볼 (예: 'ONE' / 'tONE'). DISPLAY 전용. */
|
|
135
151
|
nativeSymbol?: string;
|
|
152
|
+
/**
|
|
153
|
+
* WalletInfo 자산 목록에서 이 체인의 잔고를 조회할지. 지정 안 하면 조회하지
|
|
154
|
+
* 않는다 — 표시 메타만 필요한 체인(전환 UI 등)이 조회 대상이 되지 않게.
|
|
155
|
+
*/
|
|
156
|
+
balance?: boolean;
|
|
136
157
|
};
|
|
137
|
-
/** chains.json 스키마 —
|
|
158
|
+
/** chains.json 스키마 — CAIP-2(또는 10진) chainId → 체인 메타. */
|
|
138
159
|
type ChainsConfig = {
|
|
139
160
|
chains?: Record<string, ChainDisplayMeta>;
|
|
140
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* chains.json 의 `chains` 맵에서 한 체인의 메타를 꺼낸다. CAIP-2 키를
|
|
164
|
+
* 먼저 보고, 없으면 십진수 키로 폴백한다 — 두 형태가 공존한다.
|
|
165
|
+
*/
|
|
166
|
+
declare function selectChainMeta(chains: Record<string, ChainDisplayMeta> | undefined, chainId: number): ChainDisplayMeta;
|
|
141
167
|
/**
|
|
142
168
|
* chains.json에서 특정 chainId의 표시 메타를 비동기로 반환한다.
|
|
143
169
|
* fetch 실패·미정의면 `{}` — 호출부에서 `?? 폴백`으로 처리.
|
|
@@ -151,9 +177,12 @@ declare function getChainDisplay(chainId: number, env: Environment): Promise<Cha
|
|
|
151
177
|
*/
|
|
152
178
|
declare function useChainDisplay(chainId: number | undefined, env: Environment): ChainDisplayMeta;
|
|
153
179
|
/**
|
|
154
|
-
* chains.json의 전체 chainId
|
|
180
|
+
* chains.json의 전체 chainId→체인 메타 맵을 구독한다. 여러 체인의 표시명을
|
|
155
181
|
* 한 번에 매핑해야 하는 곳(네트워크 스위처 등)에서 사용한다. 로딩 전/실패 시
|
|
156
|
-
* 빈
|
|
182
|
+
* 빈 객체다.
|
|
183
|
+
*
|
|
184
|
+
* 키는 CAIP-2 와 십진수가 공존하므로 **`selectChainMeta(map, id)` 로 꺼낸다** —
|
|
185
|
+
* `map[String(id)]` 로 직접 읽으면 CAIP-2 로 적힌 항목을 놓친다.
|
|
157
186
|
*/
|
|
158
187
|
declare function useChainsConfig(env: Environment): Record<string, ChainDisplayMeta>;
|
|
159
188
|
|
|
@@ -301,8 +330,6 @@ declare function AppLauncherContent({ align, sideOffset, className, }: AppLaunch
|
|
|
301
330
|
|
|
302
331
|
declare function useGlobalMenu(env?: Environment): _tanstack_react_query.UseQueryResult<GlobalMenu, Error>;
|
|
303
332
|
|
|
304
|
-
/** CAIP-2 chain identifier (e.g. "eip155:612044") */
|
|
305
|
-
type ChainId = `eip155:${number}`;
|
|
306
333
|
declare enum ConnectorId {
|
|
307
334
|
CROSSx = "crossx",
|
|
308
335
|
MetaMask = "io.metamask",
|
|
@@ -2574,7 +2601,7 @@ declare function StatusTracker({ orderId, order, error }: StatusTrackerProps): r
|
|
|
2574
2601
|
* the old ones. */
|
|
2575
2602
|
declare const DEFAULT_TRUSTED_FACTORIES: readonly string[];
|
|
2576
2603
|
|
|
2577
|
-
type GetOneUsdActionId = "swap" | "bridge" | "transfer";
|
|
2604
|
+
type GetOneUsdActionId = "swap" | "bridge" | "transfer" | "stake";
|
|
2578
2605
|
type GetOneUsdMode = "floating" | "button";
|
|
2579
2606
|
type GetOneUsdButtonComponent = ElementType<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
2580
2607
|
type GetOneUsdWaitForTransaction = (info: BridgeSubmittedInfo) => Promise<void>;
|
|
@@ -2595,6 +2622,23 @@ interface GetOneUsdPairs {
|
|
|
2595
2622
|
}
|
|
2596
2623
|
type GetOneUsdBridgeProps = Omit<BridgeFlowProps, "walletAddress" | "tokens" | "initialFromToken" | "initialToToken" | "env" | "onClose" | "onBackToWallet" | "className" | "title" | "variant" | "isConnected" | "onRequestConnect">;
|
|
2597
2624
|
type GetOneUsdRelayProps = Omit<RelayDepositProps, "walletAddress" | "children" | "open" | "onOpenChange" | "requireWalletConnection" | "showRecipientInput" | "hideAmount" | "targetTokens" | "defaultTarget" | "onRequestConnect">;
|
|
2625
|
+
/**
|
|
2626
|
+
* Stake (ONEUSD → sONEUSD vault) configuration and wallet ports. Every port is
|
|
2627
|
+
* optional here because the same capabilities are usually already injected via
|
|
2628
|
+
* `relay` — a missing port falls back to the matching `relay` one. The action
|
|
2629
|
+
* is hidden when, after that fallback, `readContract`/`writeContract` are still
|
|
2630
|
+
* missing or the environment has no vault address.
|
|
2631
|
+
*/
|
|
2632
|
+
interface GetOneUsdStakeProps {
|
|
2633
|
+
/** ERC-4626 sONEUSD vault. Built-in per-environment address when omitted. */
|
|
2634
|
+
vaultAddress?: string;
|
|
2635
|
+
/** Wallet's active chain; a stake switches chain first when it differs. */
|
|
2636
|
+
walletChainId?: number;
|
|
2637
|
+
readContract?: ReadContractFn;
|
|
2638
|
+
writeContract?: WriteContractFn;
|
|
2639
|
+
switchChain?: SwitchChainFn;
|
|
2640
|
+
waitForReceipt?: WaitForReceiptFn;
|
|
2641
|
+
}
|
|
2598
2642
|
type GetOneUsdEvent = {
|
|
2599
2643
|
name: "fab_click";
|
|
2600
2644
|
state: "expanded" | "icon_only";
|
|
@@ -2626,6 +2670,8 @@ interface GetOneUsdProps {
|
|
|
2626
2670
|
bridge: GetOneUsdBridgeProps;
|
|
2627
2671
|
/** Relay configuration and low-level wallet ports. Built-in env URL is used when omitted. */
|
|
2628
2672
|
relay?: GetOneUsdRelayProps;
|
|
2673
|
+
/** Stake vault override and wallet ports. Falls back to `relay` ports when omitted. */
|
|
2674
|
+
stake?: GetOneUsdStakeProps;
|
|
2629
2675
|
env?: Environment;
|
|
2630
2676
|
targetSymbol?: string;
|
|
2631
2677
|
/** Relay catalog delivery symbol. Defaults to the canonical `ONEUSD`. */
|
|
@@ -2666,13 +2712,14 @@ interface ResolvedGetOneUsdRoute {
|
|
|
2666
2712
|
targetToken?: BridgeToken;
|
|
2667
2713
|
}
|
|
2668
2714
|
|
|
2669
|
-
declare function GetOneUsd({ walletAddress, tokens, pairs, loading, bridge, relay, env, targetSymbol: targetSymbolProp, relayTargetSymbol, targetIconUrl, mode, buttonComponent, theme, mobileBreakpoint, drawerDirection, dialogWidth, drawerMaxWidth, drawerMinWidth, style, className, contentClassName, hidden, compactTrigger, collapseOnScroll, scrollThreshold, waitForTransaction, transactionResultDurationMs, onRequestConnect, onEvent, }: GetOneUsdProps): react_jsx_runtime.JSX.Element;
|
|
2715
|
+
declare function GetOneUsd({ walletAddress, tokens, pairs, loading, bridge, relay, stake, env, targetSymbol: targetSymbolProp, relayTargetSymbol, targetIconUrl, mode, buttonComponent, theme, mobileBreakpoint, drawerDirection, dialogWidth, drawerMaxWidth, drawerMinWidth, style, className, contentClassName, hidden, compactTrigger, collapseOnScroll, scrollThreshold, waitForTransaction, transactionResultDurationMs, onRequestConnect, onEvent, }: GetOneUsdProps): react_jsx_runtime.JSX.Element;
|
|
2670
2716
|
|
|
2671
2717
|
type GetOneUsdRemoteModes = NonNullable<NonNullable<AppsConfig["getOneUsd"]>["modes"]>;
|
|
2672
2718
|
type GetOneUsdRemoteMinVersions = NonNullable<NonNullable<AppsConfig["getOneUsd"]>["minVersions"]>;
|
|
2673
2719
|
/**
|
|
2674
2720
|
* 목록에 보일지 여부. Swap/Bridge stay enabled when config is unavailable.
|
|
2675
2721
|
* Transfer Crypto is opt-in and stays hidden until S3 explicitly enables it.
|
|
2722
|
+
* Swap/Bridge/Stake stay visible when config is unavailable.
|
|
2676
2723
|
*/
|
|
2677
2724
|
declare function isGetOneUsdActionVisible(action: GetOneUsdActionId, modes?: GetOneUsdRemoteModes): boolean;
|
|
2678
2725
|
/**
|
|
@@ -3119,4 +3166,4 @@ interface SkillsButtonProps {
|
|
|
3119
3166
|
declare const DEFAULT_SKILLS_HREF = "https://www.onechain.nexus/skills";
|
|
3120
3167
|
declare function SkillsButton({ label, href, onClick, className, style, theme, disabled, isLoading, loadingLabel, openInNewTab, type, }: SkillsButtonProps): react_jsx_runtime.JSX.Element;
|
|
3121
3168
|
|
|
3122
|
-
export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, type AppLauncherUsageMode, BINANCE_ICON, type BridgeAmountSource, type BridgeApprovalInfo, type BridgeApproveFn, type BridgeFailedInfo, BridgeFlow, type BridgeFlowProps, type BridgeGetApprovalFn, type BridgeGetToTokensFn, type BridgeHistoryItem, type BridgeInfoRow, type BridgeInfoTokenRef, type BridgeLiquidityInfo, type BridgePathType, type BridgeQuoteFn, type BridgeQuoteInput, type BridgeQuoteResult, type BridgeStatus, type BridgeStep, type BridgeSubmitFn, type BridgeSubmittedInfo, type BridgeToken, type BridgeTxSummary, CHAINS_CONFIG_FILE, CONNECTOR_REGISTRY, CROSSX_ICON, type Catalog, type ChainDisplayMeta, type ChainId, type ChainsConfig, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, type CrossdPosition, type CrossdPositionDetail, type CrossdPositionPoolRef, type CrossdPositionTokenRef, DEFAULT_SKILLS_HREF, DEFAULT_TRUSTED_FACTORIES, DappUiErrorBoundary, type DappUiErrorBoundaryProps, type DappUiFailureReason, type DappUiFeature, type DappUiFlow, type DepositAddressResult, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, GOOGLE_ICON, type GameSwapPool, type GameSwapTokenRef, type GasEstimate, type GetBalanceFn, GetOneUsd, type GetOneUsdActionId, type GetOneUsdBridgeProps, type GetOneUsdButtonComponent, type GetOneUsdEvent, type GetOneUsdMode, type GetOneUsdPairs, type GetOneUsdProps, type GetOneUsdRelayProps, type GetOneUsdRemoteModes, type GetOneUsdTokenRef, type GetOneUsdWaitForTransaction, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemAssetUrl, type GlobalMenuItemServiceStatus, type GlobalMenuItemUrl, type InitDappUiSentryOptions, type LpBalanceInfo, type LpBalanceReaderFn, METAMASK_ICON, type OnOutlink, type OnePopActivityDirection, type OnePopActivityItem, type OnePopActivityStatus, OnePopBody, type OnePopBodyProps, OnePopGetTokenTrigger, type OnePopSummary, type OrderSummary, type OriginOption, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, PORTFOLIO_SECTIONS, type PortfolioSection, type PreferredToken, type QuoteResult, type ReadContractFn, type RecentSendAddress, type RecoveryInfo, type RecoverySuccessResult, RelayApiError, type RelayBalance, type RelayClient, type RelayClientOptions, type RelayContractCall, RelayDeposit, type RelayDepositContentProps, type RelayDepositProps, type RelayDepositTriggerProps, type RelayDrawerDirection, type Hex as RelayHex, RelayHistory, type RelayHistoryContentProps, type RelayHistoryProps, type RelayHistoryTriggerProps, RelayRecovery, type RecoveryAction as RelayRecoveryAction, type RelayRecoveryContentProps, type RelayRecoveryProps, type RelayRecoveryQueryKey, type RelayRecoveryQueryOptions, type RecoveryState as RelayRecoveryState, type RecoveryStep as RelayRecoveryStep, type RelayRecoveryTriggerProps, type SendTransactionFn as RelaySendTransactionFn, type RelayTheme, type RelayTxRequest, type RelayWalletProps, type ResolvedGetOneUsdRoute, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendFlow, type SendFlowProps, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn$1 as SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, type StakingRewardsInfo, type StakingRewardsReaderFn, StatusTracker, type StatusTrackerProps, type SwitchChainFn, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TrackDappUiFunnelOptions, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, type UseRelayConfigOptions, type UseRelayConfigResult, type UseRelayOrdersOptions, type UseRelayOrdersResult, type UseRelayRecoveryOptions, type UseRelayRecoveryResult, WALLET_PORTFOLIO_QUERY_PREFIX, WALLET_REGISTRY, type WaitForReceiptFn, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, type WriteContractFn, announceAppLauncherUsage, captureDappUiException, createRelayClient, findGetOneUsdToken, getChainDisplay, getDappUiSentryScope, getOneUsdTokenKey, initDappUiSentry, invalidateWalletPortfolioQueries, isGetOneUsdActionEnabled, isGetOneUsdActionSupported, isGetOneUsdActionVisible, isGetOneUsdTargetAvailable, matchesGetOneUsdToken, normalizeFailureReason, resolveEnvironment, resolveGetOneUsdRoute, setDappUiAnalyticsUser, trackDappUiEvent, trackDappUiFunnel, useChainDisplay, useChainsConfig, useGlobalMenu, useRelayConfig, useRelayOrders, useRelayRecovery, useTokenBalance, useTokenStats, useWalletDetect };
|
|
3169
|
+
export { APPLE_ICON, AppLauncher, AppLauncherContent, type AppLauncherContentProps, type AppLauncherProps, AppLauncherTrigger, type AppLauncherTriggerProps, type AppLauncherTriggerStyle, type AppLauncherUsageMode, BINANCE_ICON, type BridgeAmountSource, type BridgeApprovalInfo, type BridgeApproveFn, type BridgeFailedInfo, BridgeFlow, type BridgeFlowProps, type BridgeGetApprovalFn, type BridgeGetToTokensFn, type BridgeHistoryItem, type BridgeInfoRow, type BridgeInfoTokenRef, type BridgeLiquidityInfo, type BridgePathType, type BridgeQuoteFn, type BridgeQuoteInput, type BridgeQuoteResult, type BridgeStatus, type BridgeStep, type BridgeSubmitFn, type BridgeSubmittedInfo, type BridgeToken, type BridgeTxSummary, CHAINS_CONFIG_FILE, CONNECTOR_REGISTRY, CROSSX_ICON, type Catalog, type ChainDisplayMeta, type ChainId, type ChainsConfig, ConnectButton, type ConnectButtonProps, type ConnectButtonStyle, ConnectorId, type ConnectorMeta, type CrossdPosition, type CrossdPositionDetail, type CrossdPositionPoolRef, type CrossdPositionTokenRef, DEFAULT_SKILLS_HREF, DEFAULT_TRUSTED_FACTORIES, DappUiErrorBoundary, type DappUiErrorBoundaryProps, type DappUiFailureReason, type DappUiFeature, type DappUiFlow, type DepositAddressResult, type DrawerDirection$1 as DrawerDirection, type Environment, type EstimateGasArgs, type EstimateGasFn, type EvmChainId, GOOGLE_ICON, type GameSwapPool, type GameSwapTokenRef, type GasEstimate, type GetBalanceFn, GetOneUsd, type GetOneUsdActionId, type GetOneUsdBridgeProps, type GetOneUsdButtonComponent, type GetOneUsdEvent, type GetOneUsdMode, type GetOneUsdPairs, type GetOneUsdProps, type GetOneUsdRelayProps, type GetOneUsdRemoteModes, type GetOneUsdStakeProps, type GetOneUsdTokenRef, type GetOneUsdWaitForTransaction, type GetTransactionReceiptArgs, type GetTransactionReceiptFn, type GlobalMenu, type GlobalMenuItem, type GlobalMenuItemAssetUrl, type GlobalMenuItemServiceStatus, type GlobalMenuItemUrl, type InitDappUiSentryOptions, type LpBalanceInfo, type LpBalanceReaderFn, METAMASK_ICON, type OnOutlink, type OnePopActivityDirection, type OnePopActivityItem, type OnePopActivityStatus, OnePopBody, type OnePopBodyProps, OnePopGetTokenTrigger, type OnePopSummary, type OrderSummary, type OriginOption, type OutlinkCategory, type OutlinkContext, type OutlinkOrigin, PORTFOLIO_SECTIONS, type PortfolioSection, type PreferredToken, type QuoteResult, type ReadContractFn, type RecentSendAddress, type RecoveryInfo, type RecoverySuccessResult, RelayApiError, type RelayBalance, type RelayClient, type RelayClientOptions, type RelayContractCall, RelayDeposit, type RelayDepositContentProps, type RelayDepositProps, type RelayDepositTriggerProps, type RelayDrawerDirection, type Hex as RelayHex, RelayHistory, type RelayHistoryContentProps, type RelayHistoryProps, type RelayHistoryTriggerProps, RelayRecovery, type RecoveryAction as RelayRecoveryAction, type RelayRecoveryContentProps, type RelayRecoveryProps, type RelayRecoveryQueryKey, type RelayRecoveryQueryOptions, type RecoveryState as RelayRecoveryState, type RecoveryStep as RelayRecoveryStep, type RelayRecoveryTriggerProps, type SendTransactionFn as RelaySendTransactionFn, type RelayTheme, type RelayTxRequest, type RelayWalletProps, type ResolvedGetOneUsdRoute, SOCIAL_REGISTRY, type SendAccount, type SendAsset, SendFlow, type SendFlowProps, type SendPageProps, type SendStatus, type SendTransactionArgs, type SendTransactionFn$1 as SendTransactionFn, SkillsButton, type SkillsButtonProps, type SkillsButtonStyle, type SocialConfig, type SocialHandlers, type SocialId, type StakingRewardsInfo, type StakingRewardsReaderFn, StatusTracker, type StatusTrackerProps, type SwitchChainFn, TOKEN_STATS_QUERY_KEY, type Theme, type TokenBalance, type TokenBalanceResponse, type TokenStats, type TokenStatsResponse, type TrackDappUiFunnelOptions, type TransactionReceiptResult, USER_BALANCE_QUERY_KEY, type UseRelayConfigOptions, type UseRelayConfigResult, type UseRelayOrdersOptions, type UseRelayOrdersResult, type UseRelayRecoveryOptions, type UseRelayRecoveryResult, WALLET_PORTFOLIO_QUERY_PREFIX, WALLET_REGISTRY, type WaitForReceiptFn, type WalletConfig, WalletConnectModal, type WalletConnectModalContentProps, type WalletConnectModalProps, type WalletConnectModalStyle, type WalletConnectModalTriggerProps, type WalletHandlers, type WalletId, WalletInfo, type WalletInfoContentProps, type WalletInfoFooterProps, type WalletInfoNavProps, type WalletInfoProps, type WalletInfoStyle, type WalletInfoTriggerProps, WalletPortfolio, WalletPortfolioBody, type WalletPortfolioBodyProps, type WalletPortfolioContentProps, type WalletPortfolioProps, type WalletPortfolioTriggerProps, type WalletProvider, type WriteContractFn, announceAppLauncherUsage, captureDappUiException, createRelayClient, findGetOneUsdToken, getChainDisplay, getDappUiSentryScope, getOneUsdTokenKey, initDappUiSentry, invalidateWalletPortfolioQueries, isGetOneUsdActionEnabled, isGetOneUsdActionSupported, isGetOneUsdActionVisible, isGetOneUsdTargetAvailable, matchesGetOneUsdToken, normalizeFailureReason, resolveEnvironment, resolveGetOneUsdRoute, selectChainMeta, setDappUiAnalyticsUser, trackDappUiEvent, trackDappUiFunnel, useChainDisplay, useChainsConfig, useGlobalMenu, useRelayConfig, useRelayOrders, useRelayRecovery, useTokenBalance, useTokenStats, useWalletDetect };
|