@vechain/vechain-kit 1.6.1 → 1.7.0
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/{Constants-LR_GjzdJ.d.cts → Constants-CtdUgHbh.d.cts} +3 -1
- package/dist/{Constants-LR_GjzdJ.d.ts → Constants-CtdUgHbh.d.ts} +3 -1
- package/dist/{chunk-WJ5LYJZQ.js → chunk-M2BJB3OV.js} +4 -4
- package/dist/chunk-M2BJB3OV.js.map +1 -0
- package/dist/{chunk-IHFWUAH2.cjs → chunk-N7QRCWJ3.cjs} +4 -4
- package/dist/chunk-N7QRCWJ3.cjs.map +1 -0
- package/dist/index.cjs +2355 -1366
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +246 -87
- package/dist/index.d.ts +246 -87
- package/dist/index.js +2136 -1160
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/utils/index.cjs +36 -36
- package/dist/utils/index.d.cts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-IHFWUAH2.cjs.map +0 -1
- package/dist/chunk-WJ5LYJZQ.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { ReactNode, ReactElement, ElementType } from 'react';
|
|
4
4
|
import { WalletListEntry, SignTypedDataParams, User } from '@privy-io/react-auth';
|
|
5
5
|
export { useMfaEnrollment, usePrivy, useSetWalletRecovery } from '@privy-io/react-auth';
|
|
6
|
-
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount,
|
|
7
|
-
export {
|
|
6
|
+
import { P as PrivyLoginMethod, N as NETWORK_TYPE, C as CURRENCY, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, e as ConnectionSource, f as ENSRecords, g as NFTMediaType, h as CrossAppConnectionCache } from './Constants-CtdUgHbh.js';
|
|
7
|
+
export { k as CURRENCY_SYMBOLS, j as ExecuteBatchWithAuthorizationSignData, i as ExecuteWithAuthorizationSignData } from './Constants-CtdUgHbh.js';
|
|
8
8
|
import { WalletSource, LogLevel } from '@vechain/dapp-kit';
|
|
9
9
|
import { WalletConnectOptions } from '@vechain/dapp-kit-react';
|
|
10
10
|
export { WalletButton as DAppKitWalletButton, useConnex, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from '@vechain/dapp-kit-react';
|
|
@@ -80,6 +80,7 @@ type VechainKitProviderProps = {
|
|
|
80
80
|
};
|
|
81
81
|
};
|
|
82
82
|
allowCustomTokens?: boolean;
|
|
83
|
+
defaultCurrency?: CURRENCY;
|
|
83
84
|
};
|
|
84
85
|
type VeChainKitConfig = {
|
|
85
86
|
privy?: VechainKitProviderProps['privy'];
|
|
@@ -93,6 +94,7 @@ type VeChainKitConfig = {
|
|
|
93
94
|
language?: VechainKitProviderProps['language'];
|
|
94
95
|
network: VechainKitProviderProps['network'];
|
|
95
96
|
allowCustomTokens?: boolean;
|
|
97
|
+
defaultCurrency?: VechainKitProviderProps['defaultCurrency'];
|
|
96
98
|
};
|
|
97
99
|
/**
|
|
98
100
|
* Context to store the Privy and DAppKit configs so that they can be used by the hooks/components
|
|
@@ -142,11 +144,11 @@ declare const PrivyWalletProvider: ({ children, nodeUrl, delegatorUrl, delegateA
|
|
|
142
144
|
}) => react_jsx_runtime.JSX.Element;
|
|
143
145
|
declare const usePrivyWalletProvider: () => PrivyWalletProviderContextType;
|
|
144
146
|
|
|
145
|
-
type Props$
|
|
147
|
+
type Props$z = {
|
|
146
148
|
children: ReactNode;
|
|
147
149
|
darkMode?: boolean;
|
|
148
150
|
};
|
|
149
|
-
declare const VechainKitThemeProvider: ({ children, darkMode, }: Props$
|
|
151
|
+
declare const VechainKitThemeProvider: ({ children, darkMode, }: Props$z) => react_jsx_runtime.JSX.Element;
|
|
150
152
|
|
|
151
153
|
type AppConfig = {
|
|
152
154
|
ipfsFetchingService: string;
|
|
@@ -194,6 +196,8 @@ declare const PRICE_FEED_IDS: {
|
|
|
194
196
|
readonly B3TR: "0x623374722d757364000000000000000000000000000000000000000000000000";
|
|
195
197
|
readonly VET: "0x7665742d75736400000000000000000000000000000000000000000000000000";
|
|
196
198
|
readonly VTHO: "0x7674686f2d757364000000000000000000000000000000000000000000000000";
|
|
199
|
+
readonly GBP: "0x6762702d75736400000000000000000000000000000000000000000000000000";
|
|
200
|
+
readonly EUR: "0x657572742d757364000000000000000000000000000000000000000000000000";
|
|
197
201
|
};
|
|
198
202
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
199
203
|
declare const getTokenUsdPrice: (thor: Connex.Thor, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2364,29 +2368,76 @@ type useUnsetDomainReturnValue = {
|
|
|
2364
2368
|
*/
|
|
2365
2369
|
declare const useUnsetDomain: ({ onSuccess, onError, }: useUnsetDomainProps) => useUnsetDomainReturnValue;
|
|
2366
2370
|
|
|
2367
|
-
type
|
|
2371
|
+
type WalletTokenBalance = {
|
|
2372
|
+
address: string;
|
|
2373
|
+
symbol: string;
|
|
2374
|
+
balance: string;
|
|
2375
|
+
};
|
|
2376
|
+
type UseTokenBalancesProps = {
|
|
2368
2377
|
address?: string;
|
|
2369
2378
|
};
|
|
2370
|
-
declare const
|
|
2379
|
+
declare const useTokenBalances: ({ address }: UseTokenBalancesProps) => {
|
|
2380
|
+
balances: WalletTokenBalance[];
|
|
2371
2381
|
isLoading: boolean;
|
|
2372
|
-
|
|
2382
|
+
};
|
|
2383
|
+
|
|
2384
|
+
type ExchangeRates = {
|
|
2385
|
+
eurUsdPrice: number;
|
|
2386
|
+
gbpUsdPrice: number;
|
|
2387
|
+
};
|
|
2388
|
+
declare const useTokenPrices: () => {
|
|
2389
|
+
prices: {
|
|
2390
|
+
[x: string]: number;
|
|
2391
|
+
};
|
|
2392
|
+
exchangeRates: ExchangeRates;
|
|
2393
|
+
isLoading: boolean;
|
|
2394
|
+
};
|
|
2395
|
+
|
|
2396
|
+
type TokenWithValue = WalletTokenBalance & {
|
|
2397
|
+
priceUsd: number;
|
|
2398
|
+
valueUsd: number;
|
|
2399
|
+
valueInCurrency: number;
|
|
2400
|
+
};
|
|
2401
|
+
type UseTokensWithValuesProps = {
|
|
2402
|
+
address?: string;
|
|
2403
|
+
};
|
|
2404
|
+
declare const useTokensWithValues: ({ address, }: UseTokensWithValuesProps) => {
|
|
2405
|
+
tokens: {
|
|
2406
|
+
priceUsd: number;
|
|
2407
|
+
valueUsd: number;
|
|
2408
|
+
valueInCurrency: number;
|
|
2373
2409
|
address: string;
|
|
2374
|
-
value: string;
|
|
2375
2410
|
symbol: string;
|
|
2376
|
-
|
|
2411
|
+
balance: string;
|
|
2377
2412
|
}[];
|
|
2378
|
-
|
|
2413
|
+
sortedTokens: {
|
|
2414
|
+
priceUsd: number;
|
|
2415
|
+
valueUsd: number;
|
|
2416
|
+
valueInCurrency: number;
|
|
2379
2417
|
address: string;
|
|
2380
|
-
|
|
2418
|
+
symbol: string;
|
|
2419
|
+
balance: string;
|
|
2381
2420
|
}[];
|
|
2382
|
-
|
|
2383
|
-
|
|
2421
|
+
tokensWithBalance: {
|
|
2422
|
+
priceUsd: number;
|
|
2423
|
+
valueUsd: number;
|
|
2424
|
+
valueInCurrency: number;
|
|
2384
2425
|
address: string;
|
|
2385
|
-
value: string;
|
|
2386
2426
|
symbol: string;
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2427
|
+
balance: string;
|
|
2428
|
+
}[];
|
|
2429
|
+
isLoading: boolean;
|
|
2430
|
+
};
|
|
2431
|
+
|
|
2432
|
+
type UseTotalBalanceProps = {
|
|
2433
|
+
address?: string;
|
|
2434
|
+
};
|
|
2435
|
+
declare const useTotalBalance: ({ address }: UseTotalBalanceProps) => {
|
|
2436
|
+
totalBalanceInCurrency: number;
|
|
2437
|
+
totalBalanceUsd: number;
|
|
2438
|
+
formattedBalance: string;
|
|
2439
|
+
isLoading: boolean;
|
|
2440
|
+
hasAnyBalance: boolean;
|
|
2390
2441
|
};
|
|
2391
2442
|
|
|
2392
2443
|
type UseWalletReturnType = {
|
|
@@ -2443,6 +2494,15 @@ declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) =>
|
|
|
2443
2494
|
isLoading: boolean;
|
|
2444
2495
|
};
|
|
2445
2496
|
|
|
2497
|
+
/**
|
|
2498
|
+
* Hook for managing currency preferences
|
|
2499
|
+
*/
|
|
2500
|
+
declare const useCurrency: () => {
|
|
2501
|
+
currentCurrency: CURRENCY;
|
|
2502
|
+
allCurrencies: CURRENCY[];
|
|
2503
|
+
changeCurrency: (newCurrency: CURRENCY) => void;
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2446
2506
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
2447
2507
|
declare const getChainIdQueryKey: () => string[];
|
|
2448
2508
|
/**
|
|
@@ -2527,6 +2587,50 @@ declare const decodeFunctionSignature: (input: string) => Promise<DecodedFunctio
|
|
|
2527
2587
|
*/
|
|
2528
2588
|
declare const useDecodeFunctionSignature: (input: string) => _tanstack_react_query.UseQueryResult<DecodedFunction, Error>;
|
|
2529
2589
|
|
|
2590
|
+
type AppHubApp = {
|
|
2591
|
+
id: string;
|
|
2592
|
+
name: string;
|
|
2593
|
+
description: string;
|
|
2594
|
+
url: string;
|
|
2595
|
+
logo: string;
|
|
2596
|
+
category: string;
|
|
2597
|
+
tags: string[];
|
|
2598
|
+
isVeWorldSupported: boolean;
|
|
2599
|
+
repo?: string;
|
|
2600
|
+
contracts?: string[];
|
|
2601
|
+
veBetterDaoId?: string;
|
|
2602
|
+
};
|
|
2603
|
+
/**
|
|
2604
|
+
* Query key for AppHub apps
|
|
2605
|
+
*/
|
|
2606
|
+
declare const getAppHubAppsQueryKey: () => string[];
|
|
2607
|
+
/**
|
|
2608
|
+
* Fetches apps from the VeChain App Hub repository
|
|
2609
|
+
* @returns A list of apps from the VeChain App Hub
|
|
2610
|
+
*/
|
|
2611
|
+
declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
2612
|
+
/**
|
|
2613
|
+
* Hook to fetch apps from the VeChain App Hub repository
|
|
2614
|
+
* @returns The query result containing apps from the VeChain App Hub
|
|
2615
|
+
*
|
|
2616
|
+
* @example
|
|
2617
|
+
* ```tsx
|
|
2618
|
+
* const { data: apps, isLoading, error } = useAppHubApps();
|
|
2619
|
+
*
|
|
2620
|
+
* if (isLoading) return <div>Loading...</div>;
|
|
2621
|
+
* if (error) return <div>Error loading apps</div>;
|
|
2622
|
+
*
|
|
2623
|
+
* return (
|
|
2624
|
+
* <div>
|
|
2625
|
+
* {apps?.map(app => (
|
|
2626
|
+
* <AppCard key={app.id} app={app} />
|
|
2627
|
+
* ))}
|
|
2628
|
+
* </div>
|
|
2629
|
+
* );
|
|
2630
|
+
* ```
|
|
2631
|
+
*/
|
|
2632
|
+
declare const useAppHubApps: () => _tanstack_react_query.UseQueryResult<AppHubApp[], Error>;
|
|
2633
|
+
|
|
2530
2634
|
/**
|
|
2531
2635
|
* Fetches metadata from IPFS for a given URI
|
|
2532
2636
|
*
|
|
@@ -2586,7 +2690,7 @@ declare const useIpfsMetadatas: <T>(ipfsUris: string[], parseJson?: boolean) =>
|
|
|
2586
2690
|
|
|
2587
2691
|
declare const imageCompressionOptions: Options;
|
|
2588
2692
|
declare const compressImages: (images: UploadedImage[]) => Promise<File[]>;
|
|
2589
|
-
type Props$
|
|
2693
|
+
type Props$y = {
|
|
2590
2694
|
compressImages?: boolean;
|
|
2591
2695
|
defaultImages?: UploadedImage[];
|
|
2592
2696
|
};
|
|
@@ -2599,7 +2703,7 @@ type UploadedImage = {
|
|
|
2599
2703
|
file: File;
|
|
2600
2704
|
image: string;
|
|
2601
2705
|
};
|
|
2602
|
-
declare const useUploadImages: ({ compressImages, defaultImages }: Props$
|
|
2706
|
+
declare const useUploadImages: ({ compressImages, defaultImages }: Props$y) => {
|
|
2603
2707
|
uploadedImages: UploadedImage[];
|
|
2604
2708
|
setUploadedImages: React$1.Dispatch<React$1.SetStateAction<UploadedImage[]>>;
|
|
2605
2709
|
onUpload: (acceptedFiles: File[], keepCurrent?: boolean) => Promise<void>;
|
|
@@ -2607,7 +2711,7 @@ declare const useUploadImages: ({ compressImages, defaultImages }: Props$w) => {
|
|
|
2607
2711
|
invalidDateError: number[];
|
|
2608
2712
|
};
|
|
2609
2713
|
|
|
2610
|
-
type Props$
|
|
2714
|
+
type Props$x = {
|
|
2611
2715
|
compressImage?: boolean;
|
|
2612
2716
|
defaultImage?: UploadedImage;
|
|
2613
2717
|
};
|
|
@@ -2617,7 +2721,7 @@ type Props$v = {
|
|
|
2617
2721
|
* @param param1 defaultImage: default image to be displayed
|
|
2618
2722
|
* @returns uploaded image, setUploadedImage: function to set the uploaded image, onDrop: function to handle the drop event
|
|
2619
2723
|
*/
|
|
2620
|
-
declare const useSingleImageUpload: ({ compressImage, defaultImage, }: Props$
|
|
2724
|
+
declare const useSingleImageUpload: ({ compressImage, defaultImage, }: Props$x) => {
|
|
2621
2725
|
uploadedImage: UploadedImage | undefined;
|
|
2622
2726
|
setUploadedImage: React$1.Dispatch<React$1.SetStateAction<UploadedImage | undefined>>;
|
|
2623
2727
|
onUpload: (acceptedFile: File) => Promise<UploadedImage>;
|
|
@@ -2983,18 +3087,18 @@ type LoginModalContentConfig = {
|
|
|
2983
3087
|
};
|
|
2984
3088
|
declare const useLoginModalContent: () => LoginModalContentConfig;
|
|
2985
3089
|
|
|
2986
|
-
type Props$
|
|
3090
|
+
type Props$w = {
|
|
2987
3091
|
isOpen: boolean;
|
|
2988
3092
|
onClose: () => void;
|
|
2989
3093
|
};
|
|
2990
3094
|
type ConnectModalContentsTypes = 'main' | 'email-verification' | 'faq';
|
|
2991
|
-
declare const ConnectModal: ({ isOpen, onClose }: Props$
|
|
3095
|
+
declare const ConnectModal: ({ isOpen, onClose }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
2992
3096
|
|
|
2993
|
-
type Props$
|
|
3097
|
+
type Props$v = {
|
|
2994
3098
|
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<ConnectModalContentsTypes>>;
|
|
2995
3099
|
onClose: () => void;
|
|
2996
3100
|
};
|
|
2997
|
-
declare const MainContent: ({ setCurrentContent, onClose }: Props$
|
|
3101
|
+
declare const MainContent: ({ setCurrentContent, onClose }: Props$v) => react_jsx_runtime.JSX.Element;
|
|
2998
3102
|
|
|
2999
3103
|
interface ConnectionButtonProps {
|
|
3000
3104
|
isDark: boolean;
|
|
@@ -3011,50 +3115,50 @@ declare const ConnectionButton: ({ onClick, text, icon, customIcon, rightIcon, s
|
|
|
3011
3115
|
|
|
3012
3116
|
declare const EmailLoginButton: () => react_jsx_runtime.JSX.Element;
|
|
3013
3117
|
|
|
3014
|
-
type Props$
|
|
3118
|
+
type Props$u = {
|
|
3015
3119
|
isDark: boolean;
|
|
3016
3120
|
gridColumn?: number;
|
|
3017
3121
|
};
|
|
3018
|
-
declare const VeChainLoginButton: ({ isDark, gridColumn }: Props$
|
|
3122
|
+
declare const VeChainLoginButton: ({ isDark, gridColumn }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
3019
3123
|
|
|
3020
|
-
type Props$
|
|
3124
|
+
type Props$t = {
|
|
3021
3125
|
isDark: boolean;
|
|
3022
3126
|
appsInfo: PrivyAppInfo[];
|
|
3023
3127
|
isLoading: boolean;
|
|
3024
3128
|
gridColumn?: number;
|
|
3025
3129
|
};
|
|
3026
|
-
declare const EcosystemButton: ({ appsInfo, isLoading }: Props$
|
|
3130
|
+
declare const EcosystemButton: ({ appsInfo, isLoading }: Props$t) => react_jsx_runtime.JSX.Element;
|
|
3027
3131
|
|
|
3028
|
-
type Props$
|
|
3132
|
+
type Props$s = {
|
|
3029
3133
|
isDark: boolean;
|
|
3030
3134
|
onViewMoreLogin: () => void;
|
|
3031
3135
|
gridColumn?: number;
|
|
3032
3136
|
};
|
|
3033
|
-
declare const PrivyButton: ({ isDark, onViewMoreLogin, gridColumn }: Props$
|
|
3137
|
+
declare const PrivyButton: ({ isDark, onViewMoreLogin, gridColumn }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
3034
3138
|
|
|
3035
|
-
type Props$
|
|
3139
|
+
type Props$r = {
|
|
3036
3140
|
isDark: boolean;
|
|
3037
3141
|
gridColumn?: number;
|
|
3038
3142
|
};
|
|
3039
|
-
declare const LoginWithGoogleButton: ({ isDark, gridColumn }: Props$
|
|
3143
|
+
declare const LoginWithGoogleButton: ({ isDark, gridColumn }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
3040
3144
|
|
|
3041
|
-
type Props$
|
|
3145
|
+
type Props$q = {
|
|
3042
3146
|
isDark: boolean;
|
|
3043
3147
|
gridColumn?: number;
|
|
3044
3148
|
};
|
|
3045
|
-
declare const PasskeyLoginButton: ({ isDark, gridColumn }: Props$
|
|
3149
|
+
declare const PasskeyLoginButton: ({ isDark, gridColumn }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
3046
3150
|
|
|
3047
|
-
type Props$
|
|
3151
|
+
type Props$p = {
|
|
3048
3152
|
isDark: boolean;
|
|
3049
3153
|
gridColumn?: number;
|
|
3050
3154
|
};
|
|
3051
|
-
declare const DappKitButton: ({ isDark, gridColumn }: Props$
|
|
3155
|
+
declare const DappKitButton: ({ isDark, gridColumn }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
3052
3156
|
|
|
3053
|
-
type Props$
|
|
3157
|
+
type Props$o = {
|
|
3054
3158
|
isDark: boolean;
|
|
3055
3159
|
gridColumn?: number;
|
|
3056
3160
|
};
|
|
3057
|
-
declare const VeChainWithPrivyLoginButton: ({ isDark, gridColumn }: Props$
|
|
3161
|
+
declare const VeChainWithPrivyLoginButton: ({ isDark, gridColumn }: Props$o) => react_jsx_runtime.JSX.Element;
|
|
3058
3162
|
|
|
3059
3163
|
type ConnectPopoverProps = {
|
|
3060
3164
|
isLoading: boolean;
|
|
@@ -3095,12 +3199,12 @@ type TransactionModalProps = {
|
|
|
3095
3199
|
};
|
|
3096
3200
|
declare const TransactionModal: ({ isOpen, onClose, status, uiConfig, txReceipt, txError, onTryAgain, }: TransactionModalProps) => react_jsx_runtime.JSX.Element;
|
|
3097
3201
|
|
|
3098
|
-
type Props$
|
|
3202
|
+
type Props$n = {
|
|
3099
3203
|
descriptionEncoded: string;
|
|
3100
3204
|
url?: string;
|
|
3101
3205
|
facebookHashtag?: string;
|
|
3102
3206
|
};
|
|
3103
|
-
declare const ShareButtons: ({ descriptionEncoded }: Props$
|
|
3207
|
+
declare const ShareButtons: ({ descriptionEncoded }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
3104
3208
|
|
|
3105
3209
|
declare const TransactionModalContent: ({ status, uiConfig, onTryAgain, txReceipt, txError, onClose, }: Omit<TransactionModalProps, "isOpen">) => react_jsx_runtime.JSX.Element;
|
|
3106
3210
|
|
|
@@ -3115,17 +3219,17 @@ type TransactionToastProps = {
|
|
|
3115
3219
|
};
|
|
3116
3220
|
declare const TransactionToast: ({ isOpen, onClose, status, txReceipt, txError, onTryAgain, description, }: TransactionToastProps) => react_jsx_runtime.JSX.Element | null;
|
|
3117
3221
|
|
|
3118
|
-
type Props$
|
|
3222
|
+
type Props$m = {
|
|
3119
3223
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3120
3224
|
onClose: () => void;
|
|
3121
3225
|
wallet: Wallet;
|
|
3122
3226
|
};
|
|
3123
|
-
declare const AccountMainContent: ({ setCurrentContent, wallet }: Props$
|
|
3227
|
+
declare const AccountMainContent: ({ setCurrentContent, wallet }: Props$m) => react_jsx_runtime.JSX.Element;
|
|
3124
3228
|
|
|
3125
|
-
type Props$
|
|
3229
|
+
type Props$l = {
|
|
3126
3230
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3127
3231
|
};
|
|
3128
|
-
declare const AccessAndSecurityContent: ({ setCurrentContent }: Props$
|
|
3232
|
+
declare const AccessAndSecurityContent: ({ setCurrentContent }: Props$l) => react_jsx_runtime.JSX.Element;
|
|
3129
3233
|
|
|
3130
3234
|
type SettingsContentProps = {
|
|
3131
3235
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3133,29 +3237,15 @@ type SettingsContentProps = {
|
|
|
3133
3237
|
};
|
|
3134
3238
|
declare const SettingsContent: ({ setCurrentContent, onLogoutSuccess, }: SettingsContentProps) => react_jsx_runtime.JSX.Element;
|
|
3135
3239
|
|
|
3136
|
-
type Props$
|
|
3240
|
+
type Props$k = {
|
|
3137
3241
|
setCurrentContent: (content: AccountModalContentTypes) => void;
|
|
3138
3242
|
};
|
|
3139
|
-
declare const EmbeddedWalletContent: ({ setCurrentContent }: Props$
|
|
3140
|
-
|
|
3141
|
-
type Token = {
|
|
3142
|
-
symbol: string;
|
|
3143
|
-
balance: string;
|
|
3144
|
-
address: string;
|
|
3145
|
-
numericBalance: string;
|
|
3146
|
-
price: number;
|
|
3147
|
-
};
|
|
3148
|
-
type Props$h = {
|
|
3149
|
-
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3150
|
-
onSelectToken: (token: Token) => void;
|
|
3151
|
-
onBack: () => void;
|
|
3152
|
-
};
|
|
3153
|
-
declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
3243
|
+
declare const EmbeddedWalletContent: ({ setCurrentContent }: Props$k) => react_jsx_runtime.JSX.Element;
|
|
3154
3244
|
|
|
3155
3245
|
type SendTokenContentProps = {
|
|
3156
3246
|
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
3157
3247
|
isNavigatingFromMain?: boolean;
|
|
3158
|
-
preselectedToken?:
|
|
3248
|
+
preselectedToken?: TokenWithValue;
|
|
3159
3249
|
onBack?: () => void;
|
|
3160
3250
|
};
|
|
3161
3251
|
declare const SendTokenContent: ({ setCurrentContent, isNavigatingFromMain, preselectedToken, onBack: parentOnBack, }: SendTokenContentProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -3166,19 +3256,26 @@ type SendTokenSummaryContentProps = {
|
|
|
3166
3256
|
resolvedDomain?: string;
|
|
3167
3257
|
resolvedAddress?: string;
|
|
3168
3258
|
amount: string;
|
|
3169
|
-
selectedToken:
|
|
3259
|
+
selectedToken: TokenWithValue;
|
|
3170
3260
|
};
|
|
3171
3261
|
declare const SendTokenSummaryContent: ({ setCurrentContent, toAddressOrDomain, resolvedDomain, resolvedAddress, amount, selectedToken, }: SendTokenSummaryContentProps) => react_jsx_runtime.JSX.Element;
|
|
3172
3262
|
|
|
3173
|
-
type Props$
|
|
3263
|
+
type Props$j = {
|
|
3174
3264
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3265
|
+
onSelectToken: (token: TokenWithValue) => void;
|
|
3266
|
+
onBack: () => void;
|
|
3175
3267
|
};
|
|
3176
|
-
declare const
|
|
3268
|
+
declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
3177
3269
|
|
|
3178
|
-
type Props$
|
|
3270
|
+
type Props$i = {
|
|
3179
3271
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3180
3272
|
};
|
|
3181
|
-
declare const
|
|
3273
|
+
declare const ReceiveTokenContent: ({ setCurrentContent }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
3274
|
+
|
|
3275
|
+
type Props$h = {
|
|
3276
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3277
|
+
};
|
|
3278
|
+
declare const SwapTokenContent: ({ setCurrentContent }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
3182
3279
|
|
|
3183
3280
|
type ChooseNameContentProps = {
|
|
3184
3281
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3196,18 +3293,19 @@ declare const ChooseNameSearchContent: ({ name: initialName, setCurrentContent,
|
|
|
3196
3293
|
|
|
3197
3294
|
type ChooseNameSummaryContentProps = {
|
|
3198
3295
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3199
|
-
|
|
3296
|
+
fullDomain: string;
|
|
3200
3297
|
domainType?: string;
|
|
3201
3298
|
isOwnDomain: boolean;
|
|
3202
3299
|
isUnsetting?: boolean;
|
|
3203
3300
|
initialContentSource?: AccountModalContentTypes;
|
|
3204
3301
|
};
|
|
3205
|
-
declare const ChooseNameSummaryContent: ({ setCurrentContent,
|
|
3302
|
+
declare const ChooseNameSummaryContent: ({ setCurrentContent, fullDomain, domainType, isOwnDomain, isUnsetting, initialContentSource, }: ChooseNameSummaryContentProps) => react_jsx_runtime.JSX.Element;
|
|
3206
3303
|
|
|
3207
3304
|
type FAQContentProps = {
|
|
3208
3305
|
onGoBack: () => void;
|
|
3306
|
+
showLanguageSelector?: boolean;
|
|
3209
3307
|
};
|
|
3210
|
-
declare const FAQContent: ({ onGoBack }: FAQContentProps) => react_jsx_runtime.JSX.Element;
|
|
3308
|
+
declare const FAQContent: ({ onGoBack, showLanguageSelector, }: FAQContentProps) => react_jsx_runtime.JSX.Element;
|
|
3211
3309
|
|
|
3212
3310
|
type AccountCustomizationContentProps = {
|
|
3213
3311
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3252,22 +3350,46 @@ type ManageCustomTokenContentProps = {
|
|
|
3252
3350
|
};
|
|
3253
3351
|
declare const ManageCustomTokenContent: ({ setCurrentContent, }: ManageCustomTokenContentProps) => react_jsx_runtime.JSX.Element;
|
|
3254
3352
|
|
|
3353
|
+
type Props$g = {
|
|
3354
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3355
|
+
};
|
|
3356
|
+
declare const BridgeContent: ({ setCurrentContent }: Props$g) => react_jsx_runtime.JSX.Element;
|
|
3357
|
+
|
|
3358
|
+
type ChangeCurrencyContentProps = {
|
|
3359
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3360
|
+
};
|
|
3361
|
+
declare const ChangeCurrencyContent: ({ setCurrentContent, }: ChangeCurrencyContentProps) => react_jsx_runtime.JSX.Element;
|
|
3362
|
+
|
|
3363
|
+
type Props$f = {
|
|
3364
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3365
|
+
};
|
|
3366
|
+
declare const GeneralSettingsContent: ({ setCurrentContent }: Props$f) => react_jsx_runtime.JSX.Element;
|
|
3367
|
+
|
|
3255
3368
|
type Props$e = {
|
|
3256
3369
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3257
3370
|
};
|
|
3258
|
-
declare const
|
|
3371
|
+
declare const LanguageSettingsContent: ({ setCurrentContent }: Props$e) => react_jsx_runtime.JSX.Element;
|
|
3372
|
+
|
|
3373
|
+
type Props$d = {
|
|
3374
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3375
|
+
};
|
|
3376
|
+
declare const AppearanceSettingsContent: ({ setCurrentContent }: Props$d) => react_jsx_runtime.JSX.Element;
|
|
3259
3377
|
|
|
3260
3378
|
type DisconnectConfirmContentProps = {
|
|
3261
3379
|
onDisconnect: () => void;
|
|
3262
3380
|
onBack: () => void;
|
|
3263
3381
|
};
|
|
3264
3382
|
|
|
3383
|
+
type CategoryFilter = string | null;
|
|
3384
|
+
|
|
3265
3385
|
type AppOverviewContentProps = {
|
|
3266
3386
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3267
3387
|
name: string;
|
|
3268
3388
|
image: string;
|
|
3269
3389
|
url: string;
|
|
3270
|
-
description
|
|
3390
|
+
description: string;
|
|
3391
|
+
category?: string;
|
|
3392
|
+
selectedCategory?: CategoryFilter;
|
|
3271
3393
|
logoComponent?: JSX.Element;
|
|
3272
3394
|
};
|
|
3273
3395
|
|
|
@@ -3280,7 +3402,7 @@ type SuccessfulOperationContentProps$1 = {
|
|
|
3280
3402
|
showSocialButtons?: boolean;
|
|
3281
3403
|
};
|
|
3282
3404
|
|
|
3283
|
-
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'access-and-security' | 'embedded-wallet' | 'manage-mfa' | 'receive-token' | 'swap-token' | 'connection-details' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | 'add-custom-token' | 'assets' | 'bridge' | {
|
|
3405
|
+
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'access-and-security' | 'embedded-wallet' | 'manage-mfa' | 'receive-token' | 'swap-token' | 'connection-details' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | 'add-custom-token' | 'assets' | 'bridge' | 'change-currency' | 'general-settings' | 'change-language' | 'appearance-settings' | {
|
|
3284
3406
|
type: 'account-customization';
|
|
3285
3407
|
props: AccountCustomizationContentProps;
|
|
3286
3408
|
} | {
|
|
@@ -3292,6 +3414,12 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'access-and-se
|
|
|
3292
3414
|
} | {
|
|
3293
3415
|
type: 'app-overview';
|
|
3294
3416
|
props: AppOverviewContentProps;
|
|
3417
|
+
} | {
|
|
3418
|
+
type: 'ecosystem-with-category';
|
|
3419
|
+
props: {
|
|
3420
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3421
|
+
selectedCategory: CategoryFilter;
|
|
3422
|
+
};
|
|
3295
3423
|
} | {
|
|
3296
3424
|
type: 'send-token';
|
|
3297
3425
|
props: SendTokenContentProps;
|
|
@@ -3318,12 +3446,12 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'access-and-se
|
|
|
3318
3446
|
props: FAQContentProps;
|
|
3319
3447
|
};
|
|
3320
3448
|
|
|
3321
|
-
type Props$
|
|
3449
|
+
type Props$c = {
|
|
3322
3450
|
isOpen: boolean;
|
|
3323
3451
|
onClose: () => void;
|
|
3324
3452
|
initialContent?: AccountModalContentTypes;
|
|
3325
3453
|
};
|
|
3326
|
-
declare const AccountModal: ({ isOpen, onClose, initialContent, }: Props$
|
|
3454
|
+
declare const AccountModal: ({ isOpen, onClose, initialContent, }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
3327
3455
|
|
|
3328
3456
|
interface AccountDetailsButtonProps {
|
|
3329
3457
|
title: string;
|
|
@@ -3356,17 +3484,19 @@ type ActionButtonProps = {
|
|
|
3356
3484
|
loadingText?: string;
|
|
3357
3485
|
style?: ButtonProps;
|
|
3358
3486
|
extraContent?: React.ReactNode;
|
|
3487
|
+
dataTestId?: string;
|
|
3488
|
+
variant?: string;
|
|
3359
3489
|
};
|
|
3360
|
-
declare const ActionButton: ({ leftIcon, rightIcon, title, onClick, leftImage, hide, showComingSoon, backgroundColor, _hover, isDisabled, stacked, isLoading, loadingText, style, extraContent, }: ActionButtonProps) => react_jsx_runtime.JSX.Element;
|
|
3490
|
+
declare const ActionButton: ({ leftIcon, rightIcon, title, onClick, leftImage, hide, showComingSoon, backgroundColor, _hover, isDisabled, stacked, isLoading, loadingText, style, extraContent, dataTestId, variant, }: ActionButtonProps) => react_jsx_runtime.JSX.Element;
|
|
3361
3491
|
|
|
3362
|
-
type Props$
|
|
3492
|
+
type Props$b = {
|
|
3363
3493
|
wallet: Wallet;
|
|
3364
3494
|
size?: string;
|
|
3365
3495
|
onClick?: () => void;
|
|
3366
3496
|
mt?: number;
|
|
3367
3497
|
style?: StackProps;
|
|
3368
3498
|
};
|
|
3369
|
-
declare const AccountSelector: ({ wallet, size, onClick, mt, style, }: Props$
|
|
3499
|
+
declare const AccountSelector: ({ wallet, size, onClick, mt, style, }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
3370
3500
|
|
|
3371
3501
|
declare const BalanceSection: ({ mb, mt, onAssetsClick, }: {
|
|
3372
3502
|
mb?: number;
|
|
@@ -3374,12 +3504,6 @@ declare const BalanceSection: ({ mb, mt, onAssetsClick, }: {
|
|
|
3374
3504
|
onAssetsClick?: () => void;
|
|
3375
3505
|
}) => react_jsx_runtime.JSX.Element;
|
|
3376
3506
|
|
|
3377
|
-
type Props$b = {
|
|
3378
|
-
mt?: number;
|
|
3379
|
-
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3380
|
-
};
|
|
3381
|
-
declare const AssetsSection: ({ mt, setCurrentContent }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
3382
|
-
|
|
3383
3507
|
type Props$a = {
|
|
3384
3508
|
mt?: number;
|
|
3385
3509
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3465,11 +3589,12 @@ declare const BaseModal: ({ isOpen, onClose, children, size, isCentered, motionP
|
|
|
3465
3589
|
type AssetButtonProps = ButtonProps & {
|
|
3466
3590
|
symbol: string;
|
|
3467
3591
|
amount: number;
|
|
3468
|
-
|
|
3592
|
+
currencyValue: number;
|
|
3593
|
+
currentCurrency: CURRENCY;
|
|
3469
3594
|
isDisabled?: boolean;
|
|
3470
3595
|
onClick?: () => void;
|
|
3471
3596
|
};
|
|
3472
|
-
declare const AssetButton: ({ symbol, amount,
|
|
3597
|
+
declare const AssetButton: ({ symbol, amount, currencyValue, currentCurrency, isDisabled, onClick, ...buttonProps }: AssetButtonProps) => react_jsx_runtime.JSX.Element;
|
|
3473
3598
|
|
|
3474
3599
|
type AddressDisplayCardProps = {
|
|
3475
3600
|
label: string;
|
|
@@ -3514,6 +3639,12 @@ type TransactionButtonAndStatusProps = {
|
|
|
3514
3639
|
};
|
|
3515
3640
|
declare const TransactionButtonAndStatus: ({ transactionError, isSubmitting, isTxWaitingConfirmation, onConfirm, onRetry, transactionPendingText, txReceipt, isSubmitForm, buttonText, isDisabled, style, onError, }: TransactionButtonAndStatusProps) => react_jsx_runtime.JSX.Element;
|
|
3516
3641
|
|
|
3642
|
+
type NotificationButtonProps = {
|
|
3643
|
+
onClick: () => void;
|
|
3644
|
+
hasUnreadNotifications?: boolean;
|
|
3645
|
+
} & Partial<IconButtonProps>;
|
|
3646
|
+
declare const ModalNotificationButton: ({ onClick, hasUnreadNotifications, ...props }: NotificationButtonProps) => react_jsx_runtime.JSX.Element;
|
|
3647
|
+
|
|
3517
3648
|
type LoginLoadingModalProps = {
|
|
3518
3649
|
isOpen: boolean;
|
|
3519
3650
|
onClose: () => void;
|
|
@@ -3618,6 +3749,34 @@ type useTransferVETReturnValue = {
|
|
|
3618
3749
|
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
3619
3750
|
declare const useTransferVET: ({ fromAddress, receiverAddress, amount, onSuccess, onError, }: useTransferVETProps) => useTransferVETReturnValue;
|
|
3620
3751
|
|
|
3752
|
+
type BuildTransactionProps<ClausesParams> = {
|
|
3753
|
+
clauseBuilder: (props: ClausesParams) => EnhancedClause[];
|
|
3754
|
+
refetchQueryKeys?: (string | undefined)[][];
|
|
3755
|
+
onSuccess?: () => void;
|
|
3756
|
+
invalidateCache?: boolean;
|
|
3757
|
+
suggestedMaxGas?: number;
|
|
3758
|
+
onFailure?: () => void;
|
|
3759
|
+
};
|
|
3760
|
+
/**
|
|
3761
|
+
* Custom hook for building and sending transactions.
|
|
3762
|
+
* @param clauseBuilder - A function that builds an array of enhanced clauses based on the provided parameters.
|
|
3763
|
+
* @param refetchQueryKeys - An optional array of query keys to refetch after the transaction is sent.
|
|
3764
|
+
* @param invalidateCache - A flag indicating whether to invalidate the cache and refetch queries after the transaction is sent.
|
|
3765
|
+
* @param onSuccess - An optional callback function to be called after the transaction is successfully sent.
|
|
3766
|
+
* @param onFailure - An optional callback function to be called after the transaction is failed or cancelled.
|
|
3767
|
+
* @param suggestedMaxGas - The suggested maximum gas for the transaction.
|
|
3768
|
+
* @returns An object containing the result of the `useSendTransaction` hook and a `sendTransaction` function.
|
|
3769
|
+
*/
|
|
3770
|
+
declare const useBuildTransaction: <ClausesParams>({ clauseBuilder, refetchQueryKeys, invalidateCache, onSuccess, onFailure, suggestedMaxGas, }: BuildTransactionProps<ClausesParams>) => {
|
|
3771
|
+
sendTransaction: (props: ClausesParams) => Promise<void>;
|
|
3772
|
+
isTransactionPending: boolean;
|
|
3773
|
+
isWaitingForWalletConfirmation: boolean;
|
|
3774
|
+
txReceipt: Connex.Thor.Transaction.Receipt | null;
|
|
3775
|
+
status: TransactionStatus;
|
|
3776
|
+
resetStatus: () => void;
|
|
3777
|
+
error?: TransactionStatusErrorType;
|
|
3778
|
+
};
|
|
3779
|
+
|
|
3621
3780
|
type NotificationAction = {
|
|
3622
3781
|
label: string;
|
|
3623
3782
|
content: AccountModalContentTypes;
|
|
@@ -3757,4 +3916,4 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
3757
3916
|
clearConnectionCache: () => void;
|
|
3758
3917
|
};
|
|
3759
3918
|
|
|
3760
|
-
export { APP_SECURITY_LEVELS, AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, type AccountCustomizationContentProps, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationRoundWithState, type AllocationVoteCastEvent, type AppConfig, type AppVotesGiven, AssetButton, AssetsContent, type AssetsContentProps, AssetsSection, BalanceSection, BaseModal, BridgeContent, ChooseNameContent, type ChooseNameContentProps, ChooseNameModalProvider, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, ConnectPopover, ConnectionButton, ConnectionSource, CrossAppConnectionCache, CrossAppConnectionSecurityCard, type CustomTokenInfo, CustomizationContent, CustomizationSummaryContent, type CustomizationSummaryContentProps, DappKitButton, type DecodedFunction, type Domain, DomainRequiredAlert, type DomainsResponse, ENSRecords, ENS_TEXT_RECORDS, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EnhancedClause, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, type GetCallKeyParams, type IpfsImage, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, type ManageCustomTokenContentProps, ModalBackButton, ModalFAQButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, ProfileCard, type ProfileCardProps, ProfileContent, type ProfileContentProps, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, type RoundCreated, type RoundReward, RoundState, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, type SettingsContentProps, ShareButtons, SmartAccount, type SmartAccountReturnType, SocialIcons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TextRecords, type TokenBalance, type TokenWithBalance, TransactionButtonAndStatus, type TransactionButtonAndStatusProps, TransactionModal, TransactionModalContent, type TransactionModalProps, TransactionModalProvider, TransactionStatus, TransactionStatusErrorType, TransactionToast, TransactionToastProvider, type UnendorsedApp, UpgradeSmartAccountContent, type UpgradeSmartAccountContentProps, UpgradeSmartAccountModal, type UpgradeSmartAccountModalContentsTypes, UpgradeSmartAccountModalProvider, type UpgradeSmartAccountModalStyle, type UploadedImage, type UseCallParams, type UseSendTransactionReturnValue, type UseWalletReturnType, type UserNode, type UserXNode, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VePassportUserStatus, type VechainKitProviderProps, VechainKitThemeProvider, VersionFooter, Wallet, WalletButton, type WalletButtonProps, type WalletDisplayVariant, WalletModalProvider, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, compressImages, currentBlockQueryKey, decodeFunctionSignature, 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, getAvatarLegacy, getAvatarLegacyQueryKey, getAvatarOfAddressQueryKey, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDelegateeQueryKey, getDelegatorQueryKey, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getErc20Balance, getErc20BalanceQueryKey, 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, useClaimVetDomain, useConnectModal, useCrossAppConnectionCache, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useDecodeFunctionSignature, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGMBaseUri, useGMbalance, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetAvatarLegacy, useGetAvatarOfAddress, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDelegatee, useGetDelegator, useGetDomainsOfAddress, useGetEntitiesLinkedToPassport, useGetErc20Balance, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginModalContent, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshMetadata, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage, useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUnsetDomain, 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 };
|
|
3919
|
+
export { APP_SECURITY_LEVELS, AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, type AccountCustomizationContentProps, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, type AllocationRoundWithState, type AllocationVoteCastEvent, type AppConfig, type AppHubApp, type AppVotesGiven, AppearanceSettingsContent, AssetButton, AssetsContent, type AssetsContentProps, BalanceSection, BaseModal, BridgeContent, type BuildTransactionProps, CURRENCY, ChangeCurrencyContent, type ChangeCurrencyContentProps, ChooseNameContent, type ChooseNameContentProps, ChooseNameModalProvider, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, type ChooseNameSummaryContentProps, ConnectModal, type ConnectModalContentsTypes, ConnectModalProvider, ConnectPopover, ConnectionButton, ConnectionSource, CrossAppConnectionCache, CrossAppConnectionSecurityCard, type CustomTokenInfo, CustomizationContent, CustomizationSummaryContent, type CustomizationSummaryContentProps, DappKitButton, type DecodedFunction, type Domain, DomainRequiredAlert, type DomainsResponse, ENSRecords, ENS_TEXT_RECORDS, EcosystemButton, EcosystemModal, type EcosystemShortcut, EmailLoginButton, EmbeddedWalletContent, EnhancedClause, type ExchangeRates, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, GeneralSettingsContent, type GetCallKeyParams, type IpfsImage, LanguageSettingsContent, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, type ManageCustomTokenContentProps, ModalBackButton, ModalFAQButton, ModalNotificationButton, type MostVotedAppsInRoundReturnType, NFTMediaType, type NFTMetadata, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyAppInfo, PrivyButton, PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, ProfileCard, type ProfileCardProps, ProfileContent, type ProfileContentProps, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, type RoundCreated, type RoundReward, RoundState, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, type SettingsContentProps, ShareButtons, SmartAccount, type SmartAccountReturnType, SocialIcons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, type TextRecords, type TokenBalance, type TokenWithBalance, type TokenWithValue, 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 WalletTokenBalance, type XApp, type XAppMetadata, buildClaimRewardsTx, buildClaimRoundReward, compressImages, currentBlockQueryKey, decodeFunctionSignature, fetchAppHubApps, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersion, getAccountVersionQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAllocationsRoundState, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppHubAppsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getAvatar, getAvatarLegacy, getAvatarLegacyQueryKey, getAvatarOfAddressQueryKey, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getConfig, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDelegateeQueryKey, getDelegatorQueryKey, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getErc20Balance, getErc20BalanceQueryKey, 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, useAppHubApps, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBuildTransaction, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useClaimVetDomain, useConnectModal, useCrossAppConnectionCache, useCurrency, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useDecodeFunctionSignature, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGMBaseUri, useGMbalance, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetAvatarLegacy, useGetAvatarOfAddress, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDelegatee, useGetDelegator, useGetDomainsOfAddress, useGetEntitiesLinkedToPassport, useGetErc20Balance, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginModalContent, useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshMetadata, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage, useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenBalances, useTokenIdByAccount, useTokenPrices, useTokensWithValues, useTotalBalance, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUnsetDomain, 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 };
|