@vechain/vechain-kit 1.5.7 → 1.5.8
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/README.md +59 -138
- package/dist/{Constants-CUrs_fy0.d.cts → Constants-aAc8EZtG.d.cts} +9 -1
- package/dist/{Constants-CUrs_fy0.d.ts → Constants-aAc8EZtG.d.ts} +9 -1
- package/dist/assets/index.cjs +26 -22
- package/dist/assets/index.d.cts +40 -34
- package/dist/assets/index.d.ts +40 -34
- package/dist/assets/index.js +1 -1
- package/dist/{chunk-DYI6ON4O.js → chunk-3CI2FPCB.js} +56 -8
- package/dist/chunk-3CI2FPCB.js.map +1 -0
- package/dist/{chunk-RUIC653T.cjs → chunk-5YN7CZ5H.cjs} +27 -9
- package/dist/chunk-5YN7CZ5H.cjs.map +1 -0
- package/dist/{chunk-FID67WC3.cjs → chunk-A4NZ5AVL.cjs} +56 -7
- package/dist/chunk-A4NZ5AVL.cjs.map +1 -0
- package/dist/{chunk-EUQRNI5E.js → chunk-USAHFGIQ.js} +24 -7
- package/dist/chunk-USAHFGIQ.js.map +1 -0
- package/dist/index.cjs +848 -586
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +41 -9
- package/dist/index.d.ts +41 -9
- package/dist/index.js +654 -395
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/utils/index.cjs +35 -31
- package/dist/utils/index.d.cts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-DYI6ON4O.js.map +0 -1
- package/dist/chunk-EUQRNI5E.js.map +0 -1
- package/dist/chunk-FID67WC3.cjs.map +0 -1
- package/dist/chunk-RUIC653T.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { ReactNode, ReactElement, ElementType } from 'react';
|
|
4
4
|
import { WalletListEntry, SignTypedDataParams, User } from '@privy-io/react-auth';
|
|
5
5
|
export { useMfaEnrollment, usePrivy, useSetWalletRecovery } from '@privy-io/react-auth';
|
|
6
|
-
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, C as ConnectionSource, e as ENSRecords, f as NFTMediaType, g as CrossAppConnectionCache } from './Constants-
|
|
7
|
-
export { i as ExecuteBatchWithAuthorizationSignData, h as ExecuteWithAuthorizationSignData } from './Constants-
|
|
6
|
+
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, C as ConnectionSource, e as ENSRecords, f as NFTMediaType, g as CrossAppConnectionCache } from './Constants-aAc8EZtG.cjs';
|
|
7
|
+
export { i as ExecuteBatchWithAuthorizationSignData, h as ExecuteWithAuthorizationSignData } from './Constants-aAc8EZtG.cjs';
|
|
8
8
|
import { WalletSource, LogLevel } from '@vechain/dapp-kit';
|
|
9
9
|
import { WalletConnectOptions } from '@vechain/dapp-kit-react';
|
|
10
10
|
export { WalletButton as DAppKitWalletButton, useConnex, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from '@vechain/dapp-kit-react';
|
|
@@ -15,7 +15,7 @@ import * as _tanstack_query_core from '@tanstack/query-core';
|
|
|
15
15
|
import { z } from 'zod';
|
|
16
16
|
import { ThorClient } from '@vechain/sdk-network';
|
|
17
17
|
import { Options } from 'browser-image-compression';
|
|
18
|
-
import { ButtonProps, StackProps, IconButtonProps, PropsOf, VStack, ImageProps, ThemeTypings } from '@chakra-ui/react';
|
|
18
|
+
import { ButtonProps, StackProps, IconButtonProps, PropsOf, VStack, ImageProps, CardProps, CardBodyProps, CardFooterProps, ThemeTypings } from '@chakra-ui/react';
|
|
19
19
|
import { Interface } from 'ethers';
|
|
20
20
|
import { IconType } from 'react-icons';
|
|
21
21
|
|
|
@@ -2064,7 +2064,22 @@ declare const useGetVeDelegateBalance: (address?: string) => _tanstack_react_que
|
|
|
2064
2064
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
2065
2065
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
2066
2066
|
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query.UseQueryResult<{
|
|
2067
|
-
[k: string]:
|
|
2067
|
+
[k: string]: {
|
|
2068
|
+
website: string | undefined;
|
|
2069
|
+
id: string;
|
|
2070
|
+
name: string;
|
|
2071
|
+
logo_url: string;
|
|
2072
|
+
icon_url: string | null;
|
|
2073
|
+
terms_and_conditions_url: string;
|
|
2074
|
+
privacy_policy_url: string;
|
|
2075
|
+
theme: string;
|
|
2076
|
+
accent_color: string;
|
|
2077
|
+
wallet_auth: boolean;
|
|
2078
|
+
email_auth: boolean;
|
|
2079
|
+
google_oauth: boolean;
|
|
2080
|
+
twitter_oauth: boolean;
|
|
2081
|
+
url: string;
|
|
2082
|
+
};
|
|
2068
2083
|
}, Error>;
|
|
2069
2084
|
|
|
2070
2085
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
@@ -2166,7 +2181,7 @@ declare const getAvatarQueryKey: (name: string) => string[];
|
|
|
2166
2181
|
* @param name - The VET domain name
|
|
2167
2182
|
* @returns The resolved avatar URL
|
|
2168
2183
|
*/
|
|
2169
|
-
declare const useGetAvatar: (name
|
|
2184
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query.UseQueryResult<string | null, Error>;
|
|
2170
2185
|
|
|
2171
2186
|
/**
|
|
2172
2187
|
* Get text records for a VET domain from the contract
|
|
@@ -2285,6 +2300,15 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
2285
2300
|
*/
|
|
2286
2301
|
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query.UseQueryResult<string, Error>;
|
|
2287
2302
|
|
|
2303
|
+
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
2304
|
+
/**
|
|
2305
|
+
* Hook to fetch the avatar for an address by first getting their domains
|
|
2306
|
+
* and then fetching the avatar for the first domain found
|
|
2307
|
+
* @param address The owner's address
|
|
2308
|
+
* @returns The avatar URL for the address's primary domain
|
|
2309
|
+
*/
|
|
2310
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query.UseQueryResult<string, Error>;
|
|
2311
|
+
|
|
2288
2312
|
type UseBalancesProps = {
|
|
2289
2313
|
address?: string;
|
|
2290
2314
|
};
|
|
@@ -2353,13 +2377,13 @@ declare const useAccountBalance: (address?: string) => _tanstack_react_query.Use
|
|
|
2353
2377
|
energy: string;
|
|
2354
2378
|
}, Error>;
|
|
2355
2379
|
|
|
2356
|
-
declare const useRefreshMetadata: (domain: string) => {
|
|
2380
|
+
declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
2357
2381
|
refresh: () => Promise<void>;
|
|
2358
2382
|
};
|
|
2359
2383
|
|
|
2360
2384
|
declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) => {
|
|
2361
2385
|
domain: string | undefined;
|
|
2362
|
-
image: string;
|
|
2386
|
+
image: string | undefined;
|
|
2363
2387
|
records: ENSRecords;
|
|
2364
2388
|
isLoading: boolean;
|
|
2365
2389
|
};
|
|
@@ -3244,6 +3268,8 @@ declare const ExchangeWarningAlert: () => react_jsx_runtime.JSX.Element;
|
|
|
3244
3268
|
|
|
3245
3269
|
declare const DomainRequiredAlert: () => react_jsx_runtime.JSX.Element;
|
|
3246
3270
|
|
|
3271
|
+
declare const CrossAppConnectionSecurityCard: () => react_jsx_runtime.JSX.Element;
|
|
3272
|
+
|
|
3247
3273
|
type Props$9 = {
|
|
3248
3274
|
children: ReactNode;
|
|
3249
3275
|
};
|
|
@@ -3385,8 +3411,13 @@ type ProfileCardProps = {
|
|
|
3385
3411
|
showDescription?: boolean;
|
|
3386
3412
|
showDisplayName?: boolean;
|
|
3387
3413
|
showEdit?: boolean;
|
|
3414
|
+
style?: {
|
|
3415
|
+
card?: CardProps;
|
|
3416
|
+
body?: CardBodyProps;
|
|
3417
|
+
footer?: CardFooterProps;
|
|
3418
|
+
};
|
|
3388
3419
|
};
|
|
3389
|
-
declare const ProfileCard: ({ onEditClick, address, showHeader, onLogout, showLinks, showDescription, showDisplayName, showEdit, }: ProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
3420
|
+
declare const ProfileCard: ({ onEditClick, address, showHeader, onLogout, showLinks, showDescription, showDisplayName, showEdit, style, }: ProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
3390
3421
|
|
|
3391
3422
|
type SuccessfulOperationContentProps = {
|
|
3392
3423
|
setCurrentContent: React.Dispatch<React.SetStateAction<UpgradeSmartAccountModalContentsTypes>>;
|
|
@@ -3588,9 +3619,10 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
3588
3619
|
name: string;
|
|
3589
3620
|
logoUrl?: string;
|
|
3590
3621
|
appId: string;
|
|
3622
|
+
website?: string;
|
|
3591
3623
|
}) => void;
|
|
3592
3624
|
getConnectionCache: () => CrossAppConnectionCache | null;
|
|
3593
3625
|
clearConnectionCache: () => void;
|
|
3594
3626
|
};
|
|
3595
3627
|
|
|
3596
|
-
export { APP_SECURITY_LEVELS, AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationRoundWithState, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsContent, type AssetsContentProps, AssetsSection, BalanceSection, BaseModal, BridgeContent, ChooseNameContent, type ChooseNameContentProps, ChooseNameModalProvider, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, ConnectPopover, ConnectionButton, ConnectionSource, CrossAppConnectionCache, type CustomTokenInfo, CustomizationContent, CustomizationSummaryContent, type CustomizationSummaryContentProps, DappKitButton, type Domain, DomainRequiredAlert, type DomainsResponse, ENSRecords, ENS_TEXT_RECORDS, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EnhancedClause, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type IpfsImage, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, type ManageCustomTokenContentProps, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, ProfileCard, type ProfileCardProps, ProfileContent, type ProfileContentProps, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, type RoundCreated, type RoundReward, RoundState, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, type SettingsContentProps, ShareButtons, SmartAccount, type SmartAccountReturnType, SocialIcons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TextRecords, type TokenBalance, type TokenWithBalance, TransactionButtonAndStatus, type TransactionButtonAndStatusProps, TransactionModal, TransactionModalContent, type TransactionModalProps, TransactionModalProvider, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, UpgradeSmartAccountContent, type UpgradeSmartAccountContentProps, UpgradeSmartAccountModal, type UpgradeSmartAccountModalContentsTypes, UpgradeSmartAccountModalProvider, type UpgradeSmartAccountModalStyle, type UploadedImage, type UseCallParams, type UseSendTransactionReturnValue, type UseWalletReturnType, type UserNode, type UserXNode, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VePassportUserStatus, type VechainKitProviderProps, VechainKitThemeProvider, VersionFooter, Wallet, WalletButton, type WalletButtonProps, type WalletDisplayVariant, WalletModalProvider, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, compressImages, currentBlockQueryKey, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersion, getAccountVersionQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAllocationsRoundState, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getAvatar, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDelegateeQueryKey, getDelegatorQueryKey, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasV1SmartAccount, getHasV1SmartAccountQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDeployed, getIsDeployedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getResolverAddress, getResolverAddressQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getTextRecords, getTextRecordsQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenInfo, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, getUpgradeRequired, getUpgradeRequiredForAccount, getUpgradeRequiredForAccountQueryKey, getUpgradeRequiredQueryKey, getUserBotSignalsQueryKey, getUserNodesQueryKey, getUserRoundScoreQueryKey, getUserVotesInRound, getUserVotesInRoundQueryKey, getUserXNodes, getUserXNodesQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVechainDomainQueryKey, getVersion, getVersionQueryKey, getVot3Balance, getVot3BalanceQueryKey, getVotesInRoundQueryKey, getXAppMetadata, getXAppMetadataQueryKey, getXAppRoundEarnings, getXAppRoundEarningsQueryKey, getXAppTotalEarningsClauses, getXAppTotalEarningsQueryKey, getXAppVotes, getXAppVotesQf, getXAppVotesQfQueryKey, getXAppVotesQueryKey, getXApps, getXAppsMetadataBaseUri, getXAppsMetadataBaseUriQueryKey, getXAppsQueryKey, getXAppsSharesQueryKey, imageCompressionOptions, pollForReceipt, useAccessAndSecurityModal, useAccountBalance, useAccountCustomizationModal, useAccountImplementationAddress, useAccountLinking, useAccountModal, useAllocationAmount, useAllocationsRound, useAllocationsRoundState, useAllocationsRoundsEvents, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useConnectModal, useCrossAppConnectionCache, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGMBaseUri, useGMbalance, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDelegatee, useGetDelegator, useGetDomainsOfAddress, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginModalContent, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshMetadata, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage, useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUpdateTextRecord, useUpgradeRequired, useUpgradeRequiredForAccount, useUpgradeSmartAccount, useUpgradeSmartAccountModal, useUploadImages, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletMetadata, useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|
|
3628
|
+
export { APP_SECURITY_LEVELS, AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationRoundWithState, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsContent, type AssetsContentProps, AssetsSection, BalanceSection, BaseModal, BridgeContent, ChooseNameContent, type ChooseNameContentProps, ChooseNameModalProvider, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, ConnectPopover, ConnectionButton, ConnectionSource, CrossAppConnectionCache, CrossAppConnectionSecurityCard, type CustomTokenInfo, CustomizationContent, CustomizationSummaryContent, type CustomizationSummaryContentProps, DappKitButton, type Domain, DomainRequiredAlert, type DomainsResponse, ENSRecords, ENS_TEXT_RECORDS, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EnhancedClause, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type IpfsImage, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, type ManageCustomTokenContentProps, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, ProfileCard, type ProfileCardProps, ProfileContent, type ProfileContentProps, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, type RoundCreated, type RoundReward, RoundState, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, type SettingsContentProps, ShareButtons, SmartAccount, type SmartAccountReturnType, SocialIcons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TextRecords, type TokenBalance, type TokenWithBalance, TransactionButtonAndStatus, type TransactionButtonAndStatusProps, TransactionModal, TransactionModalContent, type TransactionModalProps, TransactionModalProvider, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, UpgradeSmartAccountContent, type UpgradeSmartAccountContentProps, UpgradeSmartAccountModal, type UpgradeSmartAccountModalContentsTypes, UpgradeSmartAccountModalProvider, type UpgradeSmartAccountModalStyle, type UploadedImage, type UseCallParams, type UseSendTransactionReturnValue, type UseWalletReturnType, type UserNode, type UserXNode, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VePassportUserStatus, type VechainKitProviderProps, VechainKitThemeProvider, VersionFooter, Wallet, WalletButton, type WalletButtonProps, type WalletDisplayVariant, WalletModalProvider, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, compressImages, currentBlockQueryKey, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersion, getAccountVersionQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAllocationsRoundState, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getAvatar, getAvatarOfAddressQueryKey, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDelegateeQueryKey, getDelegatorQueryKey, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasV1SmartAccount, getHasV1SmartAccountQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDeployed, getIsDeployedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getResolverAddress, getResolverAddressQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getTextRecords, getTextRecordsQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenInfo, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, getUpgradeRequired, getUpgradeRequiredForAccount, getUpgradeRequiredForAccountQueryKey, getUpgradeRequiredQueryKey, getUserBotSignalsQueryKey, getUserNodesQueryKey, getUserRoundScoreQueryKey, getUserVotesInRound, getUserVotesInRoundQueryKey, getUserXNodes, getUserXNodesQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVechainDomainQueryKey, getVersion, getVersionQueryKey, getVot3Balance, getVot3BalanceQueryKey, getVotesInRoundQueryKey, getXAppMetadata, getXAppMetadataQueryKey, getXAppRoundEarnings, getXAppRoundEarningsQueryKey, getXAppTotalEarningsClauses, getXAppTotalEarningsQueryKey, getXAppVotes, getXAppVotesQf, getXAppVotesQfQueryKey, getXAppVotesQueryKey, getXApps, getXAppsMetadataBaseUri, getXAppsMetadataBaseUriQueryKey, getXAppsQueryKey, getXAppsSharesQueryKey, imageCompressionOptions, pollForReceipt, useAccessAndSecurityModal, useAccountBalance, useAccountCustomizationModal, useAccountImplementationAddress, useAccountLinking, useAccountModal, useAllocationAmount, useAllocationsRound, useAllocationsRoundState, useAllocationsRoundsEvents, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useConnectModal, useCrossAppConnectionCache, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGMBaseUri, useGMbalance, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetAvatarOfAddress, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDelegatee, useGetDelegator, useGetDomainsOfAddress, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginModalContent, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshMetadata, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage, useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUpdateTextRecord, useUpgradeRequired, useUpgradeRequiredForAccount, useUpgradeSmartAccount, useUpgradeSmartAccountModal, useUploadImages, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletMetadata, useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { ReactNode, ReactElement, ElementType } from 'react';
|
|
4
4
|
import { WalletListEntry, SignTypedDataParams, User } from '@privy-io/react-auth';
|
|
5
5
|
export { useMfaEnrollment, usePrivy, useSetWalletRecovery } from '@privy-io/react-auth';
|
|
6
|
-
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, C as ConnectionSource, e as ENSRecords, f as NFTMediaType, g as CrossAppConnectionCache } from './Constants-
|
|
7
|
-
export { i as ExecuteBatchWithAuthorizationSignData, h as ExecuteWithAuthorizationSignData } from './Constants-
|
|
6
|
+
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, C as ConnectionSource, e as ENSRecords, f as NFTMediaType, g as CrossAppConnectionCache } from './Constants-aAc8EZtG.js';
|
|
7
|
+
export { i as ExecuteBatchWithAuthorizationSignData, h as ExecuteWithAuthorizationSignData } from './Constants-aAc8EZtG.js';
|
|
8
8
|
import { WalletSource, LogLevel } from '@vechain/dapp-kit';
|
|
9
9
|
import { WalletConnectOptions } from '@vechain/dapp-kit-react';
|
|
10
10
|
export { WalletButton as DAppKitWalletButton, useConnex, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from '@vechain/dapp-kit-react';
|
|
@@ -15,7 +15,7 @@ import * as _tanstack_query_core from '@tanstack/query-core';
|
|
|
15
15
|
import { z } from 'zod';
|
|
16
16
|
import { ThorClient } from '@vechain/sdk-network';
|
|
17
17
|
import { Options } from 'browser-image-compression';
|
|
18
|
-
import { ButtonProps, StackProps, IconButtonProps, PropsOf, VStack, ImageProps, ThemeTypings } from '@chakra-ui/react';
|
|
18
|
+
import { ButtonProps, StackProps, IconButtonProps, PropsOf, VStack, ImageProps, CardProps, CardBodyProps, CardFooterProps, ThemeTypings } from '@chakra-ui/react';
|
|
19
19
|
import { Interface } from 'ethers';
|
|
20
20
|
import { IconType } from 'react-icons';
|
|
21
21
|
|
|
@@ -2064,7 +2064,22 @@ declare const useGetVeDelegateBalance: (address?: string) => _tanstack_react_que
|
|
|
2064
2064
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
2065
2065
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
2066
2066
|
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query.UseQueryResult<{
|
|
2067
|
-
[k: string]:
|
|
2067
|
+
[k: string]: {
|
|
2068
|
+
website: string | undefined;
|
|
2069
|
+
id: string;
|
|
2070
|
+
name: string;
|
|
2071
|
+
logo_url: string;
|
|
2072
|
+
icon_url: string | null;
|
|
2073
|
+
terms_and_conditions_url: string;
|
|
2074
|
+
privacy_policy_url: string;
|
|
2075
|
+
theme: string;
|
|
2076
|
+
accent_color: string;
|
|
2077
|
+
wallet_auth: boolean;
|
|
2078
|
+
email_auth: boolean;
|
|
2079
|
+
google_oauth: boolean;
|
|
2080
|
+
twitter_oauth: boolean;
|
|
2081
|
+
url: string;
|
|
2082
|
+
};
|
|
2068
2083
|
}, Error>;
|
|
2069
2084
|
|
|
2070
2085
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
@@ -2166,7 +2181,7 @@ declare const getAvatarQueryKey: (name: string) => string[];
|
|
|
2166
2181
|
* @param name - The VET domain name
|
|
2167
2182
|
* @returns The resolved avatar URL
|
|
2168
2183
|
*/
|
|
2169
|
-
declare const useGetAvatar: (name
|
|
2184
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query.UseQueryResult<string | null, Error>;
|
|
2170
2185
|
|
|
2171
2186
|
/**
|
|
2172
2187
|
* Get text records for a VET domain from the contract
|
|
@@ -2285,6 +2300,15 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
2285
2300
|
*/
|
|
2286
2301
|
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query.UseQueryResult<string, Error>;
|
|
2287
2302
|
|
|
2303
|
+
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
2304
|
+
/**
|
|
2305
|
+
* Hook to fetch the avatar for an address by first getting their domains
|
|
2306
|
+
* and then fetching the avatar for the first domain found
|
|
2307
|
+
* @param address The owner's address
|
|
2308
|
+
* @returns The avatar URL for the address's primary domain
|
|
2309
|
+
*/
|
|
2310
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query.UseQueryResult<string, Error>;
|
|
2311
|
+
|
|
2288
2312
|
type UseBalancesProps = {
|
|
2289
2313
|
address?: string;
|
|
2290
2314
|
};
|
|
@@ -2353,13 +2377,13 @@ declare const useAccountBalance: (address?: string) => _tanstack_react_query.Use
|
|
|
2353
2377
|
energy: string;
|
|
2354
2378
|
}, Error>;
|
|
2355
2379
|
|
|
2356
|
-
declare const useRefreshMetadata: (domain: string) => {
|
|
2380
|
+
declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
2357
2381
|
refresh: () => Promise<void>;
|
|
2358
2382
|
};
|
|
2359
2383
|
|
|
2360
2384
|
declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) => {
|
|
2361
2385
|
domain: string | undefined;
|
|
2362
|
-
image: string;
|
|
2386
|
+
image: string | undefined;
|
|
2363
2387
|
records: ENSRecords;
|
|
2364
2388
|
isLoading: boolean;
|
|
2365
2389
|
};
|
|
@@ -3244,6 +3268,8 @@ declare const ExchangeWarningAlert: () => react_jsx_runtime.JSX.Element;
|
|
|
3244
3268
|
|
|
3245
3269
|
declare const DomainRequiredAlert: () => react_jsx_runtime.JSX.Element;
|
|
3246
3270
|
|
|
3271
|
+
declare const CrossAppConnectionSecurityCard: () => react_jsx_runtime.JSX.Element;
|
|
3272
|
+
|
|
3247
3273
|
type Props$9 = {
|
|
3248
3274
|
children: ReactNode;
|
|
3249
3275
|
};
|
|
@@ -3385,8 +3411,13 @@ type ProfileCardProps = {
|
|
|
3385
3411
|
showDescription?: boolean;
|
|
3386
3412
|
showDisplayName?: boolean;
|
|
3387
3413
|
showEdit?: boolean;
|
|
3414
|
+
style?: {
|
|
3415
|
+
card?: CardProps;
|
|
3416
|
+
body?: CardBodyProps;
|
|
3417
|
+
footer?: CardFooterProps;
|
|
3418
|
+
};
|
|
3388
3419
|
};
|
|
3389
|
-
declare const ProfileCard: ({ onEditClick, address, showHeader, onLogout, showLinks, showDescription, showDisplayName, showEdit, }: ProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
3420
|
+
declare const ProfileCard: ({ onEditClick, address, showHeader, onLogout, showLinks, showDescription, showDisplayName, showEdit, style, }: ProfileCardProps) => react_jsx_runtime.JSX.Element;
|
|
3390
3421
|
|
|
3391
3422
|
type SuccessfulOperationContentProps = {
|
|
3392
3423
|
setCurrentContent: React.Dispatch<React.SetStateAction<UpgradeSmartAccountModalContentsTypes>>;
|
|
@@ -3588,9 +3619,10 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
3588
3619
|
name: string;
|
|
3589
3620
|
logoUrl?: string;
|
|
3590
3621
|
appId: string;
|
|
3622
|
+
website?: string;
|
|
3591
3623
|
}) => void;
|
|
3592
3624
|
getConnectionCache: () => CrossAppConnectionCache | null;
|
|
3593
3625
|
clearConnectionCache: () => void;
|
|
3594
3626
|
};
|
|
3595
3627
|
|
|
3596
|
-
export { APP_SECURITY_LEVELS, AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationRoundWithState, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsContent, type AssetsContentProps, AssetsSection, BalanceSection, BaseModal, BridgeContent, ChooseNameContent, type ChooseNameContentProps, ChooseNameModalProvider, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, ConnectPopover, ConnectionButton, ConnectionSource, CrossAppConnectionCache, type CustomTokenInfo, CustomizationContent, CustomizationSummaryContent, type CustomizationSummaryContentProps, DappKitButton, type Domain, DomainRequiredAlert, type DomainsResponse, ENSRecords, ENS_TEXT_RECORDS, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EnhancedClause, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type IpfsImage, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, type ManageCustomTokenContentProps, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, ProfileCard, type ProfileCardProps, ProfileContent, type ProfileContentProps, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, type RoundCreated, type RoundReward, RoundState, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, type SettingsContentProps, ShareButtons, SmartAccount, type SmartAccountReturnType, SocialIcons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TextRecords, type TokenBalance, type TokenWithBalance, TransactionButtonAndStatus, type TransactionButtonAndStatusProps, TransactionModal, TransactionModalContent, type TransactionModalProps, TransactionModalProvider, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, UpgradeSmartAccountContent, type UpgradeSmartAccountContentProps, UpgradeSmartAccountModal, type UpgradeSmartAccountModalContentsTypes, UpgradeSmartAccountModalProvider, type UpgradeSmartAccountModalStyle, type UploadedImage, type UseCallParams, type UseSendTransactionReturnValue, type UseWalletReturnType, type UserNode, type UserXNode, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VePassportUserStatus, type VechainKitProviderProps, VechainKitThemeProvider, VersionFooter, Wallet, WalletButton, type WalletButtonProps, type WalletDisplayVariant, WalletModalProvider, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, compressImages, currentBlockQueryKey, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersion, getAccountVersionQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAllocationsRoundState, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getAvatar, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDelegateeQueryKey, getDelegatorQueryKey, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasV1SmartAccount, getHasV1SmartAccountQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDeployed, getIsDeployedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getResolverAddress, getResolverAddressQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getTextRecords, getTextRecordsQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenInfo, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, getUpgradeRequired, getUpgradeRequiredForAccount, getUpgradeRequiredForAccountQueryKey, getUpgradeRequiredQueryKey, getUserBotSignalsQueryKey, getUserNodesQueryKey, getUserRoundScoreQueryKey, getUserVotesInRound, getUserVotesInRoundQueryKey, getUserXNodes, getUserXNodesQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVechainDomainQueryKey, getVersion, getVersionQueryKey, getVot3Balance, getVot3BalanceQueryKey, getVotesInRoundQueryKey, getXAppMetadata, getXAppMetadataQueryKey, getXAppRoundEarnings, getXAppRoundEarningsQueryKey, getXAppTotalEarningsClauses, getXAppTotalEarningsQueryKey, getXAppVotes, getXAppVotesQf, getXAppVotesQfQueryKey, getXAppVotesQueryKey, getXApps, getXAppsMetadataBaseUri, getXAppsMetadataBaseUriQueryKey, getXAppsQueryKey, getXAppsSharesQueryKey, imageCompressionOptions, pollForReceipt, useAccessAndSecurityModal, useAccountBalance, useAccountCustomizationModal, useAccountImplementationAddress, useAccountLinking, useAccountModal, useAllocationAmount, useAllocationsRound, useAllocationsRoundState, useAllocationsRoundsEvents, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useConnectModal, useCrossAppConnectionCache, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGMBaseUri, useGMbalance, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDelegatee, useGetDelegator, useGetDomainsOfAddress, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginModalContent, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshMetadata, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage, useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUpdateTextRecord, useUpgradeRequired, useUpgradeRequiredForAccount, useUpgradeSmartAccount, useUpgradeSmartAccountModal, useUploadImages, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletMetadata, useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|
|
3628
|
+
export { APP_SECURITY_LEVELS, AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationRoundWithState, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsContent, type AssetsContentProps, AssetsSection, BalanceSection, BaseModal, BridgeContent, ChooseNameContent, type ChooseNameContentProps, ChooseNameModalProvider, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, ConnectPopover, ConnectionButton, ConnectionSource, CrossAppConnectionCache, CrossAppConnectionSecurityCard, type CustomTokenInfo, CustomizationContent, CustomizationSummaryContent, type CustomizationSummaryContentProps, DappKitButton, type Domain, DomainRequiredAlert, type DomainsResponse, ENSRecords, ENS_TEXT_RECORDS, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EnhancedClause, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type IpfsImage, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, type ManageCustomTokenContentProps, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, ProfileCard, type ProfileCardProps, ProfileContent, type ProfileContentProps, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, type RoundCreated, type RoundReward, RoundState, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, type SettingsContentProps, ShareButtons, SmartAccount, type SmartAccountReturnType, SocialIcons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TextRecords, type TokenBalance, type TokenWithBalance, TransactionButtonAndStatus, type TransactionButtonAndStatusProps, TransactionModal, TransactionModalContent, type TransactionModalProps, TransactionModalProvider, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, UpgradeSmartAccountContent, type UpgradeSmartAccountContentProps, UpgradeSmartAccountModal, type UpgradeSmartAccountModalContentsTypes, UpgradeSmartAccountModalProvider, type UpgradeSmartAccountModalStyle, type UploadedImage, type UseCallParams, type UseSendTransactionReturnValue, type UseWalletReturnType, type UserNode, type UserXNode, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VePassportUserStatus, type VechainKitProviderProps, VechainKitThemeProvider, VersionFooter, Wallet, WalletButton, type WalletButtonProps, type WalletDisplayVariant, WalletModalProvider, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, compressImages, currentBlockQueryKey, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersion, getAccountVersionQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAllocationsRoundState, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getAvatar, getAvatarOfAddressQueryKey, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDelegateeQueryKey, getDelegatorQueryKey, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasV1SmartAccount, getHasV1SmartAccountQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDeployed, getIsDeployedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getResolverAddress, getResolverAddressQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getTextRecords, getTextRecordsQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenInfo, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, getUpgradeRequired, getUpgradeRequiredForAccount, getUpgradeRequiredForAccountQueryKey, getUpgradeRequiredQueryKey, getUserBotSignalsQueryKey, getUserNodesQueryKey, getUserRoundScoreQueryKey, getUserVotesInRound, getUserVotesInRoundQueryKey, getUserXNodes, getUserXNodesQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVechainDomainQueryKey, getVersion, getVersionQueryKey, getVot3Balance, getVot3BalanceQueryKey, getVotesInRoundQueryKey, getXAppMetadata, getXAppMetadataQueryKey, getXAppRoundEarnings, getXAppRoundEarningsQueryKey, getXAppTotalEarningsClauses, getXAppTotalEarningsQueryKey, getXAppVotes, getXAppVotesQf, getXAppVotesQfQueryKey, getXAppVotesQueryKey, getXApps, getXAppsMetadataBaseUri, getXAppsMetadataBaseUriQueryKey, getXAppsQueryKey, getXAppsSharesQueryKey, imageCompressionOptions, pollForReceipt, useAccessAndSecurityModal, useAccountBalance, useAccountCustomizationModal, useAccountImplementationAddress, useAccountLinking, useAccountModal, useAllocationAmount, useAllocationsRound, useAllocationsRoundState, useAllocationsRoundsEvents, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useConnectModal, useCrossAppConnectionCache, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGMBaseUri, useGMbalance, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetAvatarOfAddress, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDelegatee, useGetDelegator, useGetDomainsOfAddress, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginModalContent, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshMetadata, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage, useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUpdateTextRecord, useUpgradeRequired, useUpgradeRequiredForAccount, useUpgradeSmartAccount, useUpgradeSmartAccountModal, useUploadImages, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletMetadata, useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|