@vechain/vechain-kit 2.0.0-rc.2 → 2.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { SubdomainClaimer__factory, IReverseRegistrar__factory, SimpleAccountFactory__factory, SimpleAccount__factory, NodeManagement__factory, VeBetterPassport__factory, XAllocationVoting__factory, X2EarnApps__factory, XAllocationVotingGovernor__factory, ERC20__factory, B3TR__factory, IERC20__factory, IVechainEnergyOracleV1__factory, IVOT3__factory, VoterRewards__factory, XAllocationPool__factory, GalaxyMember__factory, MockENS__factory, IB3TR__factory } from './chunk-FOSPSOWT.js';
2
- import { VECHAIN_KIT_MIXPANEL_PROJECT_TOKEN, ENV, TIME, humanAddress, TOKEN_LOGO_COMPONENTS, TOKEN_LOGOS, DEFAULT_PRIVY_ECOSYSTEM_APPS, executeCallClause, getConfig, convertUriToUrl, ENS_TEXT_RECORDS, getPicassoImage, VECHAIN_PRIVY_APP_ID, compareAddresses, resolveMediaTypeFromMimeType, humanDomain, isRejectionError, isValidAddress, humanNumber, VECHAIN_KIT_COOKIES_CONFIG, VECHAIN_KIT_STORAGE_KEYS, CURRENCY_SYMBOLS, uploadBlobToIPFS, randomTransactionUser, executeMultipleClausesCall, VECHAIN_KIT_TERMS_CONFIG, isValidUrl, notFoundImage } from './chunk-R722OBPE.js';
3
- export { CURRENCY_SYMBOLS, ENS_TEXT_RECORDS, LegalDocumentSource, LegalDocumentType, NFTMediaType, VePassportUserStatus, buildCallClauses, executeCallClause, executeMultipleClausesCall, getConfig } from './chunk-R722OBPE.js';
1
+ import { SubdomainClaimer__factory, IReverseRegistrar__factory, SimpleAccountFactory__factory, SimpleAccount__factory, NodeManagement__factory, VeBetterPassport__factory, XAllocationVoting__factory, X2EarnApps__factory, XAllocationVotingGovernor__factory, ERC20__factory, B3TR__factory, IERC20__factory, IVechainEnergyOracleV1__factory, VOT3__factory, VoterRewards__factory, XAllocationPool__factory, GalaxyMember__factory, MockENS__factory, IB3TR__factory, IVOT3__factory } from './chunk-FOSPSOWT.js';
2
+ import { VECHAIN_KIT_MIXPANEL_PROJECT_TOKEN, ENV, TIME, humanAddress, TOKEN_LOGO_COMPONENTS, TOKEN_LOGOS, DEFAULT_PRIVY_ECOSYSTEM_APPS, executeCallClause, getConfig, convertUriToUrl, ENS_TEXT_RECORDS, getPicassoImage, VECHAIN_PRIVY_APP_ID, compareAddresses, resolveMediaTypeFromMimeType, humanDomain, isRejectionError, isValidAddress, humanNumber, VECHAIN_KIT_COOKIES_CONFIG, VECHAIN_KIT_STORAGE_KEYS, CURRENCY_SYMBOLS, uploadBlobToIPFS, randomTransactionUser, executeMultipleClausesCall, VECHAIN_KIT_TERMS_CONFIG, isValidUrl, notFoundImage } from './chunk-SNDIAFF7.js';
3
+ export { CURRENCY_SYMBOLS, ENS_TEXT_RECORDS, LegalDocumentSource, LegalDocumentType, NFTMediaType, VePassportUserStatus, buildCallClauses, executeCallClause, executeMultipleClausesCall, getConfig } from './chunk-SNDIAFF7.js';
4
4
  import { VechainLogo, VechainLogoLight, VechainLogoDark, VeWorldLogoLight, VeWorldLogoDark, VechainEnergy, SimpleAccountFactoryABI, SimpleAccountABI, PrivyLogo } from './chunk-Z4FE6MMP.js';
5
5
  import './chunk-PZ5AY32C.js';
6
6
  import i18n from 'i18next';
@@ -12,9 +12,10 @@ import { useThor, useWallet as useWallet$1, useWalletModal, DAppKitProvider } fr
12
12
  export { WalletButton as DAppKitWalletButton, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal, useThor } from '@vechain/dapp-kit-react';
13
13
  import React10, { createContext, useEffect, useState, useRef, useCallback, useMemo, useContext, Fragment as Fragment$1 } from 'react';
14
14
  import { useQuery, useQueryClient, useQueries, useInfiniteQuery, QueryClient, QueryClientContext, QueryClientProvider } from '@tanstack/react-query';
15
+ import { hashFn } from 'wagmi/query';
15
16
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
16
17
  import { motion } from 'framer-motion';
17
- import { createMultiStyleConfigHelpers, defineStyle, defineStyleConfig, extendTheme, createStandaloneToast, IconButton, VStack, Text, InputGroup, InputLeftElement, Icon, Input, InputRightElement, HStack, Link, Box, useMediaQuery, Modal, ModalOverlay, ModalContent, Button, Image, useDisclosure, GridItem, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, Tag, Heading, Grid, useColorModeValue, Card, CardBody, Alert, AlertIcon, CardHeader, Center, CardFooter, Divider, Container, FormControl, Select, FormLabel, Textarea, Circle, AlertTitle, AlertDescription, Popover, PopoverTrigger, PopoverContent, PopoverBody, PopoverFooter, Spinner, Skeleton, Checkbox, useSteps, PinInput, PinInputField, Stack, Accordion, AccordionItem, AccordionButton, AccordionPanel, List, ColorModeScript, ChakraProvider, Flex, ListItem, Wrap, WrapItem } from '@chakra-ui/react';
18
+ import { createMultiStyleConfigHelpers, defineStyle, defineStyleConfig, theme, extendTheme, createStandaloneToast, IconButton, VStack, Text, InputGroup, InputLeftElement, Icon, Input, InputRightElement, HStack, Link, Box, useMediaQuery, Modal, ModalOverlay, ModalContent, Button, Image, useDisclosure, GridItem, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, Tag, Heading, Grid, useColorModeValue, Card, CardBody, Alert, AlertIcon, CardHeader, Center, CardFooter, Divider, Container, FormControl, Select, FormLabel, Textarea, Circle, AlertTitle, AlertDescription, Popover, PopoverTrigger, PopoverContent, PopoverBody, PopoverFooter, Spinner, Skeleton, Checkbox, useSteps, PinInput, PinInputField, Stack, Accordion, AccordionItem, AccordionButton, AccordionPanel, List, ColorModeScript, ChakraProvider, Flex, ListItem, Wrap, WrapItem } from '@chakra-ui/react';
18
19
  import { IoChevronBack, IoCheckmarkOutline, IoCopyOutline, IoWalletOutline, IoCloseCircle, IoCogSharp, IoShieldOutline, IoSettingsOutline, IoOpenOutline, IoTrashBin, IoLanguage, IoChevronUp, IoChevronDown, IoCloseOutline, IoTrashOutline } from 'react-icons/io5';
19
20
  import { FaRegAddressCard, FaExternalLinkAlt, FaGlobe, FaEnvelope, FaArrowRight, FaTelegramPlane, FaChevronDown, FaEdit, FaGoogle, FaTwitter, FaPhone, FaSpotify, FaApple, FaInstagram, FaTiktok, FaGithub, FaLinkedin, FaTelegram, FaDiscord as FaDiscord$1, FaWallet, FaPlus } from 'react-icons/fa';
20
21
  import { HiOutlineWallet, HiOutlineShieldCheck } from 'react-icons/hi2';
@@ -50,6 +51,8 @@ import { BiBell, BiArchive } from 'react-icons/bi';
50
51
  import { GoLinkExternal, GoPlus } from 'react-icons/go';
51
52
  import { ThorClient, signerUtils, ProviderInternalBaseWallet, VeChainProvider } from '@vechain/sdk-network';
52
53
  export { ThorClient } from '@vechain/sdk-network';
54
+ import { CacheProvider, Global, css } from '@emotion/react';
55
+ import createCache from '@emotion/cache';
53
56
  import { modalAnatomy, cardAnatomy, popoverAnatomy } from '@chakra-ui/anatomy';
54
57
 
55
58
  // src/languages/en.json
@@ -4055,6 +4058,15 @@ var languageNames = {
4055
4058
  zh: "\u4E2D\u6587",
4056
4059
  ja: "\u65E5\u672C\u8A9E"
4057
4060
  };
4061
+ var bcp47LanguageCodes = {
4062
+ en: "en-US",
4063
+ de: "de-DE",
4064
+ it: "it-IT",
4065
+ fr: "fr-FR",
4066
+ es: "es-ES",
4067
+ zh: "zh-CN",
4068
+ ja: "ja-JP"
4069
+ };
4058
4070
  var customLanguageDetector = {
4059
4071
  lookup: (options) => {
4060
4072
  const propLanguage = options?.languages?.[0];
@@ -4124,6 +4136,7 @@ function getOrCreateQueryClient() {
4124
4136
  internalQueryClient = new QueryClient({
4125
4137
  defaultOptions: {
4126
4138
  queries: {
4139
+ queryKeyHashFn: hashFn,
4127
4140
  retry: 0,
4128
4141
  staleTime: 3e4,
4129
4142
  refetchOnWindowFocus: true,
@@ -4804,7 +4817,7 @@ var AddressDisplay = ({
4804
4817
 
4805
4818
  // package.json
4806
4819
  var package_default = {
4807
- version: "2.0.0-rc.2"};
4820
+ version: "2.0.0-rc.3"};
4808
4821
  var VersionFooter = ({ ...props }) => {
4809
4822
  const { darkMode: isDark } = useVeChainKitConfig();
4810
4823
  return /* @__PURE__ */ jsxs(
@@ -4975,32 +4988,28 @@ var convertToSelectedCurrency = (amountUsd, currency, exchangeRates) => {
4975
4988
  return amountUsd;
4976
4989
  }
4977
4990
  };
4978
- var formatCurrencyValue = (value, currency, options, locale = "en-US") => {
4991
+ var formatCurrencyValue = (value, lng = "en", options) => {
4979
4992
  const defaultOptions = {
4980
4993
  style: "currency",
4981
- currency,
4982
4994
  minimumFractionDigits: 2,
4983
4995
  maximumFractionDigits: 2,
4996
+ currency: options?.currency ?? "usd",
4984
4997
  ...options
4985
4998
  };
4986
- return new Intl.NumberFormat(locale, defaultOptions).format(value);
4999
+ return new Intl.NumberFormat(bcp47LanguageCodes[lng], defaultOptions).format(value);
4987
5000
  };
4988
- var formatCompactCurrency = (value, currency, locale) => {
5001
+ var formatCompactCurrency = (value, options) => {
4989
5002
  return formatCurrencyValue(
4990
5003
  value,
4991
- currency,
5004
+ i18n_default.resolvedLanguage,
4992
5005
  {
4993
5006
  notation: "compact",
4994
- compactDisplay: "short"
4995
- },
4996
- locale
5007
+ compactDisplay: "short",
5008
+ currency: options?.currency ?? "usd",
5009
+ ...options
5010
+ }
4997
5011
  );
4998
5012
  };
4999
- var amountFormatter = new Intl.NumberFormat("de-DE", {
5000
- notation: "compact",
5001
- compactDisplay: "short",
5002
- maximumFractionDigits: 2
5003
- });
5004
5013
  var AssetButton = ({
5005
5014
  symbol,
5006
5015
  amount,
@@ -5056,7 +5065,12 @@ var AssetButton = ({
5056
5065
  /* @__PURE__ */ jsx(Text, { children: symbol })
5057
5066
  ] }),
5058
5067
  /* @__PURE__ */ jsxs(VStack, { align: "flex-end", spacing: 0, children: [
5059
- /* @__PURE__ */ jsx(Text, { children: amountFormatter.format(amount) }),
5068
+ /* @__PURE__ */ jsxs(Text, { children: [
5069
+ amount.toLocaleString(void 0, {
5070
+ maximumFractionDigits: 2
5071
+ }),
5072
+ " "
5073
+ ] }),
5060
5074
  /* @__PURE__ */ jsx(
5061
5075
  Text,
5062
5076
  {
@@ -5065,8 +5079,7 @@ var AssetButton = ({
5065
5079
  "data-testid": `${symbol}-balance`,
5066
5080
  children: formatCompactCurrency(
5067
5081
  currencyValue,
5068
- currentCurrency,
5069
- "de-DE"
5082
+ { currency: currentCurrency }
5070
5083
  )
5071
5084
  }
5072
5085
  )
@@ -6335,7 +6348,7 @@ var useTotalBalance = ({ address = "" }) => {
6335
6348
  const formattedBalance = useMemo(() => {
6336
6349
  return formatCompactCurrency(
6337
6350
  totalBalanceInCurrency,
6338
- currentCurrency
6351
+ { currency: currentCurrency }
6339
6352
  );
6340
6353
  }, [totalBalanceInCurrency, currentCurrency]);
6341
6354
  return {
@@ -9525,6 +9538,7 @@ var SendTokenContent = ({
9525
9538
  const { t } = useTranslation();
9526
9539
  const { darkMode: isDark } = useVeChainKitConfig();
9527
9540
  const { currentCurrency } = useCurrency();
9541
+ const { exchangeRates } = useTokenPrices();
9528
9542
  const [selectedToken, setSelectedToken] = useState(
9529
9543
  preselectedToken ?? null
9530
9544
  );
@@ -9547,6 +9561,19 @@ var SendTokenContent = ({
9547
9561
  mode: "onChange"
9548
9562
  });
9549
9563
  const { toAddressOrDomain, amount } = watch();
9564
+ const formattedValue = useMemo(() => {
9565
+ if (selectedToken) {
9566
+ return formatCompactCurrency(
9567
+ convertToSelectedCurrency(
9568
+ Number(amount) * selectedToken.priceUsd,
9569
+ currentCurrency,
9570
+ exchangeRates
9571
+ ),
9572
+ { currency: currentCurrency }
9573
+ );
9574
+ }
9575
+ return "";
9576
+ }, [amount, selectedToken, currentCurrency, exchangeRates]);
9550
9577
  useEffect(() => {
9551
9578
  if (selectedToken && amount) {
9552
9579
  Analytics.send.flow("amount", {
@@ -9641,6 +9668,7 @@ var SendTokenContent = ({
9641
9668
  resolvedAddress: resolvedDomainData?.address,
9642
9669
  amount: data.amount,
9643
9670
  selectedToken,
9671
+ formattedTotalAmount: formattedValue,
9644
9672
  setCurrentContent
9645
9673
  }
9646
9674
  });
@@ -9809,10 +9837,7 @@ var SendTokenContent = ({
9809
9837
  /* @__PURE__ */ jsxs(Text, { opacity: 0.5, children: [
9810
9838
  "\u2248",
9811
9839
  " ",
9812
- formatCompactCurrency(
9813
- Number(amount) * selectedToken.priceUsd,
9814
- currentCurrency
9815
- )
9840
+ formattedValue
9816
9841
  ] }),
9817
9842
  /* @__PURE__ */ jsx(
9818
9843
  Text,
@@ -9931,18 +9956,14 @@ var SendTokenContent = ({
9931
9956
  ) })
9932
9957
  ] });
9933
9958
  };
9934
- var summaryFormatter = new Intl.NumberFormat("de-DE", {
9935
- notation: "standard",
9936
- minimumFractionDigits: 2,
9937
- maximumFractionDigits: 2
9938
- });
9939
9959
  var SendTokenSummaryContent = ({
9940
9960
  setCurrentContent,
9941
9961
  toAddressOrDomain,
9942
9962
  resolvedDomain,
9943
9963
  resolvedAddress,
9944
9964
  amount,
9945
- selectedToken
9965
+ selectedToken,
9966
+ formattedTotalAmount
9946
9967
  }) => {
9947
9968
  const { t } = useTranslation();
9948
9969
  const { account, connection, connectedWallet } = useWallet();
@@ -9954,7 +9975,6 @@ var SendTokenSummaryContent = ({
9954
9975
  3
9955
9976
  );
9956
9977
  const { open: openUpgradeSmartAccountModal } = useUpgradeSmartAccountModal();
9957
- const { currentCurrency } = useCurrency();
9958
9978
  const toImageSrc = useMemo(() => {
9959
9979
  if (avatar) {
9960
9980
  return avatar;
@@ -10173,7 +10193,10 @@ var SendTokenSummaryContent = ({
10173
10193
  textAlign: "left",
10174
10194
  "data-testid": "send-summary-amount",
10175
10195
  children: [
10176
- summaryFormatter.format(Number(amount)),
10196
+ Number(amount).toLocaleString(void 0, {
10197
+ minimumFractionDigits: 2,
10198
+ maximumFractionDigits: 2
10199
+ }),
10177
10200
  " ",
10178
10201
  selectedToken.symbol
10179
10202
  ]
@@ -10182,10 +10205,7 @@ var SendTokenSummaryContent = ({
10182
10205
  /* @__PURE__ */ jsxs(Text, { opacity: 0.5, children: [
10183
10206
  "\u2248",
10184
10207
  " ",
10185
- formatCompactCurrency(
10186
- Number(amount) * selectedToken.priceUsd,
10187
- currentCurrency
10188
- )
10208
+ formattedTotalAmount
10189
10209
  ] })
10190
10210
  ] })
10191
10211
  ]
@@ -14068,7 +14088,8 @@ var DEFAULT_APPS = [
14068
14088
  tweets: [],
14069
14089
  ve_world: {
14070
14090
  banner: "https://i.ibb.co/cgJBj83/vbd.png"
14071
- }
14091
+ },
14092
+ categories: []
14072
14093
  },
14073
14094
  {
14074
14095
  name: "vet.domains",
@@ -14082,7 +14103,8 @@ var DEFAULT_APPS = [
14082
14103
  tweets: [],
14083
14104
  ve_world: {
14084
14105
  banner: "https://vet.domains/assets/walletconnect.png"
14085
- }
14106
+ },
14107
+ categories: []
14086
14108
  }
14087
14109
  // {
14088
14110
  // name: 'VeChain Kit',
@@ -16963,6 +16985,14 @@ var useAppHubApps = () => {
16963
16985
  });
16964
16986
  };
16965
16987
  var getCallClauseQueryKey = ({
16988
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
16989
+ abi: abi9,
16990
+ address,
16991
+ method: method13
16992
+ }) => ["callClause", address, method13];
16993
+ var getCallClauseQueryKeyWithArgs = ({
16994
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
16995
+ abi: abi9,
16966
16996
  address,
16967
16997
  method: method13,
16968
16998
  args
@@ -16970,7 +17000,7 @@ var getCallClauseQueryKey = ({
16970
17000
  "callClause",
16971
17001
  address,
16972
17002
  method13,
16973
- ...args ? [args] : []
17003
+ ...args?.length ? [args] : []
16974
17004
  ];
16975
17005
  var useCallClause = ({
16976
17006
  address,
@@ -16981,7 +17011,8 @@ var useCallClause = ({
16981
17011
  }) => {
16982
17012
  const thor = useThor();
16983
17013
  return useQuery({
16984
- queryKey: getCallClauseQueryKey({
17014
+ queryKey: getCallClauseQueryKeyWithArgs({
17015
+ abi: abi9,
16985
17016
  address,
16986
17017
  method: method13,
16987
17018
  args
@@ -17229,7 +17260,8 @@ var useGetAccountAddress = (ownerAddress) => {
17229
17260
 
17230
17261
  // src/hooks/thor/smartAccounts/useGetAccountVersion.ts
17231
17262
  var abi = SimpleAccountFactory__factory.abi;
17232
- var getAccountVersionQueryKey = (accountAddress, ownerAddress, networkType) => getCallClauseQueryKey({
17263
+ var getAccountVersionQueryKey = (accountAddress, ownerAddress, networkType) => getCallClauseQueryKeyWithArgs({
17264
+ abi,
17233
17265
  address: getConfig(networkType).accountFactoryAddress,
17234
17266
  method: "getAccountVersion",
17235
17267
  args: [accountAddress, ownerAddress]
@@ -17835,7 +17867,8 @@ var useGalaxyMemberTokensInfo = (owner, size = 10) => {
17835
17867
  // src/hooks/thor/contracts/NodeManagement/useGetUserNodes.ts
17836
17868
  var contractAbi = NodeManagement__factory.abi;
17837
17869
  var method3 = "getUserNodes";
17838
- var getUserNodesQueryKey = (networkType, user) => getCallClauseQueryKey({
17870
+ var getUserNodesQueryKey = (networkType, user) => getCallClauseQueryKeyWithArgs({
17871
+ abi: contractAbi,
17839
17872
  address: getConfig(networkType).nodeManagementContractAddress,
17840
17873
  method: method3,
17841
17874
  args: [user]
@@ -17897,7 +17930,7 @@ var useGetTokenUsdPrice = (token) => {
17897
17930
  });
17898
17931
  };
17899
17932
  var getVot3Balance = async (thor, network, address) => {
17900
- const res = await thor.contracts.load(getConfig(network).vot3ContractAddress, IVOT3__factory.abi).read.balanceOf(address);
17933
+ const res = await thor.contracts.load(getConfig(network).vot3ContractAddress, VOT3__factory.abi).read.balanceOf(address);
17901
17934
  if (!res) throw new Error("Reverted");
17902
17935
  const original = res[0].toString();
17903
17936
  const scaled = formatEther$1(original);
@@ -17917,7 +17950,7 @@ var useGetVot3Balance = (address) => {
17917
17950
  const thor = useThor();
17918
17951
  const { network } = useVeChainKitConfig();
17919
17952
  return useQuery({
17920
- queryKey: getVot3BalanceQueryKey(address),
17953
+ queryKey: getVot3BalanceQueryKey(address || ""),
17921
17954
  queryFn: async () => getVot3Balance(thor, network.type, address),
17922
17955
  enabled: !!thor && !!address && !!network.type
17923
17956
  });
@@ -17926,7 +17959,8 @@ var contractAbi2 = VeBetterPassport__factory.abi;
17926
17959
  var method4 = "isPerson";
17927
17960
  var getIsPersonQueryKey = (networkType, user) => {
17928
17961
  const veBetterPassportContractAddress = getConfig(networkType).veBetterPassportContractAddress;
17929
- return getCallClauseQueryKey({
17962
+ return getCallClauseQueryKeyWithArgs({
17963
+ abi: contractAbi2,
17930
17964
  address: veBetterPassportContractAddress,
17931
17965
  method: method4,
17932
17966
  args: [user]
@@ -17955,7 +17989,8 @@ var contractAbi3 = VeBetterPassport__factory.abi;
17955
17989
  var method5 = "isPersonAtTimepoint";
17956
17990
  var getIsPersonAtTimepointQueryKey = (networkType, user, timepoint) => {
17957
17991
  const veBetterPassportContractAddress = getConfig(networkType).veBetterPassportContractAddress;
17958
- return getCallClauseQueryKey({
17992
+ return getCallClauseQueryKeyWithArgs({
17993
+ abi: contractAbi3,
17959
17994
  address: veBetterPassportContractAddress,
17960
17995
  method: method5,
17961
17996
  args: [user, Number(timepoint)]
@@ -17985,7 +18020,8 @@ var useIsPersonAtTimepoint = (user, timepoint, customEnabled = true) => {
17985
18020
  var contractAbi4 = VeBetterPassport__factory.abi;
17986
18021
  var method6 = "signaledCounter";
17987
18022
  var getUserBotSignalsQueryKey = (networkType, userAddress) => {
17988
- return getCallClauseQueryKey({
18023
+ return getCallClauseQueryKeyWithArgs({
18024
+ abi: contractAbi4,
17989
18025
  address: getConfig(networkType).veBetterPassportContractAddress,
17990
18026
  method: method6,
17991
18027
  args: [userAddress]
@@ -18083,7 +18119,7 @@ var useRoundReward = (address, roundId) => {
18083
18119
  enabled: !!address && !!roundId && !!network.type,
18084
18120
  select: (data) => ({
18085
18121
  roundId,
18086
- rewards: formatEther(data[0])
18122
+ rewards: formatEther(BigInt(data[0]))
18087
18123
  })
18088
18124
  }
18089
18125
  });
@@ -18372,7 +18408,8 @@ var useMostVotedAppsInRound = (roundId) => {
18372
18408
  // src/hooks/thor/contracts/X2EarnApps/useXAppsMetadataBaseUri.ts
18373
18409
  var abi5 = X2EarnApps__factory.abi;
18374
18410
  var method8 = "baseURI";
18375
- var getXAppsMetadataBaseUriQueryKey = (network) => getCallClauseQueryKey({
18411
+ var getXAppsMetadataBaseUriQueryKey = (network) => getCallClauseQueryKeyWithArgs({
18412
+ abi: abi5,
18376
18413
  method: method8,
18377
18414
  address: getConfig(network).x2EarnAppsContractAddress,
18378
18415
  args: []
@@ -18540,7 +18577,8 @@ var RoundState = {
18540
18577
  };
18541
18578
  var abi6 = XAllocationVoting__factory.abi;
18542
18579
  var method9 = "state";
18543
- var getAllocationsRoundStateQueryKey = (roundId, network) => getCallClauseQueryKey({
18580
+ var getAllocationsRoundStateQueryKey = (roundId, network) => getCallClauseQueryKeyWithArgs({
18581
+ abi: abi6,
18544
18582
  method: method9,
18545
18583
  address: getConfig(network).xAllocationVotingContractAddress,
18546
18584
  args: [BigInt(roundId || 0)]
@@ -18562,7 +18600,8 @@ var useAllocationsRoundState = (roundId) => {
18562
18600
  // src/hooks/thor/contracts/XAllocationVoting/useCurrentAllocationsRoundId.ts
18563
18601
  var abi7 = XAllocationVoting__factory.abi;
18564
18602
  var method10 = "currentRoundId";
18565
- var getCurrentAllocationsRoundIdQueryKey = (network) => getCallClauseQueryKey({
18603
+ var getCurrentAllocationsRoundIdQueryKey = (network) => getCallClauseQueryKeyWithArgs({
18604
+ abi: abi7,
18566
18605
  method: method10,
18567
18606
  address: getConfig(network).xAllocationVotingContractAddress,
18568
18607
  args: []
@@ -18584,7 +18623,8 @@ var useCurrentAllocationsRoundId = () => {
18584
18623
  // src/hooks/thor/contracts/XAllocationVoting/useHasVotedInRound.ts
18585
18624
  var method11 = "hasVoted";
18586
18625
  var abi8 = XAllocationVoting__factory.abi;
18587
- var getHasVotedInRoundQueryKey = (roundId, address, networkType) => getCallClauseQueryKey({
18626
+ var getHasVotedInRoundQueryKey = (roundId, address, networkType) => getCallClauseQueryKeyWithArgs({
18627
+ abi: abi8,
18588
18628
  address: getConfig(networkType).xAllocationVotingContractAddress,
18589
18629
  method: method11,
18590
18630
  args: [BigInt(roundId || 0), address]
@@ -18726,7 +18766,8 @@ var useAllocationsRound = (roundId) => {
18726
18766
  };
18727
18767
  var contractAbi5 = XAllocationVotingGovernor__factory.abi;
18728
18768
  var method12 = "getAppVotes";
18729
- var getXAppVotesQueryKey = (networkType, roundId, appId) => getCallClauseQueryKey({
18769
+ var getXAppVotesQueryKey = (networkType, roundId, appId) => getCallClauseQueryKeyWithArgs({
18770
+ abi: contractAbi5,
18730
18771
  address: getConfig(networkType).xAllocationVotingContractAddress,
18731
18772
  method: method12,
18732
18773
  args: [BigInt(roundId || 0), appId]
@@ -18743,7 +18784,7 @@ var useXAppVotes = (roundId, appId) => {
18743
18784
  args: [BigInt(roundId || 0), appId],
18744
18785
  queryOptions: {
18745
18786
  enabled: !!roundId && !!appId && !!network.type,
18746
- select: (res) => formatEther(res[0])
18787
+ select: (res) => formatEther(BigInt(res[0]))
18747
18788
  }
18748
18789
  });
18749
18790
  };
@@ -20650,8 +20691,8 @@ var VeChainKitProvider = (props) => {
20650
20691
  "--vdk-color-light-primary-hover": "#f8f8f8",
20651
20692
  "--vdk-color-light-primary-active": "#f0f0f0",
20652
20693
  "--vdk-color-light-secondary": "white",
20653
- // Font settings
20654
- "--vdk-font-family": "var(--chakra-fonts-body)",
20694
+ // Font settings - using system fonts instead of Chakra variables
20695
+ "--vdk-font-family": 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
20655
20696
  "--vdk-font-size-medium": "14px",
20656
20697
  "--vdk-font-size-large": "16px",
20657
20698
  "--vdk-font-weight-medium": "500"
@@ -20956,25 +20997,89 @@ var themeConfig = {
20956
20997
  Button: buttonTheme,
20957
20998
  Popover: popoverTheme
20958
20999
  },
20959
- cssVarPrefix: "vechainKit"
21000
+ cssVarPrefix: "vechain-kit",
21001
+ // consistent naming across all components
21002
+ // COMPLETELY disable global styles to prevent any conflicts
21003
+ styles: {
21004
+ global: () => ({})
21005
+ // empty object = no global styles injected
21006
+ },
21007
+ // only defining the semantic tokens we need, scoped to our components
21008
+ semanticTokens: {
21009
+ colors: {
21010
+ "chakra-body-text": {
21011
+ _light: "#1A202C",
21012
+ _dark: "#F7FAFC"
21013
+ },
21014
+ "chakra-body-bg": {
21015
+ _light: "#FFFFFF",
21016
+ _dark: "#1A202C"
21017
+ },
21018
+ "chakra-border-color": {
21019
+ _light: "#E2E8F0",
21020
+ _dark: "#2D3748"
21021
+ },
21022
+ "chakra-placeholder-color": {
21023
+ _light: "#A0AEC0",
21024
+ _dark: "#718096"
21025
+ }
21026
+ }
21027
+ },
21028
+ // minimal foundations to prevent global style injection
21029
+ fonts: theme.fonts,
21030
+ colors: theme.colors,
21031
+ space: theme.space
20960
21032
  };
20961
21033
  var VechainKitTheme = extendTheme(themeConfig);
21034
+ VechainKitTheme.styles.global = () => ({});
21035
+ if (VechainKitTheme.__cssVars) {
21036
+ VechainKitTheme.__cssVars.global = () => ({});
21037
+ }
20962
21038
  var { ToastContainer } = createStandaloneToast();
21039
+ var createVeChainKitCache = () => {
21040
+ return createCache({
21041
+ key: "vechain-kit",
21042
+ // consistent with our layer and class names
21043
+ prepend: true
21044
+ // CSS layers will be handled via Global component injection
21045
+ });
21046
+ };
21047
+ var LayerSetup = () => {
21048
+ return /* @__PURE__ */ jsx(
21049
+ Global,
21050
+ {
21051
+ styles: css`
21052
+ /* define CSS layers with proper priority order */
21053
+ @layer vechain-kit, host-app;
21054
+
21055
+ /* All vechain-kit styles go in the vechain-kit layer */
21056
+ @layer vechain-kit {
21057
+ /* scope all Chakra styles to vechain-kit-root */
21058
+ .vechain-kit-root {
21059
+ /* vechain-kit styles are contained here */
21060
+ }
21061
+ }
21062
+ `
21063
+ }
21064
+ );
21065
+ };
20963
21066
  var EnsureChakraProvider = ({
20964
21067
  children,
20965
21068
  theme
20966
21069
  }) => {
20967
- try {
20968
- const chakraVars = document.documentElement.style.getPropertyValue(
20969
- "--chakra-colors-transparent"
20970
- );
20971
- if (chakraVars) {
20972
- return /* @__PURE__ */ jsx(ChakraProvider, { theme, resetCSS: false, children });
20973
- }
20974
- } catch (e) {
20975
- console.error(e);
20976
- }
20977
- return /* @__PURE__ */ jsx(ChakraProvider, { theme, resetCSS: true, children });
21070
+ const cache = useMemo(() => createVeChainKitCache(), []);
21071
+ return /* @__PURE__ */ jsxs(CacheProvider, { value: cache, children: [
21072
+ /* @__PURE__ */ jsx(LayerSetup, {}),
21073
+ /* @__PURE__ */ jsx(
21074
+ ChakraProvider,
21075
+ {
21076
+ theme,
21077
+ resetCSS: false,
21078
+ portalZIndex: void 0,
21079
+ children: /* @__PURE__ */ jsx("div", { className: "vechain-kit-root", children })
21080
+ }
21081
+ )
21082
+ ] });
20978
21083
  };
20979
21084
  var EnsureColorModeScript = ({ darkMode }) => {
20980
21085
  try {
@@ -21010,11 +21115,6 @@ var VechainKitThemeProvider = ({
21010
21115
  ] });
21011
21116
  };
21012
21117
 
21013
- // src/index.ts
21014
- BigInt.prototype.toJSON = function() {
21015
- return { $bigint: this.toString() };
21016
- };
21017
-
21018
- export { AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, AppearanceSettingsContent, AssetButton, AssetsContent, BalanceSection, BaseModal, BridgeContent, ChangeCurrencyContent, ChooseNameContent, ChooseNameModalProvider, ChooseNameSearchContent, ChooseNameSummaryContent, ConnectModal, ConnectModalProvider, ConnectPopover, ConnectionButton, CrossAppConnectionSecurityCard, CustomizationContent, CustomizationSummaryContent, DappKitButton, DisconnectConfirmContent, DomainRequiredAlert, EcosystemButton, EcosystemModal, EmailLoginButton, EmbeddedWalletContent, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, GeneralSettingsContent, LanguageSettingsContent, LegalDocumentItem, LegalDocumentsModal, LegalDocumentsProvider, LocalStorageKey, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, ModalBackButton, ModalFAQButton, ModalNotificationButton, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyButton, PrivyWalletProvider, ProfileCard, ProfileContent, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, RoundState, ScrollToTopWrapper, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, ShareButtons, SocialIcons, StickyFooterContainer, StickyHeaderContainer, SwapTokenContent, TermsAndPrivacyContent, TransactionButtonAndStatus, TransactionModal, TransactionModalContent, TransactionModalProvider, TransactionToast, TransactionToastProvider, UpgradeSmartAccountContent, UpgradeSmartAccountModal, UpgradeSmartAccountModalProvider, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VechainKitThemeProvider, VersionFooter, WalletButton, WalletModalProvider, compressImages, currentBlockQueryKey, fetchAppHubApps, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersionQueryKey, getAllEventLogs, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppHubAppsQueryKey, getAvatar, getAvatarLegacy, getAvatarLegacyQueryKey, getAvatarOfAddressQueryKey, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getCallClauseQueryKey, getChainId, getChainIdQueryKey, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getErc20Balance, getErc20BalanceQueryKey, getEventLogs, getHasV1SmartAccount, getHasV1SmartAccountQueryKey, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsDeployed, getIsDeployedQueryKey, getIsDomainProtectedQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getPrivyAppInfoQueryKey, getResolverAddressQueryKey, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSmartAccount, getSmartAccountQueryKey, getTextRecords, getTextRecordsQueryKey, getTokenInfo, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, getUpgradeRequired, getUpgradeRequiredForAccount, getUpgradeRequiredForAccountQueryKey, getUpgradeRequiredQueryKey, getUserBotSignalsQueryKey, getUserNodesQueryKey, getUserVotesInRound, getUserVotesInRoundQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVechainDomainQueryKey, getVersion, getVersionQueryKey, getVot3Balance, getVot3BalanceQueryKey, getVotesInRoundQueryKey, getXAppMetadata, getXAppMetadataQueryKey, getXAppRoundEarnings, getXAppRoundEarningsQueryKey, getXAppTotalEarningsQueryKey, getXAppVotesQueryKey, getXApps, getXAppsMetadataBaseUriQueryKey, getXAppsQueryKey, getXAppsSharesQueryKey, imageCompressionOptions, txReceiptQueryKey, useAccessAndSecurityModal, useAccountBalance, useAccountCustomizationModal, useAccountImplementationAddress, useAccountModal, useAllocationsRound, useAllocationsRoundState, useAllocationsRoundsEvents, useAppHubApps, useBuildTransaction, useCallClause, useChooseNameModal, useClaimVeWorldSubdomain, useClaimVetDomain, useConnectModal, useCrossAppConnectionCache, useCurrency, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useCustomTokens, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGalaxyMemberTokensInfo, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetAvatarLegacy, useGetAvatarOfAddress, useGetB3trBalance, useGetChainId, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDomainsOfAddress, useGetErc20Balance, useGetNodeUrl, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetUserNode, useGetUserNodes, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsDomainProtected, useIsPWA, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserPerson, useLegalDocuments, useLocalStorage, useLoginModalContent, useLoginWithOAuth2 as useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNotificationAlerts, useNotifications, useNotificationsModal, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshFactoryQueries, useRefreshMetadata, useRefreshSmartAccountQueries, useRoundReward, useRoundXApps, useScrollToTop, useSendTokenModal, useSendTransaction, useSignMessage2 as useSignMessage, useSignTypedData2 as useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useSyncableLocalStorage, useTokenBalances, useTokenBalances2, useTokenPrices, useTokenPrices2, useTokensWithValues, useTotalBalance, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUnsetDomain, useUpdateTextRecord, useUpgradeRequired, useUpgradeRequiredForAccount, useUpgradeSmartAccount, useUpgradeSmartAccountModal, useUploadImages, useUserBotSignals, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletMetadata, useWalletModal2 as useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXApps, useXAppsMetadataBaseUri, useXAppsShares };
21118
+ export { AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, AppearanceSettingsContent, AssetButton, AssetsContent, BalanceSection, BaseModal, BridgeContent, ChangeCurrencyContent, ChooseNameContent, ChooseNameModalProvider, ChooseNameSearchContent, ChooseNameSummaryContent, ConnectModal, ConnectModalProvider, ConnectPopover, ConnectionButton, CrossAppConnectionSecurityCard, CustomizationContent, CustomizationSummaryContent, DappKitButton, DisconnectConfirmContent, DomainRequiredAlert, EcosystemButton, EcosystemModal, EmailLoginButton, EmbeddedWalletContent, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, GeneralSettingsContent, LanguageSettingsContent, LegalDocumentItem, LegalDocumentsModal, LegalDocumentsProvider, LocalStorageKey, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, ModalBackButton, ModalFAQButton, ModalNotificationButton, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyButton, PrivyWalletProvider, ProfileCard, ProfileContent, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, RoundState, ScrollToTopWrapper, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, ShareButtons, SocialIcons, StickyFooterContainer, StickyHeaderContainer, SwapTokenContent, TermsAndPrivacyContent, TransactionButtonAndStatus, TransactionModal, TransactionModalContent, TransactionModalProvider, TransactionToast, TransactionToastProvider, UpgradeSmartAccountContent, UpgradeSmartAccountModal, UpgradeSmartAccountModalProvider, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VechainKitThemeProvider, VersionFooter, WalletButton, WalletModalProvider, compressImages, currentBlockQueryKey, fetchAppHubApps, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersionQueryKey, getAllEventLogs, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppHubAppsQueryKey, getAvatar, getAvatarLegacy, getAvatarLegacyQueryKey, getAvatarOfAddressQueryKey, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getCallClauseQueryKey, getCallClauseQueryKeyWithArgs, getChainId, getChainIdQueryKey, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getErc20Balance, getErc20BalanceQueryKey, getEventLogs, getHasV1SmartAccount, getHasV1SmartAccountQueryKey, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsDeployed, getIsDeployedQueryKey, getIsDomainProtectedQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getPrivyAppInfoQueryKey, getResolverAddressQueryKey, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSmartAccount, getSmartAccountQueryKey, getTextRecords, getTextRecordsQueryKey, getTokenInfo, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, getUpgradeRequired, getUpgradeRequiredForAccount, getUpgradeRequiredForAccountQueryKey, getUpgradeRequiredQueryKey, getUserBotSignalsQueryKey, getUserNodesQueryKey, getUserVotesInRound, getUserVotesInRoundQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVechainDomainQueryKey, getVersion, getVersionQueryKey, getVot3Balance, getVot3BalanceQueryKey, getVotesInRoundQueryKey, getXAppMetadata, getXAppMetadataQueryKey, getXAppRoundEarnings, getXAppRoundEarningsQueryKey, getXAppTotalEarningsQueryKey, getXAppVotesQueryKey, getXApps, getXAppsMetadataBaseUriQueryKey, getXAppsQueryKey, getXAppsSharesQueryKey, imageCompressionOptions, txReceiptQueryKey, useAccessAndSecurityModal, useAccountBalance, useAccountCustomizationModal, useAccountImplementationAddress, useAccountModal, useAllocationsRound, useAllocationsRoundState, useAllocationsRoundsEvents, useAppHubApps, useBuildTransaction, useCallClause, useChooseNameModal, useClaimVeWorldSubdomain, useClaimVetDomain, useConnectModal, useCrossAppConnectionCache, useCurrency, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useCustomTokens, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGalaxyMemberTokensInfo, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetAvatarLegacy, useGetAvatarOfAddress, useGetB3trBalance, useGetChainId, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDomainsOfAddress, useGetErc20Balance, useGetNodeUrl, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetUserNode, useGetUserNodes, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsDomainProtected, useIsPWA, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserPerson, useLegalDocuments, useLocalStorage, useLoginModalContent, useLoginWithOAuth2 as useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNotificationAlerts, useNotifications, useNotificationsModal, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshFactoryQueries, useRefreshMetadata, useRefreshSmartAccountQueries, useRoundReward, useRoundXApps, useScrollToTop, useSendTokenModal, useSendTransaction, useSignMessage2 as useSignMessage, useSignTypedData2 as useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useSyncableLocalStorage, useTokenBalances, useTokenBalances2, useTokenPrices, useTokenPrices2, useTokensWithValues, useTotalBalance, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUnsetDomain, useUpdateTextRecord, useUpgradeRequired, useUpgradeRequiredForAccount, useUpgradeSmartAccount, useUpgradeSmartAccountModal, useUploadImages, useUserBotSignals, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletMetadata, useWalletModal2 as useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXApps, useXAppsMetadataBaseUri, useXAppsShares };
21019
21119
  //# sourceMappingURL=index.js.map
21020
21120
  //# sourceMappingURL=index.js.map