@vechain/vechain-kit 2.0.4 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ import { ButtonProps, IconButtonProps, ImageProps, PropsOf, StackProps, ThemeTyp
2
2
  import * as react0 from "react";
3
3
  import React$1, { ElementType, ReactElement, ReactNode } from "react";
4
4
  import * as react_jsx_runtime1 from "react/jsx-runtime";
5
- import * as _vechain_sdk_network0 from "@vechain/sdk-network";
5
+ import * as _vechain_sdk_network2 from "@vechain/sdk-network";
6
6
  import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
7
7
  import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy, useSetWalletRecovery } from "@privy-io/react-auth";
8
8
  import * as _vechain_sdk_core0 from "@vechain/sdk-core";
@@ -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 _tanstack_react_query17 from "@tanstack/react-query";
14
+ import * as _tanstack_react_query46 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): "test" | "main" | "solo" | undefined;
56
+ which(gid: string): "main" | "test" | "solo" | undefined;
57
57
  };
58
58
  //#endregion
59
59
  //#region src/types/types.d.ts
@@ -541,7 +541,12 @@ type VechainKitProviderProps = {
541
541
  legalDocuments?: LegalDocumentOptions;
542
542
  defaultCurrency?: CURRENCY;
543
543
  theme?: VechainKitThemeConfig;
544
+ onLanguageChange?: (language: string) => void;
545
+ onCurrencyChange?: (currency: CURRENCY) => void;
544
546
  };
547
+ /**
548
+ * Configuration object returned by useVeChainKitConfig hook
549
+ */
545
550
  type VeChainKitConfig = {
546
551
  privy?: VechainKitProviderProps['privy'];
547
552
  privyEcosystemAppIDS: string[];
@@ -551,7 +556,6 @@ type VeChainKitConfig = {
551
556
  loginMethods?: VechainKitProviderProps['loginMethods'];
552
557
  darkMode: boolean;
553
558
  i18n?: VechainKitProviderProps['i18n'];
554
- language?: VechainKitProviderProps['language'];
555
559
  network: {
556
560
  type: NETWORK_TYPE;
557
561
  nodeUrl: string;
@@ -561,22 +565,41 @@ type VeChainKitConfig = {
561
565
  options?: CertificateData;
562
566
  };
563
567
  };
568
+ /** Current runtime language value. Reflects the active language in VeChainKit. */
569
+ currentLanguage: string;
564
570
  allowCustomTokens?: boolean;
565
571
  legalDocuments?: VechainKitProviderProps['legalDocuments'];
566
- defaultCurrency?: VechainKitProviderProps['defaultCurrency'];
572
+ /** Current runtime currency value. Reflects the active currency in VeChainKit. */
573
+ currentCurrency: CURRENCY;
567
574
  theme?: VechainKitThemeConfig;
575
+ /** Function to change the language from the host app. Changes will sync to VeChainKit. */
576
+ setLanguage: (language: string) => void;
577
+ /** Function to change the currency from the host app. Changes will sync to VeChainKit. */
578
+ setCurrency: (currency: CURRENCY) => void;
568
579
  };
569
580
  /**
570
581
  * Context to store the Privy and DAppKit configs so that they can be used by the hooks/components
571
582
  */
572
583
  declare const VeChainKitContext: react0.Context<VeChainKitConfig | null>;
573
584
  /**
574
- * Hook to get the Privy and DAppKit configs
585
+ * Hook to get the VeChainKit configuration
586
+ *
587
+ * @returns VeChainKitConfig object containing:
588
+ * - `currentLanguage`: Current runtime language value
589
+ * - `currentCurrency`: Current runtime currency value
590
+ * - `setLanguage`: Function to change language from host app
591
+ * - `setCurrency`: Function to change currency from host app
592
+ * - Other configuration values (network, darkMode, etc.)
593
+ *
594
+ * @example
595
+ * ```tsx
596
+ * const config = useVeChainKitConfig();
597
+ * console.log(config.currentLanguage); // 'fr' (current value)
598
+ * console.log(config.currentCurrency); // 'eur' (current value)
599
+ * config.setLanguage('de'); // Change language
600
+ * ```
575
601
  */
576
602
  declare const useVeChainKitConfig: () => VeChainKitConfig;
577
- /**
578
- * Provider to wrap the application with Privy and DAppKit
579
- */
580
603
  declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) => react_jsx_runtime1.JSX.Element;
581
604
  //#endregion
582
605
  //#region src/providers/PrivyWalletProvider.d.ts
@@ -947,7 +970,7 @@ declare const DisconnectConfirmContent: ({
947
970
  //#region src/hooks/api/privy/useFetchAppInfo.d.ts
948
971
  declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
949
972
  declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
950
- declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query17.UseQueryResult<{
973
+ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query46.UseQueryResult<{
951
974
  [k: string]: {
952
975
  website: string | undefined;
953
976
  id: string;
@@ -968,7 +991,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
968
991
  //#endregion
969
992
  //#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
970
993
  declare const fetchPrivyStatus: () => Promise<string>;
971
- declare const useFetchPrivyStatus: () => _tanstack_react_query17.UseQueryResult<string, Error>;
994
+ declare const useFetchPrivyStatus: () => _tanstack_react_query46.UseQueryResult<string, Error>;
972
995
  //#endregion
973
996
  //#region src/hooks/api/vetDomains/useVechainDomain.d.ts
974
997
  interface VeChainDomainResult {
@@ -978,11 +1001,11 @@ interface VeChainDomainResult {
978
1001
  isPrimaryDomain: boolean;
979
1002
  }
980
1003
  declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
981
- declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query17.UseQueryResult<VeChainDomainResult, Error>;
1004
+ declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query46.UseQueryResult<VeChainDomainResult, Error>;
982
1005
  //#endregion
983
1006
  //#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
984
1007
  declare const getEnsRecordExistsQueryKey: (name: string) => string[];
985
- declare const useEnsRecordExists: (name: string) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
1008
+ declare const useEnsRecordExists: (name: string) => _tanstack_react_query46.UseQueryResult<boolean, Error>;
986
1009
  //#endregion
987
1010
  //#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
988
1011
  type useClaimVeWorldSubdomainProps = {
@@ -1044,7 +1067,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
1044
1067
  * @param {boolean} [enabled=true] - Flag to enable or disable the hook.
1045
1068
  * @returns The result of the useQuery hook, with the protection status.
1046
1069
  */
1047
- declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
1070
+ declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query46.UseQueryResult<boolean, Error>;
1048
1071
  //#endregion
1049
1072
  //#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
1050
1073
  declare const DomainSchema: z.ZodObject<{
@@ -1072,7 +1095,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
1072
1095
  * @param parentDomain The parent domain (e.g., "veworld.vet")
1073
1096
  * @returns The domains owned by the address
1074
1097
  */
1075
- declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query17.UseQueryResult<{
1098
+ declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query46.UseQueryResult<{
1076
1099
  domains: {
1077
1100
  name: string;
1078
1101
  }[];
@@ -1085,7 +1108,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
1085
1108
  * @param name - The VET domain name
1086
1109
  * @returns The resolved avatar URL
1087
1110
  */
1088
- declare const useGetAvatar: (name: string) => _tanstack_react_query17.UseQueryResult<string | null, Error>;
1111
+ declare const useGetAvatar: (name: string) => _tanstack_react_query46.UseQueryResult<string | null, Error>;
1089
1112
  //#endregion
1090
1113
  //#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
1091
1114
  /**
@@ -1097,7 +1120,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query17.UseQueryRe
1097
1120
  */
1098
1121
  declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
1099
1122
  declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
1100
- declare const useGetTextRecords: (domain?: string) => _tanstack_react_query17.UseQueryResult<TextRecords, Error>;
1123
+ declare const useGetTextRecords: (domain?: string) => _tanstack_react_query46.UseQueryResult<TextRecords, Error>;
1101
1124
  //#endregion
1102
1125
  //#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
1103
1126
  type UpdateTextRecordVariables = {
@@ -1130,7 +1153,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
1130
1153
  * @param domain The domain to get resolver for
1131
1154
  * @returns The resolver address for the domain
1132
1155
  */
1133
- declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query17.UseQueryResult<`0x${string}`, unknown>;
1156
+ declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query46.UseQueryResult<`0x${string}`, unknown>;
1134
1157
  //#endregion
1135
1158
  //#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
1136
1159
  declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
@@ -1140,7 +1163,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
1140
1163
  * @param address The owner's address
1141
1164
  * @returns The avatar URL for the address's primary domain
1142
1165
  */
1143
- declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query17.UseQueryResult<string, Error>;
1166
+ declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query46.UseQueryResult<string, Error>;
1144
1167
  //#endregion
1145
1168
  //#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
1146
1169
  /**
@@ -1157,7 +1180,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
1157
1180
  * @param name - The VET domain name
1158
1181
  * @returns The resolved avatar URL
1159
1182
  */
1160
- declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query17.UseQueryResult<string | null, Error>;
1183
+ declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query46.UseQueryResult<string | null, Error>;
1161
1184
  //#endregion
1162
1185
  //#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
1163
1186
  type useUnsetDomainProps = {
@@ -1266,7 +1289,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
1266
1289
  * Hook to get the current roundId of allocations voting
1267
1290
  * @returns the current roundId of allocations voting
1268
1291
  */
1269
- declare const useCurrentAllocationsRoundId: () => _tanstack_react_query17.UseQueryResult<string, unknown>;
1292
+ declare const useCurrentAllocationsRoundId: () => _tanstack_react_query46.UseQueryResult<string, unknown>;
1270
1293
  //#endregion
1271
1294
  //#region src/hooks/api/wallet/useCustomTokens.d.ts
1272
1295
  declare const useCustomTokens: () => {
@@ -1279,7 +1302,7 @@ declare const useCustomTokens: () => {
1279
1302
  //#endregion
1280
1303
  //#region src/hooks/api/wallet/useGetB3trBalance.d.ts
1281
1304
  declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
1282
- declare const useGetB3trBalance: (address?: string) => _tanstack_react_query17.UseQueryResult<{
1305
+ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query46.UseQueryResult<{
1283
1306
  original: string;
1284
1307
  scaled: string;
1285
1308
  formatted: string;
@@ -1288,7 +1311,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query17.U
1288
1311
  //#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
1289
1312
  type TokenWithBalance = CustomTokenInfo & TokenBalance;
1290
1313
  declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string) => (string | undefined)[];
1291
- declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query17.UseQueryResult<{
1314
+ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query46.UseQueryResult<{
1292
1315
  original: string;
1293
1316
  scaled: string;
1294
1317
  formatted: string;
@@ -1301,11 +1324,11 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
1301
1324
  //#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
1302
1325
  declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
1303
1326
  declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
1304
- declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query17.UseQueryResult<CustomTokenInfo, Error>;
1327
+ declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query46.UseQueryResult<CustomTokenInfo, Error>;
1305
1328
  //#endregion
1306
1329
  //#region src/hooks/api/wallet/useGetErc20Balance.d.ts
1307
1330
  declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
1308
- declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query17.UseQueryResult<{
1331
+ declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query46.UseQueryResult<{
1309
1332
  original: string;
1310
1333
  scaled: string;
1311
1334
  formatted: string;
@@ -1322,11 +1345,11 @@ declare const PRICE_FEED_IDS: {
1322
1345
  type SupportedToken = keyof typeof PRICE_FEED_IDS;
1323
1346
  declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
1324
1347
  declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
1325
- declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query17.UseQueryResult<number, Error>;
1348
+ declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query46.UseQueryResult<number, Error>;
1326
1349
  //#endregion
1327
1350
  //#region src/hooks/api/wallet/useGetVot3Balance.d.ts
1328
1351
  declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
1329
- declare const useGetVot3Balance: (address?: string) => _tanstack_react_query17.UseQueryResult<{
1352
+ declare const useGetVot3Balance: (address?: string) => _tanstack_react_query46.UseQueryResult<{
1330
1353
  original: string;
1331
1354
  scaled: string;
1332
1355
  formatted: string;
@@ -1345,7 +1368,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
1345
1368
  * @param user - The user address.
1346
1369
  * @returns The isPerson status.
1347
1370
  */
1348
- declare const useIsPerson: (user?: string | null) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
1371
+ declare const useIsPerson: (user?: string | null) => _tanstack_react_query46.UseQueryResult<boolean, Error>;
1349
1372
  //#endregion
1350
1373
  //#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
1351
1374
  type XApp = {
@@ -1383,7 +1406,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
1383
1406
  //#endregion
1384
1407
  //#region src/hooks/api/wallet/useRoundXApps.d.ts
1385
1408
  declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
1386
- declare const useRoundXApps: (roundId?: string) => _tanstack_react_query17.UseQueryResult<{
1409
+ declare const useRoundXApps: (roundId?: string) => _tanstack_react_query46.UseQueryResult<{
1387
1410
  id: string;
1388
1411
  teamWalletAddress: `0x${string}`;
1389
1412
  name: string;
@@ -1466,7 +1489,7 @@ type XAppMetadata = {
1466
1489
  * @returns The metadata of the xApp see {@link XAppMetadata}
1467
1490
  */
1468
1491
  declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
1469
- declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query17.UseQueryResult<XAppMetadata | undefined, Error>;
1492
+ declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query46.UseQueryResult<XAppMetadata | undefined, Error>;
1470
1493
  //#endregion
1471
1494
  //#region src/hooks/api/wallet/useXAppShares.d.ts
1472
1495
  /**
@@ -1481,7 +1504,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
1481
1504
  * @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
1482
1505
  *
1483
1506
  */
1484
- declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query17.UseQueryResult<{
1507
+ declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query46.UseQueryResult<{
1485
1508
  app: string;
1486
1509
  share: number;
1487
1510
  unallocatedShare: number;
@@ -1503,7 +1526,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
1503
1526
  * @param ipfsUri - The IPFS URI
1504
1527
  * @returns The metadata from IPFS
1505
1528
  */
1506
- declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query17.UseQueryResult<_tanstack_react_query17.NoInfer<T$1>, Error>;
1529
+ declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query46.UseQueryResult<_tanstack_react_query46.NoInfer<T$1>, Error>;
1507
1530
  //#endregion
1508
1531
  //#region src/hooks/api/ipfs/useIpfsImage.d.ts
1509
1532
  interface IpfsImage {
@@ -1530,14 +1553,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
1530
1553
  * @param imageIpfsUri - The IPFS URI of the NFT media
1531
1554
  * @returns The NFT media
1532
1555
  */
1533
- declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query17.UseQueryResult<IpfsImage, Error>;
1556
+ declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query46.UseQueryResult<IpfsImage, Error>;
1534
1557
  /**
1535
1558
  * Custom hook to fetch a list of IPFS images.
1536
1559
  *
1537
1560
  * @param imageIpfsUriList - An array of IPFS URIs for the images.
1538
1561
  * @returns An array of queries for each IPFS image URI.
1539
1562
  */
1540
- declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query17.UseQueryResult<IpfsImage, Error>[];
1563
+ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query46.UseQueryResult<IpfsImage, Error>[];
1541
1564
  //#endregion
1542
1565
  //#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
1543
1566
  /**
@@ -1545,7 +1568,7 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
1545
1568
  * @param ipfsUris - The IPFS URIs
1546
1569
  * @returns The metadata from IPFS for each URI
1547
1570
  */
1548
- declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query17.UseQueryResult<T$1, Error>[];
1571
+ declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query46.UseQueryResult<T$1, Error>[];
1549
1572
  //#endregion
1550
1573
  //#region src/hooks/api/ipfs/useUploadImages.d.ts
1551
1574
  declare const imageCompressionOptions: Options;
@@ -1726,7 +1749,7 @@ declare const useSwapTransaction: (params: SwapParams | null, quote: SwapQuote |
1726
1749
  executeSwap: () => Promise<void>;
1727
1750
  isTransactionPending: boolean;
1728
1751
  isWaitingForWalletConfirmation: boolean;
1729
- txReceipt: _vechain_sdk_network0.TransactionReceipt | null;
1752
+ txReceipt: _vechain_sdk_network2.TransactionReceipt | null;
1730
1753
  status: TransactionStatus;
1731
1754
  resetStatus: () => void;
1732
1755
  error: TransactionStatusErrorType | undefined;
@@ -2099,7 +2122,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
2099
2122
  * );
2100
2123
  * ```
2101
2124
  */
2102
- declare const useAppHubApps: () => _tanstack_react_query17.UseQueryResult<AppHubApp[], Error>;
2125
+ declare const useAppHubApps: () => _tanstack_react_query46.UseQueryResult<AppHubApp[], Error>;
2103
2126
  //#endregion
2104
2127
  //#region src/utils/constants.d.ts
2105
2128
  declare const TOKEN_LOGOS: Record<string, string>;
@@ -2446,7 +2469,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
2446
2469
  method: TMethod;
2447
2470
  args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
2448
2471
  queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
2449
- }) => _tanstack_react_query17.UseQueryResult<_tanstack_react_query17.NoInfer<TData>, unknown>;
2472
+ }) => _tanstack_react_query46.UseQueryResult<_tanstack_react_query46.NoInfer<TData>, unknown>;
2450
2473
  declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
2451
2474
  thor,
2452
2475
  calls,
@@ -2457,11 +2480,14 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
2457
2480
  calls: MultipleClausesCallParameters<contracts, allowFailure>;
2458
2481
  queryKey: string[];
2459
2482
  enabled?: boolean;
2460
- }) => _tanstack_react_query17.UseQueryResult<_tanstack_react_query17.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
2483
+ }) => _tanstack_react_query46.UseQueryResult<_tanstack_react_query46.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
2461
2484
  //#endregion
2462
2485
  //#region src/hooks/utils/useCurrency.d.ts
2463
2486
  /**
2464
2487
  * Hook for managing currency preferences
2488
+ *
2489
+ * Note: This hook now uses the currency from VeChainKit context.
2490
+ * For setting currency, use the setCurrency function from useCurrentCurrency() hook instead.
2465
2491
  */
2466
2492
  declare const useCurrency: () => {
2467
2493
  currentCurrency: CURRENCY;
@@ -2469,6 +2495,63 @@ declare const useCurrency: () => {
2469
2495
  changeCurrency: (newCurrency: CURRENCY) => void;
2470
2496
  };
2471
2497
  //#endregion
2498
+ //#region src/hooks/utils/useCurrentLanguage.d.ts
2499
+ /**
2500
+ * Hook to get and set the current language in VeChainKit
2501
+ *
2502
+ * This hook provides the current runtime language value and a function to change it.
2503
+ * Changes made via this hook will sync to VeChainKit settings and trigger callbacks.
2504
+ *
2505
+ * @returns Object with:
2506
+ * - `currentLanguage`: Current language code (e.g., 'en', 'fr', 'de')
2507
+ * - `setLanguage`: Function to change the language
2508
+ *
2509
+ * @example
2510
+ * ```tsx
2511
+ * const { currentLanguage, setLanguage } = useCurrentLanguage();
2512
+ *
2513
+ * return (
2514
+ * <select value={currentLanguage} onChange={(e) => setLanguage(e.target.value)}>
2515
+ * <option value="en">English</option>
2516
+ * <option value="fr">Français</option>
2517
+ * </select>
2518
+ * );
2519
+ * ```
2520
+ */
2521
+ declare const useCurrentLanguage: () => {
2522
+ currentLanguage: string;
2523
+ setLanguage: (language: string) => void;
2524
+ };
2525
+ //#endregion
2526
+ //#region src/hooks/utils/useCurrentCurrency.d.ts
2527
+ /**
2528
+ * Hook to get and set the current currency in VeChainKit
2529
+ *
2530
+ * This hook provides the current runtime currency value and a function to change it.
2531
+ * Changes made via this hook will sync to VeChainKit settings and trigger callbacks.
2532
+ *
2533
+ * @returns Object with:
2534
+ * - `currentCurrency`: Current currency code ('usd', 'eur', or 'gbp')
2535
+ * - `setCurrency`: Function to change the currency
2536
+ *
2537
+ * @example
2538
+ * ```tsx
2539
+ * const { currentCurrency, setCurrency } = useCurrentCurrency();
2540
+ *
2541
+ * return (
2542
+ * <select value={currentCurrency} onChange={(e) => setCurrency(e.target.value as CURRENCY)}>
2543
+ * <option value="usd">USD ($)</option>
2544
+ * <option value="eur">EUR (€)</option>
2545
+ * <option value="gbp">GBP (£)</option>
2546
+ * </select>
2547
+ * );
2548
+ * ```
2549
+ */
2550
+ declare const useCurrentCurrency: () => {
2551
+ currentCurrency: CURRENCY;
2552
+ setCurrency: (currency: CURRENCY) => void;
2553
+ };
2554
+ //#endregion
2472
2555
  //#region src/hooks/utils/useFeatureAnnouncement.d.ts
2473
2556
  declare const useFeatureAnnouncement: () => {
2474
2557
  isVisible: boolean;
@@ -2521,7 +2604,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
2521
2604
  filterParams,
2522
2605
  mapResponse,
2523
2606
  nodeUrl
2524
- }: UseEventsParams<T$1, K, R>) => _tanstack_react_query17.UseQueryResult<R[], Error>;
2607
+ }: UseEventsParams<T$1, K, R>) => _tanstack_react_query46.UseQueryResult<R[], Error>;
2525
2608
  //#endregion
2526
2609
  //#region src/hooks/utils/useBuildClauses.d.ts
2527
2610
  interface BuildClausesParams {
@@ -2672,7 +2755,7 @@ declare const useGasEstimation: ({
2672
2755
  tokens,
2673
2756
  sendingAmount,
2674
2757
  sendingTokenSymbol
2675
- }: UseGasEstimationParams) => _tanstack_react_query17.UseQueryResult<EstimationResponse & {
2758
+ }: UseGasEstimationParams) => _tanstack_react_query46.UseQueryResult<EstimationResponse & {
2676
2759
  usedToken: string;
2677
2760
  }, Error>;
2678
2761
  //#endregion
@@ -2686,7 +2769,7 @@ declare const useEstimateAllTokens: ({
2686
2769
  clauses,
2687
2770
  tokens,
2688
2771
  enabled
2689
- }: UseEstimateAllTokensParams) => _tanstack_react_query17.UseQueryResult<Record<GasTokenType, {
2772
+ }: UseEstimateAllTokensParams) => _tanstack_react_query46.UseQueryResult<Record<GasTokenType, {
2690
2773
  cost: number;
2691
2774
  loading: boolean;
2692
2775
  error?: string;
@@ -2703,7 +2786,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
2703
2786
  * @param address The address of the account to get the balance for
2704
2787
  * @returns The account balance
2705
2788
  */
2706
- declare const useAccountBalance: (address?: string) => _tanstack_react_query17.UseQueryResult<{
2789
+ declare const useAccountBalance: (address?: string) => _tanstack_react_query46.UseQueryResult<{
2707
2790
  balance: string;
2708
2791
  energy: string;
2709
2792
  }, Error>;
@@ -2716,7 +2799,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
2716
2799
  * @param version - The version of the smart account implementation
2717
2800
  * @returns The address of the smart account implementation
2718
2801
  */
2719
- declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query17.UseQueryResult<string, Error>;
2802
+ declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query46.UseQueryResult<string, Error>;
2720
2803
  //#endregion
2721
2804
  //#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
2722
2805
  declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
@@ -2725,7 +2808,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
2725
2808
  * Get the current account implementation version used by the smart account factory
2726
2809
  * @returns The current account implementation version
2727
2810
  */
2728
- declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query17.UseQueryResult<number, Error>;
2811
+ declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query46.UseQueryResult<number, Error>;
2729
2812
  //#endregion
2730
2813
  //#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
2731
2814
  declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
@@ -2735,7 +2818,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
2735
2818
  * @param ownerAddress - The address of the owner of the smart account
2736
2819
  * @returns The address of the smart account
2737
2820
  */
2738
- declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query17.UseQueryResult<string, Error>;
2821
+ declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query46.UseQueryResult<string, Error>;
2739
2822
  //#endregion
2740
2823
  //#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
2741
2824
  declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
@@ -2745,7 +2828,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
2745
2828
  * @param ownerAddress - The address of the owner of the smart account
2746
2829
  * @returns The version of the smart account
2747
2830
  */
2748
- declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query17.UseQueryResult<{
2831
+ declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query46.UseQueryResult<{
2749
2832
  version: number;
2750
2833
  isDeployed: boolean;
2751
2834
  }, unknown>;
@@ -2758,7 +2841,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
2758
2841
  * @param ownerAddress - The address of the owner of the smart account
2759
2842
  * @returns True if the smart account has a v1 smart account, false otherwise
2760
2843
  */
2761
- declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
2844
+ declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query46.UseQueryResult<boolean, Error>;
2762
2845
  //#endregion
2763
2846
  //#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
2764
2847
  declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
@@ -2767,7 +2850,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
2767
2850
  * Check if a smart account is deployed
2768
2851
  * @returns True if the smart account is deployed, false otherwise
2769
2852
  */
2770
- declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
2853
+ declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query46.UseQueryResult<boolean, Error>;
2771
2854
  //#endregion
2772
2855
  //#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
2773
2856
  /**
@@ -2800,7 +2883,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
2800
2883
  isDeployed: boolean;
2801
2884
  }>;
2802
2885
  declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
2803
- declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query17.UseQueryResult<{
2886
+ declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query46.UseQueryResult<{
2804
2887
  address: undefined;
2805
2888
  isDeployed?: undefined;
2806
2889
  } | {
@@ -2818,7 +2901,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
2818
2901
  * @param targetVersion - The version of the smart account to check for
2819
2902
  * @returns True if the smart account needs an upgrade, false otherwise
2820
2903
  */
2821
- declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
2904
+ declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query46.UseQueryResult<boolean, Error>;
2822
2905
  //#endregion
2823
2906
  //#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
2824
2907
  declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
@@ -2829,7 +2912,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
2829
2912
  * @param targetVersion - The target version of the smart account
2830
2913
  * @returns True if the smart account needs an upgrade, false otherwise
2831
2914
  */
2832
- declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query17.UseQueryResult<boolean, Error>;
2915
+ declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query46.UseQueryResult<boolean, Error>;
2833
2916
  //#endregion
2834
2917
  //#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
2835
2918
  type UseUpgradeSmartAccountVersionProps = {
@@ -2854,7 +2937,7 @@ declare const currentBlockQueryKey: () => string[];
2854
2937
  * Fetches the current block from the blockchain. The block is refetched every 10 seconds.
2855
2938
  * @returns the current block
2856
2939
  */
2857
- declare const useCurrentBlock: () => _tanstack_react_query17.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
2940
+ declare const useCurrentBlock: () => _tanstack_react_query46.UseQueryResult<_vechain_sdk_network2.ExpandedBlockDetail, Error>;
2858
2941
  //#endregion
2859
2942
  //#region src/hooks/thor/blocks/useGetChainId.d.ts
2860
2943
  declare const getChainId: (thor: ThorClient) => Promise<string>;
@@ -2863,7 +2946,7 @@ declare const getChainIdQueryKey: () => string[];
2863
2946
  * Get the chain id
2864
2947
  * @returns The chain id
2865
2948
  */
2866
- declare const useGetChainId: () => _tanstack_react_query17.UseQueryResult<string, Error>;
2949
+ declare const useGetChainId: () => _tanstack_react_query46.UseQueryResult<string, Error>;
2867
2950
  //#endregion
2868
2951
  //#region src/hooks/thor/logs/logUtils.d.ts
2869
2952
  /**
@@ -3089,7 +3172,7 @@ declare const useBuildTransaction: <ClausesParams>({
3089
3172
  sendTransaction: (props: ClausesParams) => Promise<void>;
3090
3173
  isTransactionPending: boolean;
3091
3174
  isWaitingForWalletConfirmation: boolean;
3092
- txReceipt: _vechain_sdk_network0.TransactionReceipt | null;
3175
+ txReceipt: _vechain_sdk_network2.TransactionReceipt | null;
3093
3176
  status: TransactionStatus;
3094
3177
  resetStatus: () => void;
3095
3178
  error?: TransactionStatusErrorType;
@@ -3104,7 +3187,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
3104
3187
  * @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
3105
3188
  * @returns Query result containing the transaction receipt
3106
3189
  */
3107
- declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query17.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
3190
+ declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query46.UseQueryResult<_vechain_sdk_network2.TransactionReceipt, Error>;
3108
3191
  //#endregion
3109
3192
  //#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
3110
3193
  type SendTokenContentProps = {
@@ -3973,5 +4056,5 @@ type AppConfig = {
3973
4056
  };
3974
4057
  declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
3975
4058
  //#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 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
4059
+ export { AssetsContentProps as $, getErc20BalanceQueryKey as $a, useSendTokenModal as $i, useGetNodeUrl as $n, DisconnectConfirmContent as $o, randomTransactionUser as $r, TransactionCost as $s, getSmartAccount as $t, ModalBackButton as A, useXAppsShares as Aa, useNotificationAlerts as Ai, delegateAuthorized as An, getTextRecordsQueryKey as Ao, normalize as Ar, useLegalDocuments as As, useBuildTransaction as At, AccountModal as B, useRefreshBalances as Ba, AccountCustomizationModalProvider as Bi, LocalStorageKey as Bn, useIsDomainProtected as Bo, buildQueryString as Br, VeChainKitContext as Bs, getChainId as Bt, AddressDisplayCard as C, getIpfsImageQueryKey as Ca, TokenBalance as Cc, getAppHubAppsQueryKey as Ci, useAccountBalance as Cn, getAvatarOfAddressQueryKey as Co, executeCallClause as Cr, VeChainLoginButton as Cs, useMfaEnrollment as Ct, StickyHeaderContainer as D, getIpfsMetadataQueryKey as Da, Wallet as Dc, useLoginWithPasskey 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 as Ei, UseGasEstimationParams as En, useGetResolverAddress as Eo, addPrefix as Er, MainContent as Es, useThor 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 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 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 as wt, ScrollToTopWrapper as x, MAX_IMAGE_SIZE as xa, PrivyLoginMethod as xc, AppHubApp as xi, getAccountBalance as xn, getAvatarLegacyQueryKey as xo, ViewFunctionResult as xr, PrivyButton as xs, useDAppKitWallet as xt, TransactionButtonAndStatusProps as y, useIpfsMetadatas as ya, NFTMediaType as yc, getGenericDelegatorUrl as yi, getAccountImplementationAddressQueryKey as yn, useUnsetDomain as yo, MultipleClausesCallParameters as yr, PasskeyLoginButton as ys, SendTokenContent as yt, AccountDetailsButton as z, useRefreshMetadata as za, useReceiveModal as zi, useSyncableLocalStorage as zn, getIsDomainProtectedQueryKey as zo, allNodeStrengthLevelToName as zr, VeChainKitConfig as zs, getEventLogs as zt };
4060
+ //# sourceMappingURL=index-BqitwzCD.d.cts.map