@vechain/vechain-kit 2.0.4 → 2.1.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/assets/index.d.cts +1 -1
- package/dist/assets/index.d.mts +1 -1
- package/dist/{index-C8Uj8ple.d.cts → index--hSO7Xv4.d.mts} +4 -4
- package/dist/{index-C8Uj8ple.d.cts.map → index--hSO7Xv4.d.mts.map} +1 -1
- package/dist/{index-DWGrsVoL.d.mts → index-9Nctr1tw.d.mts} +164 -58
- package/dist/index-9Nctr1tw.d.mts.map +1 -0
- package/dist/{index-CozseDtf.d.cts → index-CoM8jwiv.d.cts} +259 -153
- package/dist/index-CoM8jwiv.d.cts.map +1 -0
- package/dist/{index-BQ0ary2b.d.mts → index-I8fe7GR2.d.cts} +4 -4
- package/dist/{index-BQ0ary2b.d.mts.map → index-I8fe7GR2.d.cts.map} +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- 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 +2 -2
- package/dist/utils/index.d.mts +2 -2
- package/package.json +1 -1
- package/dist/index-CozseDtf.d.cts.map +0 -1
- package/dist/index-DWGrsVoL.d.mts.map +0 -1
|
@@ -7,13 +7,13 @@ import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
|
7
7
|
import { Address, Certificate, CertificateData, Clause, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
8
8
|
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy as usePrivy$1, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
9
9
|
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor as useThor$1, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _tanstack_react_query21 from "@tanstack/react-query";
|
|
11
11
|
import { UseQueryOptions } from "@tanstack/react-query";
|
|
12
12
|
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
13
13
|
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import { Options } from "browser-image-compression";
|
|
16
|
-
import * as
|
|
16
|
+
import * as _vechain_sdk_network2 from "@vechain/sdk-network";
|
|
17
17
|
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
18
18
|
import { UseFormRegister } from "react-hook-form";
|
|
19
19
|
import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
@@ -53,7 +53,7 @@ declare const genesises: {
|
|
|
53
53
|
readonly main: CompressedBlockDetail;
|
|
54
54
|
readonly test: CompressedBlockDetail;
|
|
55
55
|
readonly solo: CompressedBlockDetail;
|
|
56
|
-
which(gid: string): "
|
|
56
|
+
which(gid: string): "main" | "test" | "solo" | undefined;
|
|
57
57
|
};
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/types/types.d.ts
|
|
@@ -343,22 +343,30 @@ interface ThemeTokens {
|
|
|
343
343
|
color: string;
|
|
344
344
|
border: string;
|
|
345
345
|
hoverBg?: string;
|
|
346
|
+
backdropFilter?: string;
|
|
347
|
+
rounded?: string | number;
|
|
346
348
|
};
|
|
347
349
|
primaryButton: {
|
|
348
350
|
bg: string;
|
|
349
351
|
color: string;
|
|
350
352
|
border: string;
|
|
351
353
|
hoverBg?: string;
|
|
354
|
+
backdropFilter?: string;
|
|
355
|
+
rounded?: string | number;
|
|
352
356
|
};
|
|
353
357
|
tertiaryButton: {
|
|
354
358
|
bg: string;
|
|
355
359
|
color: string;
|
|
356
360
|
border: string;
|
|
361
|
+
backdropFilter?: string;
|
|
362
|
+
rounded?: string | number;
|
|
357
363
|
};
|
|
358
364
|
loginButton: {
|
|
359
365
|
bg: string;
|
|
360
366
|
color: string;
|
|
361
367
|
border: string;
|
|
368
|
+
backdropFilter?: string;
|
|
369
|
+
rounded?: string | number;
|
|
362
370
|
};
|
|
363
371
|
};
|
|
364
372
|
effects: {
|
|
@@ -394,8 +402,12 @@ interface ThemeTokens {
|
|
|
394
402
|
large: string;
|
|
395
403
|
xl: string;
|
|
396
404
|
full: string;
|
|
405
|
+
modal: string;
|
|
397
406
|
};
|
|
398
407
|
};
|
|
408
|
+
modal: {
|
|
409
|
+
rounded?: string | number;
|
|
410
|
+
};
|
|
399
411
|
}
|
|
400
412
|
/**
|
|
401
413
|
* Developer-facing theme configuration
|
|
@@ -411,6 +423,9 @@ interface VechainKitThemeConfig {
|
|
|
411
423
|
modal?: {
|
|
412
424
|
backgroundColor?: string;
|
|
413
425
|
border?: string;
|
|
426
|
+
backdropFilter?: string;
|
|
427
|
+
borderRadius?: string;
|
|
428
|
+
rounded?: string | number;
|
|
414
429
|
};
|
|
415
430
|
buttons?: {
|
|
416
431
|
secondaryButton?: {
|
|
@@ -418,22 +433,30 @@ interface VechainKitThemeConfig {
|
|
|
418
433
|
color?: string;
|
|
419
434
|
border?: string;
|
|
420
435
|
hoverBg?: string;
|
|
436
|
+
backdropFilter?: string;
|
|
437
|
+
rounded?: string | number;
|
|
421
438
|
};
|
|
422
439
|
primaryButton?: {
|
|
423
440
|
bg?: string;
|
|
424
441
|
color?: string;
|
|
425
442
|
border?: string;
|
|
426
443
|
hoverBg?: string;
|
|
444
|
+
backdropFilter?: string;
|
|
445
|
+
rounded?: string | number;
|
|
427
446
|
};
|
|
428
447
|
tertiaryButton?: {
|
|
429
448
|
bg?: string;
|
|
430
449
|
color?: string;
|
|
431
450
|
border?: string;
|
|
451
|
+
backdropFilter?: string;
|
|
452
|
+
rounded?: string | number;
|
|
432
453
|
};
|
|
433
454
|
loginButton?: {
|
|
434
455
|
bg?: string;
|
|
435
456
|
color?: string;
|
|
436
457
|
border?: string;
|
|
458
|
+
backdropFilter?: string;
|
|
459
|
+
rounded?: string | number;
|
|
437
460
|
};
|
|
438
461
|
};
|
|
439
462
|
fonts?: {
|
|
@@ -541,7 +564,12 @@ type VechainKitProviderProps = {
|
|
|
541
564
|
legalDocuments?: LegalDocumentOptions;
|
|
542
565
|
defaultCurrency?: CURRENCY;
|
|
543
566
|
theme?: VechainKitThemeConfig;
|
|
567
|
+
onLanguageChange?: (language: string) => void;
|
|
568
|
+
onCurrencyChange?: (currency: CURRENCY) => void;
|
|
544
569
|
};
|
|
570
|
+
/**
|
|
571
|
+
* Configuration object returned by useVeChainKitConfig hook
|
|
572
|
+
*/
|
|
545
573
|
type VeChainKitConfig = {
|
|
546
574
|
privy?: VechainKitProviderProps['privy'];
|
|
547
575
|
privyEcosystemAppIDS: string[];
|
|
@@ -551,7 +579,6 @@ type VeChainKitConfig = {
|
|
|
551
579
|
loginMethods?: VechainKitProviderProps['loginMethods'];
|
|
552
580
|
darkMode: boolean;
|
|
553
581
|
i18n?: VechainKitProviderProps['i18n'];
|
|
554
|
-
language?: VechainKitProviderProps['language'];
|
|
555
582
|
network: {
|
|
556
583
|
type: NETWORK_TYPE;
|
|
557
584
|
nodeUrl: string;
|
|
@@ -561,22 +588,41 @@ type VeChainKitConfig = {
|
|
|
561
588
|
options?: CertificateData;
|
|
562
589
|
};
|
|
563
590
|
};
|
|
591
|
+
/** Current runtime language value. Reflects the active language in VeChainKit. */
|
|
592
|
+
currentLanguage: string;
|
|
564
593
|
allowCustomTokens?: boolean;
|
|
565
594
|
legalDocuments?: VechainKitProviderProps['legalDocuments'];
|
|
566
|
-
|
|
595
|
+
/** Current runtime currency value. Reflects the active currency in VeChainKit. */
|
|
596
|
+
currentCurrency: CURRENCY;
|
|
567
597
|
theme?: VechainKitThemeConfig;
|
|
598
|
+
/** Function to change the language from the host app. Changes will sync to VeChainKit. */
|
|
599
|
+
setLanguage: (language: string) => void;
|
|
600
|
+
/** Function to change the currency from the host app. Changes will sync to VeChainKit. */
|
|
601
|
+
setCurrency: (currency: CURRENCY) => void;
|
|
568
602
|
};
|
|
569
603
|
/**
|
|
570
604
|
* Context to store the Privy and DAppKit configs so that they can be used by the hooks/components
|
|
571
605
|
*/
|
|
572
606
|
declare const VeChainKitContext: react0.Context<VeChainKitConfig | null>;
|
|
573
607
|
/**
|
|
574
|
-
* Hook to get the
|
|
608
|
+
* Hook to get the VeChainKit configuration
|
|
609
|
+
*
|
|
610
|
+
* @returns VeChainKitConfig object containing:
|
|
611
|
+
* - `currentLanguage`: Current runtime language value
|
|
612
|
+
* - `currentCurrency`: Current runtime currency value
|
|
613
|
+
* - `setLanguage`: Function to change language from host app
|
|
614
|
+
* - `setCurrency`: Function to change currency from host app
|
|
615
|
+
* - Other configuration values (network, darkMode, etc.)
|
|
616
|
+
*
|
|
617
|
+
* @example
|
|
618
|
+
* ```tsx
|
|
619
|
+
* const config = useVeChainKitConfig();
|
|
620
|
+
* console.log(config.currentLanguage); // 'fr' (current value)
|
|
621
|
+
* console.log(config.currentCurrency); // 'eur' (current value)
|
|
622
|
+
* config.setLanguage('de'); // Change language
|
|
623
|
+
* ```
|
|
575
624
|
*/
|
|
576
625
|
declare const useVeChainKitConfig: () => VeChainKitConfig;
|
|
577
|
-
/**
|
|
578
|
-
* Provider to wrap the application with Privy and DAppKit
|
|
579
|
-
*/
|
|
580
626
|
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) => react_jsx_runtime0.JSX.Element;
|
|
581
627
|
//#endregion
|
|
582
628
|
//#region src/providers/PrivyWalletProvider.d.ts
|
|
@@ -947,7 +993,7 @@ declare const DisconnectConfirmContent: ({
|
|
|
947
993
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
948
994
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
949
995
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
950
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
996
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query21.UseQueryResult<{
|
|
951
997
|
[k: string]: {
|
|
952
998
|
website: string | undefined;
|
|
953
999
|
id: string;
|
|
@@ -968,7 +1014,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
968
1014
|
//#endregion
|
|
969
1015
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
970
1016
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
971
|
-
declare const useFetchPrivyStatus: () =>
|
|
1017
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
972
1018
|
//#endregion
|
|
973
1019
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
974
1020
|
interface VeChainDomainResult {
|
|
@@ -978,11 +1024,11 @@ interface VeChainDomainResult {
|
|
|
978
1024
|
isPrimaryDomain: boolean;
|
|
979
1025
|
}
|
|
980
1026
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
981
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1027
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query21.UseQueryResult<VeChainDomainResult, Error>;
|
|
982
1028
|
//#endregion
|
|
983
1029
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
984
1030
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
985
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1031
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
986
1032
|
//#endregion
|
|
987
1033
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
988
1034
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1044,7 +1090,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1044
1090
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1045
1091
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1046
1092
|
*/
|
|
1047
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1093
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
1048
1094
|
//#endregion
|
|
1049
1095
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1050
1096
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1072,7 +1118,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1072
1118
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1073
1119
|
* @returns The domains owned by the address
|
|
1074
1120
|
*/
|
|
1075
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1121
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1076
1122
|
domains: {
|
|
1077
1123
|
name: string;
|
|
1078
1124
|
}[];
|
|
@@ -1085,7 +1131,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1085
1131
|
* @param name - The VET domain name
|
|
1086
1132
|
* @returns The resolved avatar URL
|
|
1087
1133
|
*/
|
|
1088
|
-
declare const useGetAvatar: (name: string) =>
|
|
1134
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query21.UseQueryResult<string | null, Error>;
|
|
1089
1135
|
//#endregion
|
|
1090
1136
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1091
1137
|
/**
|
|
@@ -1097,7 +1143,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query28.UseQueryRe
|
|
|
1097
1143
|
*/
|
|
1098
1144
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1099
1145
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1100
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1146
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query21.UseQueryResult<TextRecords, Error>;
|
|
1101
1147
|
//#endregion
|
|
1102
1148
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1103
1149
|
type UpdateTextRecordVariables = {
|
|
@@ -1130,7 +1176,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1130
1176
|
* @param domain The domain to get resolver for
|
|
1131
1177
|
* @returns The resolver address for the domain
|
|
1132
1178
|
*/
|
|
1133
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1179
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query21.UseQueryResult<`0x${string}`, unknown>;
|
|
1134
1180
|
//#endregion
|
|
1135
1181
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1136
1182
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1140,7 +1186,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1140
1186
|
* @param address The owner's address
|
|
1141
1187
|
* @returns The avatar URL for the address's primary domain
|
|
1142
1188
|
*/
|
|
1143
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1189
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
1144
1190
|
//#endregion
|
|
1145
1191
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1146
1192
|
/**
|
|
@@ -1157,7 +1203,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1157
1203
|
* @param name - The VET domain name
|
|
1158
1204
|
* @returns The resolved avatar URL
|
|
1159
1205
|
*/
|
|
1160
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1206
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query21.UseQueryResult<string | null, Error>;
|
|
1161
1207
|
//#endregion
|
|
1162
1208
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1163
1209
|
type useUnsetDomainProps = {
|
|
@@ -1266,7 +1312,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1266
1312
|
* Hook to get the current roundId of allocations voting
|
|
1267
1313
|
* @returns the current roundId of allocations voting
|
|
1268
1314
|
*/
|
|
1269
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1315
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query21.UseQueryResult<string, unknown>;
|
|
1270
1316
|
//#endregion
|
|
1271
1317
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1272
1318
|
declare const useCustomTokens: () => {
|
|
@@ -1279,7 +1325,7 @@ declare const useCustomTokens: () => {
|
|
|
1279
1325
|
//#endregion
|
|
1280
1326
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1281
1327
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1282
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1328
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1283
1329
|
original: string;
|
|
1284
1330
|
scaled: string;
|
|
1285
1331
|
formatted: string;
|
|
@@ -1288,7 +1334,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query28.U
|
|
|
1288
1334
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1289
1335
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1290
1336
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string) => (string | undefined)[];
|
|
1291
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1337
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1292
1338
|
original: string;
|
|
1293
1339
|
scaled: string;
|
|
1294
1340
|
formatted: string;
|
|
@@ -1301,11 +1347,11 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1301
1347
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1302
1348
|
declare const getTokenInfo$1: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1303
1349
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1304
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1350
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query21.UseQueryResult<CustomTokenInfo, Error>;
|
|
1305
1351
|
//#endregion
|
|
1306
1352
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1307
1353
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1308
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string) =>
|
|
1354
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1309
1355
|
original: string;
|
|
1310
1356
|
scaled: string;
|
|
1311
1357
|
formatted: string;
|
|
@@ -1322,11 +1368,11 @@ declare const PRICE_FEED_IDS: {
|
|
|
1322
1368
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1323
1369
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1324
1370
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1325
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1371
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query21.UseQueryResult<number, Error>;
|
|
1326
1372
|
//#endregion
|
|
1327
1373
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1328
1374
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1329
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1375
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1330
1376
|
original: string;
|
|
1331
1377
|
scaled: string;
|
|
1332
1378
|
formatted: string;
|
|
@@ -1345,7 +1391,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1345
1391
|
* @param user - The user address.
|
|
1346
1392
|
* @returns The isPerson status.
|
|
1347
1393
|
*/
|
|
1348
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1394
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
1349
1395
|
//#endregion
|
|
1350
1396
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1351
1397
|
type XApp = {
|
|
@@ -1383,7 +1429,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1383
1429
|
//#endregion
|
|
1384
1430
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1385
1431
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
|
|
1386
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1432
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1387
1433
|
id: string;
|
|
1388
1434
|
teamWalletAddress: `0x${string}`;
|
|
1389
1435
|
name: string;
|
|
@@ -1466,7 +1512,7 @@ type XAppMetadata = {
|
|
|
1466
1512
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1467
1513
|
*/
|
|
1468
1514
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1469
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1515
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query21.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1470
1516
|
//#endregion
|
|
1471
1517
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1472
1518
|
/**
|
|
@@ -1481,7 +1527,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1481
1527
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1482
1528
|
*
|
|
1483
1529
|
*/
|
|
1484
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1530
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1485
1531
|
app: string;
|
|
1486
1532
|
share: number;
|
|
1487
1533
|
unallocatedShare: number;
|
|
@@ -1503,7 +1549,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1503
1549
|
* @param ipfsUri - The IPFS URI
|
|
1504
1550
|
* @returns The metadata from IPFS
|
|
1505
1551
|
*/
|
|
1506
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1552
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query21.UseQueryResult<_tanstack_react_query21.NoInfer<T$1>, Error>;
|
|
1507
1553
|
//#endregion
|
|
1508
1554
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1509
1555
|
interface IpfsImage {
|
|
@@ -1530,14 +1576,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1530
1576
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1531
1577
|
* @returns The NFT media
|
|
1532
1578
|
*/
|
|
1533
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1579
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query21.UseQueryResult<IpfsImage, Error>;
|
|
1534
1580
|
/**
|
|
1535
1581
|
* Custom hook to fetch a list of IPFS images.
|
|
1536
1582
|
*
|
|
1537
1583
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1538
1584
|
* @returns An array of queries for each IPFS image URI.
|
|
1539
1585
|
*/
|
|
1540
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1586
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query21.UseQueryResult<IpfsImage, Error>[];
|
|
1541
1587
|
//#endregion
|
|
1542
1588
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1543
1589
|
/**
|
|
@@ -1545,7 +1591,7 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1545
1591
|
* @param ipfsUris - The IPFS URIs
|
|
1546
1592
|
* @returns The metadata from IPFS for each URI
|
|
1547
1593
|
*/
|
|
1548
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1594
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query21.UseQueryResult<T$1, Error>[];
|
|
1549
1595
|
//#endregion
|
|
1550
1596
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1551
1597
|
declare const imageCompressionOptions: Options;
|
|
@@ -1726,7 +1772,7 @@ declare const useSwapTransaction: (params: SwapParams | null, quote: SwapQuote |
|
|
|
1726
1772
|
executeSwap: () => Promise<void>;
|
|
1727
1773
|
isTransactionPending: boolean;
|
|
1728
1774
|
isWaitingForWalletConfirmation: boolean;
|
|
1729
|
-
txReceipt:
|
|
1775
|
+
txReceipt: _vechain_sdk_network2.TransactionReceipt | null;
|
|
1730
1776
|
status: TransactionStatus;
|
|
1731
1777
|
resetStatus: () => void;
|
|
1732
1778
|
error: TransactionStatusErrorType | undefined;
|
|
@@ -2099,7 +2145,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2099
2145
|
* );
|
|
2100
2146
|
* ```
|
|
2101
2147
|
*/
|
|
2102
|
-
declare const useAppHubApps: () =>
|
|
2148
|
+
declare const useAppHubApps: () => _tanstack_react_query21.UseQueryResult<AppHubApp[], Error>;
|
|
2103
2149
|
//#endregion
|
|
2104
2150
|
//#region src/utils/constants.d.ts
|
|
2105
2151
|
declare const TOKEN_LOGOS: Record<string, string>;
|
|
@@ -2446,7 +2492,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2446
2492
|
method: TMethod;
|
|
2447
2493
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2448
2494
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2449
|
-
}) =>
|
|
2495
|
+
}) => _tanstack_react_query21.UseQueryResult<_tanstack_react_query21.NoInfer<TData>, unknown>;
|
|
2450
2496
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2451
2497
|
thor,
|
|
2452
2498
|
calls,
|
|
@@ -2457,11 +2503,14 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2457
2503
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2458
2504
|
queryKey: string[];
|
|
2459
2505
|
enabled?: boolean;
|
|
2460
|
-
}) =>
|
|
2506
|
+
}) => _tanstack_react_query21.UseQueryResult<_tanstack_react_query21.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2461
2507
|
//#endregion
|
|
2462
2508
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2463
2509
|
/**
|
|
2464
2510
|
* Hook for managing currency preferences
|
|
2511
|
+
*
|
|
2512
|
+
* Note: This hook now uses the currency from VeChainKit context.
|
|
2513
|
+
* For setting currency, use the setCurrency function from useCurrentCurrency() hook instead.
|
|
2465
2514
|
*/
|
|
2466
2515
|
declare const useCurrency: () => {
|
|
2467
2516
|
currentCurrency: CURRENCY;
|
|
@@ -2469,6 +2518,63 @@ declare const useCurrency: () => {
|
|
|
2469
2518
|
changeCurrency: (newCurrency: CURRENCY) => void;
|
|
2470
2519
|
};
|
|
2471
2520
|
//#endregion
|
|
2521
|
+
//#region src/hooks/utils/useCurrentLanguage.d.ts
|
|
2522
|
+
/**
|
|
2523
|
+
* Hook to get and set the current language in VeChainKit
|
|
2524
|
+
*
|
|
2525
|
+
* This hook provides the current runtime language value and a function to change it.
|
|
2526
|
+
* Changes made via this hook will sync to VeChainKit settings and trigger callbacks.
|
|
2527
|
+
*
|
|
2528
|
+
* @returns Object with:
|
|
2529
|
+
* - `currentLanguage`: Current language code (e.g., 'en', 'fr', 'de')
|
|
2530
|
+
* - `setLanguage`: Function to change the language
|
|
2531
|
+
*
|
|
2532
|
+
* @example
|
|
2533
|
+
* ```tsx
|
|
2534
|
+
* const { currentLanguage, setLanguage } = useCurrentLanguage();
|
|
2535
|
+
*
|
|
2536
|
+
* return (
|
|
2537
|
+
* <select value={currentLanguage} onChange={(e) => setLanguage(e.target.value)}>
|
|
2538
|
+
* <option value="en">English</option>
|
|
2539
|
+
* <option value="fr">Français</option>
|
|
2540
|
+
* </select>
|
|
2541
|
+
* );
|
|
2542
|
+
* ```
|
|
2543
|
+
*/
|
|
2544
|
+
declare const useCurrentLanguage: () => {
|
|
2545
|
+
currentLanguage: string;
|
|
2546
|
+
setLanguage: (language: string) => void;
|
|
2547
|
+
};
|
|
2548
|
+
//#endregion
|
|
2549
|
+
//#region src/hooks/utils/useCurrentCurrency.d.ts
|
|
2550
|
+
/**
|
|
2551
|
+
* Hook to get and set the current currency in VeChainKit
|
|
2552
|
+
*
|
|
2553
|
+
* This hook provides the current runtime currency value and a function to change it.
|
|
2554
|
+
* Changes made via this hook will sync to VeChainKit settings and trigger callbacks.
|
|
2555
|
+
*
|
|
2556
|
+
* @returns Object with:
|
|
2557
|
+
* - `currentCurrency`: Current currency code ('usd', 'eur', or 'gbp')
|
|
2558
|
+
* - `setCurrency`: Function to change the currency
|
|
2559
|
+
*
|
|
2560
|
+
* @example
|
|
2561
|
+
* ```tsx
|
|
2562
|
+
* const { currentCurrency, setCurrency } = useCurrentCurrency();
|
|
2563
|
+
*
|
|
2564
|
+
* return (
|
|
2565
|
+
* <select value={currentCurrency} onChange={(e) => setCurrency(e.target.value as CURRENCY)}>
|
|
2566
|
+
* <option value="usd">USD ($)</option>
|
|
2567
|
+
* <option value="eur">EUR (€)</option>
|
|
2568
|
+
* <option value="gbp">GBP (£)</option>
|
|
2569
|
+
* </select>
|
|
2570
|
+
* );
|
|
2571
|
+
* ```
|
|
2572
|
+
*/
|
|
2573
|
+
declare const useCurrentCurrency: () => {
|
|
2574
|
+
currentCurrency: CURRENCY;
|
|
2575
|
+
setCurrency: (currency: CURRENCY) => void;
|
|
2576
|
+
};
|
|
2577
|
+
//#endregion
|
|
2472
2578
|
//#region src/hooks/utils/useFeatureAnnouncement.d.ts
|
|
2473
2579
|
declare const useFeatureAnnouncement: () => {
|
|
2474
2580
|
isVisible: boolean;
|
|
@@ -2521,7 +2627,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2521
2627
|
filterParams,
|
|
2522
2628
|
mapResponse,
|
|
2523
2629
|
nodeUrl
|
|
2524
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
2630
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query21.UseQueryResult<R[], Error>;
|
|
2525
2631
|
//#endregion
|
|
2526
2632
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2527
2633
|
interface BuildClausesParams {
|
|
@@ -2672,7 +2778,7 @@ declare const useGasEstimation: ({
|
|
|
2672
2778
|
tokens,
|
|
2673
2779
|
sendingAmount,
|
|
2674
2780
|
sendingTokenSymbol
|
|
2675
|
-
}: UseGasEstimationParams) =>
|
|
2781
|
+
}: UseGasEstimationParams) => _tanstack_react_query21.UseQueryResult<EstimationResponse & {
|
|
2676
2782
|
usedToken: string;
|
|
2677
2783
|
}, Error>;
|
|
2678
2784
|
//#endregion
|
|
@@ -2686,7 +2792,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2686
2792
|
clauses,
|
|
2687
2793
|
tokens,
|
|
2688
2794
|
enabled
|
|
2689
|
-
}: UseEstimateAllTokensParams) =>
|
|
2795
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query21.UseQueryResult<Record<GasTokenType, {
|
|
2690
2796
|
cost: number;
|
|
2691
2797
|
loading: boolean;
|
|
2692
2798
|
error?: string;
|
|
@@ -2703,7 +2809,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2703
2809
|
* @param address The address of the account to get the balance for
|
|
2704
2810
|
* @returns The account balance
|
|
2705
2811
|
*/
|
|
2706
|
-
declare const useAccountBalance: (address?: string) =>
|
|
2812
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
2707
2813
|
balance: string;
|
|
2708
2814
|
energy: string;
|
|
2709
2815
|
}, Error>;
|
|
@@ -2716,7 +2822,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2716
2822
|
* @param version - The version of the smart account implementation
|
|
2717
2823
|
* @returns The address of the smart account implementation
|
|
2718
2824
|
*/
|
|
2719
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
2825
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
2720
2826
|
//#endregion
|
|
2721
2827
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
2722
2828
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2725,7 +2831,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
2725
2831
|
* Get the current account implementation version used by the smart account factory
|
|
2726
2832
|
* @returns The current account implementation version
|
|
2727
2833
|
*/
|
|
2728
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
2834
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query21.UseQueryResult<number, Error>;
|
|
2729
2835
|
//#endregion
|
|
2730
2836
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
2731
2837
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -2735,7 +2841,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
2735
2841
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2736
2842
|
* @returns The address of the smart account
|
|
2737
2843
|
*/
|
|
2738
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
2844
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
2739
2845
|
//#endregion
|
|
2740
2846
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
2741
2847
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
|
|
@@ -2745,7 +2851,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2745
2851
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2746
2852
|
* @returns The version of the smart account
|
|
2747
2853
|
*/
|
|
2748
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
2854
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query21.UseQueryResult<{
|
|
2749
2855
|
version: number;
|
|
2750
2856
|
isDeployed: boolean;
|
|
2751
2857
|
}, unknown>;
|
|
@@ -2758,7 +2864,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
2758
2864
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2759
2865
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
2760
2866
|
*/
|
|
2761
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
2867
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
2762
2868
|
//#endregion
|
|
2763
2869
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
2764
2870
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -2767,7 +2873,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
2767
2873
|
* Check if a smart account is deployed
|
|
2768
2874
|
* @returns True if the smart account is deployed, false otherwise
|
|
2769
2875
|
*/
|
|
2770
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
2876
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
2771
2877
|
//#endregion
|
|
2772
2878
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
2773
2879
|
/**
|
|
@@ -2800,7 +2906,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
2800
2906
|
isDeployed: boolean;
|
|
2801
2907
|
}>;
|
|
2802
2908
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
2803
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
2909
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
2804
2910
|
address: undefined;
|
|
2805
2911
|
isDeployed?: undefined;
|
|
2806
2912
|
} | {
|
|
@@ -2818,7 +2924,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2818
2924
|
* @param targetVersion - The version of the smart account to check for
|
|
2819
2925
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2820
2926
|
*/
|
|
2821
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
2927
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
2822
2928
|
//#endregion
|
|
2823
2929
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
2824
2930
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -2829,7 +2935,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
2829
2935
|
* @param targetVersion - The target version of the smart account
|
|
2830
2936
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2831
2937
|
*/
|
|
2832
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
2938
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
2833
2939
|
//#endregion
|
|
2834
2940
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
2835
2941
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -2854,7 +2960,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
2854
2960
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
2855
2961
|
* @returns the current block
|
|
2856
2962
|
*/
|
|
2857
|
-
declare const useCurrentBlock: () =>
|
|
2963
|
+
declare const useCurrentBlock: () => _tanstack_react_query21.UseQueryResult<_vechain_sdk_network2.ExpandedBlockDetail, Error>;
|
|
2858
2964
|
//#endregion
|
|
2859
2965
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
2860
2966
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -2863,7 +2969,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
2863
2969
|
* Get the chain id
|
|
2864
2970
|
* @returns The chain id
|
|
2865
2971
|
*/
|
|
2866
|
-
declare const useGetChainId: () =>
|
|
2972
|
+
declare const useGetChainId: () => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
2867
2973
|
//#endregion
|
|
2868
2974
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
2869
2975
|
/**
|
|
@@ -3089,7 +3195,7 @@ declare const useBuildTransaction: <ClausesParams>({
|
|
|
3089
3195
|
sendTransaction: (props: ClausesParams) => Promise<void>;
|
|
3090
3196
|
isTransactionPending: boolean;
|
|
3091
3197
|
isWaitingForWalletConfirmation: boolean;
|
|
3092
|
-
txReceipt:
|
|
3198
|
+
txReceipt: _vechain_sdk_network2.TransactionReceipt | null;
|
|
3093
3199
|
status: TransactionStatus;
|
|
3094
3200
|
resetStatus: () => void;
|
|
3095
3201
|
error?: TransactionStatusErrorType;
|
|
@@ -3104,7 +3210,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3104
3210
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3105
3211
|
* @returns Query result containing the transaction receipt
|
|
3106
3212
|
*/
|
|
3107
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3213
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query21.UseQueryResult<_vechain_sdk_network2.TransactionReceipt, Error>;
|
|
3108
3214
|
//#endregion
|
|
3109
3215
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
|
|
3110
3216
|
type SendTokenContentProps = {
|
|
@@ -3973,5 +4079,5 @@ type AppConfig = {
|
|
|
3973
4079
|
};
|
|
3974
4080
|
declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
|
|
3975
4081
|
//#endregion
|
|
3976
|
-
export { AssetsContentProps as $, getCustomTokenInfoQueryKey as $a, useChooseNameModal as $i, useGetNodeUrl as $n, EmbeddedWalletContent as $o, getPicassoImage as $r, calculateTotalCost 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, VechainKitProviderProps as Bs, getChainId as Bt, AddressDisplayCard as C, useIpfsImageList as Ca, TransactionStatusErrorType 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$1 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, LegalDocumentType as Gs, useUpgradeSmartAccount as Gt, TermsAndPrivacyContent as H, getIsPersonQueryKey as Ha, NotificationsModalProvider as Hi, BuildClausesParams as Hn, getEnsRecordExistsQueryKey as Ho, resolveMediaTypeFromMimeType as Hr, EnrichedLegalDocument 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, EstimatedGas 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, CostLevel as Ks, getUpgradeRequiredForAccount as Kt, AccountSelector as L, useRefreshMetadata as La, useReceiveModal as Li, EcosystemShortcut as Ln, getIsDomainProtectedQueryKey as Lo, allNodeStrengthLevelToName as Lr, VeChainKitConfig 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$1 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, VthoPerGasAtSpeed as Qs, SmartAccountReturnType as Qt, ActionButton as R, useRefreshBalances as Ra, AccountCustomizationModalProvider as Ri, useEcosystemShortcuts as Rn, useIsDomainProtected as Ro, buildQueryString as Rr, VeChainKitContext as Rs, getAllEventLogs as Rt, ModalFAQButton as S, useIpfsImage as Sa, TransactionStatus 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, Wallet as Tc, useLoginWithPasskey$1 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, LegalDocumentAgreement as Us, currentBlockQueryKey as Ut, AccountModalContentTypes as V, useMostVotedAppsInRound as Va, useFAQModal as Vi, useLocalStorage as Vn, useClaimVeWorldSubdomain as Vo, convertUriToUrl as Vr, useVeChainKitConfig as Vs, getChainIdQueryKey as Vt, AppearanceSettingsContent as W, getVot3BalanceQueryKey as Wa, ExploreEcosystemModalProvider as Wi, buildSingleAuthorizationTypedData as Wn, getVechainDomainQueryKey as Wo, uploadBlobToIPFS as Wr, LegalDocumentSource as Ws, useCurrentBlock as Wt, ManageCustomTokenContent as X, useGetTokenUsdPrice as Xa, SendTokenModalProvider as Xi, useEvents as Xn, useFetchAppInfo as Xo, regexPattern as Xr, Rate as Xs, getUpgradeRequiredQueryKey as Xt, BridgeContent as Y, getTokenUsdPriceQueryKey as Ya, useSwapTokenModal as Yi, getEventsKey as Yn, getPrivyAppInfoQueryKey as Yo, leftPadWithZeros as Yr, EstimationResponse as Ys, getUpgradeRequired as Yt, ManageCustomTokenContentProps as Z, getErc20BalanceQueryKey as Za, useSendTokenModal as Zi, useScrollToTop as Zn, DisconnectConfirmContent as Zo, randomTransactionUser as Zr, TransactionCost as Zs, useUpgradeRequired as Zt, ModalNotificationButton as _, useIpfsMetadatas as _a, NFTMediaType 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, GasTokenType 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, SmartAccount 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, TextRecords 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, ConnectionSource as dc, TogglePassportCheck as di, useGetAccountVersion as dn, TokenWithValue as do, isBrowser as dr, WalletButtonProps as ds, ChooseNameSearchContent as dt, WalletModalProvider as ea, formatGasCost as ec, humanAddress as ei, getSmartAccountQueryKey as en, getTokenInfo$1 as eo, useFeatureAnnouncement as er, SettingsContent as es, UpgradeSmartAccountContent as et, UpgradeSmartAccountModalStyle as f, useSingleImageUpload as fa, CrossAppConnectionCache 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, ExecuteWithAuthorizationSignData 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, ExecuteBatchWithAuthorizationSignData 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, GasTokenSelection 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 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, EnhancedClause 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, GasTokenInfo 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, TransactionSpeed 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, ENSRecords 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, DepositAccount as qs, getUpgradeRequiredForAccountQueryKey as qt, AccountModalOptions as r, useTransactionToast as ra, GasTokenPreferences 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, ENS_TEXT_RECORDS 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, GasTokenEstimate 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, CURRENCY_SYMBOLS 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, PrivyAppInfo 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, VePassportUserStatus as wc, useLoginWithOAuth$1 as wi, UseEstimateAllTokensParams as wn, useGetResolverAddress as wo, addPrefix as wr, MainContent as ws, usePrivy$1 as wt, ScrollToTopWrapper as x, getIpfsImageQueryKey as xa, TokenBalance 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, PrivyLoginMethod 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, VeChainKitProvider as zs, getEventLogs as zt };
|
|
3977
|
-
//# sourceMappingURL=index-
|
|
4082
|
+
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 };
|
|
4083
|
+
//# sourceMappingURL=index-9Nctr1tw.d.mts.map
|