@vechain/vechain-kit 2.0.3 → 2.1.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/README.md +21 -4
- package/dist/assets/index.d.mts +1 -1
- package/dist/{index-CWViOs1U.d.mts → index--hSO7Xv4.d.mts} +4 -4
- package/dist/{index-CWViOs1U.d.mts.map → index--hSO7Xv4.d.mts.map} +1 -1
- package/dist/{index-hAce7WHc.d.mts → index-BqitwzCD.d.cts} +265 -174
- package/dist/index-BqitwzCD.d.cts.map +1 -0
- package/dist/{index-DI76m1AO.d.cts → index-C29c--c1.d.mts} +167 -76
- package/dist/index-C29c--c1.d.mts.map +1 -0
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +2 -2
- package/package.json +1 -1
- package/dist/index-DI76m1AO.d.cts.map +0 -1
- package/dist/index-hAce7WHc.d.mts.map +0 -1
|
@@ -2,25 +2,25 @@ import { ButtonProps, IconButtonProps, ImageProps, PropsOf, StackProps, ThemeTyp
|
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import React$1, { ElementType, ReactElement, ReactNode } from "react";
|
|
4
4
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
-
import
|
|
6
|
-
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
7
|
-
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
5
|
+
import { Account } from "viem/accounts";
|
|
8
6
|
import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
9
7
|
import { Address, Certificate, CertificateData, Clause, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
10
|
-
import {
|
|
11
|
-
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
12
|
-
import
|
|
13
|
-
import { IconType } from "react-icons";
|
|
14
|
-
import * as _tanstack_react_query8 from "@tanstack/react-query";
|
|
8
|
+
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy as usePrivy$1, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
9
|
+
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor as useThor$1, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
10
|
+
import * as _tanstack_react_query37 from "@tanstack/react-query";
|
|
15
11
|
import { UseQueryOptions } from "@tanstack/react-query";
|
|
16
|
-
import { z } from "zod";
|
|
17
12
|
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
13
|
+
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
14
|
+
import { z } from "zod";
|
|
18
15
|
import { Options } from "browser-image-compression";
|
|
19
|
-
import
|
|
16
|
+
import * as _vechain_sdk_network2 from "@vechain/sdk-network";
|
|
17
|
+
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
18
|
+
import { UseFormRegister } from "react-hook-form";
|
|
19
|
+
import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
20
|
+
import { CustomizedStyle, I18n, SourceInfo } from "@vechain/dapp-kit-ui";
|
|
21
|
+
import { IconType } from "react-icons";
|
|
20
22
|
import * as abitype0 from "abitype";
|
|
21
23
|
import { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from "abitype";
|
|
22
|
-
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
23
|
-
import { UseFormRegister } from "react-hook-form";
|
|
24
24
|
|
|
25
25
|
//#region src/config/network.d.ts
|
|
26
26
|
/**
|
|
@@ -506,7 +506,7 @@ type VechainKitProviderProps = {
|
|
|
506
506
|
minAmountInEther: number;
|
|
507
507
|
};
|
|
508
508
|
};
|
|
509
|
-
dappKit
|
|
509
|
+
dappKit?: {
|
|
510
510
|
allowedWallets?: WalletSource[];
|
|
511
511
|
walletConnectOptions?: WalletConnectOptions;
|
|
512
512
|
usePersistence?: boolean;
|
|
@@ -528,8 +528,8 @@ type VechainKitProviderProps = {
|
|
|
528
528
|
darkMode?: boolean;
|
|
529
529
|
i18n?: I18n;
|
|
530
530
|
language?: string;
|
|
531
|
-
network
|
|
532
|
-
type
|
|
531
|
+
network?: {
|
|
532
|
+
type?: string;
|
|
533
533
|
nodeUrl?: string;
|
|
534
534
|
requireCertificate?: boolean;
|
|
535
535
|
connectionCertificate?: {
|
|
@@ -541,7 +541,12 @@ type VechainKitProviderProps = {
|
|
|
541
541
|
legalDocuments?: LegalDocumentOptions;
|
|
542
542
|
defaultCurrency?: CURRENCY;
|
|
543
543
|
theme?: VechainKitThemeConfig;
|
|
544
|
+
onLanguageChange?: (language: string) => void;
|
|
545
|
+
onCurrencyChange?: (currency: CURRENCY) => void;
|
|
544
546
|
};
|
|
547
|
+
/**
|
|
548
|
+
* Configuration object returned by useVeChainKitConfig hook
|
|
549
|
+
*/
|
|
545
550
|
type VeChainKitConfig = {
|
|
546
551
|
privy?: VechainKitProviderProps['privy'];
|
|
547
552
|
privyEcosystemAppIDS: string[];
|
|
@@ -551,24 +556,50 @@ type VeChainKitConfig = {
|
|
|
551
556
|
loginMethods?: VechainKitProviderProps['loginMethods'];
|
|
552
557
|
darkMode: boolean;
|
|
553
558
|
i18n?: VechainKitProviderProps['i18n'];
|
|
554
|
-
|
|
555
|
-
|
|
559
|
+
network: {
|
|
560
|
+
type: NETWORK_TYPE;
|
|
561
|
+
nodeUrl: string;
|
|
562
|
+
requireCertificate?: boolean;
|
|
563
|
+
connectionCertificate?: {
|
|
564
|
+
message?: Certificate;
|
|
565
|
+
options?: CertificateData;
|
|
566
|
+
};
|
|
567
|
+
};
|
|
568
|
+
/** Current runtime language value. Reflects the active language in VeChainKit. */
|
|
569
|
+
currentLanguage: string;
|
|
556
570
|
allowCustomTokens?: boolean;
|
|
557
571
|
legalDocuments?: VechainKitProviderProps['legalDocuments'];
|
|
558
|
-
|
|
572
|
+
/** Current runtime currency value. Reflects the active currency in VeChainKit. */
|
|
573
|
+
currentCurrency: CURRENCY;
|
|
559
574
|
theme?: VechainKitThemeConfig;
|
|
575
|
+
/** Function to change the language from the host app. Changes will sync to VeChainKit. */
|
|
576
|
+
setLanguage: (language: string) => void;
|
|
577
|
+
/** Function to change the currency from the host app. Changes will sync to VeChainKit. */
|
|
578
|
+
setCurrency: (currency: CURRENCY) => void;
|
|
560
579
|
};
|
|
561
580
|
/**
|
|
562
581
|
* Context to store the Privy and DAppKit configs so that they can be used by the hooks/components
|
|
563
582
|
*/
|
|
564
583
|
declare const VeChainKitContext: react0.Context<VeChainKitConfig | null>;
|
|
565
584
|
/**
|
|
566
|
-
* Hook to get the
|
|
585
|
+
* Hook to get the VeChainKit configuration
|
|
586
|
+
*
|
|
587
|
+
* @returns VeChainKitConfig object containing:
|
|
588
|
+
* - `currentLanguage`: Current runtime language value
|
|
589
|
+
* - `currentCurrency`: Current runtime currency value
|
|
590
|
+
* - `setLanguage`: Function to change language from host app
|
|
591
|
+
* - `setCurrency`: Function to change currency from host app
|
|
592
|
+
* - Other configuration values (network, darkMode, etc.)
|
|
593
|
+
*
|
|
594
|
+
* @example
|
|
595
|
+
* ```tsx
|
|
596
|
+
* const config = useVeChainKitConfig();
|
|
597
|
+
* console.log(config.currentLanguage); // 'fr' (current value)
|
|
598
|
+
* console.log(config.currentCurrency); // 'eur' (current value)
|
|
599
|
+
* config.setLanguage('de'); // Change language
|
|
600
|
+
* ```
|
|
567
601
|
*/
|
|
568
602
|
declare const useVeChainKitConfig: () => VeChainKitConfig;
|
|
569
|
-
/**
|
|
570
|
-
* Provider to wrap the application with Privy and DAppKit
|
|
571
|
-
*/
|
|
572
603
|
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) => react_jsx_runtime0.JSX.Element;
|
|
573
604
|
//#endregion
|
|
574
605
|
//#region src/providers/PrivyWalletProvider.d.ts
|
|
@@ -939,7 +970,7 @@ declare const DisconnectConfirmContent: ({
|
|
|
939
970
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
940
971
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
941
972
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
942
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
973
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query37.UseQueryResult<{
|
|
943
974
|
[k: string]: {
|
|
944
975
|
website: string | undefined;
|
|
945
976
|
id: string;
|
|
@@ -960,7 +991,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
960
991
|
//#endregion
|
|
961
992
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
962
993
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
963
|
-
declare const useFetchPrivyStatus: () =>
|
|
994
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
964
995
|
//#endregion
|
|
965
996
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
966
997
|
interface VeChainDomainResult {
|
|
@@ -970,11 +1001,11 @@ interface VeChainDomainResult {
|
|
|
970
1001
|
isPrimaryDomain: boolean;
|
|
971
1002
|
}
|
|
972
1003
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
973
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1004
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query37.UseQueryResult<VeChainDomainResult, Error>;
|
|
974
1005
|
//#endregion
|
|
975
1006
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
976
1007
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
977
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1008
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
978
1009
|
//#endregion
|
|
979
1010
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
980
1011
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1014,7 +1045,7 @@ type useClaimVetDomainReturnValue = {
|
|
|
1014
1045
|
sendTransaction: () => Promise<void>;
|
|
1015
1046
|
clauses: () => TransactionClause[];
|
|
1016
1047
|
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
1017
|
-
declare const buildVetDomainClauses: (domain: string, alreadyOwned: boolean, account: Wallet, network:
|
|
1048
|
+
declare const buildVetDomainClauses: (domain: string, alreadyOwned: boolean, account: Wallet, network: VeChainKitConfig["network"]) => TransactionClause[];
|
|
1018
1049
|
/**
|
|
1019
1050
|
* Hook for claiming a .vet domain
|
|
1020
1051
|
*
|
|
@@ -1036,7 +1067,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1036
1067
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1037
1068
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1038
1069
|
*/
|
|
1039
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1070
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
1040
1071
|
//#endregion
|
|
1041
1072
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1042
1073
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1064,7 +1095,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1064
1095
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1065
1096
|
* @returns The domains owned by the address
|
|
1066
1097
|
*/
|
|
1067
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1098
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1068
1099
|
domains: {
|
|
1069
1100
|
name: string;
|
|
1070
1101
|
}[];
|
|
@@ -1077,7 +1108,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1077
1108
|
* @param name - The VET domain name
|
|
1078
1109
|
* @returns The resolved avatar URL
|
|
1079
1110
|
*/
|
|
1080
|
-
declare const useGetAvatar: (name: string) =>
|
|
1111
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query37.UseQueryResult<string | null, Error>;
|
|
1081
1112
|
//#endregion
|
|
1082
1113
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1083
1114
|
/**
|
|
@@ -1089,7 +1120,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query8.UseQueryRes
|
|
|
1089
1120
|
*/
|
|
1090
1121
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1091
1122
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1092
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1123
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query37.UseQueryResult<TextRecords, Error>;
|
|
1093
1124
|
//#endregion
|
|
1094
1125
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1095
1126
|
type UpdateTextRecordVariables = {
|
|
@@ -1122,7 +1153,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1122
1153
|
* @param domain The domain to get resolver for
|
|
1123
1154
|
* @returns The resolver address for the domain
|
|
1124
1155
|
*/
|
|
1125
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1156
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query37.UseQueryResult<`0x${string}`, unknown>;
|
|
1126
1157
|
//#endregion
|
|
1127
1158
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1128
1159
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1132,7 +1163,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1132
1163
|
* @param address The owner's address
|
|
1133
1164
|
* @returns The avatar URL for the address's primary domain
|
|
1134
1165
|
*/
|
|
1135
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1166
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
1136
1167
|
//#endregion
|
|
1137
1168
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1138
1169
|
/**
|
|
@@ -1149,7 +1180,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1149
1180
|
* @param name - The VET domain name
|
|
1150
1181
|
* @returns The resolved avatar URL
|
|
1151
1182
|
*/
|
|
1152
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1183
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query37.UseQueryResult<string | null, Error>;
|
|
1153
1184
|
//#endregion
|
|
1154
1185
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1155
1186
|
type useUnsetDomainProps = {
|
|
@@ -1258,7 +1289,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1258
1289
|
* Hook to get the current roundId of allocations voting
|
|
1259
1290
|
* @returns the current roundId of allocations voting
|
|
1260
1291
|
*/
|
|
1261
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1292
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query37.UseQueryResult<string, unknown>;
|
|
1262
1293
|
//#endregion
|
|
1263
1294
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1264
1295
|
declare const useCustomTokens: () => {
|
|
@@ -1271,7 +1302,7 @@ declare const useCustomTokens: () => {
|
|
|
1271
1302
|
//#endregion
|
|
1272
1303
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1273
1304
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1274
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1305
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1275
1306
|
original: string;
|
|
1276
1307
|
scaled: string;
|
|
1277
1308
|
formatted: string;
|
|
@@ -1280,7 +1311,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query8.Us
|
|
|
1280
1311
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1281
1312
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1282
1313
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string) => (string | undefined)[];
|
|
1283
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1314
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1284
1315
|
original: string;
|
|
1285
1316
|
scaled: string;
|
|
1286
1317
|
formatted: string;
|
|
@@ -1291,13 +1322,13 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1291
1322
|
}, Error>[];
|
|
1292
1323
|
//#endregion
|
|
1293
1324
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1294
|
-
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1325
|
+
declare const getTokenInfo$1: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1295
1326
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1296
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1327
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query37.UseQueryResult<CustomTokenInfo, Error>;
|
|
1297
1328
|
//#endregion
|
|
1298
1329
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1299
1330
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1300
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string) =>
|
|
1331
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1301
1332
|
original: string;
|
|
1302
1333
|
scaled: string;
|
|
1303
1334
|
formatted: string;
|
|
@@ -1314,11 +1345,11 @@ declare const PRICE_FEED_IDS: {
|
|
|
1314
1345
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1315
1346
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1316
1347
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1317
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1348
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query37.UseQueryResult<number, Error>;
|
|
1318
1349
|
//#endregion
|
|
1319
1350
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1320
1351
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1321
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1352
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1322
1353
|
original: string;
|
|
1323
1354
|
scaled: string;
|
|
1324
1355
|
formatted: string;
|
|
@@ -1337,7 +1368,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1337
1368
|
* @param user - The user address.
|
|
1338
1369
|
* @returns The isPerson status.
|
|
1339
1370
|
*/
|
|
1340
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1371
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
1341
1372
|
//#endregion
|
|
1342
1373
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1343
1374
|
type XApp = {
|
|
@@ -1375,7 +1406,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1375
1406
|
//#endregion
|
|
1376
1407
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1377
1408
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
|
|
1378
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1409
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1379
1410
|
id: string;
|
|
1380
1411
|
teamWalletAddress: `0x${string}`;
|
|
1381
1412
|
name: string;
|
|
@@ -1406,7 +1437,7 @@ type UseWalletReturnType = {
|
|
|
1406
1437
|
};
|
|
1407
1438
|
disconnect: () => Promise<void>;
|
|
1408
1439
|
};
|
|
1409
|
-
declare const useWallet: () => UseWalletReturnType;
|
|
1440
|
+
declare const useWallet$1: () => UseWalletReturnType;
|
|
1410
1441
|
//#endregion
|
|
1411
1442
|
//#region src/hooks/api/wallet/useWalletMetadata.d.ts
|
|
1412
1443
|
declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) => {
|
|
@@ -1458,7 +1489,7 @@ type XAppMetadata = {
|
|
|
1458
1489
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1459
1490
|
*/
|
|
1460
1491
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1461
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1492
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query37.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1462
1493
|
//#endregion
|
|
1463
1494
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1464
1495
|
/**
|
|
@@ -1473,7 +1504,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1473
1504
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1474
1505
|
*
|
|
1475
1506
|
*/
|
|
1476
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1507
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
1477
1508
|
app: string;
|
|
1478
1509
|
share: number;
|
|
1479
1510
|
unallocatedShare: number;
|
|
@@ -1495,7 +1526,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1495
1526
|
* @param ipfsUri - The IPFS URI
|
|
1496
1527
|
* @returns The metadata from IPFS
|
|
1497
1528
|
*/
|
|
1498
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1529
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query37.UseQueryResult<_tanstack_react_query37.NoInfer<T$1>, Error>;
|
|
1499
1530
|
//#endregion
|
|
1500
1531
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1501
1532
|
interface IpfsImage {
|
|
@@ -1522,14 +1553,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1522
1553
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1523
1554
|
* @returns The NFT media
|
|
1524
1555
|
*/
|
|
1525
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1556
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query37.UseQueryResult<IpfsImage, Error>;
|
|
1526
1557
|
/**
|
|
1527
1558
|
* Custom hook to fetch a list of IPFS images.
|
|
1528
1559
|
*
|
|
1529
1560
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1530
1561
|
* @returns An array of queries for each IPFS image URI.
|
|
1531
1562
|
*/
|
|
1532
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1563
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query37.UseQueryResult<IpfsImage, Error>[];
|
|
1533
1564
|
//#endregion
|
|
1534
1565
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1535
1566
|
/**
|
|
@@ -1537,7 +1568,7 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1537
1568
|
* @param ipfsUris - The IPFS URIs
|
|
1538
1569
|
* @returns The metadata from IPFS for each URI
|
|
1539
1570
|
*/
|
|
1540
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1571
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query37.UseQueryResult<T$1, Error>[];
|
|
1541
1572
|
//#endregion
|
|
1542
1573
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1543
1574
|
declare const imageCompressionOptions: Options;
|
|
@@ -1718,7 +1749,7 @@ declare const useSwapTransaction: (params: SwapParams | null, quote: SwapQuote |
|
|
|
1718
1749
|
executeSwap: () => Promise<void>;
|
|
1719
1750
|
isTransactionPending: boolean;
|
|
1720
1751
|
isWaitingForWalletConfirmation: boolean;
|
|
1721
|
-
txReceipt:
|
|
1752
|
+
txReceipt: _vechain_sdk_network2.TransactionReceipt | null;
|
|
1722
1753
|
status: TransactionStatus;
|
|
1723
1754
|
resetStatus: () => void;
|
|
1724
1755
|
error: TransactionStatusErrorType | undefined;
|
|
@@ -2026,7 +2057,7 @@ type UseSignTypedDataReturnValue = {
|
|
|
2026
2057
|
declare const useSignTypedData: () => UseSignTypedDataReturnValue;
|
|
2027
2058
|
//#endregion
|
|
2028
2059
|
//#region src/hooks/login/useLoginWithPasskey.d.ts
|
|
2029
|
-
declare const useLoginWithPasskey: () => {
|
|
2060
|
+
declare const useLoginWithPasskey$1: () => {
|
|
2030
2061
|
loginWithPasskey: () => Promise<void>;
|
|
2031
2062
|
};
|
|
2032
2063
|
//#endregion
|
|
@@ -2034,7 +2065,7 @@ declare const useLoginWithPasskey: () => {
|
|
|
2034
2065
|
interface OAuthOptions {
|
|
2035
2066
|
provider: OAuthProviderType;
|
|
2036
2067
|
}
|
|
2037
|
-
declare const useLoginWithOAuth: () => {
|
|
2068
|
+
declare const useLoginWithOAuth$1: () => {
|
|
2038
2069
|
initOAuth: ({
|
|
2039
2070
|
provider
|
|
2040
2071
|
}: OAuthOptions) => Promise<void>;
|
|
@@ -2091,7 +2122,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2091
2122
|
* );
|
|
2092
2123
|
* ```
|
|
2093
2124
|
*/
|
|
2094
|
-
declare const useAppHubApps: () =>
|
|
2125
|
+
declare const useAppHubApps: () => _tanstack_react_query37.UseQueryResult<AppHubApp[], Error>;
|
|
2095
2126
|
//#endregion
|
|
2096
2127
|
//#region src/utils/constants.d.ts
|
|
2097
2128
|
declare const TOKEN_LOGOS: Record<string, string>;
|
|
@@ -2438,7 +2469,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2438
2469
|
method: TMethod;
|
|
2439
2470
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2440
2471
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2441
|
-
}) =>
|
|
2472
|
+
}) => _tanstack_react_query37.UseQueryResult<_tanstack_react_query37.NoInfer<TData>, unknown>;
|
|
2442
2473
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2443
2474
|
thor,
|
|
2444
2475
|
calls,
|
|
@@ -2449,11 +2480,14 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2449
2480
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2450
2481
|
queryKey: string[];
|
|
2451
2482
|
enabled?: boolean;
|
|
2452
|
-
}) =>
|
|
2483
|
+
}) => _tanstack_react_query37.UseQueryResult<_tanstack_react_query37.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2453
2484
|
//#endregion
|
|
2454
2485
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2455
2486
|
/**
|
|
2456
2487
|
* Hook for managing currency preferences
|
|
2488
|
+
*
|
|
2489
|
+
* Note: This hook now uses the currency from VeChainKit context.
|
|
2490
|
+
* For setting currency, use the setCurrency function from useCurrentCurrency() hook instead.
|
|
2457
2491
|
*/
|
|
2458
2492
|
declare const useCurrency: () => {
|
|
2459
2493
|
currentCurrency: CURRENCY;
|
|
@@ -2461,6 +2495,63 @@ declare const useCurrency: () => {
|
|
|
2461
2495
|
changeCurrency: (newCurrency: CURRENCY) => void;
|
|
2462
2496
|
};
|
|
2463
2497
|
//#endregion
|
|
2498
|
+
//#region src/hooks/utils/useCurrentLanguage.d.ts
|
|
2499
|
+
/**
|
|
2500
|
+
* Hook to get and set the current language in VeChainKit
|
|
2501
|
+
*
|
|
2502
|
+
* This hook provides the current runtime language value and a function to change it.
|
|
2503
|
+
* Changes made via this hook will sync to VeChainKit settings and trigger callbacks.
|
|
2504
|
+
*
|
|
2505
|
+
* @returns Object with:
|
|
2506
|
+
* - `currentLanguage`: Current language code (e.g., 'en', 'fr', 'de')
|
|
2507
|
+
* - `setLanguage`: Function to change the language
|
|
2508
|
+
*
|
|
2509
|
+
* @example
|
|
2510
|
+
* ```tsx
|
|
2511
|
+
* const { currentLanguage, setLanguage } = useCurrentLanguage();
|
|
2512
|
+
*
|
|
2513
|
+
* return (
|
|
2514
|
+
* <select value={currentLanguage} onChange={(e) => setLanguage(e.target.value)}>
|
|
2515
|
+
* <option value="en">English</option>
|
|
2516
|
+
* <option value="fr">Français</option>
|
|
2517
|
+
* </select>
|
|
2518
|
+
* );
|
|
2519
|
+
* ```
|
|
2520
|
+
*/
|
|
2521
|
+
declare const useCurrentLanguage: () => {
|
|
2522
|
+
currentLanguage: string;
|
|
2523
|
+
setLanguage: (language: string) => void;
|
|
2524
|
+
};
|
|
2525
|
+
//#endregion
|
|
2526
|
+
//#region src/hooks/utils/useCurrentCurrency.d.ts
|
|
2527
|
+
/**
|
|
2528
|
+
* Hook to get and set the current currency in VeChainKit
|
|
2529
|
+
*
|
|
2530
|
+
* This hook provides the current runtime currency value and a function to change it.
|
|
2531
|
+
* Changes made via this hook will sync to VeChainKit settings and trigger callbacks.
|
|
2532
|
+
*
|
|
2533
|
+
* @returns Object with:
|
|
2534
|
+
* - `currentCurrency`: Current currency code ('usd', 'eur', or 'gbp')
|
|
2535
|
+
* - `setCurrency`: Function to change the currency
|
|
2536
|
+
*
|
|
2537
|
+
* @example
|
|
2538
|
+
* ```tsx
|
|
2539
|
+
* const { currentCurrency, setCurrency } = useCurrentCurrency();
|
|
2540
|
+
*
|
|
2541
|
+
* return (
|
|
2542
|
+
* <select value={currentCurrency} onChange={(e) => setCurrency(e.target.value as CURRENCY)}>
|
|
2543
|
+
* <option value="usd">USD ($)</option>
|
|
2544
|
+
* <option value="eur">EUR (€)</option>
|
|
2545
|
+
* <option value="gbp">GBP (£)</option>
|
|
2546
|
+
* </select>
|
|
2547
|
+
* );
|
|
2548
|
+
* ```
|
|
2549
|
+
*/
|
|
2550
|
+
declare const useCurrentCurrency: () => {
|
|
2551
|
+
currentCurrency: CURRENCY;
|
|
2552
|
+
setCurrency: (currency: CURRENCY) => void;
|
|
2553
|
+
};
|
|
2554
|
+
//#endregion
|
|
2464
2555
|
//#region src/hooks/utils/useFeatureAnnouncement.d.ts
|
|
2465
2556
|
declare const useFeatureAnnouncement: () => {
|
|
2466
2557
|
isVisible: boolean;
|
|
@@ -2513,7 +2604,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2513
2604
|
filterParams,
|
|
2514
2605
|
mapResponse,
|
|
2515
2606
|
nodeUrl
|
|
2516
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
2607
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query37.UseQueryResult<R[], Error>;
|
|
2517
2608
|
//#endregion
|
|
2518
2609
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2519
2610
|
interface BuildClausesParams {
|
|
@@ -2664,7 +2755,7 @@ declare const useGasEstimation: ({
|
|
|
2664
2755
|
tokens,
|
|
2665
2756
|
sendingAmount,
|
|
2666
2757
|
sendingTokenSymbol
|
|
2667
|
-
}: UseGasEstimationParams) =>
|
|
2758
|
+
}: UseGasEstimationParams) => _tanstack_react_query37.UseQueryResult<EstimationResponse & {
|
|
2668
2759
|
usedToken: string;
|
|
2669
2760
|
}, Error>;
|
|
2670
2761
|
//#endregion
|
|
@@ -2678,7 +2769,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2678
2769
|
clauses,
|
|
2679
2770
|
tokens,
|
|
2680
2771
|
enabled
|
|
2681
|
-
}: UseEstimateAllTokensParams) =>
|
|
2772
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query37.UseQueryResult<Record<GasTokenType, {
|
|
2682
2773
|
cost: number;
|
|
2683
2774
|
loading: boolean;
|
|
2684
2775
|
error?: string;
|
|
@@ -2695,7 +2786,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2695
2786
|
* @param address The address of the account to get the balance for
|
|
2696
2787
|
* @returns The account balance
|
|
2697
2788
|
*/
|
|
2698
|
-
declare const useAccountBalance: (address?: string) =>
|
|
2789
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
2699
2790
|
balance: string;
|
|
2700
2791
|
energy: string;
|
|
2701
2792
|
}, Error>;
|
|
@@ -2708,7 +2799,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2708
2799
|
* @param version - The version of the smart account implementation
|
|
2709
2800
|
* @returns The address of the smart account implementation
|
|
2710
2801
|
*/
|
|
2711
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
2802
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
2712
2803
|
//#endregion
|
|
2713
2804
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
2714
2805
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2717,7 +2808,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
2717
2808
|
* Get the current account implementation version used by the smart account factory
|
|
2718
2809
|
* @returns The current account implementation version
|
|
2719
2810
|
*/
|
|
2720
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
2811
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query37.UseQueryResult<number, Error>;
|
|
2721
2812
|
//#endregion
|
|
2722
2813
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
2723
2814
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -2727,7 +2818,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
2727
2818
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2728
2819
|
* @returns The address of the smart account
|
|
2729
2820
|
*/
|
|
2730
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
2821
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
2731
2822
|
//#endregion
|
|
2732
2823
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
2733
2824
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
|
|
@@ -2737,7 +2828,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2737
2828
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2738
2829
|
* @returns The version of the smart account
|
|
2739
2830
|
*/
|
|
2740
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
2831
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query37.UseQueryResult<{
|
|
2741
2832
|
version: number;
|
|
2742
2833
|
isDeployed: boolean;
|
|
2743
2834
|
}, unknown>;
|
|
@@ -2750,7 +2841,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
2750
2841
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2751
2842
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
2752
2843
|
*/
|
|
2753
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
2844
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
2754
2845
|
//#endregion
|
|
2755
2846
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
2756
2847
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -2759,7 +2850,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
2759
2850
|
* Check if a smart account is deployed
|
|
2760
2851
|
* @returns True if the smart account is deployed, false otherwise
|
|
2761
2852
|
*/
|
|
2762
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
2853
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
2763
2854
|
//#endregion
|
|
2764
2855
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
2765
2856
|
/**
|
|
@@ -2792,7 +2883,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
2792
2883
|
isDeployed: boolean;
|
|
2793
2884
|
}>;
|
|
2794
2885
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
2795
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
2886
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query37.UseQueryResult<{
|
|
2796
2887
|
address: undefined;
|
|
2797
2888
|
isDeployed?: undefined;
|
|
2798
2889
|
} | {
|
|
@@ -2810,7 +2901,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2810
2901
|
* @param targetVersion - The version of the smart account to check for
|
|
2811
2902
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2812
2903
|
*/
|
|
2813
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
2904
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
2814
2905
|
//#endregion
|
|
2815
2906
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
2816
2907
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -2821,7 +2912,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
2821
2912
|
* @param targetVersion - The target version of the smart account
|
|
2822
2913
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2823
2914
|
*/
|
|
2824
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
2915
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query37.UseQueryResult<boolean, Error>;
|
|
2825
2916
|
//#endregion
|
|
2826
2917
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
2827
2918
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -2846,7 +2937,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
2846
2937
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
2847
2938
|
* @returns the current block
|
|
2848
2939
|
*/
|
|
2849
|
-
declare const useCurrentBlock: () =>
|
|
2940
|
+
declare const useCurrentBlock: () => _tanstack_react_query37.UseQueryResult<_vechain_sdk_network2.ExpandedBlockDetail, Error>;
|
|
2850
2941
|
//#endregion
|
|
2851
2942
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
2852
2943
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -2855,7 +2946,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
2855
2946
|
* Get the chain id
|
|
2856
2947
|
* @returns The chain id
|
|
2857
2948
|
*/
|
|
2858
|
-
declare const useGetChainId: () =>
|
|
2949
|
+
declare const useGetChainId: () => _tanstack_react_query37.UseQueryResult<string, Error>;
|
|
2859
2950
|
//#endregion
|
|
2860
2951
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
2861
2952
|
/**
|
|
@@ -3081,7 +3172,7 @@ declare const useBuildTransaction: <ClausesParams>({
|
|
|
3081
3172
|
sendTransaction: (props: ClausesParams) => Promise<void>;
|
|
3082
3173
|
isTransactionPending: boolean;
|
|
3083
3174
|
isWaitingForWalletConfirmation: boolean;
|
|
3084
|
-
txReceipt:
|
|
3175
|
+
txReceipt: _vechain_sdk_network2.TransactionReceipt | null;
|
|
3085
3176
|
status: TransactionStatus;
|
|
3086
3177
|
resetStatus: () => void;
|
|
3087
3178
|
error?: TransactionStatusErrorType;
|
|
@@ -3096,7 +3187,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3096
3187
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3097
3188
|
* @returns Query result containing the transaction receipt
|
|
3098
3189
|
*/
|
|
3099
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3190
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query37.UseQueryResult<_vechain_sdk_network2.TransactionReceipt, Error>;
|
|
3100
3191
|
//#endregion
|
|
3101
3192
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
|
|
3102
3193
|
type SendTokenContentProps = {
|
|
@@ -3965,5 +4056,5 @@ type AppConfig = {
|
|
|
3965
4056
|
};
|
|
3966
4057
|
declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
|
|
3967
4058
|
//#endregion
|
|
3968
|
-
export { AssetsContentProps as $, getCustomTokenInfoQueryKey as $a, useChooseNameModal as $i, useGetNodeUrl as $n, EmbeddedWalletContent as $o, getPicassoImage as $r, formatGasCost as $s, getSmartAccount as $t, ModalBackButton as A, getXAppMetadata as Aa, useAccountModalOptions as Ai, delegateAuthorized as An, getAvatarQueryKey as Ao, validate as Ar, VechainKitThemeProvider as As, useBuildTransaction as At, AccountModal as B, XApp as Ba, FAQModalProvider as Bi, LocalStorageKey as Bn, useClaimVetDomain as Bo, xNodeToGMstartingLevel as Br, useVeChainKitConfig as Bs, getChainId as Bt, AddressDisplayCard as C, useIpfsImageList as Ca, VePassportUserStatus as Cc, useLoginWithVeChain as Ci, useAccountBalance as Cn, getResolverAddressQueryKey as Co, isValidUrl as Cr, ConnectionButton as Cs, useMfaEnrollment as Ct, StickyHeaderContainer as D, getXAppsSharesQueryKey as Da, useSignMessage as Di, useGasEstimation as Dn, getTextRecords as Do, isValid as Dr, LegalDocumentsProvider as Ds, txReceiptQueryKey as Dt, StickyFooterContainer as E, useIpfsMetadata as Ea, useSignTypedData as Ei, UseGasEstimationParams as En, useUpdateTextRecord as Eo, isInvalid as Er, ConnectModalContentsTypes as Es, useThor as Et, QuickActionsSection as F, getRoundXAppsQueryKey as Fa, useLoginModalContent as Fi, useGenericDelegator as Fn, getDomainsOfAddressQueryKey as Fo, NodeStrengthLevelToImage as Fr, LegalDocument as Fs, UseSendTransactionReturnValue as Ft, LanguageSettingsContent as G, useGetVot3Balance as Ga, useExploreEcosystemModal as Gi, useBuildClauses as Gn, useVechainDomain as Go, validateIpfsUri as Gr, CostLevel as Gs, useUpgradeSmartAccount as Gt, TermsAndPrivacyContent as H, getIsPersonQueryKey as Ha, NotificationsModalProvider as Hi, BuildClausesParams as Hn, getEnsRecordExistsQueryKey as Ho, resolveMediaTypeFromMimeType as Hr, LegalDocumentAgreement as Hs, useGetChainId as Ht, BalanceSection as I, useRoundXApps as Ia, ReceiveModalProvider as Ii, useCrossAppConnectionCache as In, useGetDomainsOfAddress as Io, XNodeStrengthLevelToName as Ir, LegalDocumentOptions as Is, useSendTransaction as It, ChangeCurrencyContentProps as J, getTokenUsdPrice as Ja, SwapTokenModalProvider as Ji, decodeEventLog$1 as Jn, fetchPrivyAppInfo as Jo, isValidAddress as Jr, EstimationResponse as Js, useUpgradeRequiredForAccount as Jt, GeneralSettingsContent as K, PRICE_FEED_IDS as Ka, AccessAndSecurityModalProvider as Ki, GetEventsKeyParams as Kn, fetchPrivyStatus as Ko, compareAddresses as Kr, DepositAccount as Ks, getUpgradeRequiredForAccount as Kt, AccountSelector as L, useRefreshMetadata as La, useReceiveModal as Li, EcosystemShortcut as Ln, getIsDomainProtectedQueryKey as Lo, allNodeStrengthLevelToName as Lr, VeChainKitContext as Ls, GetEventsProps as Lt, DomainRequiredAlert as M, useWalletMetadata as Ma, useProfileModal as Mi, estimateGas as Mn, Domain as Mo, TIME as Mr, PrivyWalletProvider as Ms, useTransferVET as Mt, ExchangeWarningAlert as N, UseWalletReturnType as Na, UpgradeSmartAccountModalProvider as Ni, getDepositAccount as Nn, DomainsResponse as No, EconomicNodeStrengthLevelToName as Nr, PrivyWalletProviderContextType as Ns, buildERC20Clauses as Nt, VersionFooter as O, useXAppsShares as Oa, useNotificationAlerts as Oi, useGasTokenSelection as On, getTextRecordsQueryKey as Oo, normalize as Or, useLegalDocuments as Os, useTxReceipt as Ot, FeatureAnnouncementCard as P, useWallet as Pa, useUpgradeSmartAccountModal as Pi, signVip191Transaction as Pn, getDomainsOfAddress as Po, MinXNodeLevel as Pr, usePrivyWalletProvider as Ps, useTransferERC20 as Pt, AssetsContent as Q, useGetErc20Balance as Qa, ChooseNameModalProvider as Qi, useIsPWA as Qn, DisconnectConfirmContentProps as Qo, formatTokenBalance as Qr, calculateTotalCost as Qs, SmartAccountReturnType as Qt, ActionButton as R, useRefreshBalances as Ra, AccountCustomizationModalProvider as Ri, useEcosystemShortcuts as Rn, useIsDomainProtected as Ro, buildQueryString as Rr, VeChainKitProvider as Rs, getAllEventLogs as Rt, ModalFAQButton as S, useIpfsImage as Sa, TransactionStatusErrorType as Sc, useAppHubApps as Si, getAccountBalanceQueryKey as Sn, useGetAvatarOfAddress as So, executeMultipleClausesCall as Sr, EmailLoginButton as Ss, useDAppKitWalletModal as St, BaseModal as T, getIpfsMetadataQueryKey as Ta, useLoginWithPasskey as Ti, useEstimateAllTokens as Tn, buildClauses as To, compare as Tr, ConnectModal as Ts, useSetWalletRecovery as Tt, GasTokenSettingsContent as U, useIsPerson as Ua, useNotificationsModal as Ui, buildBatchAuthorizationTypedData as Un, useEnsRecordExists as Uo, toIPFSURL as Ur, LegalDocumentSource as Us, currentBlockQueryKey as Ut, AccountModalContentTypes as V, useMostVotedAppsInRound as Va, useFAQModal as Vi, useLocalStorage as Vn, useClaimVeWorldSubdomain as Vo, convertUriToUrl as Vr, EnrichedLegalDocument as Vs, getChainIdQueryKey as Vt, AppearanceSettingsContent as W, getVot3BalanceQueryKey as Wa, ExploreEcosystemModalProvider as Wi, buildSingleAuthorizationTypedData as Wn, getVechainDomainQueryKey as Wo, uploadBlobToIPFS as Wr, LegalDocumentType as Ws, useCurrentBlock as Wt, ManageCustomTokenContent as X, useGetTokenUsdPrice as Xa, SendTokenModalProvider as Xi, useEvents as Xn, useFetchAppInfo as Xo, regexPattern as Xr, TransactionCost as Xs, getUpgradeRequiredQueryKey as Xt, BridgeContent as Y, getTokenUsdPriceQueryKey as Ya, useSwapTokenModal as Yi, getEventsKey as Yn, getPrivyAppInfoQueryKey as Yo, leftPadWithZeros as Yr, Rate as Ys, getUpgradeRequired as Yt, ManageCustomTokenContentProps as Z, getErc20BalanceQueryKey as Za, useSendTokenModal as Zi, useScrollToTop as Zn, DisconnectConfirmContent as Zo, randomTransactionUser as Zr, VthoPerGasAtSpeed as Zs, useUpgradeRequired as Zt, ModalNotificationButton as _, useIpfsMetadatas as _a, PrivyAppInfo as _c, getGenericDelegatorUrl as _i, useCurrentAccountImplementationVersion as _n, useUnsetDomain as _o, MultipleClausesCallParameters as _r, PasskeyLoginButton as _s, SelectTokenContent as _t, useModal as a, useTransactionModal as aa, TransactionSpeed as ac, DEFAULT_PRIVY_ECOSYSTEM_APPS as ai, getIsDeployedQueryKey as an, getB3trBalanceQueryKey as ao, useMultipleClausesCall as ar, TransactionModalContent as as, CustomizationSummaryContentProps as at, AccountAvatar as b, getIpfsImage as ba, TokenBalance as bc, fetchAppHubApps as bi, useAccountImplementationAddress as bn, useGetAvatarLegacy as bo, buildCallClauses as br, EcosystemButton as bs, ThorClient$1 as bt, LegalDocumentsModal as c, ConnectModalProvider as ca, CURRENCY as cc, SUPPORTED_GAS_TOKENS as ci, getHasV1SmartAccountQueryKey as cn, getCurrentAllocationsRoundIdQueryKey as co, getLocalStorageItem as cr, TransactionModalProps as cs, FAQContent as ct, UpgradeSmartAccountModalContentsTypes as d, useSwapTransaction as da, CrossAppConnectionCache as dc, TogglePassportCheck as di, useGetAccountVersion as dn, TokenWithValue as do, isBrowser as dr, WalletButtonProps as ds, ChooseNameSearchContent as dt, WalletModalProvider as ea, GasTokenEstimate as ec, humanAddress as ei, getSmartAccountQueryKey as en, getTokenInfo as eo, useFeatureAnnouncement as er, SettingsContent as es, UpgradeSmartAccountContent as et, UpgradeSmartAccountModalStyle as f, useSingleImageUpload as fa, ENSRecords as fc, VECHAIN_KIT_COOKIES_CONFIG as fi, getAccountAddress as fn, useTokensWithValues as fo, isOnline as fr, WalletDisplayVariant as fs, ChooseNameSearchContentProps as ft, GasFeeSummary as g, useUploadImages as ga, NFTMediaType as gc, getENV as gi, getCurrentAccountImplementationVersionQueryKey as gn, useTokenBalances as go, setLocalStorageItem as gr, DappKitButton as gs, ReceiveTokenContent as gt, GasFeeTokenSelector as h, imageCompressionOptions as ha, ExecuteWithAuthorizationSignData as hc, VECHAIN_PRIVY_APP_ID as hi, getCurrentAccountImplementationVersion as hn, WalletTokenBalance as ho, safeWindowOpen as hr, VeChainWithPrivyLoginButton as hs, SwapTokenContent as ht, ModalProvider as i, TransactionModalProvider as ia, GasTokenType as ic, DEFAULT_GAS_TOKEN_PREFERENCES as ii, getIsDeployed as in, useGetCustomTokenBalances as io, useCallClause as ir, TransactionToast as is, CustomizationSummaryContent as it, CrossAppConnectionSecurityCard as j, useXAppMetadata as ja, ProfileModalProvider as ji, estimateAndBuildTxBody as jn, useGetAvatar as jo, isRejectionError as jr, useVechainKitThemeConfig as js, buildVETClauses as jt, AddressDisplay as k, XAppMetadata as ka, useNotifications as ki, decodeRawTx as kn, useGetTextRecords as ko, removePrefix as kr, ColorModeSync as ks, BuildTransactionProps as kt, LegalDocumentsModalContentsTypes as l, useConnectModal as la, CURRENCY_SYMBOLS as lc, TOKEN_LOGOS as li, useHasV1SmartAccount as ln, useCurrentAllocationsRoundId as lo, getWindowOrigin as lr, SocialIcons as ls, ChooseNameSummaryContent as lt, LoginLoadingModal as m, compressImages as ma, ExecuteBatchWithAuthorizationSignData as mc, VECHAIN_KIT_TERMS_CONFIG as mi, useGetAccountAddress as mn, useTokenPrices as mo, safeQuerySelector as mr, LoginWithGithubButton as ms, ChooseNameContentProps as mt, getConfig as n, TransactionToastProvider as na, GasTokenPreferences as nc, humanNumber as ni, useRefreshSmartAccountQueries as nn, TokenWithBalance as no, getCallClauseQueryKey as nr, AccessAndSecurityContent as ns, ProfileContent as nt, DAppKitWalletButton as o, AccountModalProvider as oa, ENS_TEXT_RECORDS as oc, ENV as oi, useIsSmartAccountDeployed as on, useGetB3trBalance as oo, copyToClipboard as or, ShareButtons as os, AccountCustomizationContentProps as ot, EcosystemModal as p, UploadedImage as pa, EnhancedClause as pc, VECHAIN_KIT_STORAGE_KEYS as pi, getAccountAddressQueryKey as pn, ExchangeRates as po, removeLocalStorageItem as pr, ConnectPopover as ps, ChooseNameContent as pt, ChangeCurrencyContent as q, SupportedToken as qa, useAccessAndSecurityModal as qi, UseEventsParams as qn, useFetchPrivyStatus as qo, compareListOfAddresses as qr, EstimatedGas as qs, getUpgradeRequiredForAccountQueryKey as qt, AccountModalOptions as r, useTransactionToast as ra, GasTokenSelection as rc, isZero as ri, useRefreshFactoryQueries as rn, getCustomTokenBalanceQueryKey as ro, getCallClauseQueryKeyWithArgs as rr, AccountMainContent as rs, ProfileContentProps as rt, LegalDocumentItem as s, useAccountModal as sa, TextRecords as sc, PrivyEcosystemApp as si, getHasV1SmartAccount as sn, useCustomTokens as so, getDocumentTitle as sr, TransactionModal as ss, CustomizationContent as st, AppConfig as t, useWalletModal as ta, GasTokenInfo as tc, humanDomain as ti, useSmartAccount as tn, useGetCustomTokenInfo as to, useCurrency as tr, SettingsContentProps as ts, UpgradeSmartAccountContentProps as tt, UpgradeSmartAccountModal as u, useSwapQuotes as ua, ConnectionSource as uc, TOKEN_LOGO_COMPONENTS as ui, getAccountVersionQueryKey as un, useTotalBalance as uo, hasNavigator as ur, WalletButton as us, ChooseNameSummaryContentProps as ut, TransactionButtonAndStatus as v, IpfsImage as va, PrivyLoginMethod as vc, notFoundImage as vi, getAccountImplementationAddress as vn, getAvatarLegacy as vo, MultipleClausesCallReturnType as vr, LoginWithGoogleButton as vs, SendTokenSummaryContent as vt, AssetButton as w, getIpfsMetadata as wa, Wallet as wc, useLoginWithOAuth as wi, UseEstimateAllTokensParams as wn, useGetResolverAddress as wo, addPrefix as wr, MainContent as ws, usePrivy as wt, ScrollToTopWrapper as x, getIpfsImageQueryKey as xa, TransactionStatus as xc, getAppHubAppsQueryKey as xi, getAccountBalance as xn, getAvatarOfAddressQueryKey as xo, executeCallClause as xr, VeChainLoginButton as xs, useDAppKitWallet as xt, TransactionButtonAndStatusProps as y, MAX_IMAGE_SIZE as ya, SmartAccount as yc, AppHubApp as yi, getAccountImplementationAddressQueryKey as yn, getAvatarLegacyQueryKey as yo, ViewFunctionResult as yr, PrivyButton as ys, SendTokenContent as yt, AccountDetailsButton as z, MostVotedAppsInRoundReturnType as za, useAccountCustomizationModal as zi, useSyncableLocalStorage as zn, buildVetDomainClauses as zo, gmNfts as zr, VechainKitProviderProps as zs, getEventLogs as zt };
|
|
3969
|
-
//# sourceMappingURL=index-
|
|
4059
|
+
export { AssetsContentProps as $, getErc20BalanceQueryKey as $a, useSendTokenModal as $i, useGetNodeUrl as $n, DisconnectConfirmContent as $o, randomTransactionUser as $r, TransactionCost as $s, getSmartAccount as $t, ModalBackButton as A, useXAppsShares as Aa, useNotificationAlerts as Ai, delegateAuthorized as An, getTextRecordsQueryKey as Ao, normalize as Ar, useLegalDocuments as As, useBuildTransaction as At, AccountModal as B, useRefreshBalances as Ba, AccountCustomizationModalProvider as Bi, LocalStorageKey as Bn, useIsDomainProtected as Bo, buildQueryString as Br, VeChainKitContext as Bs, getChainId as Bt, AddressDisplayCard as C, getIpfsImageQueryKey as Ca, TokenBalance as Cc, getAppHubAppsQueryKey as Ci, useAccountBalance as Cn, getAvatarOfAddressQueryKey as Co, executeCallClause as Cr, VeChainLoginButton as Cs, useMfaEnrollment as Ct, StickyHeaderContainer as D, getIpfsMetadataQueryKey as Da, Wallet as Dc, useLoginWithPasskey$1 as Di, useGasEstimation as Dn, buildClauses as Do, compare as Dr, ConnectModal as Ds, txReceiptQueryKey as Dt, StickyFooterContainer as E, getIpfsMetadata as Ea, VePassportUserStatus as Ec, useLoginWithOAuth$1 as Ei, UseGasEstimationParams as En, useGetResolverAddress as Eo, addPrefix as Er, MainContent as Es, useThor$1 as Et, QuickActionsSection as F, UseWalletReturnType as Fa, UpgradeSmartAccountModalProvider as Fi, useGenericDelegator as Fn, DomainsResponse as Fo, EconomicNodeStrengthLevelToName as Fr, PrivyWalletProviderContextType as Fs, UseSendTransactionReturnValue as Ft, LanguageSettingsContent as G, useIsPerson as Ga, useNotificationsModal as Gi, useBuildClauses as Gn, useEnsRecordExists as Go, toIPFSURL as Gr, LegalDocumentAgreement as Gs, useUpgradeSmartAccount as Gt, TermsAndPrivacyContent as H, XApp as Ha, FAQModalProvider as Hi, BuildClausesParams as Hn, useClaimVetDomain as Ho, xNodeToGMstartingLevel as Hr, VechainKitProviderProps as Hs, useGetChainId as Ht, BalanceSection as I, useWallet$1 as Ia, useUpgradeSmartAccountModal as Ii, useCrossAppConnectionCache as In, getDomainsOfAddress as Io, MinXNodeLevel as Ir, usePrivyWalletProvider as Is, useSendTransaction as It, ChangeCurrencyContentProps as J, PRICE_FEED_IDS as Ja, AccessAndSecurityModalProvider as Ji, decodeEventLog$1 as Jn, fetchPrivyStatus as Jo, compareAddresses as Jr, CostLevel as Js, useUpgradeRequiredForAccount as Jt, GeneralSettingsContent as K, getVot3BalanceQueryKey as Ka, ExploreEcosystemModalProvider as Ki, GetEventsKeyParams as Kn, getVechainDomainQueryKey as Ko, uploadBlobToIPFS as Kr, LegalDocumentSource as Ks, getUpgradeRequiredForAccount as Kt, AccountSelector as L, getRoundXAppsQueryKey as La, useLoginModalContent as Li, EcosystemShortcut as Ln, getDomainsOfAddressQueryKey as Lo, NodeStrengthLevelToImage as Lr, LegalDocument as Ls, GetEventsProps as Lt, DomainRequiredAlert as M, getXAppMetadata as Ma, useAccountModalOptions as Mi, estimateGas as Mn, getAvatarQueryKey as Mo, validate as Mr, VechainKitThemeProvider as Ms, useTransferVET as Mt, ExchangeWarningAlert as N, useXAppMetadata as Na, ProfileModalProvider as Ni, getDepositAccount as Nn, useGetAvatar as No, isRejectionError as Nr, useVechainKitThemeConfig as Ns, buildERC20Clauses as Nt, VersionFooter as O, useIpfsMetadata as Oa, useSignTypedData as Oi, useGasTokenSelection as On, useUpdateTextRecord as Oo, isInvalid as Or, ConnectModalContentsTypes as Os, useTxReceipt as Ot, FeatureAnnouncementCard as P, useWalletMetadata as Pa, useProfileModal as Pi, signVip191Transaction as Pn, Domain as Po, TIME as Pr, PrivyWalletProvider as Ps, useTransferERC20 as Pt, AssetsContent as Q, useGetTokenUsdPrice as Qa, SendTokenModalProvider as Qi, useIsPWA as Qn, useFetchAppInfo as Qo, regexPattern as Qr, Rate as Qs, SmartAccountReturnType as Qt, ActionButton as R, useRoundXApps as Ra, ReceiveModalProvider as Ri, useEcosystemShortcuts as Rn, useGetDomainsOfAddress as Ro, XNodeStrengthLevelToName as Rr, LegalDocumentOptions as Rs, getAllEventLogs as Rt, ModalFAQButton as S, getIpfsImage as Sa, SmartAccount as Sc, fetchAppHubApps as Si, getAccountBalanceQueryKey as Sn, useGetAvatarLegacy as So, buildCallClauses as Sr, EcosystemButton as Ss, useDAppKitWalletModal as St, BaseModal as T, useIpfsImageList as Ta, TransactionStatusErrorType as Tc, useLoginWithVeChain as Ti, useEstimateAllTokens as Tn, getResolverAddressQueryKey as To, isValidUrl as Tr, ConnectionButton as Ts, useSetWalletRecovery as Tt, GasTokenSettingsContent as U, useMostVotedAppsInRound as Ua, useFAQModal as Ui, buildBatchAuthorizationTypedData as Un, useClaimVeWorldSubdomain as Uo, convertUriToUrl as Ur, useVeChainKitConfig as Us, currentBlockQueryKey as Ut, AccountModalContentTypes as V, MostVotedAppsInRoundReturnType as Va, useAccountCustomizationModal as Vi, useLocalStorage as Vn, buildVetDomainClauses as Vo, gmNfts as Vr, VeChainKitProvider as Vs, getChainIdQueryKey as Vt, AppearanceSettingsContent as W, getIsPersonQueryKey as Wa, NotificationsModalProvider as Wi, buildSingleAuthorizationTypedData as Wn, getEnsRecordExistsQueryKey as Wo, resolveMediaTypeFromMimeType as Wr, EnrichedLegalDocument as Ws, useCurrentBlock as Wt, ManageCustomTokenContent as X, getTokenUsdPrice as Xa, SwapTokenModalProvider as Xi, useEvents as Xn, fetchPrivyAppInfo as Xo, isValidAddress as Xr, EstimatedGas as Xs, getUpgradeRequiredQueryKey as Xt, BridgeContent as Y, SupportedToken as Ya, useAccessAndSecurityModal as Yi, getEventsKey as Yn, useFetchPrivyStatus as Yo, compareListOfAddresses as Yr, DepositAccount as Ys, getUpgradeRequired as Yt, ManageCustomTokenContentProps as Z, getTokenUsdPriceQueryKey as Za, useSwapTokenModal as Zi, useScrollToTop as Zn, getPrivyAppInfoQueryKey as Zo, leftPadWithZeros as Zr, EstimationResponse as Zs, useUpgradeRequired as Zt, ModalNotificationButton as _, imageCompressionOptions as _a, ExecuteBatchWithAuthorizationSignData as _c, VECHAIN_PRIVY_APP_ID as _i, useCurrentAccountImplementationVersion as _n, WalletTokenBalance as _o, safeWindowOpen as _r, VeChainWithPrivyLoginButton as _s, SelectTokenContent as _t, useModal as a, useTransactionToast as aa, GasTokenPreferences as ac, isZero as ai, getIsDeployedQueryKey as an, getCustomTokenBalanceQueryKey as ao, getCallClauseQueryKeyWithArgs as ar, AccountMainContent as as, CustomizationSummaryContentProps as at, AccountAvatar as b, IpfsImage as ba, PrivyAppInfo as bc, notFoundImage as bi, useAccountImplementationAddress as bn, getAvatarLegacy as bo, MultipleClausesCallReturnType as br, LoginWithGoogleButton as bs, ThorClient$1 as bt, LegalDocumentsModal as c, AccountModalProvider as ca, TransactionSpeed as cc, ENV as ci, getHasV1SmartAccountQueryKey as cn, useGetB3trBalance as co, copyToClipboard as cr, ShareButtons as cs, FAQContent as ct, UpgradeSmartAccountModalContentsTypes as d, useConnectModal as da, CURRENCY as dc, TOKEN_LOGOS as di, useGetAccountVersion as dn, useCurrentAllocationsRoundId as do, getWindowOrigin as dr, SocialIcons as ds, ChooseNameSearchContent as dt, ChooseNameModalProvider as ea, VthoPerGasAtSpeed as ec, formatTokenBalance as ei, getSmartAccountQueryKey as en, useGetErc20Balance as eo, useFeatureAnnouncement as er, DisconnectConfirmContentProps as es, UpgradeSmartAccountContent as et, UpgradeSmartAccountModalStyle as f, useSwapQuotes as fa, CURRENCY_SYMBOLS as fc, TOKEN_LOGO_COMPONENTS as fi, getAccountAddress as fn, useTotalBalance as fo, hasNavigator as fr, WalletButton as fs, ChooseNameSearchContentProps as ft, GasFeeSummary as g, compressImages as ga, EnhancedClause as gc, VECHAIN_KIT_TERMS_CONFIG as gi, getCurrentAccountImplementationVersionQueryKey as gn, useTokenPrices as go, safeQuerySelector as gr, LoginWithGithubButton as gs, ReceiveTokenContent as gt, GasFeeTokenSelector as h, UploadedImage as ha, ENSRecords as hc, VECHAIN_KIT_STORAGE_KEYS as hi, getCurrentAccountImplementationVersion as hn, ExchangeRates as ho, removeLocalStorageItem as hr, ConnectPopover as hs, SwapTokenContent as ht, ModalProvider as i, TransactionToastProvider as ia, GasTokenInfo as ic, humanNumber as ii, getIsDeployed as in, TokenWithBalance as io, getCallClauseQueryKey as ir, AccessAndSecurityContent as is, CustomizationSummaryContent as it, CrossAppConnectionSecurityCard as j, XAppMetadata as ja, useNotifications as ji, estimateAndBuildTxBody as jn, useGetTextRecords as jo, removePrefix as jr, ColorModeSync as js, buildVETClauses as jt, AddressDisplay as k, getXAppsSharesQueryKey as ka, useSignMessage as ki, decodeRawTx as kn, getTextRecords as ko, isValid as kr, LegalDocumentsProvider as ks, BuildTransactionProps as kt, LegalDocumentsModalContentsTypes as l, useAccountModal as la, ENS_TEXT_RECORDS as lc, PrivyEcosystemApp as li, useHasV1SmartAccount as ln, useCustomTokens as lo, getDocumentTitle as lr, TransactionModal as ls, ChooseNameSummaryContent as lt, LoginLoadingModal as m, useSingleImageUpload as ma, CrossAppConnectionCache as mc, VECHAIN_KIT_COOKIES_CONFIG as mi, useGetAccountAddress as mn, useTokensWithValues as mo, isOnline as mr, WalletDisplayVariant as ms, ChooseNameContentProps as mt, getConfig as n, WalletModalProvider as na, formatGasCost as nc, humanAddress as ni, useRefreshSmartAccountQueries as nn, getTokenInfo$1 as no, useCurrentLanguage as nr, SettingsContent as ns, ProfileContent as nt, DAppKitWalletButton as o, TransactionModalProvider as oa, GasTokenSelection as oc, DEFAULT_GAS_TOKEN_PREFERENCES as oi, useIsSmartAccountDeployed as on, useGetCustomTokenBalances as oo, useCallClause as or, TransactionToast as os, AccountCustomizationContentProps as ot, EcosystemModal as p, useSwapTransaction as pa, ConnectionSource as pc, TogglePassportCheck as pi, getAccountAddressQueryKey as pn, TokenWithValue as po, isBrowser as pr, WalletButtonProps as ps, ChooseNameContent as pt, ChangeCurrencyContent as q, useGetVot3Balance as qa, useExploreEcosystemModal as qi, UseEventsParams as qn, useVechainDomain as qo, validateIpfsUri as qr, LegalDocumentType as qs, getUpgradeRequiredForAccountQueryKey as qt, AccountModalOptions as r, useWalletModal as ra, GasTokenEstimate as rc, humanDomain as ri, useRefreshFactoryQueries as rn, useGetCustomTokenInfo as ro, useCurrency as rr, SettingsContentProps as rs, ProfileContentProps as rt, LegalDocumentItem as s, useTransactionModal as sa, GasTokenType as sc, DEFAULT_PRIVY_ECOSYSTEM_APPS as si, getHasV1SmartAccount as sn, getB3trBalanceQueryKey as so, useMultipleClausesCall as sr, TransactionModalContent as ss, CustomizationContent as st, AppConfig as t, useChooseNameModal as ta, calculateTotalCost as tc, getPicassoImage as ti, useSmartAccount as tn, getCustomTokenInfoQueryKey as to, useCurrentCurrency as tr, EmbeddedWalletContent as ts, UpgradeSmartAccountContentProps as tt, UpgradeSmartAccountModal as u, ConnectModalProvider as ua, TextRecords as uc, SUPPORTED_GAS_TOKENS as ui, getAccountVersionQueryKey as un, getCurrentAllocationsRoundIdQueryKey as uo, getLocalStorageItem as ur, TransactionModalProps as us, ChooseNameSummaryContentProps as ut, TransactionButtonAndStatus as v, useUploadImages as va, ExecuteWithAuthorizationSignData as vc, getENV as vi, getAccountImplementationAddress as vn, useTokenBalances as vo, setLocalStorageItem as vr, DappKitButton as vs, SendTokenSummaryContent as vt, AssetButton as w, useIpfsImage as wa, TransactionStatus as wc, useAppHubApps as wi, UseEstimateAllTokensParams as wn, useGetAvatarOfAddress as wo, executeMultipleClausesCall as wr, EmailLoginButton as ws, usePrivy$1 as wt, ScrollToTopWrapper as x, MAX_IMAGE_SIZE as xa, PrivyLoginMethod as xc, AppHubApp as xi, getAccountBalance as xn, getAvatarLegacyQueryKey as xo, ViewFunctionResult as xr, PrivyButton as xs, useDAppKitWallet as xt, TransactionButtonAndStatusProps as y, useIpfsMetadatas as ya, NFTMediaType as yc, getGenericDelegatorUrl as yi, getAccountImplementationAddressQueryKey as yn, useUnsetDomain as yo, MultipleClausesCallParameters as yr, PasskeyLoginButton as ys, SendTokenContent as yt, AccountDetailsButton as z, useRefreshMetadata as za, useReceiveModal as zi, useSyncableLocalStorage as zn, getIsDomainProtectedQueryKey as zo, allNodeStrengthLevelToName as zr, VeChainKitConfig as zs, getEventLogs as zt };
|
|
4060
|
+
//# sourceMappingURL=index-C29c--c1.d.mts.map
|