@vechain/vechain-kit 2.0.2 → 2.0.4
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 +36 -280
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.mts +1 -1
- package/dist/{index-I8fe7GR2.d.cts → index-BQ0ary2b.d.mts} +4 -4
- package/dist/{index-I8fe7GR2.d.cts.map → index-BQ0ary2b.d.mts.map} +1 -1
- package/dist/{index--hSO7Xv4.d.mts → index-C8Uj8ple.d.cts} +4 -4
- package/dist/{index--hSO7Xv4.d.mts.map → index-C8Uj8ple.d.cts.map} +1 -1
- package/dist/{index-BCaysYhr.d.cts → index-CozseDtf.d.cts} +68 -56
- package/dist/index-CozseDtf.d.cts.map +1 -0
- package/dist/{index-BZRpQp3M.d.mts → index-DWGrsVoL.d.mts} +120 -108
- package/dist/index-DWGrsVoL.d.mts.map +1 -0
- 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-BCaysYhr.d.cts.map +0 -1
- package/dist/index-BZRpQp3M.d.mts.map +0 -1
|
@@ -11,7 +11,7 @@ import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
|
11
11
|
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
12
12
|
import { CustomizedStyle, I18n, SourceInfo } from "@vechain/dapp-kit-ui";
|
|
13
13
|
import { IconType } from "react-icons";
|
|
14
|
-
import * as
|
|
14
|
+
import * as _tanstack_react_query17 from "@tanstack/react-query";
|
|
15
15
|
import { UseQueryOptions } from "@tanstack/react-query";
|
|
16
16
|
import { z } from "zod";
|
|
17
17
|
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
@@ -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): "test" | "main" | "solo" | undefined;
|
|
57
57
|
};
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/types/types.d.ts
|
|
@@ -331,6 +331,7 @@ interface ThemeTokens {
|
|
|
331
331
|
hover: string;
|
|
332
332
|
focus: string;
|
|
333
333
|
button: string;
|
|
334
|
+
modal: string;
|
|
334
335
|
};
|
|
335
336
|
success: string;
|
|
336
337
|
error: string;
|
|
@@ -398,16 +399,19 @@ interface ThemeTokens {
|
|
|
398
399
|
}
|
|
399
400
|
/**
|
|
400
401
|
* Developer-facing theme configuration
|
|
401
|
-
* Simplified interface - only backgroundColor and textColor required
|
|
402
|
+
* Simplified interface - only modal.backgroundColor and textColor required
|
|
402
403
|
* All other colors are automatically derived from these base colors
|
|
403
404
|
*/
|
|
404
405
|
interface VechainKitThemeConfig {
|
|
405
|
-
backgroundColor?: string;
|
|
406
406
|
textColor?: string;
|
|
407
407
|
overlay?: {
|
|
408
408
|
backgroundColor?: string;
|
|
409
409
|
blur?: string;
|
|
410
410
|
};
|
|
411
|
+
modal?: {
|
|
412
|
+
backgroundColor?: string;
|
|
413
|
+
border?: string;
|
|
414
|
+
};
|
|
411
415
|
buttons?: {
|
|
412
416
|
secondaryButton?: {
|
|
413
417
|
bg?: string;
|
|
@@ -502,7 +506,7 @@ type VechainKitProviderProps = {
|
|
|
502
506
|
minAmountInEther: number;
|
|
503
507
|
};
|
|
504
508
|
};
|
|
505
|
-
dappKit
|
|
509
|
+
dappKit?: {
|
|
506
510
|
allowedWallets?: WalletSource[];
|
|
507
511
|
walletConnectOptions?: WalletConnectOptions;
|
|
508
512
|
usePersistence?: boolean;
|
|
@@ -524,8 +528,8 @@ type VechainKitProviderProps = {
|
|
|
524
528
|
darkMode?: boolean;
|
|
525
529
|
i18n?: I18n;
|
|
526
530
|
language?: string;
|
|
527
|
-
network
|
|
528
|
-
type
|
|
531
|
+
network?: {
|
|
532
|
+
type?: string;
|
|
529
533
|
nodeUrl?: string;
|
|
530
534
|
requireCertificate?: boolean;
|
|
531
535
|
connectionCertificate?: {
|
|
@@ -548,7 +552,15 @@ type VeChainKitConfig = {
|
|
|
548
552
|
darkMode: boolean;
|
|
549
553
|
i18n?: VechainKitProviderProps['i18n'];
|
|
550
554
|
language?: VechainKitProviderProps['language'];
|
|
551
|
-
network:
|
|
555
|
+
network: {
|
|
556
|
+
type: NETWORK_TYPE;
|
|
557
|
+
nodeUrl: string;
|
|
558
|
+
requireCertificate?: boolean;
|
|
559
|
+
connectionCertificate?: {
|
|
560
|
+
message?: Certificate;
|
|
561
|
+
options?: CertificateData;
|
|
562
|
+
};
|
|
563
|
+
};
|
|
552
564
|
allowCustomTokens?: boolean;
|
|
553
565
|
legalDocuments?: VechainKitProviderProps['legalDocuments'];
|
|
554
566
|
defaultCurrency?: VechainKitProviderProps['defaultCurrency'];
|
|
@@ -935,7 +947,7 @@ declare const DisconnectConfirmContent: ({
|
|
|
935
947
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
936
948
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
937
949
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
938
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
950
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query17.UseQueryResult<{
|
|
939
951
|
[k: string]: {
|
|
940
952
|
website: string | undefined;
|
|
941
953
|
id: string;
|
|
@@ -956,7 +968,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
956
968
|
//#endregion
|
|
957
969
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
958
970
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
959
|
-
declare const useFetchPrivyStatus: () =>
|
|
971
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query17.UseQueryResult<string, Error>;
|
|
960
972
|
//#endregion
|
|
961
973
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
962
974
|
interface VeChainDomainResult {
|
|
@@ -966,11 +978,11 @@ interface VeChainDomainResult {
|
|
|
966
978
|
isPrimaryDomain: boolean;
|
|
967
979
|
}
|
|
968
980
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
969
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
981
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query17.UseQueryResult<VeChainDomainResult, Error>;
|
|
970
982
|
//#endregion
|
|
971
983
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
972
984
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
973
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
985
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
|
|
974
986
|
//#endregion
|
|
975
987
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
976
988
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1010,7 +1022,7 @@ type useClaimVetDomainReturnValue = {
|
|
|
1010
1022
|
sendTransaction: () => Promise<void>;
|
|
1011
1023
|
clauses: () => TransactionClause[];
|
|
1012
1024
|
} & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
|
|
1013
|
-
declare const buildVetDomainClauses: (domain: string, alreadyOwned: boolean, account: Wallet, network:
|
|
1025
|
+
declare const buildVetDomainClauses: (domain: string, alreadyOwned: boolean, account: Wallet, network: VeChainKitConfig["network"]) => TransactionClause[];
|
|
1014
1026
|
/**
|
|
1015
1027
|
* Hook for claiming a .vet domain
|
|
1016
1028
|
*
|
|
@@ -1032,7 +1044,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1032
1044
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1033
1045
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1034
1046
|
*/
|
|
1035
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1047
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
|
|
1036
1048
|
//#endregion
|
|
1037
1049
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1038
1050
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1060,7 +1072,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1060
1072
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1061
1073
|
* @returns The domains owned by the address
|
|
1062
1074
|
*/
|
|
1063
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1075
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
1064
1076
|
domains: {
|
|
1065
1077
|
name: string;
|
|
1066
1078
|
}[];
|
|
@@ -1073,7 +1085,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1073
1085
|
* @param name - The VET domain name
|
|
1074
1086
|
* @returns The resolved avatar URL
|
|
1075
1087
|
*/
|
|
1076
|
-
declare const useGetAvatar: (name: string) =>
|
|
1088
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query17.UseQueryResult<string | null, Error>;
|
|
1077
1089
|
//#endregion
|
|
1078
1090
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1079
1091
|
/**
|
|
@@ -1085,7 +1097,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query8.UseQueryRes
|
|
|
1085
1097
|
*/
|
|
1086
1098
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1087
1099
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1088
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1100
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query17.UseQueryResult<TextRecords, Error>;
|
|
1089
1101
|
//#endregion
|
|
1090
1102
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1091
1103
|
type UpdateTextRecordVariables = {
|
|
@@ -1118,7 +1130,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1118
1130
|
* @param domain The domain to get resolver for
|
|
1119
1131
|
* @returns The resolver address for the domain
|
|
1120
1132
|
*/
|
|
1121
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1133
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query17.UseQueryResult<`0x${string}`, unknown>;
|
|
1122
1134
|
//#endregion
|
|
1123
1135
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1124
1136
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1128,7 +1140,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1128
1140
|
* @param address The owner's address
|
|
1129
1141
|
* @returns The avatar URL for the address's primary domain
|
|
1130
1142
|
*/
|
|
1131
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1143
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query17.UseQueryResult<string, Error>;
|
|
1132
1144
|
//#endregion
|
|
1133
1145
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1134
1146
|
/**
|
|
@@ -1145,7 +1157,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1145
1157
|
* @param name - The VET domain name
|
|
1146
1158
|
* @returns The resolved avatar URL
|
|
1147
1159
|
*/
|
|
1148
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1160
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query17.UseQueryResult<string | null, Error>;
|
|
1149
1161
|
//#endregion
|
|
1150
1162
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1151
1163
|
type useUnsetDomainProps = {
|
|
@@ -1254,7 +1266,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1254
1266
|
* Hook to get the current roundId of allocations voting
|
|
1255
1267
|
* @returns the current roundId of allocations voting
|
|
1256
1268
|
*/
|
|
1257
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1269
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query17.UseQueryResult<string, unknown>;
|
|
1258
1270
|
//#endregion
|
|
1259
1271
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1260
1272
|
declare const useCustomTokens: () => {
|
|
@@ -1267,7 +1279,7 @@ declare const useCustomTokens: () => {
|
|
|
1267
1279
|
//#endregion
|
|
1268
1280
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1269
1281
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1270
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1282
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
1271
1283
|
original: string;
|
|
1272
1284
|
scaled: string;
|
|
1273
1285
|
formatted: string;
|
|
@@ -1276,7 +1288,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query8.Us
|
|
|
1276
1288
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1277
1289
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1278
1290
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string) => (string | undefined)[];
|
|
1279
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1291
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
1280
1292
|
original: string;
|
|
1281
1293
|
scaled: string;
|
|
1282
1294
|
formatted: string;
|
|
@@ -1289,11 +1301,11 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1289
1301
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1290
1302
|
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1291
1303
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1292
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1304
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query17.UseQueryResult<CustomTokenInfo, Error>;
|
|
1293
1305
|
//#endregion
|
|
1294
1306
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1295
1307
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1296
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string) =>
|
|
1308
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
1297
1309
|
original: string;
|
|
1298
1310
|
scaled: string;
|
|
1299
1311
|
formatted: string;
|
|
@@ -1310,11 +1322,11 @@ declare const PRICE_FEED_IDS: {
|
|
|
1310
1322
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1311
1323
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1312
1324
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1313
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1325
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query17.UseQueryResult<number, Error>;
|
|
1314
1326
|
//#endregion
|
|
1315
1327
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1316
1328
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1317
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1329
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
1318
1330
|
original: string;
|
|
1319
1331
|
scaled: string;
|
|
1320
1332
|
formatted: string;
|
|
@@ -1333,7 +1345,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1333
1345
|
* @param user - The user address.
|
|
1334
1346
|
* @returns The isPerson status.
|
|
1335
1347
|
*/
|
|
1336
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1348
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
|
|
1337
1349
|
//#endregion
|
|
1338
1350
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1339
1351
|
type XApp = {
|
|
@@ -1371,7 +1383,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1371
1383
|
//#endregion
|
|
1372
1384
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1373
1385
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
|
|
1374
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1386
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
1375
1387
|
id: string;
|
|
1376
1388
|
teamWalletAddress: `0x${string}`;
|
|
1377
1389
|
name: string;
|
|
@@ -1454,7 +1466,7 @@ type XAppMetadata = {
|
|
|
1454
1466
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1455
1467
|
*/
|
|
1456
1468
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1457
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1469
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query17.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1458
1470
|
//#endregion
|
|
1459
1471
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1460
1472
|
/**
|
|
@@ -1469,7 +1481,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1469
1481
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1470
1482
|
*
|
|
1471
1483
|
*/
|
|
1472
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1484
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
1473
1485
|
app: string;
|
|
1474
1486
|
share: number;
|
|
1475
1487
|
unallocatedShare: number;
|
|
@@ -1491,7 +1503,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1491
1503
|
* @param ipfsUri - The IPFS URI
|
|
1492
1504
|
* @returns The metadata from IPFS
|
|
1493
1505
|
*/
|
|
1494
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1506
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query17.UseQueryResult<_tanstack_react_query17.NoInfer<T$1>, Error>;
|
|
1495
1507
|
//#endregion
|
|
1496
1508
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1497
1509
|
interface IpfsImage {
|
|
@@ -1518,14 +1530,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1518
1530
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1519
1531
|
* @returns The NFT media
|
|
1520
1532
|
*/
|
|
1521
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1533
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query17.UseQueryResult<IpfsImage, Error>;
|
|
1522
1534
|
/**
|
|
1523
1535
|
* Custom hook to fetch a list of IPFS images.
|
|
1524
1536
|
*
|
|
1525
1537
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1526
1538
|
* @returns An array of queries for each IPFS image URI.
|
|
1527
1539
|
*/
|
|
1528
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1540
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query17.UseQueryResult<IpfsImage, Error>[];
|
|
1529
1541
|
//#endregion
|
|
1530
1542
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1531
1543
|
/**
|
|
@@ -1533,7 +1545,7 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1533
1545
|
* @param ipfsUris - The IPFS URIs
|
|
1534
1546
|
* @returns The metadata from IPFS for each URI
|
|
1535
1547
|
*/
|
|
1536
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1548
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query17.UseQueryResult<T$1, Error>[];
|
|
1537
1549
|
//#endregion
|
|
1538
1550
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1539
1551
|
declare const imageCompressionOptions: Options;
|
|
@@ -2087,7 +2099,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2087
2099
|
* );
|
|
2088
2100
|
* ```
|
|
2089
2101
|
*/
|
|
2090
|
-
declare const useAppHubApps: () =>
|
|
2102
|
+
declare const useAppHubApps: () => _tanstack_react_query17.UseQueryResult<AppHubApp[], Error>;
|
|
2091
2103
|
//#endregion
|
|
2092
2104
|
//#region src/utils/constants.d.ts
|
|
2093
2105
|
declare const TOKEN_LOGOS: Record<string, string>;
|
|
@@ -2434,7 +2446,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2434
2446
|
method: TMethod;
|
|
2435
2447
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2436
2448
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2437
|
-
}) =>
|
|
2449
|
+
}) => _tanstack_react_query17.UseQueryResult<_tanstack_react_query17.NoInfer<TData>, unknown>;
|
|
2438
2450
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2439
2451
|
thor,
|
|
2440
2452
|
calls,
|
|
@@ -2445,7 +2457,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2445
2457
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2446
2458
|
queryKey: string[];
|
|
2447
2459
|
enabled?: boolean;
|
|
2448
|
-
}) =>
|
|
2460
|
+
}) => _tanstack_react_query17.UseQueryResult<_tanstack_react_query17.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2449
2461
|
//#endregion
|
|
2450
2462
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2451
2463
|
/**
|
|
@@ -2509,7 +2521,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2509
2521
|
filterParams,
|
|
2510
2522
|
mapResponse,
|
|
2511
2523
|
nodeUrl
|
|
2512
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
2524
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query17.UseQueryResult<R[], Error>;
|
|
2513
2525
|
//#endregion
|
|
2514
2526
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2515
2527
|
interface BuildClausesParams {
|
|
@@ -2660,7 +2672,7 @@ declare const useGasEstimation: ({
|
|
|
2660
2672
|
tokens,
|
|
2661
2673
|
sendingAmount,
|
|
2662
2674
|
sendingTokenSymbol
|
|
2663
|
-
}: UseGasEstimationParams) =>
|
|
2675
|
+
}: UseGasEstimationParams) => _tanstack_react_query17.UseQueryResult<EstimationResponse & {
|
|
2664
2676
|
usedToken: string;
|
|
2665
2677
|
}, Error>;
|
|
2666
2678
|
//#endregion
|
|
@@ -2674,7 +2686,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2674
2686
|
clauses,
|
|
2675
2687
|
tokens,
|
|
2676
2688
|
enabled
|
|
2677
|
-
}: UseEstimateAllTokensParams) =>
|
|
2689
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query17.UseQueryResult<Record<GasTokenType, {
|
|
2678
2690
|
cost: number;
|
|
2679
2691
|
loading: boolean;
|
|
2680
2692
|
error?: string;
|
|
@@ -2691,7 +2703,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2691
2703
|
* @param address The address of the account to get the balance for
|
|
2692
2704
|
* @returns The account balance
|
|
2693
2705
|
*/
|
|
2694
|
-
declare const useAccountBalance: (address?: string) =>
|
|
2706
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
2695
2707
|
balance: string;
|
|
2696
2708
|
energy: string;
|
|
2697
2709
|
}, Error>;
|
|
@@ -2704,7 +2716,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2704
2716
|
* @param version - The version of the smart account implementation
|
|
2705
2717
|
* @returns The address of the smart account implementation
|
|
2706
2718
|
*/
|
|
2707
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
2719
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query17.UseQueryResult<string, Error>;
|
|
2708
2720
|
//#endregion
|
|
2709
2721
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
2710
2722
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2713,7 +2725,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
2713
2725
|
* Get the current account implementation version used by the smart account factory
|
|
2714
2726
|
* @returns The current account implementation version
|
|
2715
2727
|
*/
|
|
2716
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
2728
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query17.UseQueryResult<number, Error>;
|
|
2717
2729
|
//#endregion
|
|
2718
2730
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
2719
2731
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -2723,7 +2735,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
2723
2735
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2724
2736
|
* @returns The address of the smart account
|
|
2725
2737
|
*/
|
|
2726
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
2738
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query17.UseQueryResult<string, Error>;
|
|
2727
2739
|
//#endregion
|
|
2728
2740
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
2729
2741
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
|
|
@@ -2733,7 +2745,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2733
2745
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2734
2746
|
* @returns The version of the smart account
|
|
2735
2747
|
*/
|
|
2736
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
2748
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query17.UseQueryResult<{
|
|
2737
2749
|
version: number;
|
|
2738
2750
|
isDeployed: boolean;
|
|
2739
2751
|
}, unknown>;
|
|
@@ -2746,7 +2758,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
2746
2758
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2747
2759
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
2748
2760
|
*/
|
|
2749
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
2761
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
|
|
2750
2762
|
//#endregion
|
|
2751
2763
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
2752
2764
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -2755,7 +2767,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
2755
2767
|
* Check if a smart account is deployed
|
|
2756
2768
|
* @returns True if the smart account is deployed, false otherwise
|
|
2757
2769
|
*/
|
|
2758
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
2770
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
|
|
2759
2771
|
//#endregion
|
|
2760
2772
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
2761
2773
|
/**
|
|
@@ -2788,7 +2800,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
2788
2800
|
isDeployed: boolean;
|
|
2789
2801
|
}>;
|
|
2790
2802
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
2791
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
2803
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query17.UseQueryResult<{
|
|
2792
2804
|
address: undefined;
|
|
2793
2805
|
isDeployed?: undefined;
|
|
2794
2806
|
} | {
|
|
@@ -2806,7 +2818,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2806
2818
|
* @param targetVersion - The version of the smart account to check for
|
|
2807
2819
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2808
2820
|
*/
|
|
2809
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
2821
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
|
|
2810
2822
|
//#endregion
|
|
2811
2823
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
2812
2824
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -2817,7 +2829,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
2817
2829
|
* @param targetVersion - The target version of the smart account
|
|
2818
2830
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2819
2831
|
*/
|
|
2820
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
2832
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
|
|
2821
2833
|
//#endregion
|
|
2822
2834
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
2823
2835
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -2842,7 +2854,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
2842
2854
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
2843
2855
|
* @returns the current block
|
|
2844
2856
|
*/
|
|
2845
|
-
declare const useCurrentBlock: () =>
|
|
2857
|
+
declare const useCurrentBlock: () => _tanstack_react_query17.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
2846
2858
|
//#endregion
|
|
2847
2859
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
2848
2860
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -2851,7 +2863,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
2851
2863
|
* Get the chain id
|
|
2852
2864
|
* @returns The chain id
|
|
2853
2865
|
*/
|
|
2854
|
-
declare const useGetChainId: () =>
|
|
2866
|
+
declare const useGetChainId: () => _tanstack_react_query17.UseQueryResult<string, Error>;
|
|
2855
2867
|
//#endregion
|
|
2856
2868
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
2857
2869
|
/**
|
|
@@ -3092,7 +3104,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3092
3104
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3093
3105
|
* @returns Query result containing the transaction receipt
|
|
3094
3106
|
*/
|
|
3095
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3107
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query17.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3096
3108
|
//#endregion
|
|
3097
3109
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
|
|
3098
3110
|
type SendTokenContentProps = {
|
|
@@ -3961,5 +3973,5 @@ type AppConfig = {
|
|
|
3961
3973
|
};
|
|
3962
3974
|
declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
|
|
3963
3975
|
//#endregion
|
|
3964
|
-
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 };
|
|
3965
|
-
//# sourceMappingURL=index-
|
|
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 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 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 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 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 as wi, UseEstimateAllTokensParams as wn, useGetResolverAddress as wo, addPrefix as wr, MainContent as ws, usePrivy 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-CozseDtf.d.cts.map
|