@embarkai/ui-kit 0.4.50 → 0.4.52
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 +24 -24
- package/dist/index.cjs +2874 -3269
- package/dist/index.d.cts +62 -57
- package/dist/index.d.ts +62 -57
- package/dist/index.js +2602 -2984
- package/dist/styles.css +1 -1
- package/package.json +5 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BatchOperation as BatchOperation$1 } from '@embarkai/core';
|
|
2
2
|
export { wagmiConfig } from '@embarkai/core';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes } from 'react';
|
|
4
|
+
import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes, SVGProps } from 'react';
|
|
5
5
|
import { BlockscoutTokenBalance } from '@embarkai/core/clients';
|
|
6
6
|
import * as viem from 'viem';
|
|
7
7
|
import { Address as Address$1, Hex, PublicClient, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
|
|
@@ -165,9 +165,7 @@ interface SocialProvider {
|
|
|
165
165
|
id: string;
|
|
166
166
|
name: string;
|
|
167
167
|
enabled: boolean;
|
|
168
|
-
icon: react__default.
|
|
169
|
-
className?: string;
|
|
170
|
-
}>;
|
|
168
|
+
icon: react__default.FC<react__default.SVGProps<SVGSVGElement>>;
|
|
171
169
|
comingSoon?: boolean;
|
|
172
170
|
meta?: Record<string, any>;
|
|
173
171
|
}
|
|
@@ -1570,55 +1568,6 @@ interface UseLogoutReturn {
|
|
|
1570
1568
|
*/
|
|
1571
1569
|
declare function useLogout(): UseLogoutReturn;
|
|
1572
1570
|
|
|
1573
|
-
/**
|
|
1574
|
-
* Nickname fingerprint verification utilities
|
|
1575
|
-
* Implements client-side verification per FRD spec
|
|
1576
|
-
*
|
|
1577
|
-
* IMPORTANT: Client MUST NOT trust server blindly.
|
|
1578
|
-
* Always verify fingerprint locally before displaying to user.
|
|
1579
|
-
*/
|
|
1580
|
-
/**
|
|
1581
|
-
* Generate fingerprint from owner address
|
|
1582
|
-
* Must match backend algorithm exactly
|
|
1583
|
-
*
|
|
1584
|
-
* Algorithm:
|
|
1585
|
-
* 1. Normalize address to checksum format
|
|
1586
|
-
* 2. Compute keccak256 hash
|
|
1587
|
-
* 3. Take first 5 bytes (40 bits)
|
|
1588
|
-
* 4. Encode using Base32 alphabet
|
|
1589
|
-
* 5. Format as XXXX-XXXX
|
|
1590
|
-
*
|
|
1591
|
-
* @param ownerAddress - The EOA owner address
|
|
1592
|
-
* @returns Fingerprint in format "XXXX-XXXX"
|
|
1593
|
-
*/
|
|
1594
|
-
declare function generateFingerprint(ownerAddress: string): string;
|
|
1595
|
-
/**
|
|
1596
|
-
* Verify that received fingerprint matches computed fingerprint
|
|
1597
|
-
*
|
|
1598
|
-
* @param ownerAddress - The owner address from API response
|
|
1599
|
-
* @param receivedFingerprint - The fingerprint from API response
|
|
1600
|
-
* @returns true if fingerprint is valid, false if verification failed
|
|
1601
|
-
*/
|
|
1602
|
-
declare function verifyFingerprint(ownerAddress: string, receivedFingerprint: string): boolean;
|
|
1603
|
-
/**
|
|
1604
|
-
* Fingerprint verification result
|
|
1605
|
-
*/
|
|
1606
|
-
interface FingerprintVerificationResult {
|
|
1607
|
-
isValid: boolean;
|
|
1608
|
-
computedFingerprint: string | null;
|
|
1609
|
-
receivedFingerprint: string | null;
|
|
1610
|
-
error?: string;
|
|
1611
|
-
}
|
|
1612
|
-
/**
|
|
1613
|
-
* Verify fingerprint with detailed result
|
|
1614
|
-
* Use this for UI display of verification status
|
|
1615
|
-
*
|
|
1616
|
-
* @param ownerAddress - The owner address from API response
|
|
1617
|
-
* @param receivedFingerprint - The fingerprint from API response
|
|
1618
|
-
* @returns Detailed verification result
|
|
1619
|
-
*/
|
|
1620
|
-
declare function verifyFingerprintDetailed(ownerAddress: string | null, receivedFingerprint: string | null): FingerprintVerificationResult;
|
|
1621
|
-
|
|
1622
1571
|
/**
|
|
1623
1572
|
* Nickname API types
|
|
1624
1573
|
* Types for nickname-related API responses and requests
|
|
@@ -1701,6 +1650,55 @@ interface NicknameValidationResult {
|
|
|
1701
1650
|
}
|
|
1702
1651
|
type NicknameValidationError = 'TOO_SHORT' | 'TOO_LONG' | 'INVALID_CHARS' | 'INVALID_UNDERSCORE';
|
|
1703
1652
|
|
|
1653
|
+
/**
|
|
1654
|
+
* Nickname fingerprint verification utilities
|
|
1655
|
+
* Implements client-side verification per FRD spec
|
|
1656
|
+
*
|
|
1657
|
+
* IMPORTANT: Client MUST NOT trust server blindly.
|
|
1658
|
+
* Always verify fingerprint locally before displaying to user.
|
|
1659
|
+
*/
|
|
1660
|
+
/**
|
|
1661
|
+
* Generate fingerprint from owner address
|
|
1662
|
+
* Must match backend algorithm exactly
|
|
1663
|
+
*
|
|
1664
|
+
* Algorithm:
|
|
1665
|
+
* 1. Normalize address to checksum format
|
|
1666
|
+
* 2. Compute keccak256 hash
|
|
1667
|
+
* 3. Take first 5 bytes (40 bits)
|
|
1668
|
+
* 4. Encode using Base32 alphabet
|
|
1669
|
+
* 5. Format as XXXX-XXXX
|
|
1670
|
+
*
|
|
1671
|
+
* @param ownerAddress - The EOA owner address
|
|
1672
|
+
* @returns Fingerprint in format "XXXX-XXXX"
|
|
1673
|
+
*/
|
|
1674
|
+
declare function generateFingerprint(ownerAddress: string): string;
|
|
1675
|
+
/**
|
|
1676
|
+
* Verify that received fingerprint matches computed fingerprint
|
|
1677
|
+
*
|
|
1678
|
+
* @param ownerAddress - The owner address from API response
|
|
1679
|
+
* @param receivedFingerprint - The fingerprint from API response
|
|
1680
|
+
* @returns true if fingerprint is valid, false if verification failed
|
|
1681
|
+
*/
|
|
1682
|
+
declare function verifyFingerprint(ownerAddress: string, receivedFingerprint: string): boolean;
|
|
1683
|
+
/**
|
|
1684
|
+
* Fingerprint verification result
|
|
1685
|
+
*/
|
|
1686
|
+
interface FingerprintVerificationResult {
|
|
1687
|
+
isValid: boolean;
|
|
1688
|
+
computedFingerprint: string | null;
|
|
1689
|
+
receivedFingerprint: string | null;
|
|
1690
|
+
error?: string;
|
|
1691
|
+
}
|
|
1692
|
+
/**
|
|
1693
|
+
* Verify fingerprint with detailed result
|
|
1694
|
+
* Use this for UI display of verification status
|
|
1695
|
+
*
|
|
1696
|
+
* @param ownerAddress - The owner address from API response
|
|
1697
|
+
* @param receivedFingerprint - The fingerprint from API response
|
|
1698
|
+
* @returns Detailed verification result
|
|
1699
|
+
*/
|
|
1700
|
+
declare function verifyFingerprintDetailed(ownerAddress: string | null, receivedFingerprint: string | null): FingerprintVerificationResult;
|
|
1701
|
+
|
|
1704
1702
|
/**
|
|
1705
1703
|
* useNicknameResolve hook
|
|
1706
1704
|
* Public hook for resolving nicknames to wallet addresses with verification
|
|
@@ -1827,9 +1825,7 @@ declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResul
|
|
|
1827
1825
|
|
|
1828
1826
|
interface LinkedProfileDisplay extends AuthProvider {
|
|
1829
1827
|
displayName: string;
|
|
1830
|
-
icon?:
|
|
1831
|
-
className?: string;
|
|
1832
|
-
}>;
|
|
1828
|
+
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
1833
1829
|
color?: string;
|
|
1834
1830
|
}
|
|
1835
1831
|
declare function useLinkedProfiles(): {
|
|
@@ -2236,6 +2232,15 @@ declare function useSmartAccountTransactions(): {
|
|
|
2236
2232
|
}>;
|
|
2237
2233
|
};
|
|
2238
2234
|
|
|
2235
|
+
declare const NETWORKS_ICONS: Record<number, FC<SVGProps<SVGSVGElement>>>;
|
|
2236
|
+
|
|
2237
|
+
declare const TOKENS_ICONS: Record<string, FC<SVGProps<SVGSVGElement>>>;
|
|
2238
|
+
|
|
2239
|
+
declare const WALLET_ICONS: Record<'default' | string, FC<SVGProps<SVGSVGElement>>>;
|
|
2240
|
+
|
|
2241
|
+
/** Tokens WRAPPED by the protocol */
|
|
2242
|
+
declare const WRAPPED_TOKENS: string[];
|
|
2243
|
+
|
|
2239
2244
|
/**
|
|
2240
2245
|
* Passport translations object.
|
|
2241
2246
|
* Note: For use in combineI18NResources, translations are imported directly
|
|
@@ -3267,4 +3272,4 @@ declare function getLanguageIcon(languageKey: string): string | null;
|
|
|
3267
3272
|
|
|
3268
3273
|
declare const USER_PROFILE_QUERY_KEY: string;
|
|
3269
3274
|
|
|
3270
|
-
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, 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, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_PROFILE_QUERY_KEY, 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, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };
|
|
3275
|
+
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, NETWORKS_ICONS, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, TOKENS_ICONS, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_PROFILE_QUERY_KEY, 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, WALLET_ICONS, WRAPPED_TOKENS, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BatchOperation as BatchOperation$1 } from '@embarkai/core';
|
|
2
2
|
export { wagmiConfig } from '@embarkai/core';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes } from 'react';
|
|
4
|
+
import react__default, { ReactNode, RefObject, FC, HTMLAttributes, ButtonHTMLAttributes, SVGProps } from 'react';
|
|
5
5
|
import { BlockscoutTokenBalance } from '@embarkai/core/clients';
|
|
6
6
|
import * as viem from 'viem';
|
|
7
7
|
import { Address as Address$1, Hex, PublicClient, Chain, Hash as Hash$1, TransactionReceipt } from 'viem';
|
|
@@ -165,9 +165,7 @@ interface SocialProvider {
|
|
|
165
165
|
id: string;
|
|
166
166
|
name: string;
|
|
167
167
|
enabled: boolean;
|
|
168
|
-
icon: react__default.
|
|
169
|
-
className?: string;
|
|
170
|
-
}>;
|
|
168
|
+
icon: react__default.FC<react__default.SVGProps<SVGSVGElement>>;
|
|
171
169
|
comingSoon?: boolean;
|
|
172
170
|
meta?: Record<string, any>;
|
|
173
171
|
}
|
|
@@ -1570,55 +1568,6 @@ interface UseLogoutReturn {
|
|
|
1570
1568
|
*/
|
|
1571
1569
|
declare function useLogout(): UseLogoutReturn;
|
|
1572
1570
|
|
|
1573
|
-
/**
|
|
1574
|
-
* Nickname fingerprint verification utilities
|
|
1575
|
-
* Implements client-side verification per FRD spec
|
|
1576
|
-
*
|
|
1577
|
-
* IMPORTANT: Client MUST NOT trust server blindly.
|
|
1578
|
-
* Always verify fingerprint locally before displaying to user.
|
|
1579
|
-
*/
|
|
1580
|
-
/**
|
|
1581
|
-
* Generate fingerprint from owner address
|
|
1582
|
-
* Must match backend algorithm exactly
|
|
1583
|
-
*
|
|
1584
|
-
* Algorithm:
|
|
1585
|
-
* 1. Normalize address to checksum format
|
|
1586
|
-
* 2. Compute keccak256 hash
|
|
1587
|
-
* 3. Take first 5 bytes (40 bits)
|
|
1588
|
-
* 4. Encode using Base32 alphabet
|
|
1589
|
-
* 5. Format as XXXX-XXXX
|
|
1590
|
-
*
|
|
1591
|
-
* @param ownerAddress - The EOA owner address
|
|
1592
|
-
* @returns Fingerprint in format "XXXX-XXXX"
|
|
1593
|
-
*/
|
|
1594
|
-
declare function generateFingerprint(ownerAddress: string): string;
|
|
1595
|
-
/**
|
|
1596
|
-
* Verify that received fingerprint matches computed fingerprint
|
|
1597
|
-
*
|
|
1598
|
-
* @param ownerAddress - The owner address from API response
|
|
1599
|
-
* @param receivedFingerprint - The fingerprint from API response
|
|
1600
|
-
* @returns true if fingerprint is valid, false if verification failed
|
|
1601
|
-
*/
|
|
1602
|
-
declare function verifyFingerprint(ownerAddress: string, receivedFingerprint: string): boolean;
|
|
1603
|
-
/**
|
|
1604
|
-
* Fingerprint verification result
|
|
1605
|
-
*/
|
|
1606
|
-
interface FingerprintVerificationResult {
|
|
1607
|
-
isValid: boolean;
|
|
1608
|
-
computedFingerprint: string | null;
|
|
1609
|
-
receivedFingerprint: string | null;
|
|
1610
|
-
error?: string;
|
|
1611
|
-
}
|
|
1612
|
-
/**
|
|
1613
|
-
* Verify fingerprint with detailed result
|
|
1614
|
-
* Use this for UI display of verification status
|
|
1615
|
-
*
|
|
1616
|
-
* @param ownerAddress - The owner address from API response
|
|
1617
|
-
* @param receivedFingerprint - The fingerprint from API response
|
|
1618
|
-
* @returns Detailed verification result
|
|
1619
|
-
*/
|
|
1620
|
-
declare function verifyFingerprintDetailed(ownerAddress: string | null, receivedFingerprint: string | null): FingerprintVerificationResult;
|
|
1621
|
-
|
|
1622
1571
|
/**
|
|
1623
1572
|
* Nickname API types
|
|
1624
1573
|
* Types for nickname-related API responses and requests
|
|
@@ -1701,6 +1650,55 @@ interface NicknameValidationResult {
|
|
|
1701
1650
|
}
|
|
1702
1651
|
type NicknameValidationError = 'TOO_SHORT' | 'TOO_LONG' | 'INVALID_CHARS' | 'INVALID_UNDERSCORE';
|
|
1703
1652
|
|
|
1653
|
+
/**
|
|
1654
|
+
* Nickname fingerprint verification utilities
|
|
1655
|
+
* Implements client-side verification per FRD spec
|
|
1656
|
+
*
|
|
1657
|
+
* IMPORTANT: Client MUST NOT trust server blindly.
|
|
1658
|
+
* Always verify fingerprint locally before displaying to user.
|
|
1659
|
+
*/
|
|
1660
|
+
/**
|
|
1661
|
+
* Generate fingerprint from owner address
|
|
1662
|
+
* Must match backend algorithm exactly
|
|
1663
|
+
*
|
|
1664
|
+
* Algorithm:
|
|
1665
|
+
* 1. Normalize address to checksum format
|
|
1666
|
+
* 2. Compute keccak256 hash
|
|
1667
|
+
* 3. Take first 5 bytes (40 bits)
|
|
1668
|
+
* 4. Encode using Base32 alphabet
|
|
1669
|
+
* 5. Format as XXXX-XXXX
|
|
1670
|
+
*
|
|
1671
|
+
* @param ownerAddress - The EOA owner address
|
|
1672
|
+
* @returns Fingerprint in format "XXXX-XXXX"
|
|
1673
|
+
*/
|
|
1674
|
+
declare function generateFingerprint(ownerAddress: string): string;
|
|
1675
|
+
/**
|
|
1676
|
+
* Verify that received fingerprint matches computed fingerprint
|
|
1677
|
+
*
|
|
1678
|
+
* @param ownerAddress - The owner address from API response
|
|
1679
|
+
* @param receivedFingerprint - The fingerprint from API response
|
|
1680
|
+
* @returns true if fingerprint is valid, false if verification failed
|
|
1681
|
+
*/
|
|
1682
|
+
declare function verifyFingerprint(ownerAddress: string, receivedFingerprint: string): boolean;
|
|
1683
|
+
/**
|
|
1684
|
+
* Fingerprint verification result
|
|
1685
|
+
*/
|
|
1686
|
+
interface FingerprintVerificationResult {
|
|
1687
|
+
isValid: boolean;
|
|
1688
|
+
computedFingerprint: string | null;
|
|
1689
|
+
receivedFingerprint: string | null;
|
|
1690
|
+
error?: string;
|
|
1691
|
+
}
|
|
1692
|
+
/**
|
|
1693
|
+
* Verify fingerprint with detailed result
|
|
1694
|
+
* Use this for UI display of verification status
|
|
1695
|
+
*
|
|
1696
|
+
* @param ownerAddress - The owner address from API response
|
|
1697
|
+
* @param receivedFingerprint - The fingerprint from API response
|
|
1698
|
+
* @returns Detailed verification result
|
|
1699
|
+
*/
|
|
1700
|
+
declare function verifyFingerprintDetailed(ownerAddress: string | null, receivedFingerprint: string | null): FingerprintVerificationResult;
|
|
1701
|
+
|
|
1704
1702
|
/**
|
|
1705
1703
|
* useNicknameResolve hook
|
|
1706
1704
|
* Public hook for resolving nicknames to wallet addresses with verification
|
|
@@ -1827,9 +1825,7 @@ declare function useKeyshareRecoveryStats(): _tanstack_react_query.UseQueryResul
|
|
|
1827
1825
|
|
|
1828
1826
|
interface LinkedProfileDisplay extends AuthProvider {
|
|
1829
1827
|
displayName: string;
|
|
1830
|
-
icon?:
|
|
1831
|
-
className?: string;
|
|
1832
|
-
}>;
|
|
1828
|
+
icon?: FC<SVGProps<SVGSVGElement>>;
|
|
1833
1829
|
color?: string;
|
|
1834
1830
|
}
|
|
1835
1831
|
declare function useLinkedProfiles(): {
|
|
@@ -2236,6 +2232,15 @@ declare function useSmartAccountTransactions(): {
|
|
|
2236
2232
|
}>;
|
|
2237
2233
|
};
|
|
2238
2234
|
|
|
2235
|
+
declare const NETWORKS_ICONS: Record<number, FC<SVGProps<SVGSVGElement>>>;
|
|
2236
|
+
|
|
2237
|
+
declare const TOKENS_ICONS: Record<string, FC<SVGProps<SVGSVGElement>>>;
|
|
2238
|
+
|
|
2239
|
+
declare const WALLET_ICONS: Record<'default' | string, FC<SVGProps<SVGSVGElement>>>;
|
|
2240
|
+
|
|
2241
|
+
/** Tokens WRAPPED by the protocol */
|
|
2242
|
+
declare const WRAPPED_TOKENS: string[];
|
|
2243
|
+
|
|
2239
2244
|
/**
|
|
2240
2245
|
* Passport translations object.
|
|
2241
2246
|
* Note: For use in combineI18NResources, translations are imported directly
|
|
@@ -3267,4 +3272,4 @@ declare function getLanguageIcon(languageKey: string): string | null;
|
|
|
3267
3272
|
|
|
3268
3273
|
declare const USER_PROFILE_QUERY_KEY: string;
|
|
3269
3274
|
|
|
3270
|
-
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, 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, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_PROFILE_QUERY_KEY, 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, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };
|
|
3275
|
+
export { AccountAbstractionError, type AccountSession, Address, type AddressProps, type Asset, type BatchOperation, type CallbacksConfig, ConnectWalletButton, type ConnectWalletButtonProps, type DirectTransactionParams, ErrorCodes, type FingerprintVerificationResult, Hash, type HashProps, KeyshareBackupMenu as KeyshareBackup, LOCAL_STORAGE_I18N_KEY, LangToggle, NETWORKS_ICONS, type NicknameAvailability, type NicknameAvatar, type NicknameChangeResult, type NicknameInfo, type NicknameResolution, type NicknameResolveRequest, type NicknameResolvedTarget, type NicknameValidationResult, PASSPORT_TRANSLATIONS, PageKey, type PageOpenParams, type PrepareBatchUserOperationParams, Provider, type ProviderConfig, type ProviderDetail, type ProviderProps, type RegisterSmartAccountResult, type SendBatchUserOperationParams, type SendTransactionParams, type SendTransactionResult, type SignTypedDataParams, type SmartAccountEntry, TOKENS_ICONS, ThemeToggle, type TokenBalance, type Transaction, TransactionsList, type TransferToLinkedParams, type TypedDataDomain, type TypedDataField, USER_PROFILE_QUERY_KEY, 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, WALLET_ICONS, WRAPPED_TOKENS, type WaitForReceiptOptions, type WalletMode, type WalletReadyStatus, type WatchToken, combineI18NResources, createAccountAbstractionError, deployAccount, destroyIframeManager, generateFingerprint, getAllSmartAccounts, getAvailableLanguages, getExplorerUrl, getIframeManager, getLanguageIcon, getShareRecoveryStats, getSmartAccountForChain, getUserOperationByHash, getUserOperationReceipt, getUserProfile, looksLikeNickname, prepareBatchUserOperation, prepareUserOperation, requireActiveChainId, sendBatchUserOperation, sendUserOperation, signTypedData, updateUserProfile, useAccountSession, useActiveChainId, useAddress, useAssets, useBalance, useBlockscoutAssets, useColorMode, useConnectedApps, useDirectWallet, useErc3643Compliance, useError, useHasServerVault, useHydrated, useIFrameReady, useIsMobileView, useKeyshareRecoveryStats, useLinkedProfiles, useLoadingStatus, useLogout, useNativeWalletSignature, useNicknameResolve, useOpenPage, useProviderConfig, useRecoveryUserId, useSendDirectTransaction, useSendTransaction, useSession, useSmartAccountTransactions, useTokenBalance, useTokenInfo, useTransactions, useTransferToLinkedWallet, useUserOpStatus, useWalletMode, verifyFingerprint, verifyFingerprintDetailed, waitForStoreHydration, waitForUserOperationReceipt };
|