@vechain/vechain-kit 1.5.4 → 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +340 -260
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -40
- package/dist/index.d.ts +49 -40
- package/dist/index.js +343 -263
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -15,8 +15,8 @@ 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
19
|
import { Interface } from 'ethers';
|
|
19
|
-
import { ButtonProps, StackProps, IconButtonProps, PropsOf, VStack, ImageProps } from '@chakra-ui/react';
|
|
20
20
|
import { IconType } from 'react-icons';
|
|
21
21
|
|
|
22
22
|
declare const ENS_TEXT_RECORDS: readonly ["display", "avatar", "description", "keywords", "email", "url", "header", "notice", "location", "phone", "com.x"];
|
|
@@ -38,6 +38,7 @@ type VechainKitProviderProps = {
|
|
|
38
38
|
clientId: string;
|
|
39
39
|
appearance: {
|
|
40
40
|
walletList?: WalletListEntry[];
|
|
41
|
+
accentColor?: `#${string}`;
|
|
41
42
|
loginMessage: string;
|
|
42
43
|
logo: string;
|
|
43
44
|
};
|
|
@@ -2840,42 +2841,6 @@ type LoginModalContentConfig = {
|
|
|
2840
2841
|
};
|
|
2841
2842
|
declare const useLoginModalContent: () => LoginModalContentConfig;
|
|
2842
2843
|
|
|
2843
|
-
declare const useUpgradeSmartAccountModal: () => {
|
|
2844
|
-
open: () => void;
|
|
2845
|
-
close: () => void;
|
|
2846
|
-
isOpen: boolean;
|
|
2847
|
-
};
|
|
2848
|
-
declare const UpgradeSmartAccountModalProvider: ({ children, }: {
|
|
2849
|
-
children: ReactNode;
|
|
2850
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2851
|
-
|
|
2852
|
-
type useTransferERC20Props = {
|
|
2853
|
-
fromAddress: string;
|
|
2854
|
-
receiverAddress: string;
|
|
2855
|
-
amount: string;
|
|
2856
|
-
tokenAddress: string;
|
|
2857
|
-
tokenName: string;
|
|
2858
|
-
onSuccess?: () => void;
|
|
2859
|
-
onSuccessMessageTitle?: number;
|
|
2860
|
-
onError?: () => void;
|
|
2861
|
-
};
|
|
2862
|
-
type useTransferERC20ReturnValue = {
|
|
2863
|
-
sendTransaction: () => Promise<void>;
|
|
2864
|
-
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
2865
|
-
declare const useTransferERC20: ({ fromAddress, receiverAddress, amount, tokenAddress, tokenName, onSuccess, onError, }: useTransferERC20Props) => useTransferERC20ReturnValue;
|
|
2866
|
-
|
|
2867
|
-
type useTransferVETProps = {
|
|
2868
|
-
fromAddress: string;
|
|
2869
|
-
receiverAddress: string;
|
|
2870
|
-
amount: string;
|
|
2871
|
-
onSuccess?: () => void;
|
|
2872
|
-
onError?: () => void;
|
|
2873
|
-
};
|
|
2874
|
-
type useTransferVETReturnValue = {
|
|
2875
|
-
sendTransaction: () => Promise<void>;
|
|
2876
|
-
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
2877
|
-
declare const useTransferVET: ({ fromAddress, receiverAddress, amount, onSuccess, onError, }: useTransferVETProps) => useTransferVETReturnValue;
|
|
2878
|
-
|
|
2879
2844
|
type Props$u = {
|
|
2880
2845
|
isOpen: boolean;
|
|
2881
2846
|
onClose: () => void;
|
|
@@ -3387,8 +3352,11 @@ type TransactionButtonAndStatusProps = {
|
|
|
3387
3352
|
isSubmitForm?: boolean;
|
|
3388
3353
|
buttonText: string;
|
|
3389
3354
|
isDisabled?: boolean;
|
|
3355
|
+
style?: {
|
|
3356
|
+
accentColor?: string;
|
|
3357
|
+
};
|
|
3390
3358
|
};
|
|
3391
|
-
declare const TransactionButtonAndStatus: ({ transactionError, isSubmitting, isTxWaitingConfirmation, onConfirm, transactionPendingText, txReceipt, isSubmitForm, buttonText, isDisabled, }: TransactionButtonAndStatusProps) => react_jsx_runtime.JSX.Element;
|
|
3359
|
+
declare const TransactionButtonAndStatus: ({ transactionError, isSubmitting, isTxWaitingConfirmation, onConfirm, transactionPendingText, txReceipt, isSubmitForm, buttonText, isDisabled, style, }: TransactionButtonAndStatusProps) => react_jsx_runtime.JSX.Element;
|
|
3392
3360
|
|
|
3393
3361
|
type LoginLoadingModalProps = {
|
|
3394
3362
|
isOpen: boolean;
|
|
@@ -3429,15 +3397,56 @@ type SuccessfulOperationContentProps = {
|
|
|
3429
3397
|
showSocialButtons?: boolean;
|
|
3430
3398
|
};
|
|
3431
3399
|
|
|
3400
|
+
type UpgradeSmartAccountModalStyle = {
|
|
3401
|
+
accentColor?: string;
|
|
3402
|
+
modalSize?: ThemeTypings['components']['Modal']['sizes'];
|
|
3403
|
+
};
|
|
3432
3404
|
type Props = {
|
|
3433
3405
|
isOpen: boolean;
|
|
3434
3406
|
onClose: () => void;
|
|
3407
|
+
style?: UpgradeSmartAccountModalStyle;
|
|
3435
3408
|
};
|
|
3436
3409
|
type UpgradeSmartAccountModalContentsTypes = 'upgrade-smart-account' | {
|
|
3437
3410
|
type: 'successful-operation';
|
|
3438
3411
|
props: SuccessfulOperationContentProps;
|
|
3439
3412
|
};
|
|
3440
|
-
declare const UpgradeSmartAccountModal: ({ isOpen, onClose }: Props) => react_jsx_runtime.JSX.Element;
|
|
3413
|
+
declare const UpgradeSmartAccountModal: ({ isOpen, onClose, style }: Props) => react_jsx_runtime.JSX.Element;
|
|
3414
|
+
|
|
3415
|
+
declare const useUpgradeSmartAccountModal: (style?: UpgradeSmartAccountModalStyle) => {
|
|
3416
|
+
open: () => void;
|
|
3417
|
+
close: () => void;
|
|
3418
|
+
isOpen: boolean;
|
|
3419
|
+
};
|
|
3420
|
+
declare const UpgradeSmartAccountModalProvider: ({ children, }: {
|
|
3421
|
+
children: ReactNode;
|
|
3422
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3423
|
+
|
|
3424
|
+
type useTransferERC20Props = {
|
|
3425
|
+
fromAddress: string;
|
|
3426
|
+
receiverAddress: string;
|
|
3427
|
+
amount: string;
|
|
3428
|
+
tokenAddress: string;
|
|
3429
|
+
tokenName: string;
|
|
3430
|
+
onSuccess?: () => void;
|
|
3431
|
+
onSuccessMessageTitle?: number;
|
|
3432
|
+
onError?: () => void;
|
|
3433
|
+
};
|
|
3434
|
+
type useTransferERC20ReturnValue = {
|
|
3435
|
+
sendTransaction: () => Promise<void>;
|
|
3436
|
+
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
3437
|
+
declare const useTransferERC20: ({ fromAddress, receiverAddress, amount, tokenAddress, tokenName, onSuccess, onError, }: useTransferERC20Props) => useTransferERC20ReturnValue;
|
|
3438
|
+
|
|
3439
|
+
type useTransferVETProps = {
|
|
3440
|
+
fromAddress: string;
|
|
3441
|
+
receiverAddress: string;
|
|
3442
|
+
amount: string;
|
|
3443
|
+
onSuccess?: () => void;
|
|
3444
|
+
onError?: () => void;
|
|
3445
|
+
};
|
|
3446
|
+
type useTransferVETReturnValue = {
|
|
3447
|
+
sendTransaction: () => Promise<void>;
|
|
3448
|
+
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
3449
|
+
declare const useTransferVET: ({ fromAddress, receiverAddress, amount, onSuccess, onError, }: useTransferVETProps) => useTransferVETReturnValue;
|
|
3441
3450
|
|
|
3442
3451
|
type NotificationAction = {
|
|
3443
3452
|
label: string;
|
|
@@ -3575,4 +3584,4 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
3575
3584
|
clearConnectionCache: () => void;
|
|
3576
3585
|
};
|
|
3577
3586
|
|
|
3578
|
-
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, 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 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, 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 };
|
|
3587
|
+
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, 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, 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
|
@@ -15,8 +15,8 @@ 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
19
|
import { Interface } from 'ethers';
|
|
19
|
-
import { ButtonProps, StackProps, IconButtonProps, PropsOf, VStack, ImageProps } from '@chakra-ui/react';
|
|
20
20
|
import { IconType } from 'react-icons';
|
|
21
21
|
|
|
22
22
|
declare const ENS_TEXT_RECORDS: readonly ["display", "avatar", "description", "keywords", "email", "url", "header", "notice", "location", "phone", "com.x"];
|
|
@@ -38,6 +38,7 @@ type VechainKitProviderProps = {
|
|
|
38
38
|
clientId: string;
|
|
39
39
|
appearance: {
|
|
40
40
|
walletList?: WalletListEntry[];
|
|
41
|
+
accentColor?: `#${string}`;
|
|
41
42
|
loginMessage: string;
|
|
42
43
|
logo: string;
|
|
43
44
|
};
|
|
@@ -2840,42 +2841,6 @@ type LoginModalContentConfig = {
|
|
|
2840
2841
|
};
|
|
2841
2842
|
declare const useLoginModalContent: () => LoginModalContentConfig;
|
|
2842
2843
|
|
|
2843
|
-
declare const useUpgradeSmartAccountModal: () => {
|
|
2844
|
-
open: () => void;
|
|
2845
|
-
close: () => void;
|
|
2846
|
-
isOpen: boolean;
|
|
2847
|
-
};
|
|
2848
|
-
declare const UpgradeSmartAccountModalProvider: ({ children, }: {
|
|
2849
|
-
children: ReactNode;
|
|
2850
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
2851
|
-
|
|
2852
|
-
type useTransferERC20Props = {
|
|
2853
|
-
fromAddress: string;
|
|
2854
|
-
receiverAddress: string;
|
|
2855
|
-
amount: string;
|
|
2856
|
-
tokenAddress: string;
|
|
2857
|
-
tokenName: string;
|
|
2858
|
-
onSuccess?: () => void;
|
|
2859
|
-
onSuccessMessageTitle?: number;
|
|
2860
|
-
onError?: () => void;
|
|
2861
|
-
};
|
|
2862
|
-
type useTransferERC20ReturnValue = {
|
|
2863
|
-
sendTransaction: () => Promise<void>;
|
|
2864
|
-
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
2865
|
-
declare const useTransferERC20: ({ fromAddress, receiverAddress, amount, tokenAddress, tokenName, onSuccess, onError, }: useTransferERC20Props) => useTransferERC20ReturnValue;
|
|
2866
|
-
|
|
2867
|
-
type useTransferVETProps = {
|
|
2868
|
-
fromAddress: string;
|
|
2869
|
-
receiverAddress: string;
|
|
2870
|
-
amount: string;
|
|
2871
|
-
onSuccess?: () => void;
|
|
2872
|
-
onError?: () => void;
|
|
2873
|
-
};
|
|
2874
|
-
type useTransferVETReturnValue = {
|
|
2875
|
-
sendTransaction: () => Promise<void>;
|
|
2876
|
-
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
2877
|
-
declare const useTransferVET: ({ fromAddress, receiverAddress, amount, onSuccess, onError, }: useTransferVETProps) => useTransferVETReturnValue;
|
|
2878
|
-
|
|
2879
2844
|
type Props$u = {
|
|
2880
2845
|
isOpen: boolean;
|
|
2881
2846
|
onClose: () => void;
|
|
@@ -3387,8 +3352,11 @@ type TransactionButtonAndStatusProps = {
|
|
|
3387
3352
|
isSubmitForm?: boolean;
|
|
3388
3353
|
buttonText: string;
|
|
3389
3354
|
isDisabled?: boolean;
|
|
3355
|
+
style?: {
|
|
3356
|
+
accentColor?: string;
|
|
3357
|
+
};
|
|
3390
3358
|
};
|
|
3391
|
-
declare const TransactionButtonAndStatus: ({ transactionError, isSubmitting, isTxWaitingConfirmation, onConfirm, transactionPendingText, txReceipt, isSubmitForm, buttonText, isDisabled, }: TransactionButtonAndStatusProps) => react_jsx_runtime.JSX.Element;
|
|
3359
|
+
declare const TransactionButtonAndStatus: ({ transactionError, isSubmitting, isTxWaitingConfirmation, onConfirm, transactionPendingText, txReceipt, isSubmitForm, buttonText, isDisabled, style, }: TransactionButtonAndStatusProps) => react_jsx_runtime.JSX.Element;
|
|
3392
3360
|
|
|
3393
3361
|
type LoginLoadingModalProps = {
|
|
3394
3362
|
isOpen: boolean;
|
|
@@ -3429,15 +3397,56 @@ type SuccessfulOperationContentProps = {
|
|
|
3429
3397
|
showSocialButtons?: boolean;
|
|
3430
3398
|
};
|
|
3431
3399
|
|
|
3400
|
+
type UpgradeSmartAccountModalStyle = {
|
|
3401
|
+
accentColor?: string;
|
|
3402
|
+
modalSize?: ThemeTypings['components']['Modal']['sizes'];
|
|
3403
|
+
};
|
|
3432
3404
|
type Props = {
|
|
3433
3405
|
isOpen: boolean;
|
|
3434
3406
|
onClose: () => void;
|
|
3407
|
+
style?: UpgradeSmartAccountModalStyle;
|
|
3435
3408
|
};
|
|
3436
3409
|
type UpgradeSmartAccountModalContentsTypes = 'upgrade-smart-account' | {
|
|
3437
3410
|
type: 'successful-operation';
|
|
3438
3411
|
props: SuccessfulOperationContentProps;
|
|
3439
3412
|
};
|
|
3440
|
-
declare const UpgradeSmartAccountModal: ({ isOpen, onClose }: Props) => react_jsx_runtime.JSX.Element;
|
|
3413
|
+
declare const UpgradeSmartAccountModal: ({ isOpen, onClose, style }: Props) => react_jsx_runtime.JSX.Element;
|
|
3414
|
+
|
|
3415
|
+
declare const useUpgradeSmartAccountModal: (style?: UpgradeSmartAccountModalStyle) => {
|
|
3416
|
+
open: () => void;
|
|
3417
|
+
close: () => void;
|
|
3418
|
+
isOpen: boolean;
|
|
3419
|
+
};
|
|
3420
|
+
declare const UpgradeSmartAccountModalProvider: ({ children, }: {
|
|
3421
|
+
children: ReactNode;
|
|
3422
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
3423
|
+
|
|
3424
|
+
type useTransferERC20Props = {
|
|
3425
|
+
fromAddress: string;
|
|
3426
|
+
receiverAddress: string;
|
|
3427
|
+
amount: string;
|
|
3428
|
+
tokenAddress: string;
|
|
3429
|
+
tokenName: string;
|
|
3430
|
+
onSuccess?: () => void;
|
|
3431
|
+
onSuccessMessageTitle?: number;
|
|
3432
|
+
onError?: () => void;
|
|
3433
|
+
};
|
|
3434
|
+
type useTransferERC20ReturnValue = {
|
|
3435
|
+
sendTransaction: () => Promise<void>;
|
|
3436
|
+
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
3437
|
+
declare const useTransferERC20: ({ fromAddress, receiverAddress, amount, tokenAddress, tokenName, onSuccess, onError, }: useTransferERC20Props) => useTransferERC20ReturnValue;
|
|
3438
|
+
|
|
3439
|
+
type useTransferVETProps = {
|
|
3440
|
+
fromAddress: string;
|
|
3441
|
+
receiverAddress: string;
|
|
3442
|
+
amount: string;
|
|
3443
|
+
onSuccess?: () => void;
|
|
3444
|
+
onError?: () => void;
|
|
3445
|
+
};
|
|
3446
|
+
type useTransferVETReturnValue = {
|
|
3447
|
+
sendTransaction: () => Promise<void>;
|
|
3448
|
+
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
3449
|
+
declare const useTransferVET: ({ fromAddress, receiverAddress, amount, onSuccess, onError, }: useTransferVETProps) => useTransferVETReturnValue;
|
|
3441
3450
|
|
|
3442
3451
|
type NotificationAction = {
|
|
3443
3452
|
label: string;
|
|
@@ -3575,4 +3584,4 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
3575
3584
|
clearConnectionCache: () => void;
|
|
3576
3585
|
};
|
|
3577
3586
|
|
|
3578
|
-
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, 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 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, 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 };
|
|
3587
|
+
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, 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, 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 };
|