@vechain/vechain-kit 1.2.1 → 1.2.3
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 +200 -117
- package/dist/{Constants-Q8PYUyoh.d.cts → Constants-Cu1LVhH4.d.cts} +1 -0
- package/dist/{Constants-Q8PYUyoh.d.ts → Constants-Cu1LVhH4.d.ts} +1 -0
- package/dist/index.cjs +241 -76
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +115 -59
- package/dist/index.d.ts +115 -59
- package/dist/index.js +230 -77
- 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.d.cts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { ReactElement, ReactNode, ElementType } from 'react';
|
|
4
4
|
import { WalletListEntry, SignTypedDataParams, User } from '@privy-io/react-auth';
|
|
5
5
|
export { usePrivy } from '@privy-io/react-auth';
|
|
6
|
-
import { P as PrivyAppInfo, T as TransactionProgress, a as TransactionStatusErrorType, W as Wallet, b as PrivyLoginMethod, N as NETWORK_TYPE, c as Network, d as NFTMediaType, e as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, S as SmartAccount, C as ConnectionSource, f as TransactionStatus, g as CrossAppConnectionCache } from './Constants-
|
|
7
|
-
export { h as ExecuteWithAuthorizationSignData } from './Constants-
|
|
6
|
+
import { P as PrivyAppInfo, T as TransactionProgress, a as TransactionStatusErrorType, W as Wallet, b as PrivyLoginMethod, N as NETWORK_TYPE, c as Network, d as NFTMediaType, e as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, S as SmartAccount, C as ConnectionSource, f as TransactionStatus, g as CrossAppConnectionCache } from './Constants-Cu1LVhH4.cjs';
|
|
7
|
+
export { h as ExecuteWithAuthorizationSignData } from './Constants-Cu1LVhH4.cjs';
|
|
8
8
|
import { WalletSource, LogLevel } from '@vechain/dapp-kit';
|
|
9
9
|
import { WalletConnectOptions } from '@vechain/dapp-kit-react';
|
|
10
10
|
export { useConnex } from '@vechain/dapp-kit-react';
|
|
@@ -128,10 +128,22 @@ type TransactionToastProps = {
|
|
|
128
128
|
declare const TransactionToast: ({ isOpen, onClose, status, txReceipt, error, resetStatus, progress, }: TransactionToastProps) => react_jsx_runtime.JSX.Element | null;
|
|
129
129
|
|
|
130
130
|
type Props$k = {
|
|
131
|
-
|
|
131
|
+
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
132
132
|
onClose: () => void;
|
|
133
|
+
wallet: Wallet;
|
|
134
|
+
};
|
|
135
|
+
declare const AccountMainContent: ({ setCurrentContent, wallet, onClose, }: Props$k) => react_jsx_runtime.JSX.Element;
|
|
136
|
+
|
|
137
|
+
type Props$j = {
|
|
138
|
+
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
139
|
+
};
|
|
140
|
+
declare const EmbeddedWalletContent: ({ setCurrentContent }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
141
|
+
|
|
142
|
+
type Props$i = {
|
|
143
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
144
|
+
onLogoutSuccess: () => void;
|
|
133
145
|
};
|
|
134
|
-
declare const
|
|
146
|
+
declare const WalletSettingsContent: ({ setCurrentContent, onLogoutSuccess, }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
135
147
|
|
|
136
148
|
type Token$1 = {
|
|
137
149
|
symbol: string;
|
|
@@ -163,52 +175,6 @@ type SendTokenSummaryContentProps = {
|
|
|
163
175
|
};
|
|
164
176
|
declare const SendTokenSummaryContent: ({ setCurrentContent, toAddressOrDomain, resolvedDomain, resolvedAddress, amount, selectedToken, }: SendTokenSummaryContentProps) => react_jsx_runtime.JSX.Element;
|
|
165
177
|
|
|
166
|
-
type AccountModalContentTypes = 'main' | 'faq' | 'settings' | 'embedded-wallet' | 'receive-token' | 'swap-token' | 'connection-details' | 'choose-name' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | {
|
|
167
|
-
type: 'app-overview';
|
|
168
|
-
props: {
|
|
169
|
-
name: string;
|
|
170
|
-
image: string;
|
|
171
|
-
url: string;
|
|
172
|
-
description?: string;
|
|
173
|
-
};
|
|
174
|
-
} | {
|
|
175
|
-
type: 'send-token';
|
|
176
|
-
props: SendTokenContentProps;
|
|
177
|
-
} | {
|
|
178
|
-
type: 'send-token-summary';
|
|
179
|
-
props: SendTokenSummaryContentProps;
|
|
180
|
-
} | {
|
|
181
|
-
type: 'choose-name-search';
|
|
182
|
-
props: ChooseNameSearchContentProps;
|
|
183
|
-
} | {
|
|
184
|
-
type: 'choose-name-summary';
|
|
185
|
-
props: ChooseNameSummaryContentProps;
|
|
186
|
-
} | {
|
|
187
|
-
type: 'disconnect-confirm';
|
|
188
|
-
props: {
|
|
189
|
-
onDisconnect: () => void;
|
|
190
|
-
onBack: () => void;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
type Props$j = {
|
|
195
|
-
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
196
|
-
onClose: () => void;
|
|
197
|
-
wallet: Wallet;
|
|
198
|
-
};
|
|
199
|
-
declare const AccountMainContent: ({ setCurrentContent, wallet, onClose, }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
200
|
-
|
|
201
|
-
type Props$i = {
|
|
202
|
-
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
203
|
-
};
|
|
204
|
-
declare const EmbeddedWalletContent: ({ setCurrentContent }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
205
|
-
|
|
206
|
-
type Props$h = {
|
|
207
|
-
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
208
|
-
onLogoutSuccess: () => void;
|
|
209
|
-
};
|
|
210
|
-
declare const WalletSettingsContent: ({ setCurrentContent, onLogoutSuccess, }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
211
|
-
|
|
212
178
|
type Token = {
|
|
213
179
|
symbol: string;
|
|
214
180
|
balance: string;
|
|
@@ -216,22 +182,22 @@ type Token = {
|
|
|
216
182
|
numericBalance: number;
|
|
217
183
|
price: number;
|
|
218
184
|
};
|
|
219
|
-
type Props$
|
|
185
|
+
type Props$h = {
|
|
220
186
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
221
187
|
onSelectToken: (token: Token) => void;
|
|
222
188
|
onBack: () => void;
|
|
223
189
|
};
|
|
224
|
-
declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$
|
|
190
|
+
declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
225
191
|
|
|
226
|
-
type Props$
|
|
192
|
+
type Props$g = {
|
|
227
193
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
228
194
|
};
|
|
229
|
-
declare const ReceiveTokenContent: ({ setCurrentContent }: Props$
|
|
195
|
+
declare const ReceiveTokenContent: ({ setCurrentContent }: Props$g) => react_jsx_runtime.JSX.Element;
|
|
230
196
|
|
|
231
|
-
type Props$
|
|
197
|
+
type Props$f = {
|
|
232
198
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
233
199
|
};
|
|
234
|
-
declare const SwapTokenContent: ({ setCurrentContent }: Props$
|
|
200
|
+
declare const SwapTokenContent: ({ setCurrentContent }: Props$f) => react_jsx_runtime.JSX.Element;
|
|
235
201
|
|
|
236
202
|
type ChooseNameContentProps = {
|
|
237
203
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -251,10 +217,45 @@ type ChooseNameSummaryContentProps = {
|
|
|
251
217
|
};
|
|
252
218
|
declare const ChooseNameSummaryContent: ({ setCurrentContent, name, isOwnDomain, }: ChooseNameSummaryContentProps) => react_jsx_runtime.JSX.Element;
|
|
253
219
|
|
|
254
|
-
type Props$
|
|
220
|
+
type Props$e = {
|
|
255
221
|
onGoBack: () => void;
|
|
256
222
|
};
|
|
257
|
-
declare const FAQContent: ({ onGoBack }: Props$
|
|
223
|
+
declare const FAQContent: ({ onGoBack }: Props$e) => react_jsx_runtime.JSX.Element;
|
|
224
|
+
|
|
225
|
+
type AccountModalContentTypes = 'main' | 'faq' | 'settings' | 'embedded-wallet' | 'receive-token' | 'swap-token' | 'connection-details' | 'choose-name' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | {
|
|
226
|
+
type: 'app-overview';
|
|
227
|
+
props: {
|
|
228
|
+
name: string;
|
|
229
|
+
image: string;
|
|
230
|
+
url: string;
|
|
231
|
+
description?: string;
|
|
232
|
+
};
|
|
233
|
+
} | {
|
|
234
|
+
type: 'send-token';
|
|
235
|
+
props: SendTokenContentProps;
|
|
236
|
+
} | {
|
|
237
|
+
type: 'send-token-summary';
|
|
238
|
+
props: SendTokenSummaryContentProps;
|
|
239
|
+
} | {
|
|
240
|
+
type: 'choose-name-search';
|
|
241
|
+
props: ChooseNameSearchContentProps;
|
|
242
|
+
} | {
|
|
243
|
+
type: 'choose-name-summary';
|
|
244
|
+
props: ChooseNameSummaryContentProps;
|
|
245
|
+
} | {
|
|
246
|
+
type: 'disconnect-confirm';
|
|
247
|
+
props: {
|
|
248
|
+
onDisconnect: () => void;
|
|
249
|
+
onBack: () => void;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
type Props$d = {
|
|
254
|
+
isOpen: boolean;
|
|
255
|
+
onClose: () => void;
|
|
256
|
+
initialContent?: AccountModalContentTypes;
|
|
257
|
+
};
|
|
258
|
+
declare const AccountModal: ({ isOpen, onClose, initialContent, }: Props$d) => react_jsx_runtime.JSX.Element;
|
|
258
259
|
|
|
259
260
|
interface AccountDetailsButtonProps {
|
|
260
261
|
title: string;
|
|
@@ -491,6 +492,7 @@ type VeChainKitConfig = {
|
|
|
491
492
|
openAccountModal: () => void;
|
|
492
493
|
closeAccountModal: () => void;
|
|
493
494
|
isAccountModalOpen: boolean;
|
|
495
|
+
setAccountModalContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
494
496
|
openTransactionModal: () => void;
|
|
495
497
|
closeTransactionModal: () => void;
|
|
496
498
|
isTransactionModalOpen: boolean;
|
|
@@ -2317,6 +2319,60 @@ declare const WalletModalProvider: ({ children }: {
|
|
|
2317
2319
|
children: ReactNode;
|
|
2318
2320
|
}) => react_jsx_runtime.JSX.Element;
|
|
2319
2321
|
|
|
2322
|
+
declare const useChooseNameModal: () => {
|
|
2323
|
+
open: () => void;
|
|
2324
|
+
close: () => void;
|
|
2325
|
+
isOpen: boolean;
|
|
2326
|
+
};
|
|
2327
|
+
declare const ChooseNameModalProvider: ({ children, }: {
|
|
2328
|
+
children: ReactNode;
|
|
2329
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2330
|
+
|
|
2331
|
+
declare const useSendTokenModal: () => {
|
|
2332
|
+
open: () => void;
|
|
2333
|
+
close: () => void;
|
|
2334
|
+
isOpen: boolean;
|
|
2335
|
+
};
|
|
2336
|
+
declare const SendTokenModalProvider: ({ children, }: {
|
|
2337
|
+
children: ReactNode;
|
|
2338
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2339
|
+
|
|
2340
|
+
declare const useEmbeddedWalletSettingsModal: () => {
|
|
2341
|
+
open: () => void;
|
|
2342
|
+
close: () => void;
|
|
2343
|
+
isOpen: boolean;
|
|
2344
|
+
};
|
|
2345
|
+
declare const EmbeddedWalletSettingsModalProvider: ({ children, }: {
|
|
2346
|
+
children: ReactNode;
|
|
2347
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2348
|
+
|
|
2349
|
+
declare const useExploreEcosystemModal: () => {
|
|
2350
|
+
open: () => void;
|
|
2351
|
+
close: () => void;
|
|
2352
|
+
isOpen: boolean;
|
|
2353
|
+
};
|
|
2354
|
+
declare const ExploreEcosystemModalProvider: ({ children, }: {
|
|
2355
|
+
children: ReactNode;
|
|
2356
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2357
|
+
|
|
2358
|
+
declare const useNotificationsModal: () => {
|
|
2359
|
+
open: () => void;
|
|
2360
|
+
close: () => void;
|
|
2361
|
+
isOpen: boolean;
|
|
2362
|
+
};
|
|
2363
|
+
declare const NotificationsModalProvider: ({ children, }: {
|
|
2364
|
+
children: ReactNode;
|
|
2365
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2366
|
+
|
|
2367
|
+
declare const useFAQModal: () => {
|
|
2368
|
+
open: () => void;
|
|
2369
|
+
close: () => void;
|
|
2370
|
+
isOpen: boolean;
|
|
2371
|
+
};
|
|
2372
|
+
declare const FAQModalProvider: ({ children }: {
|
|
2373
|
+
children: ReactNode;
|
|
2374
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2375
|
+
|
|
2320
2376
|
/**
|
|
2321
2377
|
* Props for the {@link useSendTransaction} hook
|
|
2322
2378
|
* @param signerAccountAddress the signer account to use
|
|
@@ -2526,4 +2582,4 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
2526
2582
|
clearConnectionCache: () => void;
|
|
2527
2583
|
};
|
|
2528
2584
|
|
|
2529
|
-
export { APP_SECURITY_LEVELS, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsSection, BalanceSection, BaseModal, ChooseNameContent, type ChooseNameContentProps, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, type ConnectModalVariant, ConnectionButton, ConnectionSource, CrossAppConnectionCache, DappKitButton, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EnhancedClause, FAQContent, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type GetEventsProps, type IpfsImage, LoginLoadingModal, MAX_IMAGE_SIZE, MainContent, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, QuickActionsSection, ReceiveTokenContent, type RoundReward, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenSummaryContent, SmartAccount, type SmartAccountReturnType, SocialLoginButtons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TokenBalance, TransactionModal, type TransactionModalProps, TransactionModalProvider, TransactionProgress, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, 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, WalletSettingsContent, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, currentBlockQueryKey, fetchPrivyAppInfo, fetchVechainDomain, getAccountBalance, getAccountBalanceQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getDelegateeQueryKey, getDelegatorQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, 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, pollForReceipt, useAccountBalance, useAccountLinking, useAccountModal, useAllocationAmount, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useClaimVeWorldSubdomain, useConnectModal, useContractVersion, useCrossAppConnectionCache, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEnsRecordExists, useFeatureAnnouncement, useFetchAppInfo, useGMBaseUri, useGMbalance, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetDelegatee, useGetDelegator, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useRefreshBalances, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTransaction, useSignMessage, useSignTypedData, useSmartAccount, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|
|
2585
|
+
export { APP_SECURITY_LEVELS, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsSection, BalanceSection, BaseModal, ChooseNameContent, type ChooseNameContentProps, ChooseNameModalProvider, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, type ConnectModalVariant, ConnectionButton, ConnectionSource, CrossAppConnectionCache, DappKitButton, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EmbeddedWalletSettingsModalProvider, EnhancedClause, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type GetEventsProps, type IpfsImage, LoginLoadingModal, MAX_IMAGE_SIZE, MainContent, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, QuickActionsSection, ReceiveTokenContent, type RoundReward, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SmartAccount, type SmartAccountReturnType, SocialLoginButtons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TokenBalance, TransactionModal, type TransactionModalProps, TransactionModalProvider, TransactionProgress, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, 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, WalletSettingsContent, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, currentBlockQueryKey, fetchPrivyAppInfo, fetchVechainDomain, getAccountBalance, getAccountBalanceQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getDelegateeQueryKey, getDelegatorQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, 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, pollForReceipt, useAccountBalance, useAccountLinking, useAccountModal, useAllocationAmount, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useConnectModal, useContractVersion, useCrossAppConnectionCache, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEmbeddedWalletSettingsModal, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useGMBaseUri, useGMbalance, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetDelegatee, useGetDelegator, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useRefreshBalances, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage, useSignTypedData, useSmartAccount, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, 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, { ReactElement, ReactNode, ElementType } from 'react';
|
|
4
4
|
import { WalletListEntry, SignTypedDataParams, User } from '@privy-io/react-auth';
|
|
5
5
|
export { usePrivy } from '@privy-io/react-auth';
|
|
6
|
-
import { P as PrivyAppInfo, T as TransactionProgress, a as TransactionStatusErrorType, W as Wallet, b as PrivyLoginMethod, N as NETWORK_TYPE, c as Network, d as NFTMediaType, e as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, S as SmartAccount, C as ConnectionSource, f as TransactionStatus, g as CrossAppConnectionCache } from './Constants-
|
|
7
|
-
export { h as ExecuteWithAuthorizationSignData } from './Constants-
|
|
6
|
+
import { P as PrivyAppInfo, T as TransactionProgress, a as TransactionStatusErrorType, W as Wallet, b as PrivyLoginMethod, N as NETWORK_TYPE, c as Network, d as NFTMediaType, e as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, S as SmartAccount, C as ConnectionSource, f as TransactionStatus, g as CrossAppConnectionCache } from './Constants-Cu1LVhH4.js';
|
|
7
|
+
export { h as ExecuteWithAuthorizationSignData } from './Constants-Cu1LVhH4.js';
|
|
8
8
|
import { WalletSource, LogLevel } from '@vechain/dapp-kit';
|
|
9
9
|
import { WalletConnectOptions } from '@vechain/dapp-kit-react';
|
|
10
10
|
export { useConnex } from '@vechain/dapp-kit-react';
|
|
@@ -128,10 +128,22 @@ type TransactionToastProps = {
|
|
|
128
128
|
declare const TransactionToast: ({ isOpen, onClose, status, txReceipt, error, resetStatus, progress, }: TransactionToastProps) => react_jsx_runtime.JSX.Element | null;
|
|
129
129
|
|
|
130
130
|
type Props$k = {
|
|
131
|
-
|
|
131
|
+
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
132
132
|
onClose: () => void;
|
|
133
|
+
wallet: Wallet;
|
|
134
|
+
};
|
|
135
|
+
declare const AccountMainContent: ({ setCurrentContent, wallet, onClose, }: Props$k) => react_jsx_runtime.JSX.Element;
|
|
136
|
+
|
|
137
|
+
type Props$j = {
|
|
138
|
+
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
139
|
+
};
|
|
140
|
+
declare const EmbeddedWalletContent: ({ setCurrentContent }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
141
|
+
|
|
142
|
+
type Props$i = {
|
|
143
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
144
|
+
onLogoutSuccess: () => void;
|
|
133
145
|
};
|
|
134
|
-
declare const
|
|
146
|
+
declare const WalletSettingsContent: ({ setCurrentContent, onLogoutSuccess, }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
135
147
|
|
|
136
148
|
type Token$1 = {
|
|
137
149
|
symbol: string;
|
|
@@ -163,52 +175,6 @@ type SendTokenSummaryContentProps = {
|
|
|
163
175
|
};
|
|
164
176
|
declare const SendTokenSummaryContent: ({ setCurrentContent, toAddressOrDomain, resolvedDomain, resolvedAddress, amount, selectedToken, }: SendTokenSummaryContentProps) => react_jsx_runtime.JSX.Element;
|
|
165
177
|
|
|
166
|
-
type AccountModalContentTypes = 'main' | 'faq' | 'settings' | 'embedded-wallet' | 'receive-token' | 'swap-token' | 'connection-details' | 'choose-name' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | {
|
|
167
|
-
type: 'app-overview';
|
|
168
|
-
props: {
|
|
169
|
-
name: string;
|
|
170
|
-
image: string;
|
|
171
|
-
url: string;
|
|
172
|
-
description?: string;
|
|
173
|
-
};
|
|
174
|
-
} | {
|
|
175
|
-
type: 'send-token';
|
|
176
|
-
props: SendTokenContentProps;
|
|
177
|
-
} | {
|
|
178
|
-
type: 'send-token-summary';
|
|
179
|
-
props: SendTokenSummaryContentProps;
|
|
180
|
-
} | {
|
|
181
|
-
type: 'choose-name-search';
|
|
182
|
-
props: ChooseNameSearchContentProps;
|
|
183
|
-
} | {
|
|
184
|
-
type: 'choose-name-summary';
|
|
185
|
-
props: ChooseNameSummaryContentProps;
|
|
186
|
-
} | {
|
|
187
|
-
type: 'disconnect-confirm';
|
|
188
|
-
props: {
|
|
189
|
-
onDisconnect: () => void;
|
|
190
|
-
onBack: () => void;
|
|
191
|
-
};
|
|
192
|
-
};
|
|
193
|
-
|
|
194
|
-
type Props$j = {
|
|
195
|
-
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
196
|
-
onClose: () => void;
|
|
197
|
-
wallet: Wallet;
|
|
198
|
-
};
|
|
199
|
-
declare const AccountMainContent: ({ setCurrentContent, wallet, onClose, }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
200
|
-
|
|
201
|
-
type Props$i = {
|
|
202
|
-
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
203
|
-
};
|
|
204
|
-
declare const EmbeddedWalletContent: ({ setCurrentContent }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
205
|
-
|
|
206
|
-
type Props$h = {
|
|
207
|
-
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
208
|
-
onLogoutSuccess: () => void;
|
|
209
|
-
};
|
|
210
|
-
declare const WalletSettingsContent: ({ setCurrentContent, onLogoutSuccess, }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
211
|
-
|
|
212
178
|
type Token = {
|
|
213
179
|
symbol: string;
|
|
214
180
|
balance: string;
|
|
@@ -216,22 +182,22 @@ type Token = {
|
|
|
216
182
|
numericBalance: number;
|
|
217
183
|
price: number;
|
|
218
184
|
};
|
|
219
|
-
type Props$
|
|
185
|
+
type Props$h = {
|
|
220
186
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
221
187
|
onSelectToken: (token: Token) => void;
|
|
222
188
|
onBack: () => void;
|
|
223
189
|
};
|
|
224
|
-
declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$
|
|
190
|
+
declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
225
191
|
|
|
226
|
-
type Props$
|
|
192
|
+
type Props$g = {
|
|
227
193
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
228
194
|
};
|
|
229
|
-
declare const ReceiveTokenContent: ({ setCurrentContent }: Props$
|
|
195
|
+
declare const ReceiveTokenContent: ({ setCurrentContent }: Props$g) => react_jsx_runtime.JSX.Element;
|
|
230
196
|
|
|
231
|
-
type Props$
|
|
197
|
+
type Props$f = {
|
|
232
198
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
233
199
|
};
|
|
234
|
-
declare const SwapTokenContent: ({ setCurrentContent }: Props$
|
|
200
|
+
declare const SwapTokenContent: ({ setCurrentContent }: Props$f) => react_jsx_runtime.JSX.Element;
|
|
235
201
|
|
|
236
202
|
type ChooseNameContentProps = {
|
|
237
203
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -251,10 +217,45 @@ type ChooseNameSummaryContentProps = {
|
|
|
251
217
|
};
|
|
252
218
|
declare const ChooseNameSummaryContent: ({ setCurrentContent, name, isOwnDomain, }: ChooseNameSummaryContentProps) => react_jsx_runtime.JSX.Element;
|
|
253
219
|
|
|
254
|
-
type Props$
|
|
220
|
+
type Props$e = {
|
|
255
221
|
onGoBack: () => void;
|
|
256
222
|
};
|
|
257
|
-
declare const FAQContent: ({ onGoBack }: Props$
|
|
223
|
+
declare const FAQContent: ({ onGoBack }: Props$e) => react_jsx_runtime.JSX.Element;
|
|
224
|
+
|
|
225
|
+
type AccountModalContentTypes = 'main' | 'faq' | 'settings' | 'embedded-wallet' | 'receive-token' | 'swap-token' | 'connection-details' | 'choose-name' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | {
|
|
226
|
+
type: 'app-overview';
|
|
227
|
+
props: {
|
|
228
|
+
name: string;
|
|
229
|
+
image: string;
|
|
230
|
+
url: string;
|
|
231
|
+
description?: string;
|
|
232
|
+
};
|
|
233
|
+
} | {
|
|
234
|
+
type: 'send-token';
|
|
235
|
+
props: SendTokenContentProps;
|
|
236
|
+
} | {
|
|
237
|
+
type: 'send-token-summary';
|
|
238
|
+
props: SendTokenSummaryContentProps;
|
|
239
|
+
} | {
|
|
240
|
+
type: 'choose-name-search';
|
|
241
|
+
props: ChooseNameSearchContentProps;
|
|
242
|
+
} | {
|
|
243
|
+
type: 'choose-name-summary';
|
|
244
|
+
props: ChooseNameSummaryContentProps;
|
|
245
|
+
} | {
|
|
246
|
+
type: 'disconnect-confirm';
|
|
247
|
+
props: {
|
|
248
|
+
onDisconnect: () => void;
|
|
249
|
+
onBack: () => void;
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
type Props$d = {
|
|
254
|
+
isOpen: boolean;
|
|
255
|
+
onClose: () => void;
|
|
256
|
+
initialContent?: AccountModalContentTypes;
|
|
257
|
+
};
|
|
258
|
+
declare const AccountModal: ({ isOpen, onClose, initialContent, }: Props$d) => react_jsx_runtime.JSX.Element;
|
|
258
259
|
|
|
259
260
|
interface AccountDetailsButtonProps {
|
|
260
261
|
title: string;
|
|
@@ -491,6 +492,7 @@ type VeChainKitConfig = {
|
|
|
491
492
|
openAccountModal: () => void;
|
|
492
493
|
closeAccountModal: () => void;
|
|
493
494
|
isAccountModalOpen: boolean;
|
|
495
|
+
setAccountModalContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
494
496
|
openTransactionModal: () => void;
|
|
495
497
|
closeTransactionModal: () => void;
|
|
496
498
|
isTransactionModalOpen: boolean;
|
|
@@ -2317,6 +2319,60 @@ declare const WalletModalProvider: ({ children }: {
|
|
|
2317
2319
|
children: ReactNode;
|
|
2318
2320
|
}) => react_jsx_runtime.JSX.Element;
|
|
2319
2321
|
|
|
2322
|
+
declare const useChooseNameModal: () => {
|
|
2323
|
+
open: () => void;
|
|
2324
|
+
close: () => void;
|
|
2325
|
+
isOpen: boolean;
|
|
2326
|
+
};
|
|
2327
|
+
declare const ChooseNameModalProvider: ({ children, }: {
|
|
2328
|
+
children: ReactNode;
|
|
2329
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2330
|
+
|
|
2331
|
+
declare const useSendTokenModal: () => {
|
|
2332
|
+
open: () => void;
|
|
2333
|
+
close: () => void;
|
|
2334
|
+
isOpen: boolean;
|
|
2335
|
+
};
|
|
2336
|
+
declare const SendTokenModalProvider: ({ children, }: {
|
|
2337
|
+
children: ReactNode;
|
|
2338
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2339
|
+
|
|
2340
|
+
declare const useEmbeddedWalletSettingsModal: () => {
|
|
2341
|
+
open: () => void;
|
|
2342
|
+
close: () => void;
|
|
2343
|
+
isOpen: boolean;
|
|
2344
|
+
};
|
|
2345
|
+
declare const EmbeddedWalletSettingsModalProvider: ({ children, }: {
|
|
2346
|
+
children: ReactNode;
|
|
2347
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2348
|
+
|
|
2349
|
+
declare const useExploreEcosystemModal: () => {
|
|
2350
|
+
open: () => void;
|
|
2351
|
+
close: () => void;
|
|
2352
|
+
isOpen: boolean;
|
|
2353
|
+
};
|
|
2354
|
+
declare const ExploreEcosystemModalProvider: ({ children, }: {
|
|
2355
|
+
children: ReactNode;
|
|
2356
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2357
|
+
|
|
2358
|
+
declare const useNotificationsModal: () => {
|
|
2359
|
+
open: () => void;
|
|
2360
|
+
close: () => void;
|
|
2361
|
+
isOpen: boolean;
|
|
2362
|
+
};
|
|
2363
|
+
declare const NotificationsModalProvider: ({ children, }: {
|
|
2364
|
+
children: ReactNode;
|
|
2365
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2366
|
+
|
|
2367
|
+
declare const useFAQModal: () => {
|
|
2368
|
+
open: () => void;
|
|
2369
|
+
close: () => void;
|
|
2370
|
+
isOpen: boolean;
|
|
2371
|
+
};
|
|
2372
|
+
declare const FAQModalProvider: ({ children }: {
|
|
2373
|
+
children: ReactNode;
|
|
2374
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
2375
|
+
|
|
2320
2376
|
/**
|
|
2321
2377
|
* Props for the {@link useSendTransaction} hook
|
|
2322
2378
|
* @param signerAccountAddress the signer account to use
|
|
@@ -2526,4 +2582,4 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
2526
2582
|
clearConnectionCache: () => void;
|
|
2527
2583
|
};
|
|
2528
2584
|
|
|
2529
|
-
export { APP_SECURITY_LEVELS, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsSection, BalanceSection, BaseModal, ChooseNameContent, type ChooseNameContentProps, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, type ConnectModalVariant, ConnectionButton, ConnectionSource, CrossAppConnectionCache, DappKitButton, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EnhancedClause, FAQContent, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type GetEventsProps, type IpfsImage, LoginLoadingModal, MAX_IMAGE_SIZE, MainContent, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, QuickActionsSection, ReceiveTokenContent, type RoundReward, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenSummaryContent, SmartAccount, type SmartAccountReturnType, SocialLoginButtons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TokenBalance, TransactionModal, type TransactionModalProps, TransactionModalProvider, TransactionProgress, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, 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, WalletSettingsContent, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, currentBlockQueryKey, fetchPrivyAppInfo, fetchVechainDomain, getAccountBalance, getAccountBalanceQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getDelegateeQueryKey, getDelegatorQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, 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, pollForReceipt, useAccountBalance, useAccountLinking, useAccountModal, useAllocationAmount, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useClaimVeWorldSubdomain, useConnectModal, useContractVersion, useCrossAppConnectionCache, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEnsRecordExists, useFeatureAnnouncement, useFetchAppInfo, useGMBaseUri, useGMbalance, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetDelegatee, useGetDelegator, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useRefreshBalances, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTransaction, useSignMessage, useSignTypedData, useSmartAccount, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|
|
2585
|
+
export { APP_SECURITY_LEVELS, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsSection, BalanceSection, BaseModal, ChooseNameContent, type ChooseNameContentProps, ChooseNameModalProvider, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, type ConnectModalVariant, ConnectionButton, ConnectionSource, CrossAppConnectionCache, DappKitButton, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EmbeddedWalletSettingsModalProvider, EnhancedClause, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type GetEventsProps, type IpfsImage, LoginLoadingModal, MAX_IMAGE_SIZE, MainContent, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, QuickActionsSection, ReceiveTokenContent, type RoundReward, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SmartAccount, type SmartAccountReturnType, SocialLoginButtons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TokenBalance, TransactionModal, type TransactionModalProps, TransactionModalProvider, TransactionProgress, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, 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, WalletSettingsContent, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, currentBlockQueryKey, fetchPrivyAppInfo, fetchVechainDomain, getAccountBalance, getAccountBalanceQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getDelegateeQueryKey, getDelegatorQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, 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, pollForReceipt, useAccountBalance, useAccountLinking, useAccountModal, useAllocationAmount, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useConnectModal, useContractVersion, useCrossAppConnectionCache, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEmbeddedWalletSettingsModal, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useGMBaseUri, useGMbalance, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetDelegatee, useGetDelegator, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useRefreshBalances, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage, useSignTypedData, useSmartAccount, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|