@embarkai/ui-kit 0.4.0 → 0.4.2
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/iframe/index.html +1 -1
- package/dist/iframe/main.js +2030 -139
- package/dist/index.cjs +9634 -7682
- package/dist/index.d.cts +130 -4
- package/dist/index.d.ts +130 -4
- package/dist/index.js +9406 -7458
- package/dist/styles.css +1 -1
- package/package.json +2 -1
- package/dist/iframe/main.js.map +0 -1
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -60,6 +60,17 @@ interface ComplianceStatus {
|
|
|
60
60
|
/** Transfer restrictions message */
|
|
61
61
|
transferRestrictions?: string;
|
|
62
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Error state for asset list
|
|
65
|
+
*/
|
|
66
|
+
interface AssetListError {
|
|
67
|
+
/** Error type for categorization */
|
|
68
|
+
type: 'network' | 'api' | 'timeout' | 'unknown';
|
|
69
|
+
/** Human-readable error message */
|
|
70
|
+
message: string;
|
|
71
|
+
/** Whether the request can be retried */
|
|
72
|
+
retryable: boolean;
|
|
73
|
+
}
|
|
63
74
|
/**
|
|
64
75
|
* Represents a token or NFT asset
|
|
65
76
|
*/
|
|
@@ -636,6 +647,7 @@ declare class IframeManager {
|
|
|
636
647
|
private readonly HEARTBEAT_INTERVAL;
|
|
637
648
|
private heartbeatInterval?;
|
|
638
649
|
private isReconnecting;
|
|
650
|
+
private sseListeners;
|
|
639
651
|
constructor(config: IframeManagerConfig);
|
|
640
652
|
setDebug(debug: boolean): void;
|
|
641
653
|
/**
|
|
@@ -685,6 +697,7 @@ declare class IframeManager {
|
|
|
685
697
|
* Send secure message to iframe
|
|
686
698
|
*/
|
|
687
699
|
sendMessage(type: string, data: Record<string, any>): Promise<any>;
|
|
700
|
+
onSseEvent(listener: (data: any) => void): () => void;
|
|
688
701
|
/**
|
|
689
702
|
* Compute HMAC for message authentication using SDK channel token
|
|
690
703
|
*/
|
|
@@ -1813,6 +1826,56 @@ declare const wagmiConfig: wagmi.Config<readonly [viem.Chain, viem.Chain], {
|
|
|
1813
1826
|
[lumiaMainnetChain.id]: viem.HttpTransport<undefined, false> | viem.FallbackTransport<viem.HttpTransport<undefined, false>[]>;
|
|
1814
1827
|
}, readonly wagmi.CreateConnectorFn[]>;
|
|
1815
1828
|
|
|
1829
|
+
declare function getExplorerUrl(): string;
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* Hook for fetching all assets from Blockscout API
|
|
1833
|
+
*/
|
|
1834
|
+
|
|
1835
|
+
interface UseBlockscoutAssetsOptions {
|
|
1836
|
+
/** Wallet address to query */
|
|
1837
|
+
address: Address$1 | undefined;
|
|
1838
|
+
/** Whether to enable the query (default: true when address provided) */
|
|
1839
|
+
enabled?: boolean;
|
|
1840
|
+
/** Whether to detect ERC3643 security tokens (default: true) */
|
|
1841
|
+
detectSecurityTokens?: boolean;
|
|
1842
|
+
}
|
|
1843
|
+
interface UseBlockscoutAssetsResult {
|
|
1844
|
+
/** Native token balance (always available via RPC) */
|
|
1845
|
+
nativeBalance: {
|
|
1846
|
+
value: bigint;
|
|
1847
|
+
formatted: string;
|
|
1848
|
+
symbol: string;
|
|
1849
|
+
} | null;
|
|
1850
|
+
/** All discovered assets (native + tokens + NFTs) */
|
|
1851
|
+
assets: Asset[];
|
|
1852
|
+
/** Whether any data is currently loading */
|
|
1853
|
+
isLoading: boolean;
|
|
1854
|
+
/** Whether initial load is in progress */
|
|
1855
|
+
isInitialLoading: boolean;
|
|
1856
|
+
/** Error from Blockscout API (null if native balance available) */
|
|
1857
|
+
error: AssetListError | null;
|
|
1858
|
+
/** Whether Blockscout API is reachable */
|
|
1859
|
+
isBlockscoutAvailable: boolean;
|
|
1860
|
+
/** Manually refresh all balances */
|
|
1861
|
+
refreshBalances: () => Promise<void>;
|
|
1862
|
+
/** Get balance for a specific token by address */
|
|
1863
|
+
getTokenBalance: (tokenAddress: Address$1) => Asset | null;
|
|
1864
|
+
/** Timestamp of last successful fetch */
|
|
1865
|
+
lastUpdated: number | null;
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* React hook for fetching all assets from Blockscout API
|
|
1869
|
+
*
|
|
1870
|
+
* @example
|
|
1871
|
+
* ```tsx
|
|
1872
|
+
* const { assets, isLoading, error, refreshBalances } = useBlockscoutAssets({
|
|
1873
|
+
* address: '0x...',
|
|
1874
|
+
* });
|
|
1875
|
+
* ```
|
|
1876
|
+
*/
|
|
1877
|
+
declare function useBlockscoutAssets(options: UseBlockscoutAssetsOptions): UseBlockscoutAssetsResult;
|
|
1878
|
+
|
|
1816
1879
|
interface Transaction {
|
|
1817
1880
|
hash: Hash$1;
|
|
1818
1881
|
from: string;
|
|
@@ -2125,6 +2188,8 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2125
2188
|
added: string;
|
|
2126
2189
|
edit: string;
|
|
2127
2190
|
confirm: string;
|
|
2191
|
+
purchase: string;
|
|
2192
|
+
buy: string;
|
|
2128
2193
|
save: string;
|
|
2129
2194
|
saved: string;
|
|
2130
2195
|
delete: string;
|
|
@@ -2153,6 +2218,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2153
2218
|
passkey: string;
|
|
2154
2219
|
standard: string;
|
|
2155
2220
|
advanced: string;
|
|
2221
|
+
next: string;
|
|
2222
|
+
prev: string;
|
|
2223
|
+
errors: {
|
|
2224
|
+
oops: string;
|
|
2225
|
+
};
|
|
2156
2226
|
};
|
|
2157
2227
|
auth: {
|
|
2158
2228
|
signin: string;
|
|
@@ -2216,6 +2286,27 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2216
2286
|
selectFiat: string;
|
|
2217
2287
|
selectPaymentMode: string;
|
|
2218
2288
|
enterAmount: string;
|
|
2289
|
+
purchaseSummary: string;
|
|
2290
|
+
summary: {
|
|
2291
|
+
youPay: string;
|
|
2292
|
+
youReceive: string;
|
|
2293
|
+
exchangeRate: string;
|
|
2294
|
+
networkFee: string;
|
|
2295
|
+
serviceFee: string;
|
|
2296
|
+
paymentMethod: string;
|
|
2297
|
+
};
|
|
2298
|
+
transactionHistory: {
|
|
2299
|
+
details: string;
|
|
2300
|
+
};
|
|
2301
|
+
noItems: {
|
|
2302
|
+
noTransactions: string;
|
|
2303
|
+
noPaymentModes: string;
|
|
2304
|
+
noCryptoForChain: string;
|
|
2305
|
+
};
|
|
2306
|
+
inputPlaceholder: {
|
|
2307
|
+
selectCurrencies: string;
|
|
2308
|
+
providerMin: string;
|
|
2309
|
+
};
|
|
2219
2310
|
};
|
|
2220
2311
|
portfolioMenu: {
|
|
2221
2312
|
title: string;
|
|
@@ -2344,9 +2435,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2344
2435
|
add: string;
|
|
2345
2436
|
added: string;
|
|
2346
2437
|
edit: string;
|
|
2347
|
-
confirm:
|
|
2348
|
-
|
|
2349
|
-
|
|
2438
|
+
confirm: string;
|
|
2439
|
+
purchase: string;
|
|
2440
|
+
buy: string;
|
|
2441
|
+
save: string;
|
|
2442
|
+
saved: string;
|
|
2350
2443
|
delete: string;
|
|
2351
2444
|
download: string;
|
|
2352
2445
|
cancel: string;
|
|
@@ -2373,6 +2466,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2373
2466
|
passkey: string;
|
|
2374
2467
|
standard: string;
|
|
2375
2468
|
advanced: string;
|
|
2469
|
+
next: string;
|
|
2470
|
+
prev: string;
|
|
2471
|
+
errors: {
|
|
2472
|
+
oops: string;
|
|
2473
|
+
};
|
|
2376
2474
|
};
|
|
2377
2475
|
auth: {
|
|
2378
2476
|
signin: string;
|
|
@@ -2565,6 +2663,8 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2565
2663
|
added: string;
|
|
2566
2664
|
edit: string;
|
|
2567
2665
|
confirm: string;
|
|
2666
|
+
purchase: string;
|
|
2667
|
+
buy: string;
|
|
2568
2668
|
save: string;
|
|
2569
2669
|
saved: string;
|
|
2570
2670
|
delete: string;
|
|
@@ -2593,6 +2693,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2593
2693
|
passkey: string;
|
|
2594
2694
|
standard: string;
|
|
2595
2695
|
advanced: string;
|
|
2696
|
+
next: string;
|
|
2697
|
+
prev: string;
|
|
2698
|
+
errors: {
|
|
2699
|
+
oops: string;
|
|
2700
|
+
};
|
|
2596
2701
|
};
|
|
2597
2702
|
auth: {
|
|
2598
2703
|
signin: string;
|
|
@@ -2656,6 +2761,27 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2656
2761
|
selectFiat: string;
|
|
2657
2762
|
selectPaymentMode: string;
|
|
2658
2763
|
enterAmount: string;
|
|
2764
|
+
purchaseSummary: string;
|
|
2765
|
+
summary: {
|
|
2766
|
+
youPay: string;
|
|
2767
|
+
youReceive: string;
|
|
2768
|
+
exchangeRate: string;
|
|
2769
|
+
networkFee: string;
|
|
2770
|
+
serviceFee: string;
|
|
2771
|
+
paymentMethod: string;
|
|
2772
|
+
};
|
|
2773
|
+
transactionHistory: {
|
|
2774
|
+
details: string;
|
|
2775
|
+
};
|
|
2776
|
+
noItems: {
|
|
2777
|
+
noTransactions: string;
|
|
2778
|
+
noPaymentModes: string;
|
|
2779
|
+
noCryptoForChain: string;
|
|
2780
|
+
};
|
|
2781
|
+
inputPlaceholder: {
|
|
2782
|
+
selectCurrencies: string;
|
|
2783
|
+
providerMin: string;
|
|
2784
|
+
};
|
|
2659
2785
|
};
|
|
2660
2786
|
portfolioMenu: {
|
|
2661
2787
|
title: string;
|
|
@@ -2810,4 +2936,4 @@ declare function combineI18NResources(...resourses: TranslationResources[]): Tra
|
|
|
2810
2936
|
declare function getAvailableLanguages(resourses: TranslationResources): string[];
|
|
2811
2937
|
declare function getLanguageIcon(languageKey: string): string | null;
|
|
2812
2938
|
|
|
2813
|
-
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };
|
|
2939
|
+
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };
|
package/dist/index.d.ts
CHANGED
|
@@ -60,6 +60,17 @@ interface ComplianceStatus {
|
|
|
60
60
|
/** Transfer restrictions message */
|
|
61
61
|
transferRestrictions?: string;
|
|
62
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* Error state for asset list
|
|
65
|
+
*/
|
|
66
|
+
interface AssetListError {
|
|
67
|
+
/** Error type for categorization */
|
|
68
|
+
type: 'network' | 'api' | 'timeout' | 'unknown';
|
|
69
|
+
/** Human-readable error message */
|
|
70
|
+
message: string;
|
|
71
|
+
/** Whether the request can be retried */
|
|
72
|
+
retryable: boolean;
|
|
73
|
+
}
|
|
63
74
|
/**
|
|
64
75
|
* Represents a token or NFT asset
|
|
65
76
|
*/
|
|
@@ -636,6 +647,7 @@ declare class IframeManager {
|
|
|
636
647
|
private readonly HEARTBEAT_INTERVAL;
|
|
637
648
|
private heartbeatInterval?;
|
|
638
649
|
private isReconnecting;
|
|
650
|
+
private sseListeners;
|
|
639
651
|
constructor(config: IframeManagerConfig);
|
|
640
652
|
setDebug(debug: boolean): void;
|
|
641
653
|
/**
|
|
@@ -685,6 +697,7 @@ declare class IframeManager {
|
|
|
685
697
|
* Send secure message to iframe
|
|
686
698
|
*/
|
|
687
699
|
sendMessage(type: string, data: Record<string, any>): Promise<any>;
|
|
700
|
+
onSseEvent(listener: (data: any) => void): () => void;
|
|
688
701
|
/**
|
|
689
702
|
* Compute HMAC for message authentication using SDK channel token
|
|
690
703
|
*/
|
|
@@ -1813,6 +1826,56 @@ declare const wagmiConfig: wagmi.Config<readonly [viem.Chain, viem.Chain], {
|
|
|
1813
1826
|
[lumiaMainnetChain.id]: viem.HttpTransport<undefined, false> | viem.FallbackTransport<viem.HttpTransport<undefined, false>[]>;
|
|
1814
1827
|
}, readonly wagmi.CreateConnectorFn[]>;
|
|
1815
1828
|
|
|
1829
|
+
declare function getExplorerUrl(): string;
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* Hook for fetching all assets from Blockscout API
|
|
1833
|
+
*/
|
|
1834
|
+
|
|
1835
|
+
interface UseBlockscoutAssetsOptions {
|
|
1836
|
+
/** Wallet address to query */
|
|
1837
|
+
address: Address$1 | undefined;
|
|
1838
|
+
/** Whether to enable the query (default: true when address provided) */
|
|
1839
|
+
enabled?: boolean;
|
|
1840
|
+
/** Whether to detect ERC3643 security tokens (default: true) */
|
|
1841
|
+
detectSecurityTokens?: boolean;
|
|
1842
|
+
}
|
|
1843
|
+
interface UseBlockscoutAssetsResult {
|
|
1844
|
+
/** Native token balance (always available via RPC) */
|
|
1845
|
+
nativeBalance: {
|
|
1846
|
+
value: bigint;
|
|
1847
|
+
formatted: string;
|
|
1848
|
+
symbol: string;
|
|
1849
|
+
} | null;
|
|
1850
|
+
/** All discovered assets (native + tokens + NFTs) */
|
|
1851
|
+
assets: Asset[];
|
|
1852
|
+
/** Whether any data is currently loading */
|
|
1853
|
+
isLoading: boolean;
|
|
1854
|
+
/** Whether initial load is in progress */
|
|
1855
|
+
isInitialLoading: boolean;
|
|
1856
|
+
/** Error from Blockscout API (null if native balance available) */
|
|
1857
|
+
error: AssetListError | null;
|
|
1858
|
+
/** Whether Blockscout API is reachable */
|
|
1859
|
+
isBlockscoutAvailable: boolean;
|
|
1860
|
+
/** Manually refresh all balances */
|
|
1861
|
+
refreshBalances: () => Promise<void>;
|
|
1862
|
+
/** Get balance for a specific token by address */
|
|
1863
|
+
getTokenBalance: (tokenAddress: Address$1) => Asset | null;
|
|
1864
|
+
/** Timestamp of last successful fetch */
|
|
1865
|
+
lastUpdated: number | null;
|
|
1866
|
+
}
|
|
1867
|
+
/**
|
|
1868
|
+
* React hook for fetching all assets from Blockscout API
|
|
1869
|
+
*
|
|
1870
|
+
* @example
|
|
1871
|
+
* ```tsx
|
|
1872
|
+
* const { assets, isLoading, error, refreshBalances } = useBlockscoutAssets({
|
|
1873
|
+
* address: '0x...',
|
|
1874
|
+
* });
|
|
1875
|
+
* ```
|
|
1876
|
+
*/
|
|
1877
|
+
declare function useBlockscoutAssets(options: UseBlockscoutAssetsOptions): UseBlockscoutAssetsResult;
|
|
1878
|
+
|
|
1816
1879
|
interface Transaction {
|
|
1817
1880
|
hash: Hash$1;
|
|
1818
1881
|
from: string;
|
|
@@ -2125,6 +2188,8 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2125
2188
|
added: string;
|
|
2126
2189
|
edit: string;
|
|
2127
2190
|
confirm: string;
|
|
2191
|
+
purchase: string;
|
|
2192
|
+
buy: string;
|
|
2128
2193
|
save: string;
|
|
2129
2194
|
saved: string;
|
|
2130
2195
|
delete: string;
|
|
@@ -2153,6 +2218,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2153
2218
|
passkey: string;
|
|
2154
2219
|
standard: string;
|
|
2155
2220
|
advanced: string;
|
|
2221
|
+
next: string;
|
|
2222
|
+
prev: string;
|
|
2223
|
+
errors: {
|
|
2224
|
+
oops: string;
|
|
2225
|
+
};
|
|
2156
2226
|
};
|
|
2157
2227
|
auth: {
|
|
2158
2228
|
signin: string;
|
|
@@ -2216,6 +2286,27 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2216
2286
|
selectFiat: string;
|
|
2217
2287
|
selectPaymentMode: string;
|
|
2218
2288
|
enterAmount: string;
|
|
2289
|
+
purchaseSummary: string;
|
|
2290
|
+
summary: {
|
|
2291
|
+
youPay: string;
|
|
2292
|
+
youReceive: string;
|
|
2293
|
+
exchangeRate: string;
|
|
2294
|
+
networkFee: string;
|
|
2295
|
+
serviceFee: string;
|
|
2296
|
+
paymentMethod: string;
|
|
2297
|
+
};
|
|
2298
|
+
transactionHistory: {
|
|
2299
|
+
details: string;
|
|
2300
|
+
};
|
|
2301
|
+
noItems: {
|
|
2302
|
+
noTransactions: string;
|
|
2303
|
+
noPaymentModes: string;
|
|
2304
|
+
noCryptoForChain: string;
|
|
2305
|
+
};
|
|
2306
|
+
inputPlaceholder: {
|
|
2307
|
+
selectCurrencies: string;
|
|
2308
|
+
providerMin: string;
|
|
2309
|
+
};
|
|
2219
2310
|
};
|
|
2220
2311
|
portfolioMenu: {
|
|
2221
2312
|
title: string;
|
|
@@ -2344,9 +2435,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2344
2435
|
add: string;
|
|
2345
2436
|
added: string;
|
|
2346
2437
|
edit: string;
|
|
2347
|
-
confirm:
|
|
2348
|
-
|
|
2349
|
-
|
|
2438
|
+
confirm: string;
|
|
2439
|
+
purchase: string;
|
|
2440
|
+
buy: string;
|
|
2441
|
+
save: string;
|
|
2442
|
+
saved: string;
|
|
2350
2443
|
delete: string;
|
|
2351
2444
|
download: string;
|
|
2352
2445
|
cancel: string;
|
|
@@ -2373,6 +2466,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2373
2466
|
passkey: string;
|
|
2374
2467
|
standard: string;
|
|
2375
2468
|
advanced: string;
|
|
2469
|
+
next: string;
|
|
2470
|
+
prev: string;
|
|
2471
|
+
errors: {
|
|
2472
|
+
oops: string;
|
|
2473
|
+
};
|
|
2376
2474
|
};
|
|
2377
2475
|
auth: {
|
|
2378
2476
|
signin: string;
|
|
@@ -2565,6 +2663,8 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2565
2663
|
added: string;
|
|
2566
2664
|
edit: string;
|
|
2567
2665
|
confirm: string;
|
|
2666
|
+
purchase: string;
|
|
2667
|
+
buy: string;
|
|
2568
2668
|
save: string;
|
|
2569
2669
|
saved: string;
|
|
2570
2670
|
delete: string;
|
|
@@ -2593,6 +2693,11 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2593
2693
|
passkey: string;
|
|
2594
2694
|
standard: string;
|
|
2595
2695
|
advanced: string;
|
|
2696
|
+
next: string;
|
|
2697
|
+
prev: string;
|
|
2698
|
+
errors: {
|
|
2699
|
+
oops: string;
|
|
2700
|
+
};
|
|
2596
2701
|
};
|
|
2597
2702
|
auth: {
|
|
2598
2703
|
signin: string;
|
|
@@ -2656,6 +2761,27 @@ declare const PASSPORT_TRANSLATIONS: {
|
|
|
2656
2761
|
selectFiat: string;
|
|
2657
2762
|
selectPaymentMode: string;
|
|
2658
2763
|
enterAmount: string;
|
|
2764
|
+
purchaseSummary: string;
|
|
2765
|
+
summary: {
|
|
2766
|
+
youPay: string;
|
|
2767
|
+
youReceive: string;
|
|
2768
|
+
exchangeRate: string;
|
|
2769
|
+
networkFee: string;
|
|
2770
|
+
serviceFee: string;
|
|
2771
|
+
paymentMethod: string;
|
|
2772
|
+
};
|
|
2773
|
+
transactionHistory: {
|
|
2774
|
+
details: string;
|
|
2775
|
+
};
|
|
2776
|
+
noItems: {
|
|
2777
|
+
noTransactions: string;
|
|
2778
|
+
noPaymentModes: string;
|
|
2779
|
+
noCryptoForChain: string;
|
|
2780
|
+
};
|
|
2781
|
+
inputPlaceholder: {
|
|
2782
|
+
selectCurrencies: string;
|
|
2783
|
+
providerMin: string;
|
|
2784
|
+
};
|
|
2659
2785
|
};
|
|
2660
2786
|
portfolioMenu: {
|
|
2661
2787
|
title: string;
|
|
@@ -2810,4 +2936,4 @@ declare function combineI18NResources(...resourses: TranslationResources[]): Tra
|
|
|
2810
2936
|
declare function getAvailableLanguages(resourses: TranslationResources): string[];
|
|
2811
2937
|
declare function getLanguageIcon(languageKey: string): string | null;
|
|
2812
2938
|
|
|
2813
|
-
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };
|
|
2939
|
+
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, type UpdateProfileRequest, type UseDirectWalletReturn, type UseErc3643ComplianceOptions, type UseErc3643ComplianceResult, type UseLogoutReturn, type UseNicknameResolveOptions, type UseNicknameResolveResult, type UseSendDirectTransactionReturn, type UseSendTransactionReturn, type UseTransferToLinkedReturn, type UseUserOpStatusOptions, type UseUserOpStatusReturn, type UseWalletModeReturn, type UserOpMempool, type SendTransactionParams$1 as UserOpSendTransactionParams, type UserOpState, UserOpStatus, type UserOpStatusProps, type UserOperation, type UserOperationByHash, type UserOperationReceipt, UserOperationTimeoutError, type UserProfile, UserRejectedError, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareUserOperation, requireActiveChainId, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useLinkedProfiles, useLoadingStatus, useLogout, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, wagmiConfig, waitForStoreHydration, waitForUserOperationReceipt };
|