@vechain/vechain-kit 1.5.6 → 1.5.7
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.cjs +153 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -5
- package/dist/index.d.ts +14 -5
- package/dist/index.js +152 -61
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4,8 +4,8 @@ export { getConfig } from './chunk-EUQRNI5E.js';
|
|
|
4
4
|
import { SimpleAccountFactoryABI, VechainLogo, VechainLogoLight, VechainLogoDark, PrivyLogo, SimpleAccountABI } from './chunk-DYI6ON4O.js';
|
|
5
5
|
import './chunk-PZ5AY32C.js';
|
|
6
6
|
import React10, { createContext, useState, useEffect, useMemo, useCallback, useRef, useContext } from 'react';
|
|
7
|
-
import { useLoginWithOAuth, usePrivy, useLoginWithEmail, useMfaEnrollment, useLoginWithPasskey as useLoginWithPasskey$1, PrivyProvider } from '@privy-io/react-auth';
|
|
8
|
-
export { useMfaEnrollment, usePrivy } from '@privy-io/react-auth';
|
|
7
|
+
import { useLoginWithOAuth, usePrivy, useLoginWithEmail, useMfaEnrollment, useSetWalletRecovery, useLoginWithPasskey as useLoginWithPasskey$1, PrivyProvider } from '@privy-io/react-auth';
|
|
8
|
+
export { useMfaEnrollment, usePrivy, useSetWalletRecovery } from '@privy-io/react-auth';
|
|
9
9
|
import { useConnex, useWallet as useWallet$1, useWalletModal, useVechainDomain as useVechainDomain$1, DAppKitProvider } from '@vechain/dapp-kit-react';
|
|
10
10
|
export { WalletButton as DAppKitWalletButton, useConnex, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from '@vechain/dapp-kit-react';
|
|
11
11
|
import { defineChain, formatEther, parseEther, zeroAddress, keccak256, toBytes, concat, encodeFunctionData } from 'viem';
|
|
@@ -24,12 +24,12 @@ import { toPrivyWalletConnector } from '@privy-io/cross-app-connect/rainbow-kit'
|
|
|
24
24
|
import { isMobile } from 'react-device-detect';
|
|
25
25
|
import { createMultiStyleConfigHelpers, defineStyle, defineStyleConfig, extendTheme, createStandaloneToast, IconButton, VStack, Text, InputGroup, InputLeftElement, Icon, Input, InputRightElement, HStack, Link, Box, useMediaQuery, Modal, ModalOverlay, ModalContent, Button, Image, Skeleton, Spinner, useDisclosure, GridItem, ModalHeader, ModalCloseButton, ModalBody, ModalFooter, Tag, useColorMode, Heading, useColorModeValue, Tabs, TabList, Tab, TabPanels, TabPanel, Grid, Card, CardBody, Alert, AlertIcon, Divider, FormControl, Center, Container, Select, FormLabel, Textarea, Circle, AlertTitle, AlertDescription, Popover, PopoverTrigger, PopoverContent, PopoverBody, CardFooter, PinInput, PinInputField, Stack, Accordion, AccordionItem, AccordionButton, AccordionPanel, List, ListItem, ChakraProvider, ColorModeScript, Flex } from '@chakra-ui/react';
|
|
26
26
|
import { motion } from 'framer-motion';
|
|
27
|
-
import { IoChevronBack, IoCheckmarkOutline, IoCopyOutline, IoWalletOutline, IoCloseCircle, IoShieldOutline, IoOpenOutline, IoTrashBin, IoChevronUp, IoChevronDown, IoCloseOutline } from 'react-icons/io5';
|
|
27
|
+
import { IoChevronBack, IoCheckmarkOutline, IoCopyOutline, IoWalletOutline, IoCloseCircle, IoShieldOutline, IoCogSharp, IoOpenOutline, IoTrashBin, IoChevronUp, IoChevronDown, IoCloseOutline } from 'react-icons/io5';
|
|
28
28
|
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';
|
|
29
29
|
import { HiOutlineWallet, HiOutlineShieldCheck } from 'react-icons/hi2';
|
|
30
30
|
import { BsQuestionCircle, BsBookmarkFill, BsBookmark } from 'react-icons/bs';
|
|
31
31
|
import { LuMail, LuArrowDownToLine } from 'react-icons/lu';
|
|
32
|
-
import { MdOutlineNavigateNext, MdPhotoCamera, MdOutlineRefresh, MdOutlineErrorOutline, MdEmail, MdSwapHoriz } from 'react-icons/md';
|
|
32
|
+
import { MdOutlineNavigateNext, MdOutlineSettingsBackupRestore, MdPhotoCamera, MdOutlineRefresh, MdOutlineErrorOutline, MdEmail, MdSwapHoriz } from 'react-icons/md';
|
|
33
33
|
import { FcGoogle, FcCheckmark } from 'react-icons/fc';
|
|
34
34
|
import { IoIosFingerPrint, IoIosArrowForward, IoMdApps, IoMdSettings, IoIosCheckmarkCircleOutline } from 'react-icons/io';
|
|
35
35
|
import { AiOutlineUser } from 'react-icons/ai';
|
|
@@ -3288,7 +3288,7 @@ var useSendTransaction = ({
|
|
|
3288
3288
|
});
|
|
3289
3289
|
}
|
|
3290
3290
|
let transaction = vendor.sign("tx", clauses2);
|
|
3291
|
-
if (feeDelegation
|
|
3291
|
+
if (feeDelegation?.delegateAllTransactions) {
|
|
3292
3292
|
transaction = transaction.delegate(feeDelegation.delegatorUrl);
|
|
3293
3293
|
}
|
|
3294
3294
|
if (signerAccountAddress) {
|
|
@@ -3971,7 +3971,7 @@ var useWallet = () => {
|
|
|
3971
3971
|
source: connectionSource,
|
|
3972
3972
|
isInAppBrowser: (window.vechain && window.vechain.isInAppBrowser) ?? false,
|
|
3973
3973
|
nodeUrl,
|
|
3974
|
-
delegatorUrl: feeDelegation
|
|
3974
|
+
delegatorUrl: feeDelegation?.delegatorUrl,
|
|
3975
3975
|
chainId,
|
|
3976
3976
|
network: network.type
|
|
3977
3977
|
},
|
|
@@ -4978,7 +4978,7 @@ var AddressDisplay = ({
|
|
|
4978
4978
|
// package.json
|
|
4979
4979
|
var package_default = {
|
|
4980
4980
|
name: "@vechain/vechain-kit",
|
|
4981
|
-
version: "1.5.
|
|
4981
|
+
version: "1.5.7",
|
|
4982
4982
|
private: false,
|
|
4983
4983
|
homepage: "https://github.com/vechain/vechain-kit",
|
|
4984
4984
|
repository: "github:vechain/vechain-kit",
|
|
@@ -6278,7 +6278,7 @@ var ActionButton = ({
|
|
|
6278
6278
|
flex: 1,
|
|
6279
6279
|
justifyContent: "flex-start",
|
|
6280
6280
|
alignItems: "flex-start",
|
|
6281
|
-
children: /* @__PURE__ */ jsxs(HStack, { justify: "flex-start", children: [
|
|
6281
|
+
children: /* @__PURE__ */ jsxs(HStack, { justify: "flex-start", alignItems: "baseline", children: [
|
|
6282
6282
|
/* @__PURE__ */ jsx(Text, { fontSize: "sm", fontWeight: "400", children: title }),
|
|
6283
6283
|
showComingSoon && /* @__PURE__ */ jsx(Tag, { size: "sm", colorScheme: "red", children: t("Coming Soon!") }),
|
|
6284
6284
|
extraContent
|
|
@@ -6725,7 +6725,8 @@ var QuickActionButton = ({
|
|
|
6725
6725
|
icon,
|
|
6726
6726
|
label,
|
|
6727
6727
|
onClick,
|
|
6728
|
-
isDisabled
|
|
6728
|
+
isDisabled,
|
|
6729
|
+
showRedDot
|
|
6729
6730
|
}) => {
|
|
6730
6731
|
const { t } = useTranslation();
|
|
6731
6732
|
return /* @__PURE__ */ jsx(
|
|
@@ -6738,18 +6739,41 @@ var QuickActionButton = ({
|
|
|
6738
6739
|
isDisabled,
|
|
6739
6740
|
icon: /* @__PURE__ */ jsxs(VStack, { spacing: 4, children: [
|
|
6740
6741
|
/* @__PURE__ */ jsx(Icon, { as: icon, boxSize: 5, opacity: 0.9 }),
|
|
6741
|
-
/* @__PURE__ */
|
|
6742
|
+
/* @__PURE__ */ jsxs(HStack, { p: 0, alignItems: "baseline", spacing: 1, children: [
|
|
6743
|
+
/* @__PURE__ */ jsx(Text, { fontSize: "sm", fontWeight: "600", children: t(label, label) }),
|
|
6744
|
+
showRedDot && /* @__PURE__ */ jsx(
|
|
6745
|
+
Box,
|
|
6746
|
+
{
|
|
6747
|
+
minWidth: "8px",
|
|
6748
|
+
height: "8px",
|
|
6749
|
+
bg: "red.500",
|
|
6750
|
+
borderRadius: "full",
|
|
6751
|
+
display: "flex",
|
|
6752
|
+
alignItems: "center",
|
|
6753
|
+
justifyContent: "center"
|
|
6754
|
+
}
|
|
6755
|
+
)
|
|
6756
|
+
] })
|
|
6742
6757
|
] }),
|
|
6743
6758
|
onClick
|
|
6744
6759
|
}
|
|
6745
6760
|
);
|
|
6746
6761
|
};
|
|
6747
6762
|
var QuickActionsSection = ({ mt, setCurrentContent }) => {
|
|
6748
|
-
const { account } = useWallet();
|
|
6763
|
+
const { account, smartAccount, connectedWallet } = useWallet();
|
|
6749
6764
|
const { totalBalance } = useBalances({
|
|
6750
6765
|
address: account?.address ?? ""
|
|
6751
6766
|
});
|
|
6752
6767
|
const { t } = useTranslation();
|
|
6768
|
+
const { data: upgradeRequired } = useUpgradeRequired(
|
|
6769
|
+
smartAccount?.address ?? "",
|
|
6770
|
+
connectedWallet?.address ?? "",
|
|
6771
|
+
3
|
|
6772
|
+
);
|
|
6773
|
+
const { getNotifications } = useNotifications();
|
|
6774
|
+
const notifications = getNotifications();
|
|
6775
|
+
const hasUnreadNotifications = notifications.some((n) => !n.isRead);
|
|
6776
|
+
const showRedDot = upgradeRequired || hasUnreadNotifications;
|
|
6753
6777
|
return /* @__PURE__ */ jsxs(VStack, { w: "full", mt, spacing: 4, children: [
|
|
6754
6778
|
/* @__PURE__ */ jsx(Heading, { size: "xs", fontWeight: "500", w: "full", opacity: 0.5, children: t("Activities") }),
|
|
6755
6779
|
/* @__PURE__ */ jsx(Grid, { templateColumns: "repeat(3, 1fr)", gap: 2, w: "full", children: QUICK_ACTIONS.map((action) => /* @__PURE__ */ jsx(
|
|
@@ -6758,7 +6782,8 @@ var QuickActionsSection = ({ mt, setCurrentContent }) => {
|
|
|
6758
6782
|
icon: action.icon,
|
|
6759
6783
|
label: action.label,
|
|
6760
6784
|
onClick: () => action.onClick(setCurrentContent),
|
|
6761
|
-
isDisabled: action.isDisabled?.(totalBalance)
|
|
6785
|
+
isDisabled: action.isDisabled?.(totalBalance),
|
|
6786
|
+
showRedDot: showRedDot && action.label === "Settings"
|
|
6762
6787
|
},
|
|
6763
6788
|
action.label
|
|
6764
6789
|
)) })
|
|
@@ -6871,6 +6896,7 @@ var AccessAndSecurityContent = ({ setCurrentContent }) => {
|
|
|
6871
6896
|
const { t } = useTranslation();
|
|
6872
6897
|
const { exportWallet } = usePrivy();
|
|
6873
6898
|
const { showMfaEnrollmentModal } = useMfaEnrollment();
|
|
6899
|
+
const { setWalletRecovery } = useSetWalletRecovery();
|
|
6874
6900
|
const { connection, smartAccount, connectedWallet } = useWallet();
|
|
6875
6901
|
const { data: upgradeRequired } = useUpgradeRequired(
|
|
6876
6902
|
smartAccount?.address ?? "",
|
|
@@ -6917,6 +6943,38 @@ var AccessAndSecurityContent = ({ setCurrentContent }) => {
|
|
|
6917
6943
|
}
|
|
6918
6944
|
)
|
|
6919
6945
|
] }),
|
|
6946
|
+
upgradeRequired && /* @__PURE__ */ jsx(
|
|
6947
|
+
ActionButton,
|
|
6948
|
+
{
|
|
6949
|
+
title: t("Upgrade Smart Account to V3"),
|
|
6950
|
+
description: t(
|
|
6951
|
+
"A new version is available for your account"
|
|
6952
|
+
),
|
|
6953
|
+
onClick: () => {
|
|
6954
|
+
setCurrentContent({
|
|
6955
|
+
type: "upgrade-smart-account",
|
|
6956
|
+
props: {
|
|
6957
|
+
setCurrentContent,
|
|
6958
|
+
initialContent: "access-and-security"
|
|
6959
|
+
}
|
|
6960
|
+
});
|
|
6961
|
+
},
|
|
6962
|
+
leftIcon: IoCogSharp,
|
|
6963
|
+
extraContent: /* @__PURE__ */ jsx(
|
|
6964
|
+
Box,
|
|
6965
|
+
{
|
|
6966
|
+
minWidth: "8px",
|
|
6967
|
+
height: "8px",
|
|
6968
|
+
bg: "red.500",
|
|
6969
|
+
borderRadius: "full",
|
|
6970
|
+
display: "flex",
|
|
6971
|
+
alignItems: "center",
|
|
6972
|
+
justifyContent: "center",
|
|
6973
|
+
ml: 2
|
|
6974
|
+
}
|
|
6975
|
+
)
|
|
6976
|
+
}
|
|
6977
|
+
),
|
|
6920
6978
|
/* @__PURE__ */ jsx(
|
|
6921
6979
|
ActionButton,
|
|
6922
6980
|
{
|
|
@@ -6962,23 +7020,15 @@ var AccessAndSecurityContent = ({ setCurrentContent }) => {
|
|
|
6962
7020
|
leftIcon: HiOutlineShieldCheck
|
|
6963
7021
|
}
|
|
6964
7022
|
),
|
|
6965
|
-
|
|
7023
|
+
/* @__PURE__ */ jsx(
|
|
6966
7024
|
ActionButton,
|
|
6967
7025
|
{
|
|
6968
|
-
title: t("
|
|
6969
|
-
description: t(
|
|
6970
|
-
"A new version is available for your account"
|
|
6971
|
-
),
|
|
7026
|
+
title: t("Manage Recovery"),
|
|
6972
7027
|
onClick: () => {
|
|
6973
|
-
|
|
6974
|
-
type: "upgrade-smart-account",
|
|
6975
|
-
props: {
|
|
6976
|
-
setCurrentContent,
|
|
6977
|
-
initialContent: "access-and-security"
|
|
6978
|
-
}
|
|
6979
|
-
});
|
|
7028
|
+
setWalletRecovery();
|
|
6980
7029
|
},
|
|
6981
|
-
|
|
7030
|
+
isDisabled: !connection.isConnectedWithSocialLogin,
|
|
7031
|
+
leftIcon: MdOutlineSettingsBackupRestore
|
|
6982
7032
|
}
|
|
6983
7033
|
)
|
|
6984
7034
|
]
|
|
@@ -7224,13 +7274,18 @@ var SettingsContent = ({
|
|
|
7224
7274
|
const contentRef = useRef(null);
|
|
7225
7275
|
const { t } = useTranslation();
|
|
7226
7276
|
const { privy } = useVeChainKitConfig();
|
|
7227
|
-
const { connection, disconnect, account } = useWallet();
|
|
7277
|
+
const { connection, disconnect, account, smartAccount, connectedWallet } = useWallet();
|
|
7228
7278
|
const { getConnectionCache } = useCrossAppConnectionCache();
|
|
7229
7279
|
const connectionCache = getConnectionCache();
|
|
7230
7280
|
const { data: appInfo } = useFetchAppInfo(privy?.appId ?? "");
|
|
7231
7281
|
const { getNotifications } = useNotifications();
|
|
7232
7282
|
const notifications = getNotifications();
|
|
7233
7283
|
const hasUnreadNotifications = notifications.some((n) => !n.isRead);
|
|
7284
|
+
const { data: upgradeRequired } = useUpgradeRequired(
|
|
7285
|
+
smartAccount?.address ?? "",
|
|
7286
|
+
connectedWallet?.address ?? "",
|
|
7287
|
+
3
|
|
7288
|
+
);
|
|
7234
7289
|
useEffect(() => {
|
|
7235
7290
|
if (contentRef.current) {
|
|
7236
7291
|
contentRef.current.scrollTop = 0;
|
|
@@ -7291,7 +7346,19 @@ var SettingsContent = ({
|
|
|
7291
7346
|
setCurrentContent("access-and-security");
|
|
7292
7347
|
},
|
|
7293
7348
|
leftIcon: IoShieldOutline,
|
|
7294
|
-
rightIcon: MdOutlineNavigateNext
|
|
7349
|
+
rightIcon: MdOutlineNavigateNext,
|
|
7350
|
+
extraContent: upgradeRequired && /* @__PURE__ */ jsx(
|
|
7351
|
+
Box,
|
|
7352
|
+
{
|
|
7353
|
+
minWidth: "8px",
|
|
7354
|
+
height: "8px",
|
|
7355
|
+
bg: "red.500",
|
|
7356
|
+
borderRadius: "full",
|
|
7357
|
+
display: "flex",
|
|
7358
|
+
alignItems: "center",
|
|
7359
|
+
justifyContent: "center"
|
|
7360
|
+
}
|
|
7361
|
+
)
|
|
7295
7362
|
}
|
|
7296
7363
|
),
|
|
7297
7364
|
/* @__PURE__ */ jsx(
|
|
@@ -7329,17 +7396,13 @@ var SettingsContent = ({
|
|
|
7329
7396
|
extraContent: hasUnreadNotifications && /* @__PURE__ */ jsx(
|
|
7330
7397
|
Box,
|
|
7331
7398
|
{
|
|
7332
|
-
minWidth: "
|
|
7333
|
-
height: "
|
|
7399
|
+
minWidth: "8px",
|
|
7400
|
+
height: "8px",
|
|
7334
7401
|
bg: "red.500",
|
|
7335
7402
|
borderRadius: "full",
|
|
7336
7403
|
display: "flex",
|
|
7337
7404
|
alignItems: "center",
|
|
7338
|
-
justifyContent: "center"
|
|
7339
|
-
ml: 2,
|
|
7340
|
-
children: /* @__PURE__ */ jsx(Text, { fontSize: "xs", color: "white", children: notifications.filter(
|
|
7341
|
-
(n) => !n.isRead
|
|
7342
|
-
).length })
|
|
7405
|
+
justifyContent: "center"
|
|
7343
7406
|
}
|
|
7344
7407
|
)
|
|
7345
7408
|
}
|
|
@@ -8296,6 +8359,10 @@ var SendTokenSummaryContent = ({
|
|
|
8296
8359
|
return selectedToken.symbol === "VET" ? transferVETReceipt : transferERC20Receipt;
|
|
8297
8360
|
};
|
|
8298
8361
|
const handleSend = async () => {
|
|
8362
|
+
if (upgradeRequired) {
|
|
8363
|
+
openUpgradeSmartAccountModal();
|
|
8364
|
+
return;
|
|
8365
|
+
}
|
|
8299
8366
|
try {
|
|
8300
8367
|
if (selectedToken.symbol === "VET") {
|
|
8301
8368
|
await transferVET();
|
|
@@ -8308,11 +8375,6 @@ var SendTokenSummaryContent = ({
|
|
|
8308
8375
|
};
|
|
8309
8376
|
const isTxWaitingConfirmation = transferERC20WaitingForWalletConfirmation || transferVETWaitingForWalletConfirmation;
|
|
8310
8377
|
const isSubmitting = isTxWaitingConfirmation || transferERC20Pending || transferVETPending;
|
|
8311
|
-
useEffect(() => {
|
|
8312
|
-
if (upgradeRequired) {
|
|
8313
|
-
openUpgradeSmartAccountModal();
|
|
8314
|
-
}
|
|
8315
|
-
}, [upgradeRequired, openUpgradeSmartAccountModal]);
|
|
8316
8378
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8317
8379
|
/* @__PURE__ */ jsxs(StickyHeaderContainer, { children: [
|
|
8318
8380
|
/* @__PURE__ */ jsx(ModalHeader, { children: "Send" }),
|
|
@@ -8411,7 +8473,7 @@ var SendTokenSummaryContent = ({
|
|
|
8411
8473
|
transactionPendingText: t("Sending..."),
|
|
8412
8474
|
txReceipt: getTxReceipt(),
|
|
8413
8475
|
buttonText: t("Confirm"),
|
|
8414
|
-
isDisabled: isSubmitting
|
|
8476
|
+
isDisabled: isSubmitting
|
|
8415
8477
|
}
|
|
8416
8478
|
) })
|
|
8417
8479
|
] });
|
|
@@ -8877,17 +8939,16 @@ var ChooseNameSummaryContent = ({
|
|
|
8877
8939
|
}
|
|
8878
8940
|
});
|
|
8879
8941
|
const handleConfirm = async () => {
|
|
8942
|
+
if (upgradeRequired) {
|
|
8943
|
+
openUpgradeSmartAccountModal();
|
|
8944
|
+
return;
|
|
8945
|
+
}
|
|
8880
8946
|
try {
|
|
8881
8947
|
await sendTransaction();
|
|
8882
8948
|
} catch (error) {
|
|
8883
8949
|
console.error("Transaction failed:", error);
|
|
8884
8950
|
}
|
|
8885
8951
|
};
|
|
8886
|
-
useEffect(() => {
|
|
8887
|
-
if (upgradeRequired) {
|
|
8888
|
-
openUpgradeSmartAccountModal();
|
|
8889
|
-
}
|
|
8890
|
-
}, [upgradeRequired, openUpgradeSmartAccountModal]);
|
|
8891
8952
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8892
8953
|
/* @__PURE__ */ jsxs(StickyHeaderContainer, { children: [
|
|
8893
8954
|
/* @__PURE__ */ jsx(ModalHeader, { children: t("Confirm Name") }),
|
|
@@ -8921,7 +8982,7 @@ var ChooseNameSummaryContent = ({
|
|
|
8921
8982
|
transactionPendingText: t("Claiming name..."),
|
|
8922
8983
|
txReceipt,
|
|
8923
8984
|
buttonText: t("Confirm"),
|
|
8924
|
-
isDisabled: isTransactionPending
|
|
8985
|
+
isDisabled: isTransactionPending
|
|
8925
8986
|
}
|
|
8926
8987
|
) })
|
|
8927
8988
|
] });
|
|
@@ -9306,6 +9367,7 @@ var en_default = {
|
|
|
9306
9367
|
Mainnet: "Mainnet",
|
|
9307
9368
|
"Manage Custom Tokens": "Manage Custom Tokens",
|
|
9308
9369
|
"Manage MFA": "Manage MFA",
|
|
9370
|
+
"Manage Recovery": "Manage Recovery",
|
|
9309
9371
|
"Manage multi-factor authentication settings for your wallet.": "Manage multi-factor authentication settings for your wallet.",
|
|
9310
9372
|
"Manage on VeBetterDAO": "Manage on VeBetterDAO",
|
|
9311
9373
|
"Manage passkey login": "Manage passkey login",
|
|
@@ -9787,6 +9849,7 @@ var de_default = {
|
|
|
9787
9849
|
Mainnet: "Mainnet",
|
|
9788
9850
|
"Manage Custom Tokens": "Benutzerdefinierte Token verwalten",
|
|
9789
9851
|
"Manage MFA": "MFA verwalten",
|
|
9852
|
+
"Manage Recovery": "Wiederherstellung verwalten",
|
|
9790
9853
|
"Manage multi-factor authentication settings for your wallet.": "Verwalten Sie die Einstellungen zur Multi-Faktor-Authentifizierung f\xFCr Ihr Wallet.",
|
|
9791
9854
|
"Manage on VeBetterDAO": "Verwalten auf VeBetterDAO",
|
|
9792
9855
|
"Manage passkey login": "Passkey-Anmeldung verwalten",
|
|
@@ -10268,6 +10331,7 @@ var it_default = {
|
|
|
10268
10331
|
Mainnet: "Mainnet",
|
|
10269
10332
|
"Manage Custom Tokens": "Gestisci Token Personalizzati",
|
|
10270
10333
|
"Manage MFA": "Gestisci MFA",
|
|
10334
|
+
"Manage Recovery": "Gestisci Recupero",
|
|
10271
10335
|
"Manage multi-factor authentication settings for your wallet.": "Gestisci le impostazioni di autenticazione a pi\xF9 fattori per il tuo portafoglio.",
|
|
10272
10336
|
"Manage on VeBetterDAO": "Gestisci su VeBetterDAO",
|
|
10273
10337
|
"Manage passkey login": "Gestisci login con chiave di accesso",
|
|
@@ -10749,6 +10813,7 @@ var fr_default = {
|
|
|
10749
10813
|
Mainnet: "Mainnet",
|
|
10750
10814
|
"Manage Custom Tokens": "G\xE9rer les jetons personnalis\xE9s",
|
|
10751
10815
|
"Manage MFA": "G\xE9rer la MFA",
|
|
10816
|
+
"Manage Recovery": "G\xE9rer la r\xE9cup\xE9ration",
|
|
10752
10817
|
"Manage multi-factor authentication settings for your wallet.": "G\xE9rez les param\xE8tres d'authentification \xE0 plusieurs facteurs pour votre portefeuille.",
|
|
10753
10818
|
"Manage on VeBetterDAO": "G\xE9rer sur VeBetterDAO",
|
|
10754
10819
|
"Manage passkey login": "G\xE9rer la connexion par cl\xE9 de passe",
|
|
@@ -11230,6 +11295,7 @@ var es_default = {
|
|
|
11230
11295
|
Mainnet: "Red principal",
|
|
11231
11296
|
"Manage Custom Tokens": "Gestionar tokens personalizados",
|
|
11232
11297
|
"Manage MFA": "Gestionar MFA",
|
|
11298
|
+
"Manage Recovery": "Gestionar la Recuperaci\xF3n",
|
|
11233
11299
|
"Manage multi-factor authentication settings for your wallet.": "Gestionar configuraciones de autenticaci\xF3n multifactor para tu billetera.",
|
|
11234
11300
|
"Manage on VeBetterDAO": "Gestionar en VeBetterDAO",
|
|
11235
11301
|
"Manage passkey login": "Administrar inicio de sesi\xF3n con llave de acceso",
|
|
@@ -11711,6 +11777,7 @@ var zh_default = {
|
|
|
11711
11777
|
Mainnet: "\u4E3B\u7F51",
|
|
11712
11778
|
"Manage Custom Tokens": "\u7BA1\u7406\u81EA\u5B9A\u4E49\u4EE3\u5E01",
|
|
11713
11779
|
"Manage MFA": "\u7BA1\u7406\u591A\u56E0\u7D20\u8BA4\u8BC1",
|
|
11780
|
+
"Manage Recovery": "\u7BA1\u7406\u6062\u590D",
|
|
11714
11781
|
"Manage multi-factor authentication settings for your wallet.": "\u7BA1\u7406\u60A8\u94B1\u5305\u7684\u591A\u56E0\u7D20\u8BA4\u8BC1\u8BBE\u7F6E\u3002",
|
|
11715
11782
|
"Manage on VeBetterDAO": "\u5728VeBetterDAO\u4E0A\u7BA1\u7406",
|
|
11716
11783
|
"Manage passkey login": "\u7BA1\u7406\u5BC6\u7801\u767B\u5F55",
|
|
@@ -12192,6 +12259,7 @@ var ja_default = {
|
|
|
12192
12259
|
Mainnet: "\u30E1\u30A4\u30F3\u30CD\u30C3\u30C8",
|
|
12193
12260
|
"Manage Custom Tokens": "\u30AB\u30B9\u30BF\u30E0\u30C8\u30FC\u30AF\u30F3\u306E\u7BA1\u7406",
|
|
12194
12261
|
"Manage MFA": "MFA\u3092\u7BA1\u7406\u3059\u308B",
|
|
12262
|
+
"Manage Recovery": "\u30EA\u30AB\u30D0\u30EA\u30FC\u306E\u7BA1\u7406",
|
|
12195
12263
|
"Manage multi-factor authentication settings for your wallet.": "\u30A6\u30A9\u30EC\u30C3\u30C8\u306E\u591A\u8981\u7D20\u8A8D\u8A3C\u8A2D\u5B9A\u3092\u7BA1\u7406\u3059\u308B\u3002",
|
|
12196
12264
|
"Manage on VeBetterDAO": "VeBetterDAO\u3067\u7BA1\u7406",
|
|
12197
12265
|
"Manage passkey login": "\u30D1\u30B9\u30AD\u30FC\u306E\u30ED\u30B0\u30A4\u30F3\u3092\u7BA1\u7406",
|
|
@@ -13083,13 +13151,17 @@ var CustomizationSummaryContent = ({
|
|
|
13083
13151
|
"Your changes have been saved successfully."
|
|
13084
13152
|
),
|
|
13085
13153
|
onDone: () => {
|
|
13086
|
-
setCurrentContent("
|
|
13154
|
+
setCurrentContent("profile");
|
|
13087
13155
|
}
|
|
13088
13156
|
}
|
|
13089
13157
|
});
|
|
13090
13158
|
}
|
|
13091
13159
|
});
|
|
13092
13160
|
const onSubmit = async (data) => {
|
|
13161
|
+
if (upgradeRequired) {
|
|
13162
|
+
openUpgradeSmartAccountModal();
|
|
13163
|
+
return;
|
|
13164
|
+
}
|
|
13093
13165
|
try {
|
|
13094
13166
|
const domain2 = account?.domain ?? "";
|
|
13095
13167
|
const CHANGES_TO_TEXT_RECORDS = {
|
|
@@ -13128,11 +13200,6 @@ var CustomizationSummaryContent = ({
|
|
|
13128
13200
|
/* @__PURE__ */ jsx(Text, { fontSize: "md", children: value })
|
|
13129
13201
|
] });
|
|
13130
13202
|
};
|
|
13131
|
-
useEffect(() => {
|
|
13132
|
-
if (upgradeRequired) {
|
|
13133
|
-
openUpgradeSmartAccountModal();
|
|
13134
|
-
}
|
|
13135
|
-
}, [upgradeRequired, openUpgradeSmartAccountModal]);
|
|
13136
13203
|
return /* @__PURE__ */ jsxs(Box, { as: "form", onSubmit: handleSubmit(onSubmit), children: [
|
|
13137
13204
|
/* @__PURE__ */ jsxs(StickyHeaderContainer, { children: [
|
|
13138
13205
|
/* @__PURE__ */ jsx(ModalHeader, { children: t("Confirm Changes") }),
|
|
@@ -13173,7 +13240,7 @@ var CustomizationSummaryContent = ({
|
|
|
13173
13240
|
transactionPendingText: t("Saving changes..."),
|
|
13174
13241
|
txReceipt,
|
|
13175
13242
|
buttonText: t("Confirm"),
|
|
13176
|
-
isDisabled: isTransactionPending
|
|
13243
|
+
isDisabled: isTransactionPending
|
|
13177
13244
|
}
|
|
13178
13245
|
) })
|
|
13179
13246
|
] });
|
|
@@ -16923,6 +16990,21 @@ var useUpgradeSmartAccountModal = (style) => {
|
|
|
16923
16990
|
var UpgradeSmartAccountModalProvider = ({
|
|
16924
16991
|
children
|
|
16925
16992
|
}) => /* @__PURE__ */ jsx(Fragment, { children });
|
|
16993
|
+
var useProfileModal = () => {
|
|
16994
|
+
const { openAccountModal, closeAccountModal, isAccountModalOpen } = useModal();
|
|
16995
|
+
const open = () => {
|
|
16996
|
+
openAccountModal("profile");
|
|
16997
|
+
};
|
|
16998
|
+
const close = () => {
|
|
16999
|
+
closeAccountModal();
|
|
17000
|
+
};
|
|
17001
|
+
return {
|
|
17002
|
+
open,
|
|
17003
|
+
close,
|
|
17004
|
+
isOpen: isAccountModalOpen
|
|
17005
|
+
};
|
|
17006
|
+
};
|
|
17007
|
+
var ProfileModalProvider = ({ children }) => /* @__PURE__ */ jsx(Fragment, { children });
|
|
16926
17008
|
var ERC20Interface4 = ERC20__factory.createInterface();
|
|
16927
17009
|
var useTransferERC20 = ({
|
|
16928
17010
|
fromAddress,
|
|
@@ -17703,11 +17785,20 @@ var useVeChainKitConfig = () => {
|
|
|
17703
17785
|
};
|
|
17704
17786
|
var validateConfig = (props) => {
|
|
17705
17787
|
const errors = [];
|
|
17706
|
-
|
|
17707
|
-
|
|
17708
|
-
|
|
17709
|
-
|
|
17710
|
-
|
|
17788
|
+
const requiresFeeDelegation = props.privy !== void 0 || props.loginMethods?.some(
|
|
17789
|
+
(method35) => method35.method === "vechain" || method35.method === "ecosystem"
|
|
17790
|
+
);
|
|
17791
|
+
if (requiresFeeDelegation) {
|
|
17792
|
+
if (!props.feeDelegation) {
|
|
17793
|
+
errors.push(
|
|
17794
|
+
"feeDelegation configuration is required when using Privy or vechain login method"
|
|
17795
|
+
);
|
|
17796
|
+
} else {
|
|
17797
|
+
if (!props.feeDelegation || !props.feeDelegation.delegatorUrl) {
|
|
17798
|
+
errors.push(
|
|
17799
|
+
"feeDelegation.delegatorUrl is required when using Privy or vechain login method"
|
|
17800
|
+
);
|
|
17801
|
+
}
|
|
17711
17802
|
}
|
|
17712
17803
|
}
|
|
17713
17804
|
if (!props.network) {
|
|
@@ -17873,8 +17964,8 @@ var VeChainKitProvider = (props) => {
|
|
|
17873
17964
|
PrivyWalletProvider,
|
|
17874
17965
|
{
|
|
17875
17966
|
nodeUrl: network.nodeUrl ?? getConfig(network.type).nodeUrl,
|
|
17876
|
-
delegatorUrl: feeDelegation
|
|
17877
|
-
delegateAllTransactions: feeDelegation
|
|
17967
|
+
delegatorUrl: feeDelegation?.delegatorUrl ?? "",
|
|
17968
|
+
delegateAllTransactions: feeDelegation?.delegateAllTransactions ?? false,
|
|
17878
17969
|
children: /* @__PURE__ */ jsx(ModalProvider, { children })
|
|
17879
17970
|
}
|
|
17880
17971
|
)
|
|
@@ -18193,6 +18284,6 @@ var VechainKitThemeProvider = ({
|
|
|
18193
18284
|
] });
|
|
18194
18285
|
};
|
|
18195
18286
|
|
|
18196
|
-
export { APP_SECURITY_LEVELS, AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, AssetButton, AssetsContent, AssetsSection, BalanceSection, BaseModal, BridgeContent, ChooseNameContent, ChooseNameModalProvider, ChooseNameSearchContent, ChooseNameSummaryContent, ConnectModal, ConnectModalProvider, ConnectPopover, ConnectionButton, CustomizationContent, CustomizationSummaryContent, DappKitButton, DomainRequiredAlert, ENS_TEXT_RECORDS, EcosystemButton, EcosystemModal, EmailLoginButton, EmbeddedWalletContent, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, ModalBackButton, ModalFAQButton, NFTMediaType, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyButton, PrivyWalletProvider, ProfileCard, ProfileContent, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, RoundState, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, ShareButtons, SocialIcons, StickyFooterContainer, StickyHeaderContainer, SwapTokenContent, TransactionButtonAndStatus, TransactionModal, TransactionModalContent, TransactionModalProvider, TransactionToast, TransactionToastProvider, UpgradeSmartAccountContent, UpgradeSmartAccountModal, UpgradeSmartAccountModalProvider, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VePassportUserStatus, VechainKitThemeProvider, VersionFooter, WalletButton, WalletModalProvider, buildClaimRewardsTx, buildClaimRoundReward, compressImages, currentBlockQueryKey, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersion, getAccountVersionQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAllocationsRoundState, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getAvatar, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDelegateeQueryKey, getDelegatorQueryKey, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasV1SmartAccount, getHasV1SmartAccountQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDeployed, getIsDeployedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getResolverAddress, getResolverAddressQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getTextRecords, getTextRecordsQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenInfo, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, getUpgradeRequired, getUpgradeRequiredForAccount, getUpgradeRequiredForAccountQueryKey, getUpgradeRequiredQueryKey, getUserBotSignalsQueryKey, getUserNodesQueryKey, getUserRoundScoreQueryKey, getUserVotesInRound, getUserVotesInRoundQueryKey, getUserXNodes, getUserXNodesQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVechainDomainQueryKey, getVersion, getVersionQueryKey, getVot3Balance, getVot3BalanceQueryKey, getVotesInRoundQueryKey, getXAppMetadata, getXAppMetadataQueryKey, getXAppRoundEarnings, getXAppRoundEarningsQueryKey, getXAppTotalEarningsClauses, getXAppTotalEarningsQueryKey, getXAppVotes, getXAppVotesQf, getXAppVotesQfQueryKey, getXAppVotesQueryKey, getXApps, getXAppsMetadataBaseUri, getXAppsMetadataBaseUriQueryKey, getXAppsQueryKey, getXAppsSharesQueryKey, imageCompressionOptions, pollForReceipt, useAccessAndSecurityModal, useAccountBalance, useAccountCustomizationModal, useAccountImplementationAddress, useAccountLinking, useAccountModal, useAllocationAmount, useAllocationsRound, useAllocationsRoundState, useAllocationsRoundsEvents, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useConnectModal, useCrossAppConnectionCache, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGMBaseUri, useGMbalance, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDelegatee, useGetDelegator, useGetDomainsOfAddress, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginModalContent, useLoginWithOAuth2 as useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useReceiveModal, useRefreshBalances, useRefreshMetadata, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage2 as useSignMessage, useSignTypedData2 as useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUpdateTextRecord, useUpgradeRequired, useUpgradeRequiredForAccount, useUpgradeSmartAccount, useUpgradeSmartAccountModal, useUploadImages, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletMetadata, useWalletModal2 as useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|
|
18287
|
+
export { APP_SECURITY_LEVELS, AccessAndSecurityContent, AccessAndSecurityModalProvider, AccountAvatar, AccountCustomizationModalProvider, AccountDetailsButton, AccountMainContent, AccountModal, AccountModalProvider, AccountSelector, ActionButton, AddressDisplay, AddressDisplayCard, AssetButton, AssetsContent, AssetsSection, BalanceSection, BaseModal, BridgeContent, ChooseNameContent, ChooseNameModalProvider, ChooseNameSearchContent, ChooseNameSummaryContent, ConnectModal, ConnectModalProvider, ConnectPopover, ConnectionButton, CustomizationContent, CustomizationSummaryContent, DappKitButton, DomainRequiredAlert, ENS_TEXT_RECORDS, EcosystemButton, EcosystemModal, EmailLoginButton, EmbeddedWalletContent, ExchangeWarningAlert, ExploreEcosystemModalProvider, FAQContent, FAQModalProvider, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, FeatureAnnouncementCard, LoginLoadingModal, LoginWithGoogleButton, MAX_IMAGE_SIZE, MainContent, ManageCustomTokenContent, ModalBackButton, ModalFAQButton, NFTMediaType, NotificationsModalProvider, PRICE_FEED_IDS, PasskeyLoginButton, PrivyButton, PrivyWalletProvider, ProfileCard, ProfileContent, ProfileModalProvider, QuickActionsSection, ReceiveModalProvider, ReceiveTokenContent, RoundState, ScrollToTopWrapper, SecurityLevel, SelectTokenContent, SendTokenContent, SendTokenModalProvider, SendTokenSummaryContent, SettingsContent, ShareButtons, SocialIcons, StickyFooterContainer, StickyHeaderContainer, SwapTokenContent, TransactionButtonAndStatus, TransactionModal, TransactionModalContent, TransactionModalProvider, TransactionToast, TransactionToastProvider, UpgradeSmartAccountContent, UpgradeSmartAccountModal, UpgradeSmartAccountModalProvider, VeChainKitContext, VeChainKitProvider, VeChainLoginButton, VeChainWithPrivyLoginButton, VePassportUserStatus, VechainKitThemeProvider, VersionFooter, WalletButton, WalletModalProvider, buildClaimRewardsTx, buildClaimRoundReward, compressImages, currentBlockQueryKey, fetchPrivyAppInfo, fetchPrivyStatus, fetchVechainDomain, getAccountAddress, getAccountAddressQueryKey, getAccountBalance, getAccountBalanceQueryKey, getAccountImplementationAddress, getAccountImplementationAddressQueryKey, getAccountVersion, getAccountVersionQueryKey, getAllEvents, getAllocationAmount, getAllocationAmountQueryKey, getAllocationsRoundState, getAllocationsRoundStateQueryKey, getAllocationsRoundsEvents, getAllocationsRoundsEventsQueryKey, getAppAdmin, getAppAdminQueryKey, getAppBalance, getAppBalanceQueryKey, getAppExistsQueryKey, getAppSecurityLevelQueryKey, getAppsEligibleInNextRound, getAppsEligibleInNextRoundQueryKey, getAppsShareClauses, getAvatar, getAvatarQueryKey, getB3trBalance, getB3trBalanceQueryKey, getB3trDonatedQueryKey, getB3trToUpgradeQueryKey, getBalanceOf, getCallKey, getChainId, getChainIdQueryKey, getCurrentAccountImplementationVersion, getCurrentAccountImplementationVersionQueryKey, getCurrentAllocationsRoundId, getCurrentAllocationsRoundIdQueryKey, getCustomTokenBalance, getCustomTokenBalanceQueryKey, getCustomTokenInfo, getDelegateeQueryKey, getDelegatorQueryKey, getDomainsOfAddress, getDomainsOfAddressQueryKey, getEnsRecordExistsQueryKey, getEntitiesLinkedToPassportQueryKey, getEvents, getGMBaseUriQueryKey, getGMLevel, getGMbalanceQueryKey, getGetCumulativeScoreWithDecayQueryKey, getHasV1SmartAccount, getHasV1SmartAccountQueryKey, getHasVotedInRound, getHasVotedInRoundQueryKey, getIpfsImage, getIpfsImageQueryKey, getIpfsMetadata, getIpfsMetadataQueryKey, getIsBlacklistedQueryKey, getIsDeployed, getIsDeployedQueryKey, getIsDomainProtectedQueryKey, getIsEntityQueryKey, getIsNodeHolder, getIsNodeHolderQueryKey, getIsPassportQueryKey, getIsPersonAtTimepointQueryKey, getIsPersonQueryKey, getIsWhitelistedQueryKey, getLevelGradient, getLevelMultiplierQueryKey, getLevelOfTokenQueryKey, getNFTMetadataUri, getNFTMetadataUriQueryKey, getNodeCheckCooldownQueryKey, getNodeManagerQueryKey, getParticipatedInGovernance, getParticipatedInGovernanceQueryKey, getParticipationScoreThresholdQueryKey, getPassportForEntityQueryKey, getPassportToggleQueryKey, getPendingDelegationsQueryKeyDelegateePOV, getPendingDelegationsQueryKeyDelegatorPOV, getPendingLinkingsQueryKey, getPrivyAppInfoQueryKey, getResolverAddress, getResolverAddressQueryKey, getRoundReward, getRoundRewardQueryKey, getRoundXApps, getRoundXAppsQueryKey, getSecurityMultiplierQueryKey, getSmartAccount, getSmartAccountQueryKey, getTextRecords, getTextRecordsQueryKey, getThresholdParticipationScoreAtTimepointQueryKey, getThresholdParticipationScoreQueryKey, getTokenIdByAccount, getTokenIdByAccountQueryKey, getTokenInfo, getTokenUsdPrice, getTokenUsdPriceQueryKey, getTokensInfoByOwnerQueryKey, getUpgradeRequired, getUpgradeRequiredForAccount, getUpgradeRequiredForAccountQueryKey, getUpgradeRequiredQueryKey, getUserBotSignalsQueryKey, getUserNodesQueryKey, getUserRoundScoreQueryKey, getUserVotesInRound, getUserVotesInRoundQueryKey, getUserXNodes, getUserXNodesQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVechainDomainQueryKey, getVersion, getVersionQueryKey, getVot3Balance, getVot3BalanceQueryKey, getVotesInRoundQueryKey, getXAppMetadata, getXAppMetadataQueryKey, getXAppRoundEarnings, getXAppRoundEarningsQueryKey, getXAppTotalEarningsClauses, getXAppTotalEarningsQueryKey, getXAppVotes, getXAppVotesQf, getXAppVotesQfQueryKey, getXAppVotesQueryKey, getXApps, getXAppsMetadataBaseUri, getXAppsMetadataBaseUriQueryKey, getXAppsQueryKey, getXAppsSharesQueryKey, imageCompressionOptions, pollForReceipt, useAccessAndSecurityModal, useAccountBalance, useAccountCustomizationModal, useAccountImplementationAddress, useAccountLinking, useAccountModal, useAllocationAmount, useAllocationsRound, useAllocationsRoundState, useAllocationsRoundsEvents, useAppAdmin, useAppBalance, useAppExists, useAppSecurityLevel, useAppsEligibleInNextRound, useB3trDonated, useB3trToUpgrade, useBalances, useCall, useChooseNameModal, useClaimVeWorldSubdomain, useConnectModal, useCrossAppConnectionCache, useCurrentAccountImplementationVersion, useCurrentAllocationsRound, useCurrentAllocationsRoundId, useCurrentBlock, useEcosystemShortcuts, useEnsRecordExists, useExploreEcosystemModal, useFAQModal, useFeatureAnnouncement, useFetchAppInfo, useFetchPrivyStatus, useGMBaseUri, useGMbalance, useGetAccountAddress, useGetAccountVersion, useGetAvatar, useGetB3trBalance, useGetChainId, useGetCumulativeScoreWithDecay, useGetCustomTokenBalances, useGetCustomTokenInfo, useGetDelegatee, useGetDelegator, useGetDomainsOfAddress, useGetEntitiesLinkedToPassport, useGetNodeManager, useGetNodeUrl, useGetPassportForEntity, useGetPendingDelegationsDelegateePOV, useGetPendingDelegationsDelegatorPOV, useGetPendingLinkings, useGetResolverAddress, useGetTextRecords, useGetTokenUsdPrice, useGetTokensInfoByOwner, useGetUserEntitiesLinkedToPassport, useGetUserNode, useGetUserNodes, useGetUserPassportForEntity, useGetUserPendingLinkings, useGetVeDelegateBalance, useGetVot3Balance, useHasV1SmartAccount, useHasVotedInRound, useIpfsImage, useIpfsImageList, useIpfsMetadata, useIpfsMetadatas, useIsBlacklisted, useIsDomainProtected, useIsEntity, useIsGMclaimable, useIsNodeHolder, useIsPWA, useIsPassport, useIsPassportCheckEnabled, useIsPerson, useIsPersonAtTimepoint, useIsSmartAccountDeployed, useIsUserEntity, useIsUserPassport, useIsUserPerson, useIsWhitelisted, useLevelMultiplier, useLevelOfToken, useLocalStorage, useLoginModalContent, useLoginWithOAuth2 as useLoginWithOAuth, useLoginWithPasskey, useLoginWithVeChain, useMostVotedAppsInRound, useMultipleXAppRoundEarnings, useNFTImage, useNFTMetadataUri, useNotificationAlerts, useNotifications, useNotificationsModal, useParticipatedInGovernance, useParticipationScoreThreshold, usePassportChecks, usePrivyWalletProvider, useProfileModal, useReceiveModal, useRefreshBalances, useRefreshMetadata, useRoundEarnings, useRoundReward, useRoundXApps, useScrollToTop, useSecurityMultiplier, useSelectedGmNft, useSendTokenModal, useSendTransaction, useSignMessage2 as useSignMessage, useSignTypedData2 as useSignTypedData, useSingleImageUpload, useSmartAccount, useSmartAccountVersion, useThresholdParticipationScore, useThresholdParticipationScoreAtTimepoint, useTokenIdByAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useUpdateTextRecord, useUpgradeRequired, useUpgradeRequiredForAccount, useUpgradeSmartAccount, useUpgradeSmartAccountModal, useUploadImages, useUserBotSignals, useUserDelegation, useUserRoundScore, useUserStatus, useUserTopVotedApps, useUserVotesInAllRounds, useUserVotesInRound, useVeChainKitConfig, useVechainDomain, useVotesInRound, useVotingRewards, useWallet, useWalletMetadata, useWalletModal2 as useWalletModal, useXApp, useXAppMetadata, useXAppRoundEarnings, useXAppTotalEarnings, useXAppVotes, useXAppVotesQf, useXApps, useXAppsMetadataBaseUri, useXAppsShares, useXNode, useXNodeCheckCooldown, useXNodes };
|
|
18197
18288
|
//# sourceMappingURL=index.js.map
|
|
18198
18289
|
//# sourceMappingURL=index.js.map
|