@vechain/vechain-kit 1.6.2 → 1.7.1
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 +2358 -1368
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +248 -87
- package/dist/index.d.ts +248 -87
- package/dist/index.js +2139 -1162
- 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 +5 -3
- 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,52 @@ 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 AllowedCategories = 'defi' | 'games' | 'collectibles' | 'marketplaces' | 'utilities' | 'vebetter';
|
|
2591
|
+
|
|
2592
|
+
type AppHubApp = {
|
|
2593
|
+
id: string;
|
|
2594
|
+
name: string;
|
|
2595
|
+
description: string;
|
|
2596
|
+
url: string;
|
|
2597
|
+
logo: string;
|
|
2598
|
+
category: AllowedCategories;
|
|
2599
|
+
tags: string[];
|
|
2600
|
+
isVeWorldSupported: boolean;
|
|
2601
|
+
repo?: string;
|
|
2602
|
+
contracts?: string[];
|
|
2603
|
+
veBetterDaoId?: string;
|
|
2604
|
+
};
|
|
2605
|
+
/**
|
|
2606
|
+
* Query key for AppHub apps
|
|
2607
|
+
*/
|
|
2608
|
+
declare const getAppHubAppsQueryKey: () => string[];
|
|
2609
|
+
/**
|
|
2610
|
+
* Fetches apps from the VeChain App Hub repository
|
|
2611
|
+
* @returns A list of apps from the VeChain App Hub
|
|
2612
|
+
*/
|
|
2613
|
+
declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
2614
|
+
/**
|
|
2615
|
+
* Hook to fetch apps from the VeChain App Hub repository
|
|
2616
|
+
* @returns The query result containing apps from the VeChain App Hub
|
|
2617
|
+
*
|
|
2618
|
+
* @example
|
|
2619
|
+
* ```tsx
|
|
2620
|
+
* const { data: apps, isLoading, error } = useAppHubApps();
|
|
2621
|
+
*
|
|
2622
|
+
* if (isLoading) return <div>Loading...</div>;
|
|
2623
|
+
* if (error) return <div>Error loading apps</div>;
|
|
2624
|
+
*
|
|
2625
|
+
* return (
|
|
2626
|
+
* <div>
|
|
2627
|
+
* {apps?.map(app => (
|
|
2628
|
+
* <AppCard key={app.id} app={app} />
|
|
2629
|
+
* ))}
|
|
2630
|
+
* </div>
|
|
2631
|
+
* );
|
|
2632
|
+
* ```
|
|
2633
|
+
*/
|
|
2634
|
+
declare const useAppHubApps: () => _tanstack_react_query.UseQueryResult<AppHubApp[], Error>;
|
|
2635
|
+
|
|
2530
2636
|
/**
|
|
2531
2637
|
* Fetches metadata from IPFS for a given URI
|
|
2532
2638
|
*
|
|
@@ -2586,7 +2692,7 @@ declare const useIpfsMetadatas: <T>(ipfsUris: string[], parseJson?: boolean) =>
|
|
|
2586
2692
|
|
|
2587
2693
|
declare const imageCompressionOptions: Options;
|
|
2588
2694
|
declare const compressImages: (images: UploadedImage[]) => Promise<File[]>;
|
|
2589
|
-
type Props$
|
|
2695
|
+
type Props$y = {
|
|
2590
2696
|
compressImages?: boolean;
|
|
2591
2697
|
defaultImages?: UploadedImage[];
|
|
2592
2698
|
};
|
|
@@ -2599,7 +2705,7 @@ type UploadedImage = {
|
|
|
2599
2705
|
file: File;
|
|
2600
2706
|
image: string;
|
|
2601
2707
|
};
|
|
2602
|
-
declare const useUploadImages: ({ compressImages, defaultImages }: Props$
|
|
2708
|
+
declare const useUploadImages: ({ compressImages, defaultImages }: Props$y) => {
|
|
2603
2709
|
uploadedImages: UploadedImage[];
|
|
2604
2710
|
setUploadedImages: React$1.Dispatch<React$1.SetStateAction<UploadedImage[]>>;
|
|
2605
2711
|
onUpload: (acceptedFiles: File[], keepCurrent?: boolean) => Promise<void>;
|
|
@@ -2607,7 +2713,7 @@ declare const useUploadImages: ({ compressImages, defaultImages }: Props$w) => {
|
|
|
2607
2713
|
invalidDateError: number[];
|
|
2608
2714
|
};
|
|
2609
2715
|
|
|
2610
|
-
type Props$
|
|
2716
|
+
type Props$x = {
|
|
2611
2717
|
compressImage?: boolean;
|
|
2612
2718
|
defaultImage?: UploadedImage;
|
|
2613
2719
|
};
|
|
@@ -2617,7 +2723,7 @@ type Props$v = {
|
|
|
2617
2723
|
* @param param1 defaultImage: default image to be displayed
|
|
2618
2724
|
* @returns uploaded image, setUploadedImage: function to set the uploaded image, onDrop: function to handle the drop event
|
|
2619
2725
|
*/
|
|
2620
|
-
declare const useSingleImageUpload: ({ compressImage, defaultImage, }: Props$
|
|
2726
|
+
declare const useSingleImageUpload: ({ compressImage, defaultImage, }: Props$x) => {
|
|
2621
2727
|
uploadedImage: UploadedImage | undefined;
|
|
2622
2728
|
setUploadedImage: React$1.Dispatch<React$1.SetStateAction<UploadedImage | undefined>>;
|
|
2623
2729
|
onUpload: (acceptedFile: File) => Promise<UploadedImage>;
|
|
@@ -2983,18 +3089,18 @@ type LoginModalContentConfig = {
|
|
|
2983
3089
|
};
|
|
2984
3090
|
declare const useLoginModalContent: () => LoginModalContentConfig;
|
|
2985
3091
|
|
|
2986
|
-
type Props$
|
|
3092
|
+
type Props$w = {
|
|
2987
3093
|
isOpen: boolean;
|
|
2988
3094
|
onClose: () => void;
|
|
2989
3095
|
};
|
|
2990
3096
|
type ConnectModalContentsTypes = 'main' | 'email-verification' | 'faq';
|
|
2991
|
-
declare const ConnectModal: ({ isOpen, onClose }: Props$
|
|
3097
|
+
declare const ConnectModal: ({ isOpen, onClose }: Props$w) => react_jsx_runtime.JSX.Element;
|
|
2992
3098
|
|
|
2993
|
-
type Props$
|
|
3099
|
+
type Props$v = {
|
|
2994
3100
|
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<ConnectModalContentsTypes>>;
|
|
2995
3101
|
onClose: () => void;
|
|
2996
3102
|
};
|
|
2997
|
-
declare const MainContent: ({ setCurrentContent, onClose }: Props$
|
|
3103
|
+
declare const MainContent: ({ setCurrentContent, onClose }: Props$v) => react_jsx_runtime.JSX.Element;
|
|
2998
3104
|
|
|
2999
3105
|
interface ConnectionButtonProps {
|
|
3000
3106
|
isDark: boolean;
|
|
@@ -3011,50 +3117,50 @@ declare const ConnectionButton: ({ onClick, text, icon, customIcon, rightIcon, s
|
|
|
3011
3117
|
|
|
3012
3118
|
declare const EmailLoginButton: () => react_jsx_runtime.JSX.Element;
|
|
3013
3119
|
|
|
3014
|
-
type Props$
|
|
3120
|
+
type Props$u = {
|
|
3015
3121
|
isDark: boolean;
|
|
3016
3122
|
gridColumn?: number;
|
|
3017
3123
|
};
|
|
3018
|
-
declare const VeChainLoginButton: ({ isDark, gridColumn }: Props$
|
|
3124
|
+
declare const VeChainLoginButton: ({ isDark, gridColumn }: Props$u) => react_jsx_runtime.JSX.Element;
|
|
3019
3125
|
|
|
3020
|
-
type Props$
|
|
3126
|
+
type Props$t = {
|
|
3021
3127
|
isDark: boolean;
|
|
3022
3128
|
appsInfo: PrivyAppInfo[];
|
|
3023
3129
|
isLoading: boolean;
|
|
3024
3130
|
gridColumn?: number;
|
|
3025
3131
|
};
|
|
3026
|
-
declare const EcosystemButton: ({ appsInfo, isLoading }: Props$
|
|
3132
|
+
declare const EcosystemButton: ({ appsInfo, isLoading }: Props$t) => react_jsx_runtime.JSX.Element;
|
|
3027
3133
|
|
|
3028
|
-
type Props$
|
|
3134
|
+
type Props$s = {
|
|
3029
3135
|
isDark: boolean;
|
|
3030
3136
|
onViewMoreLogin: () => void;
|
|
3031
3137
|
gridColumn?: number;
|
|
3032
3138
|
};
|
|
3033
|
-
declare const PrivyButton: ({ isDark, onViewMoreLogin, gridColumn }: Props$
|
|
3139
|
+
declare const PrivyButton: ({ isDark, onViewMoreLogin, gridColumn }: Props$s) => react_jsx_runtime.JSX.Element;
|
|
3034
3140
|
|
|
3035
|
-
type Props$
|
|
3141
|
+
type Props$r = {
|
|
3036
3142
|
isDark: boolean;
|
|
3037
3143
|
gridColumn?: number;
|
|
3038
3144
|
};
|
|
3039
|
-
declare const LoginWithGoogleButton: ({ isDark, gridColumn }: Props$
|
|
3145
|
+
declare const LoginWithGoogleButton: ({ isDark, gridColumn }: Props$r) => react_jsx_runtime.JSX.Element;
|
|
3040
3146
|
|
|
3041
|
-
type Props$
|
|
3147
|
+
type Props$q = {
|
|
3042
3148
|
isDark: boolean;
|
|
3043
3149
|
gridColumn?: number;
|
|
3044
3150
|
};
|
|
3045
|
-
declare const PasskeyLoginButton: ({ isDark, gridColumn }: Props$
|
|
3151
|
+
declare const PasskeyLoginButton: ({ isDark, gridColumn }: Props$q) => react_jsx_runtime.JSX.Element;
|
|
3046
3152
|
|
|
3047
|
-
type Props$
|
|
3153
|
+
type Props$p = {
|
|
3048
3154
|
isDark: boolean;
|
|
3049
3155
|
gridColumn?: number;
|
|
3050
3156
|
};
|
|
3051
|
-
declare const DappKitButton: ({ isDark, gridColumn }: Props$
|
|
3157
|
+
declare const DappKitButton: ({ isDark, gridColumn }: Props$p) => react_jsx_runtime.JSX.Element;
|
|
3052
3158
|
|
|
3053
|
-
type Props$
|
|
3159
|
+
type Props$o = {
|
|
3054
3160
|
isDark: boolean;
|
|
3055
3161
|
gridColumn?: number;
|
|
3056
3162
|
};
|
|
3057
|
-
declare const VeChainWithPrivyLoginButton: ({ isDark, gridColumn }: Props$
|
|
3163
|
+
declare const VeChainWithPrivyLoginButton: ({ isDark, gridColumn }: Props$o) => react_jsx_runtime.JSX.Element;
|
|
3058
3164
|
|
|
3059
3165
|
type ConnectPopoverProps = {
|
|
3060
3166
|
isLoading: boolean;
|
|
@@ -3095,12 +3201,12 @@ type TransactionModalProps = {
|
|
|
3095
3201
|
};
|
|
3096
3202
|
declare const TransactionModal: ({ isOpen, onClose, status, uiConfig, txReceipt, txError, onTryAgain, }: TransactionModalProps) => react_jsx_runtime.JSX.Element;
|
|
3097
3203
|
|
|
3098
|
-
type Props$
|
|
3204
|
+
type Props$n = {
|
|
3099
3205
|
descriptionEncoded: string;
|
|
3100
3206
|
url?: string;
|
|
3101
3207
|
facebookHashtag?: string;
|
|
3102
3208
|
};
|
|
3103
|
-
declare const ShareButtons: ({ descriptionEncoded }: Props$
|
|
3209
|
+
declare const ShareButtons: ({ descriptionEncoded }: Props$n) => react_jsx_runtime.JSX.Element;
|
|
3104
3210
|
|
|
3105
3211
|
declare const TransactionModalContent: ({ status, uiConfig, onTryAgain, txReceipt, txError, onClose, }: Omit<TransactionModalProps, "isOpen">) => react_jsx_runtime.JSX.Element;
|
|
3106
3212
|
|
|
@@ -3115,17 +3221,17 @@ type TransactionToastProps = {
|
|
|
3115
3221
|
};
|
|
3116
3222
|
declare const TransactionToast: ({ isOpen, onClose, status, txReceipt, txError, onTryAgain, description, }: TransactionToastProps) => react_jsx_runtime.JSX.Element | null;
|
|
3117
3223
|
|
|
3118
|
-
type Props$
|
|
3224
|
+
type Props$m = {
|
|
3119
3225
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3120
3226
|
onClose: () => void;
|
|
3121
3227
|
wallet: Wallet;
|
|
3122
3228
|
};
|
|
3123
|
-
declare const AccountMainContent: ({ setCurrentContent, wallet }: Props$
|
|
3229
|
+
declare const AccountMainContent: ({ setCurrentContent, wallet }: Props$m) => react_jsx_runtime.JSX.Element;
|
|
3124
3230
|
|
|
3125
|
-
type Props$
|
|
3231
|
+
type Props$l = {
|
|
3126
3232
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3127
3233
|
};
|
|
3128
|
-
declare const AccessAndSecurityContent: ({ setCurrentContent }: Props$
|
|
3234
|
+
declare const AccessAndSecurityContent: ({ setCurrentContent }: Props$l) => react_jsx_runtime.JSX.Element;
|
|
3129
3235
|
|
|
3130
3236
|
type SettingsContentProps = {
|
|
3131
3237
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3133,29 +3239,15 @@ type SettingsContentProps = {
|
|
|
3133
3239
|
};
|
|
3134
3240
|
declare const SettingsContent: ({ setCurrentContent, onLogoutSuccess, }: SettingsContentProps) => react_jsx_runtime.JSX.Element;
|
|
3135
3241
|
|
|
3136
|
-
type Props$
|
|
3242
|
+
type Props$k = {
|
|
3137
3243
|
setCurrentContent: (content: AccountModalContentTypes) => void;
|
|
3138
3244
|
};
|
|
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;
|
|
3245
|
+
declare const EmbeddedWalletContent: ({ setCurrentContent }: Props$k) => react_jsx_runtime.JSX.Element;
|
|
3154
3246
|
|
|
3155
3247
|
type SendTokenContentProps = {
|
|
3156
3248
|
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
3157
3249
|
isNavigatingFromMain?: boolean;
|
|
3158
|
-
preselectedToken?:
|
|
3250
|
+
preselectedToken?: TokenWithValue;
|
|
3159
3251
|
onBack?: () => void;
|
|
3160
3252
|
};
|
|
3161
3253
|
declare const SendTokenContent: ({ setCurrentContent, isNavigatingFromMain, preselectedToken, onBack: parentOnBack, }: SendTokenContentProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -3166,19 +3258,26 @@ type SendTokenSummaryContentProps = {
|
|
|
3166
3258
|
resolvedDomain?: string;
|
|
3167
3259
|
resolvedAddress?: string;
|
|
3168
3260
|
amount: string;
|
|
3169
|
-
selectedToken:
|
|
3261
|
+
selectedToken: TokenWithValue;
|
|
3170
3262
|
};
|
|
3171
3263
|
declare const SendTokenSummaryContent: ({ setCurrentContent, toAddressOrDomain, resolvedDomain, resolvedAddress, amount, selectedToken, }: SendTokenSummaryContentProps) => react_jsx_runtime.JSX.Element;
|
|
3172
3264
|
|
|
3173
|
-
type Props$
|
|
3265
|
+
type Props$j = {
|
|
3174
3266
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3267
|
+
onSelectToken: (token: TokenWithValue) => void;
|
|
3268
|
+
onBack: () => void;
|
|
3175
3269
|
};
|
|
3176
|
-
declare const
|
|
3270
|
+
declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$j) => react_jsx_runtime.JSX.Element;
|
|
3177
3271
|
|
|
3178
|
-
type Props$
|
|
3272
|
+
type Props$i = {
|
|
3179
3273
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3180
3274
|
};
|
|
3181
|
-
declare const
|
|
3275
|
+
declare const ReceiveTokenContent: ({ setCurrentContent }: Props$i) => react_jsx_runtime.JSX.Element;
|
|
3276
|
+
|
|
3277
|
+
type Props$h = {
|
|
3278
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3279
|
+
};
|
|
3280
|
+
declare const SwapTokenContent: ({ setCurrentContent }: Props$h) => react_jsx_runtime.JSX.Element;
|
|
3182
3281
|
|
|
3183
3282
|
type ChooseNameContentProps = {
|
|
3184
3283
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3196,18 +3295,19 @@ declare const ChooseNameSearchContent: ({ name: initialName, setCurrentContent,
|
|
|
3196
3295
|
|
|
3197
3296
|
type ChooseNameSummaryContentProps = {
|
|
3198
3297
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3199
|
-
|
|
3298
|
+
fullDomain: string;
|
|
3200
3299
|
domainType?: string;
|
|
3201
3300
|
isOwnDomain: boolean;
|
|
3202
3301
|
isUnsetting?: boolean;
|
|
3203
3302
|
initialContentSource?: AccountModalContentTypes;
|
|
3204
3303
|
};
|
|
3205
|
-
declare const ChooseNameSummaryContent: ({ setCurrentContent,
|
|
3304
|
+
declare const ChooseNameSummaryContent: ({ setCurrentContent, fullDomain, domainType, isOwnDomain, isUnsetting, initialContentSource, }: ChooseNameSummaryContentProps) => react_jsx_runtime.JSX.Element;
|
|
3206
3305
|
|
|
3207
3306
|
type FAQContentProps = {
|
|
3208
3307
|
onGoBack: () => void;
|
|
3308
|
+
showLanguageSelector?: boolean;
|
|
3209
3309
|
};
|
|
3210
|
-
declare const FAQContent: ({ onGoBack }: FAQContentProps) => react_jsx_runtime.JSX.Element;
|
|
3310
|
+
declare const FAQContent: ({ onGoBack, showLanguageSelector, }: FAQContentProps) => react_jsx_runtime.JSX.Element;
|
|
3211
3311
|
|
|
3212
3312
|
type AccountCustomizationContentProps = {
|
|
3213
3313
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3252,22 +3352,46 @@ type ManageCustomTokenContentProps = {
|
|
|
3252
3352
|
};
|
|
3253
3353
|
declare const ManageCustomTokenContent: ({ setCurrentContent, }: ManageCustomTokenContentProps) => react_jsx_runtime.JSX.Element;
|
|
3254
3354
|
|
|
3355
|
+
type Props$g = {
|
|
3356
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3357
|
+
};
|
|
3358
|
+
declare const BridgeContent: ({ setCurrentContent }: Props$g) => react_jsx_runtime.JSX.Element;
|
|
3359
|
+
|
|
3360
|
+
type ChangeCurrencyContentProps = {
|
|
3361
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3362
|
+
};
|
|
3363
|
+
declare const ChangeCurrencyContent: ({ setCurrentContent, }: ChangeCurrencyContentProps) => react_jsx_runtime.JSX.Element;
|
|
3364
|
+
|
|
3365
|
+
type Props$f = {
|
|
3366
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3367
|
+
};
|
|
3368
|
+
declare const GeneralSettingsContent: ({ setCurrentContent }: Props$f) => react_jsx_runtime.JSX.Element;
|
|
3369
|
+
|
|
3255
3370
|
type Props$e = {
|
|
3256
3371
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3257
3372
|
};
|
|
3258
|
-
declare const
|
|
3373
|
+
declare const LanguageSettingsContent: ({ setCurrentContent }: Props$e) => react_jsx_runtime.JSX.Element;
|
|
3374
|
+
|
|
3375
|
+
type Props$d = {
|
|
3376
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3377
|
+
};
|
|
3378
|
+
declare const AppearanceSettingsContent: ({ setCurrentContent }: Props$d) => react_jsx_runtime.JSX.Element;
|
|
3259
3379
|
|
|
3260
3380
|
type DisconnectConfirmContentProps = {
|
|
3261
3381
|
onDisconnect: () => void;
|
|
3262
3382
|
onBack: () => void;
|
|
3263
3383
|
};
|
|
3264
3384
|
|
|
3385
|
+
type CategoryFilter = string | null;
|
|
3386
|
+
|
|
3265
3387
|
type AppOverviewContentProps = {
|
|
3266
3388
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3267
3389
|
name: string;
|
|
3268
3390
|
image: string;
|
|
3269
3391
|
url: string;
|
|
3270
|
-
description
|
|
3392
|
+
description: string;
|
|
3393
|
+
category?: AllowedCategories;
|
|
3394
|
+
selectedCategory?: CategoryFilter;
|
|
3271
3395
|
logoComponent?: JSX.Element;
|
|
3272
3396
|
};
|
|
3273
3397
|
|
|
@@ -3280,7 +3404,7 @@ type SuccessfulOperationContentProps$1 = {
|
|
|
3280
3404
|
showSocialButtons?: boolean;
|
|
3281
3405
|
};
|
|
3282
3406
|
|
|
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' | {
|
|
3407
|
+
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
3408
|
type: 'account-customization';
|
|
3285
3409
|
props: AccountCustomizationContentProps;
|
|
3286
3410
|
} | {
|
|
@@ -3292,6 +3416,12 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'access-and-se
|
|
|
3292
3416
|
} | {
|
|
3293
3417
|
type: 'app-overview';
|
|
3294
3418
|
props: AppOverviewContentProps;
|
|
3419
|
+
} | {
|
|
3420
|
+
type: 'ecosystem-with-category';
|
|
3421
|
+
props: {
|
|
3422
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3423
|
+
selectedCategory: CategoryFilter;
|
|
3424
|
+
};
|
|
3295
3425
|
} | {
|
|
3296
3426
|
type: 'send-token';
|
|
3297
3427
|
props: SendTokenContentProps;
|
|
@@ -3318,12 +3448,12 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'access-and-se
|
|
|
3318
3448
|
props: FAQContentProps;
|
|
3319
3449
|
};
|
|
3320
3450
|
|
|
3321
|
-
type Props$
|
|
3451
|
+
type Props$c = {
|
|
3322
3452
|
isOpen: boolean;
|
|
3323
3453
|
onClose: () => void;
|
|
3324
3454
|
initialContent?: AccountModalContentTypes;
|
|
3325
3455
|
};
|
|
3326
|
-
declare const AccountModal: ({ isOpen, onClose, initialContent, }: Props$
|
|
3456
|
+
declare const AccountModal: ({ isOpen, onClose, initialContent, }: Props$c) => react_jsx_runtime.JSX.Element;
|
|
3327
3457
|
|
|
3328
3458
|
interface AccountDetailsButtonProps {
|
|
3329
3459
|
title: string;
|
|
@@ -3356,17 +3486,19 @@ type ActionButtonProps = {
|
|
|
3356
3486
|
loadingText?: string;
|
|
3357
3487
|
style?: ButtonProps;
|
|
3358
3488
|
extraContent?: React.ReactNode;
|
|
3489
|
+
dataTestId?: string;
|
|
3490
|
+
variant?: string;
|
|
3359
3491
|
};
|
|
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;
|
|
3492
|
+
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
3493
|
|
|
3362
|
-
type Props$
|
|
3494
|
+
type Props$b = {
|
|
3363
3495
|
wallet: Wallet;
|
|
3364
3496
|
size?: string;
|
|
3365
3497
|
onClick?: () => void;
|
|
3366
3498
|
mt?: number;
|
|
3367
3499
|
style?: StackProps;
|
|
3368
3500
|
};
|
|
3369
|
-
declare const AccountSelector: ({ wallet, size, onClick, mt, style, }: Props$
|
|
3501
|
+
declare const AccountSelector: ({ wallet, size, onClick, mt, style, }: Props$b) => react_jsx_runtime.JSX.Element;
|
|
3370
3502
|
|
|
3371
3503
|
declare const BalanceSection: ({ mb, mt, onAssetsClick, }: {
|
|
3372
3504
|
mb?: number;
|
|
@@ -3374,12 +3506,6 @@ declare const BalanceSection: ({ mb, mt, onAssetsClick, }: {
|
|
|
3374
3506
|
onAssetsClick?: () => void;
|
|
3375
3507
|
}) => react_jsx_runtime.JSX.Element;
|
|
3376
3508
|
|
|
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
3509
|
type Props$a = {
|
|
3384
3510
|
mt?: number;
|
|
3385
3511
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3465,11 +3591,12 @@ declare const BaseModal: ({ isOpen, onClose, children, size, isCentered, motionP
|
|
|
3465
3591
|
type AssetButtonProps = ButtonProps & {
|
|
3466
3592
|
symbol: string;
|
|
3467
3593
|
amount: number;
|
|
3468
|
-
|
|
3594
|
+
currencyValue: number;
|
|
3595
|
+
currentCurrency: CURRENCY;
|
|
3469
3596
|
isDisabled?: boolean;
|
|
3470
3597
|
onClick?: () => void;
|
|
3471
3598
|
};
|
|
3472
|
-
declare const AssetButton: ({ symbol, amount,
|
|
3599
|
+
declare const AssetButton: ({ symbol, amount, currencyValue, currentCurrency, isDisabled, onClick, ...buttonProps }: AssetButtonProps) => react_jsx_runtime.JSX.Element;
|
|
3473
3600
|
|
|
3474
3601
|
type AddressDisplayCardProps = {
|
|
3475
3602
|
label: string;
|
|
@@ -3514,6 +3641,12 @@ type TransactionButtonAndStatusProps = {
|
|
|
3514
3641
|
};
|
|
3515
3642
|
declare const TransactionButtonAndStatus: ({ transactionError, isSubmitting, isTxWaitingConfirmation, onConfirm, onRetry, transactionPendingText, txReceipt, isSubmitForm, buttonText, isDisabled, style, onError, }: TransactionButtonAndStatusProps) => react_jsx_runtime.JSX.Element;
|
|
3516
3643
|
|
|
3644
|
+
type NotificationButtonProps = {
|
|
3645
|
+
onClick: () => void;
|
|
3646
|
+
hasUnreadNotifications?: boolean;
|
|
3647
|
+
} & Partial<IconButtonProps>;
|
|
3648
|
+
declare const ModalNotificationButton: ({ onClick, hasUnreadNotifications, ...props }: NotificationButtonProps) => react_jsx_runtime.JSX.Element;
|
|
3649
|
+
|
|
3517
3650
|
type LoginLoadingModalProps = {
|
|
3518
3651
|
isOpen: boolean;
|
|
3519
3652
|
onClose: () => void;
|
|
@@ -3618,6 +3751,34 @@ type useTransferVETReturnValue = {
|
|
|
3618
3751
|
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
3619
3752
|
declare const useTransferVET: ({ fromAddress, receiverAddress, amount, onSuccess, onError, }: useTransferVETProps) => useTransferVETReturnValue;
|
|
3620
3753
|
|
|
3754
|
+
type BuildTransactionProps<ClausesParams> = {
|
|
3755
|
+
clauseBuilder: (props: ClausesParams) => EnhancedClause[];
|
|
3756
|
+
refetchQueryKeys?: (string | undefined)[][];
|
|
3757
|
+
onSuccess?: () => void;
|
|
3758
|
+
invalidateCache?: boolean;
|
|
3759
|
+
suggestedMaxGas?: number;
|
|
3760
|
+
onFailure?: () => void;
|
|
3761
|
+
};
|
|
3762
|
+
/**
|
|
3763
|
+
* Custom hook for building and sending transactions.
|
|
3764
|
+
* @param clauseBuilder - A function that builds an array of enhanced clauses based on the provided parameters.
|
|
3765
|
+
* @param refetchQueryKeys - An optional array of query keys to refetch after the transaction is sent.
|
|
3766
|
+
* @param invalidateCache - A flag indicating whether to invalidate the cache and refetch queries after the transaction is sent.
|
|
3767
|
+
* @param onSuccess - An optional callback function to be called after the transaction is successfully sent.
|
|
3768
|
+
* @param onFailure - An optional callback function to be called after the transaction is failed or cancelled.
|
|
3769
|
+
* @param suggestedMaxGas - The suggested maximum gas for the transaction.
|
|
3770
|
+
* @returns An object containing the result of the `useSendTransaction` hook and a `sendTransaction` function.
|
|
3771
|
+
*/
|
|
3772
|
+
declare const useBuildTransaction: <ClausesParams>({ clauseBuilder, refetchQueryKeys, invalidateCache, onSuccess, onFailure, suggestedMaxGas, }: BuildTransactionProps<ClausesParams>) => {
|
|
3773
|
+
sendTransaction: (props: ClausesParams) => Promise<void>;
|
|
3774
|
+
isTransactionPending: boolean;
|
|
3775
|
+
isWaitingForWalletConfirmation: boolean;
|
|
3776
|
+
txReceipt: Connex.Thor.Transaction.Receipt | null;
|
|
3777
|
+
status: TransactionStatus;
|
|
3778
|
+
resetStatus: () => void;
|
|
3779
|
+
error?: TransactionStatusErrorType;
|
|
3780
|
+
};
|
|
3781
|
+
|
|
3621
3782
|
type NotificationAction = {
|
|
3622
3783
|
label: string;
|
|
3623
3784
|
content: AccountModalContentTypes;
|
|
@@ -3757,4 +3918,4 @@ declare const useCrossAppConnectionCache: () => {
|
|
|
3757
3918
|
clearConnectionCache: () => void;
|
|
3758
3919
|
};
|
|
3759
3920
|
|
|
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 };
|
|
3921
|
+
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 };
|