@vechain/vechain-kit 2.3.0 → 2.4.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.
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.mts +1 -1
- package/dist/{index-Da5GOsB_.d.mts → index--hSO7Xv4.d.mts} +4 -4
- package/dist/{index-Da5GOsB_.d.mts.map → index--hSO7Xv4.d.mts.map} +1 -1
- package/dist/{index-BlCAiOq5.d.mts → index-B_77CDYZ.d.mts} +338 -188
- package/dist/index-B_77CDYZ.d.mts.map +1 -0
- package/dist/{index-5_zBNaxA.d.cts → index-CkflGtlh.d.cts} +224 -74
- package/dist/index-CkflGtlh.d.cts.map +1 -0
- package/dist/{index-7c9VJYh1.d.cts → index-DSMUkHcK.d.cts} +4 -4
- package/dist/{index-7c9VJYh1.d.cts.map → index-DSMUkHcK.d.cts.map} +1 -1
- package/dist/index.cjs +23 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +24 -6
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.d.cts +2 -2
- package/dist/utils/index.d.mts +2 -2
- package/package.json +3 -3
- package/dist/index-5_zBNaxA.d.cts.map +0 -1
- package/dist/index-BlCAiOq5.d.mts.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ButtonProps, IconButtonProps, ImageProps, PropsOf, StackProps, ThemeTypings, VStack } from "@chakra-ui/react";
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import React$1, { ElementType, ReactElement, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
5
5
|
import { Account } from "viem/accounts";
|
|
6
6
|
import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
7
|
-
import { Address, Certificate, CertificateData, Clause, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
7
|
+
import { Address, Certificate, CertificateData, Clause, Revision, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
8
8
|
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy as usePrivy$1, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
9
9
|
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor as useThor$1, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
10
|
-
import * as
|
|
10
|
+
import * as _tanstack_react_query21 from "@tanstack/react-query";
|
|
11
11
|
import { UseQueryOptions } from "@tanstack/react-query";
|
|
12
12
|
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
13
13
|
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import { Options } from "browser-image-compression";
|
|
16
16
|
import { UseFormRegister } from "react-hook-form";
|
|
17
|
-
import * as
|
|
17
|
+
import * as _vechain_sdk_network2 from "@vechain/sdk-network";
|
|
18
18
|
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
19
19
|
import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
20
20
|
import { CustomizedStyle, I18n, SourceInfo } from "@vechain/dapp-kit-ui";
|
|
@@ -53,7 +53,7 @@ declare const genesises: {
|
|
|
53
53
|
readonly main: CompressedBlockDetail;
|
|
54
54
|
readonly test: CompressedBlockDetail;
|
|
55
55
|
readonly solo: CompressedBlockDetail;
|
|
56
|
-
which(gid: string): "
|
|
56
|
+
which(gid: string): "test" | "main" | "solo" | undefined;
|
|
57
57
|
};
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/types/types.d.ts
|
|
@@ -629,7 +629,7 @@ declare const VeChainKitContext: react0.Context<VeChainKitConfig | null>;
|
|
|
629
629
|
* ```
|
|
630
630
|
*/
|
|
631
631
|
declare const useVeChainKitConfig: () => VeChainKitConfig;
|
|
632
|
-
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) =>
|
|
632
|
+
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) => react_jsx_runtime1.JSX.Element;
|
|
633
633
|
//#endregion
|
|
634
634
|
//#region src/providers/PrivyWalletProvider.d.ts
|
|
635
635
|
interface PrivyWalletProviderContextType {
|
|
@@ -672,11 +672,11 @@ declare const PrivyWalletProvider: ({
|
|
|
672
672
|
delegatorUrl?: string;
|
|
673
673
|
delegateAllTransactions: boolean;
|
|
674
674
|
genericDelegator?: boolean;
|
|
675
|
-
}) =>
|
|
675
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
676
676
|
declare const usePrivyWalletProvider: () => PrivyWalletProviderContextType;
|
|
677
677
|
//#endregion
|
|
678
678
|
//#region src/providers/VechainKitThemeProvider.d.ts
|
|
679
|
-
type Props$
|
|
679
|
+
type Props$35 = {
|
|
680
680
|
children: ReactNode;
|
|
681
681
|
darkMode?: boolean;
|
|
682
682
|
theme?: VechainKitThemeConfig;
|
|
@@ -690,15 +690,15 @@ declare const ColorModeSync: ({
|
|
|
690
690
|
darkMode
|
|
691
691
|
}: {
|
|
692
692
|
darkMode: boolean;
|
|
693
|
-
}) =>
|
|
693
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
694
694
|
declare const VechainKitThemeProvider: ({
|
|
695
695
|
children,
|
|
696
696
|
darkMode,
|
|
697
697
|
theme: customTheme
|
|
698
|
-
}: Props$
|
|
698
|
+
}: Props$35) => react_jsx_runtime1.JSX.Element;
|
|
699
699
|
//#endregion
|
|
700
700
|
//#region src/providers/LegalDocumentsProvider.d.ts
|
|
701
|
-
type Props$
|
|
701
|
+
type Props$34 = {
|
|
702
702
|
children: Readonly<ReactNode>;
|
|
703
703
|
};
|
|
704
704
|
type LegalDocumentsContextType = {
|
|
@@ -711,13 +711,14 @@ type LegalDocumentsContextType = {
|
|
|
711
711
|
declare const useLegalDocuments: () => LegalDocumentsContextType;
|
|
712
712
|
declare const LegalDocumentsProvider: ({
|
|
713
713
|
children
|
|
714
|
-
}: Props$
|
|
714
|
+
}: Props$34) => react_jsx_runtime1.JSX.Element;
|
|
715
715
|
//#endregion
|
|
716
716
|
//#region src/components/ConnectModal/ConnectModal.d.ts
|
|
717
|
-
type Props$
|
|
717
|
+
type Props$33 = {
|
|
718
718
|
isOpen: boolean;
|
|
719
719
|
onClose: () => void;
|
|
720
720
|
initialContent?: ConnectModalContentsTypes;
|
|
721
|
+
preventAutoClose?: boolean;
|
|
721
722
|
};
|
|
722
723
|
type ConnectModalContentsTypes = 'main' | 'faq' | {
|
|
723
724
|
type: 'ecosystem';
|
|
@@ -744,17 +745,21 @@ type ConnectModalContentsTypes = 'main' | 'faq' | {
|
|
|
744
745
|
declare const ConnectModal: ({
|
|
745
746
|
isOpen,
|
|
746
747
|
onClose,
|
|
747
|
-
initialContent
|
|
748
|
-
|
|
748
|
+
initialContent,
|
|
749
|
+
preventAutoClose
|
|
750
|
+
}: Props$33) => react_jsx_runtime1.JSX.Element;
|
|
749
751
|
//#endregion
|
|
750
752
|
//#region src/components/ConnectModal/Contents/MainContent.d.ts
|
|
751
|
-
type Props$
|
|
753
|
+
type Props$32 = {
|
|
752
754
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
753
755
|
onClose: () => void;
|
|
756
|
+
preventAutoClose?: boolean;
|
|
754
757
|
};
|
|
755
758
|
declare const MainContent: ({
|
|
756
|
-
setCurrentContent
|
|
757
|
-
|
|
759
|
+
setCurrentContent,
|
|
760
|
+
onClose,
|
|
761
|
+
preventAutoClose
|
|
762
|
+
}: Props$32) => react_jsx_runtime1.JSX.Element;
|
|
758
763
|
//#endregion
|
|
759
764
|
//#region src/components/ConnectModal/Contents/LoadingContent.d.ts
|
|
760
765
|
type LoadingContentProps = {
|
|
@@ -772,7 +777,7 @@ declare const LoadingContent: ({
|
|
|
772
777
|
onClose,
|
|
773
778
|
onGoBack,
|
|
774
779
|
showBackButton
|
|
775
|
-
}: LoadingContentProps) =>
|
|
780
|
+
}: LoadingContentProps) => react_jsx_runtime1.JSX.Element;
|
|
776
781
|
//#endregion
|
|
777
782
|
//#region src/components/ConnectModal/Contents/ErrorContent.d.ts
|
|
778
783
|
type ErrorContentProps = {
|
|
@@ -786,10 +791,10 @@ declare const ErrorContent: ({
|
|
|
786
791
|
onClose,
|
|
787
792
|
onTryAgain,
|
|
788
793
|
onGoBack
|
|
789
|
-
}: ErrorContentProps) =>
|
|
794
|
+
}: ErrorContentProps) => react_jsx_runtime1.JSX.Element;
|
|
790
795
|
//#endregion
|
|
791
796
|
//#region src/components/ConnectModal/Contents/EcosystemContent.d.ts
|
|
792
|
-
type Props$
|
|
797
|
+
type Props$31 = {
|
|
793
798
|
onClose: () => void;
|
|
794
799
|
appsInfo: PrivyAppInfo[];
|
|
795
800
|
isLoading: boolean;
|
|
@@ -802,7 +807,7 @@ declare const EcosystemContent: ({
|
|
|
802
807
|
isLoading,
|
|
803
808
|
setCurrentContent,
|
|
804
809
|
showBackButton
|
|
805
|
-
}: Props$
|
|
810
|
+
}: Props$31) => react_jsx_runtime1.JSX.Element;
|
|
806
811
|
//#endregion
|
|
807
812
|
//#region src/components/ConnectModal/Components/ConnectionButton.d.ts
|
|
808
813
|
interface ConnectionButtonProps {
|
|
@@ -825,13 +830,13 @@ declare const ConnectionButton: ({
|
|
|
825
830
|
style,
|
|
826
831
|
variant,
|
|
827
832
|
iconWidth
|
|
828
|
-
}: ConnectionButtonProps) =>
|
|
833
|
+
}: ConnectionButtonProps) => react_jsx_runtime1.JSX.Element | null;
|
|
829
834
|
//#endregion
|
|
830
835
|
//#region src/components/ConnectModal/Components/EmailLoginButton.d.ts
|
|
831
|
-
declare const EmailLoginButton: () =>
|
|
836
|
+
declare const EmailLoginButton: () => react_jsx_runtime1.JSX.Element;
|
|
832
837
|
//#endregion
|
|
833
838
|
//#region src/components/ConnectModal/Components/VeChainLoginButton.d.ts
|
|
834
|
-
type Props$
|
|
839
|
+
type Props$30 = {
|
|
835
840
|
isDark: boolean;
|
|
836
841
|
gridColumn?: number;
|
|
837
842
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
@@ -840,10 +845,10 @@ declare const VeChainLoginButton: ({
|
|
|
840
845
|
isDark,
|
|
841
846
|
gridColumn,
|
|
842
847
|
setCurrentContent
|
|
843
|
-
}: Props$
|
|
848
|
+
}: Props$30) => react_jsx_runtime1.JSX.Element;
|
|
844
849
|
//#endregion
|
|
845
850
|
//#region src/components/ConnectModal/Components/EcosystemButton.d.ts
|
|
846
|
-
type Props$
|
|
851
|
+
type Props$29 = {
|
|
847
852
|
isDark: boolean;
|
|
848
853
|
appsInfo: PrivyAppInfo[];
|
|
849
854
|
isLoading: boolean;
|
|
@@ -854,10 +859,10 @@ declare const EcosystemButton: ({
|
|
|
854
859
|
appsInfo,
|
|
855
860
|
isLoading,
|
|
856
861
|
setCurrentContent
|
|
857
|
-
}: Props$
|
|
862
|
+
}: Props$29) => react_jsx_runtime1.JSX.Element;
|
|
858
863
|
//#endregion
|
|
859
864
|
//#region src/components/ConnectModal/Components/PrivyButton.d.ts
|
|
860
|
-
type Props$
|
|
865
|
+
type Props$28 = {
|
|
861
866
|
isDark: boolean;
|
|
862
867
|
onViewMoreLogin: () => void;
|
|
863
868
|
gridColumn?: number;
|
|
@@ -866,20 +871,20 @@ declare const PrivyButton: ({
|
|
|
866
871
|
isDark,
|
|
867
872
|
onViewMoreLogin,
|
|
868
873
|
gridColumn
|
|
869
|
-
}: Props$
|
|
874
|
+
}: Props$28) => react_jsx_runtime1.JSX.Element;
|
|
870
875
|
//#endregion
|
|
871
876
|
//#region src/components/ConnectModal/Components/LoginWithGoogleButton.d.ts
|
|
872
|
-
type Props$
|
|
877
|
+
type Props$27 = {
|
|
873
878
|
isDark: boolean;
|
|
874
879
|
gridColumn?: number;
|
|
875
880
|
};
|
|
876
881
|
declare const LoginWithGoogleButton: ({
|
|
877
882
|
isDark,
|
|
878
883
|
gridColumn
|
|
879
|
-
}: Props$
|
|
884
|
+
}: Props$27) => react_jsx_runtime1.JSX.Element;
|
|
880
885
|
//#endregion
|
|
881
886
|
//#region src/components/ConnectModal/Components/PasskeyLoginButton.d.ts
|
|
882
|
-
type Props$
|
|
887
|
+
type Props$26 = {
|
|
883
888
|
isDark: boolean;
|
|
884
889
|
gridColumn?: number;
|
|
885
890
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
@@ -888,37 +893,37 @@ declare const PasskeyLoginButton: ({
|
|
|
888
893
|
isDark,
|
|
889
894
|
gridColumn,
|
|
890
895
|
setCurrentContent
|
|
891
|
-
}: Props$
|
|
896
|
+
}: Props$26) => react_jsx_runtime1.JSX.Element;
|
|
892
897
|
//#endregion
|
|
893
898
|
//#region src/components/ConnectModal/Components/DappKitButton.d.ts
|
|
894
|
-
type Props$
|
|
899
|
+
type Props$25 = {
|
|
895
900
|
isDark: boolean;
|
|
896
901
|
gridColumn?: number;
|
|
897
902
|
};
|
|
898
903
|
declare const DappKitButton: ({
|
|
899
904
|
isDark,
|
|
900
905
|
gridColumn
|
|
901
|
-
}: Props$
|
|
906
|
+
}: Props$25) => react_jsx_runtime1.JSX.Element;
|
|
902
907
|
//#endregion
|
|
903
908
|
//#region src/components/ConnectModal/Components/VeChainWithPrivyLoginButton.d.ts
|
|
904
|
-
type Props$
|
|
909
|
+
type Props$24 = {
|
|
905
910
|
isDark: boolean;
|
|
906
911
|
gridColumn?: number;
|
|
907
912
|
};
|
|
908
913
|
declare const VeChainWithPrivyLoginButton: ({
|
|
909
914
|
isDark,
|
|
910
915
|
gridColumn
|
|
911
|
-
}: Props$
|
|
916
|
+
}: Props$24) => react_jsx_runtime1.JSX.Element;
|
|
912
917
|
//#endregion
|
|
913
918
|
//#region src/components/ConnectModal/Components/LoginWithGithubButton.d.ts
|
|
914
|
-
type Props$
|
|
919
|
+
type Props$23 = {
|
|
915
920
|
isDark: boolean;
|
|
916
921
|
gridColumn?: number;
|
|
917
922
|
};
|
|
918
923
|
declare const LoginWithGithubButton: ({
|
|
919
924
|
isDark,
|
|
920
925
|
gridColumn
|
|
921
|
-
}: Props$
|
|
926
|
+
}: Props$23) => react_jsx_runtime1.JSX.Element;
|
|
922
927
|
//#endregion
|
|
923
928
|
//#region src/components/ConnectModal/ConnectPopover.d.ts
|
|
924
929
|
type ConnectPopoverProps = {
|
|
@@ -928,7 +933,7 @@ type ConnectPopoverProps = {
|
|
|
928
933
|
declare const ConnectPopover: ({
|
|
929
934
|
isLoading,
|
|
930
935
|
buttonStyle
|
|
931
|
-
}: ConnectPopoverProps) =>
|
|
936
|
+
}: ConnectPopoverProps) => react_jsx_runtime1.JSX.Element;
|
|
932
937
|
//#endregion
|
|
933
938
|
//#region src/components/WalletButton/types.d.ts
|
|
934
939
|
type WalletDisplayVariant = 'icon' | 'iconAndDomain' | 'iconDomainAndAddress' | 'iconDomainAndAssets';
|
|
@@ -939,16 +944,18 @@ type WalletButtonProps = {
|
|
|
939
944
|
desktopVariant?: WalletDisplayVariant;
|
|
940
945
|
buttonStyle?: ButtonProps;
|
|
941
946
|
connectionVariant?: 'modal' | 'popover';
|
|
947
|
+
label?: string;
|
|
942
948
|
};
|
|
943
949
|
declare const WalletButton: ({
|
|
944
950
|
mobileVariant,
|
|
945
951
|
desktopVariant,
|
|
946
952
|
buttonStyle,
|
|
947
|
-
connectionVariant
|
|
948
|
-
|
|
953
|
+
connectionVariant,
|
|
954
|
+
label
|
|
955
|
+
}: WalletButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
949
956
|
//#endregion
|
|
950
957
|
//#region src/components/WalletButton/SocialIcons.d.ts
|
|
951
|
-
declare const SocialIcons: () =>
|
|
958
|
+
declare const SocialIcons: () => react_jsx_runtime1.JSX.Element;
|
|
952
959
|
//#endregion
|
|
953
960
|
//#region src/components/TransactionModal/TransactionModal.d.ts
|
|
954
961
|
type TransactionModalProps = {
|
|
@@ -978,17 +985,17 @@ declare const TransactionModal: ({
|
|
|
978
985
|
txReceipt,
|
|
979
986
|
txError,
|
|
980
987
|
onTryAgain
|
|
981
|
-
}: TransactionModalProps) =>
|
|
988
|
+
}: TransactionModalProps) => react_jsx_runtime1.JSX.Element | null;
|
|
982
989
|
//#endregion
|
|
983
990
|
//#region src/components/TransactionModal/Components/ShareButtons.d.ts
|
|
984
|
-
type Props$
|
|
991
|
+
type Props$22 = {
|
|
985
992
|
descriptionEncoded: string;
|
|
986
993
|
url?: string;
|
|
987
994
|
facebookHashtag?: string;
|
|
988
995
|
};
|
|
989
996
|
declare const ShareButtons: ({
|
|
990
997
|
descriptionEncoded
|
|
991
|
-
}: Props$
|
|
998
|
+
}: Props$22) => react_jsx_runtime1.JSX.Element;
|
|
992
999
|
//#endregion
|
|
993
1000
|
//#region src/components/TransactionModal/TransactionModalContent.d.ts
|
|
994
1001
|
declare const TransactionModalContent: ({
|
|
@@ -998,7 +1005,7 @@ declare const TransactionModalContent: ({
|
|
|
998
1005
|
txReceipt,
|
|
999
1006
|
txError,
|
|
1000
1007
|
onClose
|
|
1001
|
-
}: Omit<TransactionModalProps, "isOpen">) =>
|
|
1008
|
+
}: Omit<TransactionModalProps, "isOpen">) => react_jsx_runtime1.JSX.Element;
|
|
1002
1009
|
//#endregion
|
|
1003
1010
|
//#region src/components/TransactionToast/TransactionToast.d.ts
|
|
1004
1011
|
type TransactionToastProps = {
|
|
@@ -1018,24 +1025,28 @@ declare const TransactionToast: ({
|
|
|
1018
1025
|
txError,
|
|
1019
1026
|
onTryAgain,
|
|
1020
1027
|
description
|
|
1021
|
-
}: TransactionToastProps) =>
|
|
1028
|
+
}: TransactionToastProps) => react_jsx_runtime1.JSX.Element | null;
|
|
1022
1029
|
//#endregion
|
|
1023
1030
|
//#region src/components/AccountModal/Contents/Account/AccountMainContent.d.ts
|
|
1024
|
-
type Props$
|
|
1031
|
+
type Props$21 = {
|
|
1025
1032
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
1026
1033
|
onClose: () => void;
|
|
1027
1034
|
wallet: Wallet;
|
|
1035
|
+
switchFeedback?: {
|
|
1036
|
+
showFeedback: boolean;
|
|
1037
|
+
};
|
|
1028
1038
|
};
|
|
1029
1039
|
declare const AccountMainContent: ({
|
|
1030
1040
|
setCurrentContent,
|
|
1031
1041
|
wallet,
|
|
1032
|
-
onClose
|
|
1033
|
-
|
|
1042
|
+
onClose,
|
|
1043
|
+
switchFeedback
|
|
1044
|
+
}: Props$21) => react_jsx_runtime1.JSX.Element;
|
|
1034
1045
|
//#endregion
|
|
1035
1046
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
1036
1047
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
1037
1048
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
1038
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
1049
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query21.UseQueryResult<{
|
|
1039
1050
|
[k: string]: {
|
|
1040
1051
|
website: string | undefined;
|
|
1041
1052
|
id: string;
|
|
@@ -1056,7 +1067,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
1056
1067
|
//#endregion
|
|
1057
1068
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
1058
1069
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
1059
|
-
declare const useFetchPrivyStatus: () =>
|
|
1070
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
1060
1071
|
//#endregion
|
|
1061
1072
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
1062
1073
|
interface VeChainDomainResult {
|
|
@@ -1066,11 +1077,11 @@ interface VeChainDomainResult {
|
|
|
1066
1077
|
isPrimaryDomain: boolean;
|
|
1067
1078
|
}
|
|
1068
1079
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
1069
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1080
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query21.UseQueryResult<VeChainDomainResult, Error>;
|
|
1070
1081
|
//#endregion
|
|
1071
1082
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
1072
1083
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
1073
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1084
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
1074
1085
|
//#endregion
|
|
1075
1086
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
1076
1087
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1132,7 +1143,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1132
1143
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1133
1144
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1134
1145
|
*/
|
|
1135
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1146
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
1136
1147
|
//#endregion
|
|
1137
1148
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1138
1149
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1160,7 +1171,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1160
1171
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1161
1172
|
* @returns The domains owned by the address
|
|
1162
1173
|
*/
|
|
1163
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1174
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1164
1175
|
domains: {
|
|
1165
1176
|
name: string;
|
|
1166
1177
|
}[];
|
|
@@ -1173,7 +1184,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1173
1184
|
* @param name - The VET domain name
|
|
1174
1185
|
* @returns The resolved avatar URL
|
|
1175
1186
|
*/
|
|
1176
|
-
declare const useGetAvatar: (name: string) =>
|
|
1187
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query21.UseQueryResult<string | null, Error>;
|
|
1177
1188
|
//#endregion
|
|
1178
1189
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1179
1190
|
/**
|
|
@@ -1185,7 +1196,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query24.UseQueryRe
|
|
|
1185
1196
|
*/
|
|
1186
1197
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1187
1198
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1188
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1199
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query21.UseQueryResult<TextRecords, Error>;
|
|
1189
1200
|
//#endregion
|
|
1190
1201
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1191
1202
|
type UpdateTextRecordVariables = {
|
|
@@ -1218,7 +1229,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1218
1229
|
* @param domain The domain to get resolver for
|
|
1219
1230
|
* @returns The resolver address for the domain
|
|
1220
1231
|
*/
|
|
1221
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1232
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query21.UseQueryResult<`0x${string}`, unknown>;
|
|
1222
1233
|
//#endregion
|
|
1223
1234
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1224
1235
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1228,7 +1239,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1228
1239
|
* @param address The owner's address
|
|
1229
1240
|
* @returns The avatar URL for the address's primary domain
|
|
1230
1241
|
*/
|
|
1231
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1242
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
1232
1243
|
//#endregion
|
|
1233
1244
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1234
1245
|
/**
|
|
@@ -1245,7 +1256,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1245
1256
|
* @param name - The VET domain name
|
|
1246
1257
|
* @returns The resolved avatar URL
|
|
1247
1258
|
*/
|
|
1248
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1259
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query21.UseQueryResult<string | null, Error>;
|
|
1249
1260
|
//#endregion
|
|
1250
1261
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1251
1262
|
type useUnsetDomainProps = {
|
|
@@ -1354,7 +1365,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1354
1365
|
* Hook to get the current roundId of allocations voting
|
|
1355
1366
|
* @returns the current roundId of allocations voting
|
|
1356
1367
|
*/
|
|
1357
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1368
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query21.UseQueryResult<string, unknown>;
|
|
1358
1369
|
//#endregion
|
|
1359
1370
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1360
1371
|
declare const useCustomTokens: () => {
|
|
@@ -1367,7 +1378,7 @@ declare const useCustomTokens: () => {
|
|
|
1367
1378
|
//#endregion
|
|
1368
1379
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1369
1380
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1370
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1381
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1371
1382
|
original: string;
|
|
1372
1383
|
scaled: string;
|
|
1373
1384
|
formatted: string;
|
|
@@ -1376,7 +1387,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query24.U
|
|
|
1376
1387
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1377
1388
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1378
1389
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string) => (string | undefined)[];
|
|
1379
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1390
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1380
1391
|
original: string;
|
|
1381
1392
|
scaled: string;
|
|
1382
1393
|
formatted: string;
|
|
@@ -1389,11 +1400,11 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1389
1400
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1390
1401
|
declare const getTokenInfo$1: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1391
1402
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1392
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1403
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query21.UseQueryResult<CustomTokenInfo, Error>;
|
|
1393
1404
|
//#endregion
|
|
1394
1405
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1395
1406
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1396
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string) =>
|
|
1407
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1397
1408
|
original: string;
|
|
1398
1409
|
scaled: string;
|
|
1399
1410
|
formatted: string;
|
|
@@ -1410,11 +1421,11 @@ declare const PRICE_FEED_IDS: {
|
|
|
1410
1421
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1411
1422
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1412
1423
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1413
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1424
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query21.UseQueryResult<number, Error>;
|
|
1414
1425
|
//#endregion
|
|
1415
1426
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1416
1427
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1417
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1428
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1418
1429
|
original: string;
|
|
1419
1430
|
scaled: string;
|
|
1420
1431
|
formatted: string;
|
|
@@ -1433,7 +1444,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1433
1444
|
* @param user - The user address.
|
|
1434
1445
|
* @returns The isPerson status.
|
|
1435
1446
|
*/
|
|
1436
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1447
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
1437
1448
|
//#endregion
|
|
1438
1449
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1439
1450
|
type XApp = {
|
|
@@ -1471,7 +1482,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1471
1482
|
//#endregion
|
|
1472
1483
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1473
1484
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => unknown[];
|
|
1474
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1485
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1475
1486
|
id: string;
|
|
1476
1487
|
teamWalletAddress: `0x${string}`;
|
|
1477
1488
|
name: string;
|
|
@@ -1512,6 +1523,37 @@ declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) =>
|
|
|
1512
1523
|
isLoading: boolean;
|
|
1513
1524
|
};
|
|
1514
1525
|
//#endregion
|
|
1526
|
+
//#region src/hooks/api/wallet/useWalletStorage.d.ts
|
|
1527
|
+
type StoredWallet = {
|
|
1528
|
+
address: string;
|
|
1529
|
+
connectedAt: number;
|
|
1530
|
+
isActive: boolean;
|
|
1531
|
+
};
|
|
1532
|
+
declare const useWalletStorage: () => {
|
|
1533
|
+
getStoredWallets: () => StoredWallet[];
|
|
1534
|
+
getActiveWallet: () => string | null;
|
|
1535
|
+
saveWallet: (address: string) => void;
|
|
1536
|
+
setActiveWallet: (address: string) => void;
|
|
1537
|
+
removeWallet: (address: string) => void;
|
|
1538
|
+
initializeCurrentWallet: (address: string) => void;
|
|
1539
|
+
};
|
|
1540
|
+
//#endregion
|
|
1541
|
+
//#region src/hooks/api/wallet/useSwitchWallet.d.ts
|
|
1542
|
+
type UseSwitchWalletReturnType = {
|
|
1543
|
+
switchWallet: () => Promise<void>;
|
|
1544
|
+
isSwitching: boolean;
|
|
1545
|
+
getStoredWallets: () => StoredWallet[];
|
|
1546
|
+
setActiveWallet: (address: string) => void;
|
|
1547
|
+
removeWallet: (address: string) => void;
|
|
1548
|
+
isInAppBrowser: boolean;
|
|
1549
|
+
};
|
|
1550
|
+
/**
|
|
1551
|
+
* Hook for switching wallets
|
|
1552
|
+
* - In VeWorld in-app browser: Uses dapp-kit's switchWallet function
|
|
1553
|
+
* - On desktop: Provides wallet storage functions for UI-based switching
|
|
1554
|
+
*/
|
|
1555
|
+
declare const useSwitchWallet: () => UseSwitchWalletReturnType;
|
|
1556
|
+
//#endregion
|
|
1515
1557
|
//#region src/hooks/api/wallet/useXAppMetadata.d.ts
|
|
1516
1558
|
/**
|
|
1517
1559
|
* The metadata of an xApp from the xApps metadata base uri
|
|
@@ -1554,7 +1596,7 @@ type XAppMetadata = {
|
|
|
1554
1596
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1555
1597
|
*/
|
|
1556
1598
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1557
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1599
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query21.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1558
1600
|
//#endregion
|
|
1559
1601
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1560
1602
|
/**
|
|
@@ -1569,7 +1611,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1569
1611
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1570
1612
|
*
|
|
1571
1613
|
*/
|
|
1572
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1614
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
1573
1615
|
app: string;
|
|
1574
1616
|
share: number;
|
|
1575
1617
|
unallocatedShare: number;
|
|
@@ -1591,7 +1633,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1591
1633
|
* @param ipfsUri - The IPFS URI
|
|
1592
1634
|
* @returns The metadata from IPFS
|
|
1593
1635
|
*/
|
|
1594
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1636
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query21.UseQueryResult<_tanstack_react_query21.NoInfer<T$1>, Error>;
|
|
1595
1637
|
//#endregion
|
|
1596
1638
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1597
1639
|
interface IpfsImage {
|
|
@@ -1618,14 +1660,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1618
1660
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1619
1661
|
* @returns The NFT media
|
|
1620
1662
|
*/
|
|
1621
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1663
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query21.UseQueryResult<IpfsImage, Error>;
|
|
1622
1664
|
/**
|
|
1623
1665
|
* Custom hook to fetch a list of IPFS images.
|
|
1624
1666
|
*
|
|
1625
1667
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1626
1668
|
* @returns An array of queries for each IPFS image URI.
|
|
1627
1669
|
*/
|
|
1628
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1670
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query21.UseQueryResult<IpfsImage, Error>[];
|
|
1629
1671
|
//#endregion
|
|
1630
1672
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1631
1673
|
/**
|
|
@@ -1633,12 +1675,12 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1633
1675
|
* @param ipfsUris - The IPFS URIs
|
|
1634
1676
|
* @returns The metadata from IPFS for each URI
|
|
1635
1677
|
*/
|
|
1636
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1678
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query21.UseQueryResult<T$1, Error>[];
|
|
1637
1679
|
//#endregion
|
|
1638
1680
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1639
1681
|
declare const imageCompressionOptions: Options;
|
|
1640
1682
|
declare const compressImages: (images: UploadedImage[]) => Promise<File[]>;
|
|
1641
|
-
type Props$
|
|
1683
|
+
type Props$20 = {
|
|
1642
1684
|
compressImages?: boolean;
|
|
1643
1685
|
defaultImages?: UploadedImage[];
|
|
1644
1686
|
};
|
|
@@ -1654,7 +1696,7 @@ type UploadedImage = {
|
|
|
1654
1696
|
declare const useUploadImages: ({
|
|
1655
1697
|
compressImages,
|
|
1656
1698
|
defaultImages
|
|
1657
|
-
}: Props$
|
|
1699
|
+
}: Props$20) => {
|
|
1658
1700
|
uploadedImages: UploadedImage[];
|
|
1659
1701
|
setUploadedImages: react0.Dispatch<react0.SetStateAction<UploadedImage[]>>;
|
|
1660
1702
|
onUpload: (acceptedFiles: File[], keepCurrent?: boolean) => Promise<void>;
|
|
@@ -1663,7 +1705,7 @@ declare const useUploadImages: ({
|
|
|
1663
1705
|
};
|
|
1664
1706
|
//#endregion
|
|
1665
1707
|
//#region src/hooks/api/ipfs/useSingleImageUpload.d.ts
|
|
1666
|
-
type Props$
|
|
1708
|
+
type Props$19 = {
|
|
1667
1709
|
compressImage?: boolean;
|
|
1668
1710
|
defaultImage?: UploadedImage;
|
|
1669
1711
|
};
|
|
@@ -1676,7 +1718,7 @@ type Props$16 = {
|
|
|
1676
1718
|
declare const useSingleImageUpload: ({
|
|
1677
1719
|
compressImage,
|
|
1678
1720
|
defaultImage
|
|
1679
|
-
}: Props$
|
|
1721
|
+
}: Props$19) => {
|
|
1680
1722
|
uploadedImage: UploadedImage | undefined;
|
|
1681
1723
|
setUploadedImage: react0.Dispatch<react0.SetStateAction<UploadedImage | undefined>>;
|
|
1682
1724
|
onUpload: (acceptedFile: File) => Promise<UploadedImage>;
|
|
@@ -1814,7 +1856,7 @@ declare const useSwapTransaction: (params: SwapParams | null, quote: SwapQuote |
|
|
|
1814
1856
|
executeSwap: () => Promise<void>;
|
|
1815
1857
|
isTransactionPending: boolean;
|
|
1816
1858
|
isWaitingForWalletConfirmation: boolean;
|
|
1817
|
-
txReceipt:
|
|
1859
|
+
txReceipt: _vechain_sdk_network2.TransactionReceipt | null;
|
|
1818
1860
|
status: TransactionStatus;
|
|
1819
1861
|
resetStatus: () => void;
|
|
1820
1862
|
error: TransactionStatusErrorType | undefined;
|
|
@@ -1852,7 +1894,7 @@ declare const ConnectModalProvider: ({
|
|
|
1852
1894
|
children
|
|
1853
1895
|
}: {
|
|
1854
1896
|
children: ReactNode;
|
|
1855
|
-
}) =>
|
|
1897
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1856
1898
|
//#endregion
|
|
1857
1899
|
//#region src/hooks/modals/useAccountModal.d.ts
|
|
1858
1900
|
declare const useAccountModal: () => {
|
|
@@ -1864,7 +1906,7 @@ declare const AccountModalProvider: ({
|
|
|
1864
1906
|
children
|
|
1865
1907
|
}: {
|
|
1866
1908
|
children: ReactNode;
|
|
1867
|
-
}) =>
|
|
1909
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1868
1910
|
//#endregion
|
|
1869
1911
|
//#region src/hooks/modals/useTransactionModal.d.ts
|
|
1870
1912
|
declare const useTransactionModal: () => {
|
|
@@ -1876,7 +1918,7 @@ declare const TransactionModalProvider: ({
|
|
|
1876
1918
|
children
|
|
1877
1919
|
}: {
|
|
1878
1920
|
children: ReactNode;
|
|
1879
|
-
}) =>
|
|
1921
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1880
1922
|
//#endregion
|
|
1881
1923
|
//#region src/hooks/modals/useTransactionToast.d.ts
|
|
1882
1924
|
declare const useTransactionToast: () => {
|
|
@@ -1888,11 +1930,11 @@ declare const TransactionToastProvider: ({
|
|
|
1888
1930
|
children
|
|
1889
1931
|
}: {
|
|
1890
1932
|
children: ReactNode;
|
|
1891
|
-
}) =>
|
|
1933
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1892
1934
|
//#endregion
|
|
1893
1935
|
//#region src/hooks/modals/useWalletModal.d.ts
|
|
1894
1936
|
declare const useWalletModal: () => {
|
|
1895
|
-
open: () => void;
|
|
1937
|
+
open: (options?: AccountModalOptions) => void;
|
|
1896
1938
|
close: () => void;
|
|
1897
1939
|
isOpen: boolean;
|
|
1898
1940
|
};
|
|
@@ -1900,7 +1942,7 @@ declare const WalletModalProvider: ({
|
|
|
1900
1942
|
children
|
|
1901
1943
|
}: {
|
|
1902
1944
|
children: ReactNode;
|
|
1903
|
-
}) =>
|
|
1945
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1904
1946
|
//#endregion
|
|
1905
1947
|
//#region src/hooks/modals/useChooseNameModal.d.ts
|
|
1906
1948
|
declare const useChooseNameModal: () => {
|
|
@@ -1912,7 +1954,7 @@ declare const ChooseNameModalProvider: ({
|
|
|
1912
1954
|
children
|
|
1913
1955
|
}: {
|
|
1914
1956
|
children: ReactNode;
|
|
1915
|
-
}) =>
|
|
1957
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1916
1958
|
//#endregion
|
|
1917
1959
|
//#region src/hooks/modals/useSendTokenModal.d.ts
|
|
1918
1960
|
declare const useSendTokenModal: () => {
|
|
@@ -1924,7 +1966,7 @@ declare const SendTokenModalProvider: ({
|
|
|
1924
1966
|
children
|
|
1925
1967
|
}: {
|
|
1926
1968
|
children: ReactNode;
|
|
1927
|
-
}) =>
|
|
1969
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1928
1970
|
//#endregion
|
|
1929
1971
|
//#region src/hooks/modals/useSwapTokenModal.d.ts
|
|
1930
1972
|
type SwapTokenModalOptions = {
|
|
@@ -1941,7 +1983,7 @@ declare const SwapTokenModalProvider: ({
|
|
|
1941
1983
|
children
|
|
1942
1984
|
}: {
|
|
1943
1985
|
children: ReactNode;
|
|
1944
|
-
}) =>
|
|
1986
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1945
1987
|
//#endregion
|
|
1946
1988
|
//#region src/hooks/modals/useExploreEcosystemModal.d.ts
|
|
1947
1989
|
declare const useExploreEcosystemModal: () => {
|
|
@@ -1953,7 +1995,7 @@ declare const ExploreEcosystemModalProvider: ({
|
|
|
1953
1995
|
children
|
|
1954
1996
|
}: {
|
|
1955
1997
|
children: ReactNode;
|
|
1956
|
-
}) =>
|
|
1998
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1957
1999
|
//#endregion
|
|
1958
2000
|
//#region src/hooks/modals/useNotificationsModal.d.ts
|
|
1959
2001
|
declare const useNotificationsModal: () => {
|
|
@@ -1965,7 +2007,7 @@ declare const NotificationsModalProvider: ({
|
|
|
1965
2007
|
children
|
|
1966
2008
|
}: {
|
|
1967
2009
|
children: ReactNode;
|
|
1968
|
-
}) =>
|
|
2010
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1969
2011
|
//#endregion
|
|
1970
2012
|
//#region src/hooks/modals/useFAQModal.d.ts
|
|
1971
2013
|
declare const useFAQModal: () => {
|
|
@@ -1977,7 +2019,7 @@ declare const FAQModalProvider: ({
|
|
|
1977
2019
|
children
|
|
1978
2020
|
}: {
|
|
1979
2021
|
children: ReactNode;
|
|
1980
|
-
}) =>
|
|
2022
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1981
2023
|
//#endregion
|
|
1982
2024
|
//#region src/hooks/modals/useAccountCustomizationModal.d.ts
|
|
1983
2025
|
declare const useAccountCustomizationModal: () => {
|
|
@@ -1989,7 +2031,7 @@ declare const AccountCustomizationModalProvider: ({
|
|
|
1989
2031
|
children
|
|
1990
2032
|
}: {
|
|
1991
2033
|
children: ReactNode;
|
|
1992
|
-
}) =>
|
|
2034
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
1993
2035
|
//#endregion
|
|
1994
2036
|
//#region src/hooks/modals/useReceiveModal.d.ts
|
|
1995
2037
|
declare const useReceiveModal: () => {
|
|
@@ -2001,7 +2043,7 @@ declare const ReceiveModalProvider: ({
|
|
|
2001
2043
|
children
|
|
2002
2044
|
}: {
|
|
2003
2045
|
children: ReactNode;
|
|
2004
|
-
}) =>
|
|
2046
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
2005
2047
|
//#endregion
|
|
2006
2048
|
//#region src/hooks/modals/useLoginModalContent.d.ts
|
|
2007
2049
|
type LoginModalContentConfig = {
|
|
@@ -2027,7 +2069,7 @@ declare const UpgradeSmartAccountModalProvider: ({
|
|
|
2027
2069
|
children
|
|
2028
2070
|
}: {
|
|
2029
2071
|
children: ReactNode;
|
|
2030
|
-
}) =>
|
|
2072
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
2031
2073
|
//#endregion
|
|
2032
2074
|
//#region src/hooks/modals/useProfileModal.d.ts
|
|
2033
2075
|
declare const useProfileModal: () => {
|
|
@@ -2039,7 +2081,7 @@ declare const ProfileModalProvider: ({
|
|
|
2039
2081
|
children
|
|
2040
2082
|
}: {
|
|
2041
2083
|
children: ReactNode;
|
|
2042
|
-
}) =>
|
|
2084
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
2043
2085
|
//#endregion
|
|
2044
2086
|
//#region src/hooks/modals/useAccountModalOptions.d.ts
|
|
2045
2087
|
declare const useAccountModalOptions: () => {
|
|
@@ -2047,6 +2089,18 @@ declare const useAccountModalOptions: () => {
|
|
|
2047
2089
|
closeAccountModal: () => void;
|
|
2048
2090
|
};
|
|
2049
2091
|
//#endregion
|
|
2092
|
+
//#region src/hooks/modals/useSettingsModal.d.ts
|
|
2093
|
+
declare const useSettingsModal: () => {
|
|
2094
|
+
open: (options?: AccountModalOptions) => void;
|
|
2095
|
+
close: () => void;
|
|
2096
|
+
isOpen: boolean;
|
|
2097
|
+
};
|
|
2098
|
+
declare const SettingsModalProvider: ({
|
|
2099
|
+
children
|
|
2100
|
+
}: {
|
|
2101
|
+
children: ReactNode;
|
|
2102
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
2103
|
+
//#endregion
|
|
2050
2104
|
//#region src/hooks/notifications/types.d.ts
|
|
2051
2105
|
type NotificationAction = {
|
|
2052
2106
|
label: string;
|
|
@@ -2175,7 +2229,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2175
2229
|
* );
|
|
2176
2230
|
* ```
|
|
2177
2231
|
*/
|
|
2178
|
-
declare const useAppHubApps: () =>
|
|
2232
|
+
declare const useAppHubApps: () => _tanstack_react_query21.UseQueryResult<AppHubApp[], Error>;
|
|
2179
2233
|
//#endregion
|
|
2180
2234
|
//#region src/utils/constants.d.ts
|
|
2181
2235
|
declare const TOKEN_LOGOS: Record<string, string>;
|
|
@@ -2522,7 +2576,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2522
2576
|
method: TMethod;
|
|
2523
2577
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2524
2578
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2525
|
-
}) =>
|
|
2579
|
+
}) => _tanstack_react_query21.UseQueryResult<_tanstack_react_query21.NoInfer<TData>, unknown>;
|
|
2526
2580
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2527
2581
|
thor,
|
|
2528
2582
|
calls,
|
|
@@ -2533,7 +2587,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2533
2587
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2534
2588
|
queryKey: string[];
|
|
2535
2589
|
enabled?: boolean;
|
|
2536
|
-
}) =>
|
|
2590
|
+
}) => _tanstack_react_query21.UseQueryResult<_tanstack_react_query21.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2537
2591
|
//#endregion
|
|
2538
2592
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2539
2593
|
/**
|
|
@@ -2657,7 +2711,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2657
2711
|
filterParams,
|
|
2658
2712
|
mapResponse,
|
|
2659
2713
|
nodeUrl
|
|
2660
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
2714
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query21.UseQueryResult<R[], Error>;
|
|
2661
2715
|
//#endregion
|
|
2662
2716
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2663
2717
|
interface BuildClausesParams {
|
|
@@ -2808,7 +2862,7 @@ declare const useGenericDelegatorFeeEstimation: ({
|
|
|
2808
2862
|
tokens,
|
|
2809
2863
|
sendingAmount,
|
|
2810
2864
|
sendingTokenSymbol
|
|
2811
|
-
}: useGenericDelegatorFeeEstimationParams) =>
|
|
2865
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query21.UseQueryResult<EstimationResponse & {
|
|
2812
2866
|
usedToken: string;
|
|
2813
2867
|
}, Error>;
|
|
2814
2868
|
//#endregion
|
|
@@ -2822,7 +2876,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2822
2876
|
clauses,
|
|
2823
2877
|
tokens,
|
|
2824
2878
|
enabled
|
|
2825
|
-
}: UseEstimateAllTokensParams) =>
|
|
2879
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query21.UseQueryResult<Record<GasTokenType, {
|
|
2826
2880
|
cost: number;
|
|
2827
2881
|
loading: boolean;
|
|
2828
2882
|
error?: string;
|
|
@@ -2839,7 +2893,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2839
2893
|
* @param address The address of the account to get the balance for
|
|
2840
2894
|
* @returns The account balance
|
|
2841
2895
|
*/
|
|
2842
|
-
declare const useAccountBalance: (address?: string) =>
|
|
2896
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
2843
2897
|
balance: string;
|
|
2844
2898
|
energy: string;
|
|
2845
2899
|
}, Error>;
|
|
@@ -2852,7 +2906,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2852
2906
|
* @param version - The version of the smart account implementation
|
|
2853
2907
|
* @returns The address of the smart account implementation
|
|
2854
2908
|
*/
|
|
2855
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
2909
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
2856
2910
|
//#endregion
|
|
2857
2911
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
2858
2912
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2861,7 +2915,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
2861
2915
|
* Get the current account implementation version used by the smart account factory
|
|
2862
2916
|
* @returns The current account implementation version
|
|
2863
2917
|
*/
|
|
2864
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
2918
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query21.UseQueryResult<number, Error>;
|
|
2865
2919
|
//#endregion
|
|
2866
2920
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
2867
2921
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -2871,7 +2925,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
2871
2925
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2872
2926
|
* @returns The address of the smart account
|
|
2873
2927
|
*/
|
|
2874
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
2928
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
2875
2929
|
//#endregion
|
|
2876
2930
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
2877
2931
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => unknown[];
|
|
@@ -2881,7 +2935,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2881
2935
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2882
2936
|
* @returns The version of the smart account
|
|
2883
2937
|
*/
|
|
2884
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
2938
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query21.UseQueryResult<{
|
|
2885
2939
|
version: number;
|
|
2886
2940
|
isDeployed: boolean;
|
|
2887
2941
|
}, unknown>;
|
|
@@ -2894,7 +2948,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
2894
2948
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2895
2949
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
2896
2950
|
*/
|
|
2897
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
2951
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
2898
2952
|
//#endregion
|
|
2899
2953
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
2900
2954
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -2903,7 +2957,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
2903
2957
|
* Check if a smart account is deployed
|
|
2904
2958
|
* @returns True if the smart account is deployed, false otherwise
|
|
2905
2959
|
*/
|
|
2906
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
2960
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
2907
2961
|
//#endregion
|
|
2908
2962
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
2909
2963
|
/**
|
|
@@ -2936,7 +2990,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
2936
2990
|
isDeployed: boolean;
|
|
2937
2991
|
}>;
|
|
2938
2992
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
2939
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
2993
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query21.UseQueryResult<{
|
|
2940
2994
|
address: undefined;
|
|
2941
2995
|
isDeployed?: undefined;
|
|
2942
2996
|
} | {
|
|
@@ -2954,7 +3008,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2954
3008
|
* @param targetVersion - The version of the smart account to check for
|
|
2955
3009
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2956
3010
|
*/
|
|
2957
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
3011
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
2958
3012
|
//#endregion
|
|
2959
3013
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
2960
3014
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -2965,7 +3019,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
2965
3019
|
* @param targetVersion - The target version of the smart account
|
|
2966
3020
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2967
3021
|
*/
|
|
2968
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
3022
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query21.UseQueryResult<boolean, Error>;
|
|
2969
3023
|
//#endregion
|
|
2970
3024
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
2971
3025
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -2990,7 +3044,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
2990
3044
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
2991
3045
|
* @returns the current block
|
|
2992
3046
|
*/
|
|
2993
|
-
declare const useCurrentBlock: () =>
|
|
3047
|
+
declare const useCurrentBlock: () => _tanstack_react_query21.UseQueryResult<_vechain_sdk_network2.ExpandedBlockDetail, Error>;
|
|
2994
3048
|
//#endregion
|
|
2995
3049
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
2996
3050
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -2999,7 +3053,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
2999
3053
|
* Get the chain id
|
|
3000
3054
|
* @returns The chain id
|
|
3001
3055
|
*/
|
|
3002
|
-
declare const useGetChainId: () =>
|
|
3056
|
+
declare const useGetChainId: () => _tanstack_react_query21.UseQueryResult<string, Error>;
|
|
3003
3057
|
//#endregion
|
|
3004
3058
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
3005
3059
|
/**
|
|
@@ -3236,7 +3290,7 @@ declare const useBuildTransaction: <ClausesParams>({
|
|
|
3236
3290
|
sendTransaction: (props: ClausesParams) => Promise<void>;
|
|
3237
3291
|
isTransactionPending: boolean;
|
|
3238
3292
|
isWaitingForWalletConfirmation: boolean;
|
|
3239
|
-
txReceipt:
|
|
3293
|
+
txReceipt: _vechain_sdk_network2.TransactionReceipt | null;
|
|
3240
3294
|
status: TransactionStatus;
|
|
3241
3295
|
resetStatus: () => void;
|
|
3242
3296
|
error?: TransactionStatusErrorType;
|
|
@@ -3251,7 +3305,13 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3251
3305
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3252
3306
|
* @returns Query result containing the transaction receipt
|
|
3253
3307
|
*/
|
|
3254
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3308
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query21.UseQueryResult<_vechain_sdk_network2.TransactionReceipt, Error>;
|
|
3309
|
+
//#endregion
|
|
3310
|
+
//#region src/hooks/thor/transactions/useGasEstimate.d.ts
|
|
3311
|
+
declare const useGasEstimate: (thor: ThorClient, clauses: TransactionClause[], caller: string, options?: {
|
|
3312
|
+
revision?: Revision;
|
|
3313
|
+
gasPadding?: number;
|
|
3314
|
+
}) => Promise<number>;
|
|
3255
3315
|
//#endregion
|
|
3256
3316
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
|
|
3257
3317
|
type SendTokenContentProps = {
|
|
@@ -3267,7 +3327,7 @@ declare const SendTokenContent: ({
|
|
|
3267
3327
|
initialAmount,
|
|
3268
3328
|
initialToAddressOrDomain,
|
|
3269
3329
|
onBack: parentOnBack
|
|
3270
|
-
}: SendTokenContentProps) =>
|
|
3330
|
+
}: SendTokenContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3271
3331
|
//#endregion
|
|
3272
3332
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenSummaryContent.d.ts
|
|
3273
3333
|
type SendTokenSummaryContentProps = {
|
|
@@ -3287,10 +3347,10 @@ declare const SendTokenSummaryContent: ({
|
|
|
3287
3347
|
amount,
|
|
3288
3348
|
selectedToken,
|
|
3289
3349
|
formattedTotalAmount
|
|
3290
|
-
}: SendTokenSummaryContentProps) =>
|
|
3350
|
+
}: SendTokenSummaryContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3291
3351
|
//#endregion
|
|
3292
3352
|
//#region src/components/AccountModal/Contents/SendToken/SelectTokenContent.d.ts
|
|
3293
|
-
type Props$
|
|
3353
|
+
type Props$18 = {
|
|
3294
3354
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3295
3355
|
onSelectToken: (token: TokenWithValue) => void;
|
|
3296
3356
|
onBack: () => void;
|
|
@@ -3303,18 +3363,18 @@ declare const SelectTokenContent: ({
|
|
|
3303
3363
|
onSelectToken,
|
|
3304
3364
|
onBack,
|
|
3305
3365
|
showAllTokens
|
|
3306
|
-
}: Props$
|
|
3366
|
+
}: Props$18) => react_jsx_runtime1.JSX.Element;
|
|
3307
3367
|
//#endregion
|
|
3308
3368
|
//#region src/components/AccountModal/Contents/Receive/ReceiveTokenContent.d.ts
|
|
3309
|
-
type Props$
|
|
3369
|
+
type Props$17 = {
|
|
3310
3370
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3311
3371
|
};
|
|
3312
3372
|
declare const ReceiveTokenContent: ({
|
|
3313
3373
|
setCurrentContent
|
|
3314
|
-
}: Props$
|
|
3374
|
+
}: Props$17) => react_jsx_runtime1.JSX.Element;
|
|
3315
3375
|
//#endregion
|
|
3316
3376
|
//#region src/components/AccountModal/Contents/Swap/SwapTokenContent.d.ts
|
|
3317
|
-
type Props$
|
|
3377
|
+
type Props$16 = {
|
|
3318
3378
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
3319
3379
|
fromTokenAddress?: string;
|
|
3320
3380
|
toTokenAddress?: string;
|
|
@@ -3323,7 +3383,7 @@ declare const SwapTokenContent: ({
|
|
|
3323
3383
|
setCurrentContent,
|
|
3324
3384
|
fromTokenAddress,
|
|
3325
3385
|
toTokenAddress
|
|
3326
|
-
}: Props$
|
|
3386
|
+
}: Props$16) => react_jsx_runtime1.JSX.Element;
|
|
3327
3387
|
//#endregion
|
|
3328
3388
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameContent.d.ts
|
|
3329
3389
|
type ChooseNameContentProps = {
|
|
@@ -3335,7 +3395,7 @@ declare const ChooseNameContent: ({
|
|
|
3335
3395
|
setCurrentContent,
|
|
3336
3396
|
onBack,
|
|
3337
3397
|
initialContentSource
|
|
3338
|
-
}: ChooseNameContentProps) =>
|
|
3398
|
+
}: ChooseNameContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3339
3399
|
//#endregion
|
|
3340
3400
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameSearchContent.d.ts
|
|
3341
3401
|
type ChooseNameSearchContentProps = {
|
|
@@ -3347,7 +3407,7 @@ declare const ChooseNameSearchContent: ({
|
|
|
3347
3407
|
name: initialName,
|
|
3348
3408
|
setCurrentContent,
|
|
3349
3409
|
initialContentSource
|
|
3350
|
-
}: ChooseNameSearchContentProps) =>
|
|
3410
|
+
}: ChooseNameSearchContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3351
3411
|
//#endregion
|
|
3352
3412
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameSummaryContent.d.ts
|
|
3353
3413
|
type ChooseNameSummaryContentProps = {
|
|
@@ -3365,7 +3425,7 @@ declare const ChooseNameSummaryContent: ({
|
|
|
3365
3425
|
isOwnDomain,
|
|
3366
3426
|
isUnsetting,
|
|
3367
3427
|
initialContentSource
|
|
3368
|
-
}: ChooseNameSummaryContentProps) =>
|
|
3428
|
+
}: ChooseNameSummaryContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3369
3429
|
//#endregion
|
|
3370
3430
|
//#region src/components/AccountModal/Contents/FAQ/FAQContent.d.ts
|
|
3371
3431
|
type FAQContentProps = {
|
|
@@ -3375,7 +3435,7 @@ type FAQContentProps = {
|
|
|
3375
3435
|
declare const FAQContent: ({
|
|
3376
3436
|
onGoBack,
|
|
3377
3437
|
showLanguageSelector
|
|
3378
|
-
}: FAQContentProps) =>
|
|
3438
|
+
}: FAQContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3379
3439
|
//#endregion
|
|
3380
3440
|
//#region src/components/AccountModal/Contents/Profile/Customization/CustomizationContent.d.ts
|
|
3381
3441
|
type AccountCustomizationContentProps = {
|
|
@@ -3385,7 +3445,7 @@ type AccountCustomizationContentProps = {
|
|
|
3385
3445
|
declare const CustomizationContent: ({
|
|
3386
3446
|
setCurrentContent,
|
|
3387
3447
|
initialContentSource
|
|
3388
|
-
}: AccountCustomizationContentProps) =>
|
|
3448
|
+
}: AccountCustomizationContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3389
3449
|
//#endregion
|
|
3390
3450
|
//#region src/components/AccountModal/Contents/Profile/Customization/CustomizationSummaryContent.d.ts
|
|
3391
3451
|
type CustomizationSummaryContentProps = {
|
|
@@ -3404,17 +3464,21 @@ declare const CustomizationSummaryContent: ({
|
|
|
3404
3464
|
setCurrentContent,
|
|
3405
3465
|
changes,
|
|
3406
3466
|
onDoneRedirectContent
|
|
3407
|
-
}: CustomizationSummaryContentProps) =>
|
|
3467
|
+
}: CustomizationSummaryContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3408
3468
|
//#endregion
|
|
3409
3469
|
//#region src/components/AccountModal/Contents/Profile/ProfileContent.d.ts
|
|
3410
3470
|
type ProfileContentProps = {
|
|
3411
3471
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3412
3472
|
onLogoutSuccess: () => void;
|
|
3473
|
+
switchFeedback?: {
|
|
3474
|
+
showFeedback: boolean;
|
|
3475
|
+
};
|
|
3413
3476
|
};
|
|
3414
3477
|
declare const ProfileContent: ({
|
|
3415
3478
|
setCurrentContent,
|
|
3416
|
-
onLogoutSuccess
|
|
3417
|
-
|
|
3479
|
+
onLogoutSuccess,
|
|
3480
|
+
switchFeedback
|
|
3481
|
+
}: ProfileContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3418
3482
|
//#endregion
|
|
3419
3483
|
//#region src/components/AccountModal/Contents/UpgradeSmartAccount/UpgradeSmartAccountContent.d.ts
|
|
3420
3484
|
type UpgradeSmartAccountContentProps = {
|
|
@@ -3426,7 +3490,7 @@ declare const UpgradeSmartAccountContent: ({
|
|
|
3426
3490
|
setCurrentContent,
|
|
3427
3491
|
handleClose,
|
|
3428
3492
|
initialContent
|
|
3429
|
-
}: UpgradeSmartAccountContentProps) =>
|
|
3493
|
+
}: UpgradeSmartAccountContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3430
3494
|
//#endregion
|
|
3431
3495
|
//#region src/components/AccountModal/Contents/Assets/AssetsContent.d.ts
|
|
3432
3496
|
type AssetsContentProps = {
|
|
@@ -3434,7 +3498,7 @@ type AssetsContentProps = {
|
|
|
3434
3498
|
};
|
|
3435
3499
|
declare const AssetsContent: ({
|
|
3436
3500
|
setCurrentContent
|
|
3437
|
-
}: AssetsContentProps) =>
|
|
3501
|
+
}: AssetsContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3438
3502
|
//#endregion
|
|
3439
3503
|
//#region src/components/AccountModal/Contents/Assets/ManageCustomTokenContent.d.ts
|
|
3440
3504
|
type ManageCustomTokenContentProps = {
|
|
@@ -3442,15 +3506,15 @@ type ManageCustomTokenContentProps = {
|
|
|
3442
3506
|
};
|
|
3443
3507
|
declare const ManageCustomTokenContent: ({
|
|
3444
3508
|
setCurrentContent
|
|
3445
|
-
}: ManageCustomTokenContentProps) =>
|
|
3509
|
+
}: ManageCustomTokenContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3446
3510
|
//#endregion
|
|
3447
3511
|
//#region src/components/AccountModal/Contents/Bridge/BridgeContent.d.ts
|
|
3448
|
-
type Props$
|
|
3512
|
+
type Props$15 = {
|
|
3449
3513
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3450
3514
|
};
|
|
3451
3515
|
declare const BridgeContent: ({
|
|
3452
3516
|
setCurrentContent
|
|
3453
|
-
}: Props$
|
|
3517
|
+
}: Props$15) => react_jsx_runtime1.JSX.Element;
|
|
3454
3518
|
//#endregion
|
|
3455
3519
|
//#region src/components/AccountModal/Contents/KitSettings/ChangeCurrencyContent.d.ts
|
|
3456
3520
|
type ChangeCurrencyContentProps = {
|
|
@@ -3458,23 +3522,23 @@ type ChangeCurrencyContentProps = {
|
|
|
3458
3522
|
};
|
|
3459
3523
|
declare const ChangeCurrencyContent: ({
|
|
3460
3524
|
setCurrentContent
|
|
3461
|
-
}: ChangeCurrencyContentProps) =>
|
|
3525
|
+
}: ChangeCurrencyContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3462
3526
|
//#endregion
|
|
3463
3527
|
//#region src/components/AccountModal/Contents/KitSettings/LanguageSettingsContent.d.ts
|
|
3464
|
-
type Props$
|
|
3528
|
+
type Props$14 = {
|
|
3465
3529
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3466
3530
|
};
|
|
3467
3531
|
declare const LanguageSettingsContent: ({
|
|
3468
3532
|
setCurrentContent
|
|
3469
|
-
}: Props$
|
|
3533
|
+
}: Props$14) => react_jsx_runtime1.JSX.Element;
|
|
3470
3534
|
//#endregion
|
|
3471
3535
|
//#region src/components/AccountModal/Contents/KitSettings/GasTokenSettingsContent.d.ts
|
|
3472
|
-
type Props$
|
|
3536
|
+
type Props$13 = {
|
|
3473
3537
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3474
3538
|
};
|
|
3475
3539
|
declare const GasTokenSettingsContent: ({
|
|
3476
3540
|
setCurrentContent
|
|
3477
|
-
}: Props$
|
|
3541
|
+
}: Props$13) => react_jsx_runtime1.JSX.Element;
|
|
3478
3542
|
//#endregion
|
|
3479
3543
|
//#region src/components/AccountModal/Contents/KitSettings/SettingsContent.d.ts
|
|
3480
3544
|
type SettingsContentProps = {
|
|
@@ -3484,7 +3548,7 @@ type SettingsContentProps = {
|
|
|
3484
3548
|
declare const SettingsContent: ({
|
|
3485
3549
|
setCurrentContent,
|
|
3486
3550
|
onLogoutSuccess
|
|
3487
|
-
}: SettingsContentProps) =>
|
|
3551
|
+
}: SettingsContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3488
3552
|
//#endregion
|
|
3489
3553
|
//#region src/components/AccountModal/Contents/TermsAndPrivacy/TermsAndPrivacyContent.d.ts
|
|
3490
3554
|
type TermsAndPrivacyContentProps = {
|
|
@@ -3492,7 +3556,7 @@ type TermsAndPrivacyContentProps = {
|
|
|
3492
3556
|
};
|
|
3493
3557
|
declare const TermsAndPrivacyContent: ({
|
|
3494
3558
|
onGoBack
|
|
3495
|
-
}: TermsAndPrivacyContentProps) =>
|
|
3559
|
+
}: TermsAndPrivacyContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3496
3560
|
//#endregion
|
|
3497
3561
|
//#region src/components/AccountModal/Contents/DisconnectConfirmation/DisconnectConfirmContent.d.ts
|
|
3498
3562
|
type DisconnectConfirmContentProps = {
|
|
@@ -3508,7 +3572,36 @@ declare const DisconnectConfirmContent: ({
|
|
|
3508
3572
|
onClose,
|
|
3509
3573
|
showCloseButton,
|
|
3510
3574
|
text
|
|
3511
|
-
}: DisconnectConfirmContentProps) =>
|
|
3575
|
+
}: DisconnectConfirmContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3576
|
+
//#endregion
|
|
3577
|
+
//#region src/components/AccountModal/Contents/SelectWallet/SelectWalletContent.d.ts
|
|
3578
|
+
type Props$12 = {
|
|
3579
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3580
|
+
onClose: () => void;
|
|
3581
|
+
returnTo?: 'main' | 'profile';
|
|
3582
|
+
onLogoutSuccess?: () => void;
|
|
3583
|
+
};
|
|
3584
|
+
declare const SelectWalletContent: ({
|
|
3585
|
+
setCurrentContent,
|
|
3586
|
+
returnTo,
|
|
3587
|
+
onLogoutSuccess: _onLogoutSuccess
|
|
3588
|
+
}: Props$12) => react_jsx_runtime1.JSX.Element;
|
|
3589
|
+
//#endregion
|
|
3590
|
+
//#region src/components/AccountModal/Contents/SelectWallet/RemoveWalletConfirmContent.d.ts
|
|
3591
|
+
type RemoveWalletConfirmContentProps = {
|
|
3592
|
+
walletAddress: string;
|
|
3593
|
+
walletDomain: string | null;
|
|
3594
|
+
onConfirm: () => void;
|
|
3595
|
+
onBack: () => void;
|
|
3596
|
+
onClose?: () => void;
|
|
3597
|
+
};
|
|
3598
|
+
declare const RemoveWalletConfirmContent: ({
|
|
3599
|
+
walletAddress,
|
|
3600
|
+
walletDomain: _walletDomain,
|
|
3601
|
+
onConfirm,
|
|
3602
|
+
onBack,
|
|
3603
|
+
onClose
|
|
3604
|
+
}: RemoveWalletConfirmContentProps) => react_jsx_runtime1.JSX.Element;
|
|
3512
3605
|
//#endregion
|
|
3513
3606
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryFilterSection.d.ts
|
|
3514
3607
|
type CategoryFilter = string | null;
|
|
@@ -3545,7 +3638,28 @@ type FailedOperationContentProps = {
|
|
|
3545
3638
|
};
|
|
3546
3639
|
//#endregion
|
|
3547
3640
|
//#region src/components/AccountModal/Types/Types.d.ts
|
|
3548
|
-
type
|
|
3641
|
+
type SwitchFeedback = {
|
|
3642
|
+
showFeedback: boolean;
|
|
3643
|
+
};
|
|
3644
|
+
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
3645
|
+
type: 'main';
|
|
3646
|
+
props?: {
|
|
3647
|
+
switchFeedback?: SwitchFeedback;
|
|
3648
|
+
};
|
|
3649
|
+
} | {
|
|
3650
|
+
type: 'profile';
|
|
3651
|
+
props?: {
|
|
3652
|
+
switchFeedback?: SwitchFeedback;
|
|
3653
|
+
};
|
|
3654
|
+
} | 'manage-mfa' | 'receive-token' | 'swap-token' | 'connection-details' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | 'add-custom-token' | 'assets' | 'change-currency' | 'change-language' | 'gas-token-settings' | {
|
|
3655
|
+
type: 'select-wallet';
|
|
3656
|
+
props: {
|
|
3657
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3658
|
+
onClose: () => void;
|
|
3659
|
+
returnTo?: 'main' | 'profile';
|
|
3660
|
+
onLogoutSuccess?: () => void;
|
|
3661
|
+
};
|
|
3662
|
+
} | {
|
|
3549
3663
|
type: 'swap-token';
|
|
3550
3664
|
props: {
|
|
3551
3665
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3591,6 +3705,9 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' |
|
|
|
3591
3705
|
} | {
|
|
3592
3706
|
type: 'disconnect-confirm';
|
|
3593
3707
|
props: DisconnectConfirmContentProps;
|
|
3708
|
+
} | {
|
|
3709
|
+
type: 'remove-wallet-confirm';
|
|
3710
|
+
props: RemoveWalletConfirmContentProps;
|
|
3594
3711
|
} | {
|
|
3595
3712
|
type: 'upgrade-smart-account';
|
|
3596
3713
|
props: UpgradeSmartAccountContentProps;
|
|
@@ -3603,7 +3720,7 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' |
|
|
|
3603
3720
|
};
|
|
3604
3721
|
//#endregion
|
|
3605
3722
|
//#region src/components/AccountModal/AccountModal.d.ts
|
|
3606
|
-
type Props$
|
|
3723
|
+
type Props$11 = {
|
|
3607
3724
|
isOpen: boolean;
|
|
3608
3725
|
onClose: () => void;
|
|
3609
3726
|
initialContent?: AccountModalContentTypes;
|
|
@@ -3612,7 +3729,7 @@ declare const AccountModal: ({
|
|
|
3612
3729
|
isOpen,
|
|
3613
3730
|
onClose,
|
|
3614
3731
|
initialContent
|
|
3615
|
-
}: Props$
|
|
3732
|
+
}: Props$11) => react_jsx_runtime1.JSX.Element;
|
|
3616
3733
|
//#endregion
|
|
3617
3734
|
//#region src/components/AccountModal/Components/AccountDetailsButton.d.ts
|
|
3618
3735
|
interface AccountDetailsButtonProps {
|
|
@@ -3634,7 +3751,7 @@ declare const AccountDetailsButton: ({
|
|
|
3634
3751
|
onClick,
|
|
3635
3752
|
leftImage,
|
|
3636
3753
|
isActive
|
|
3637
|
-
}: AccountDetailsButtonProps) =>
|
|
3754
|
+
}: AccountDetailsButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
3638
3755
|
//#endregion
|
|
3639
3756
|
//#region src/components/AccountModal/Components/ActionButton.d.ts
|
|
3640
3757
|
type ActionButtonProps = {
|
|
@@ -3676,10 +3793,10 @@ declare const ActionButton: ({
|
|
|
3676
3793
|
extraContent,
|
|
3677
3794
|
dataTestId,
|
|
3678
3795
|
variant
|
|
3679
|
-
}: ActionButtonProps) =>
|
|
3796
|
+
}: ActionButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
3680
3797
|
//#endregion
|
|
3681
3798
|
//#region src/components/AccountModal/Components/AccountSelector.d.ts
|
|
3682
|
-
type Props$
|
|
3799
|
+
type Props$10 = {
|
|
3683
3800
|
wallet: Wallet;
|
|
3684
3801
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3685
3802
|
size?: string;
|
|
@@ -3696,7 +3813,7 @@ declare const AccountSelector: ({
|
|
|
3696
3813
|
onClose,
|
|
3697
3814
|
mt,
|
|
3698
3815
|
style
|
|
3699
|
-
}: Props$
|
|
3816
|
+
}: Props$10) => react_jsx_runtime1.JSX.Element;
|
|
3700
3817
|
//#endregion
|
|
3701
3818
|
//#region src/components/AccountModal/Components/BalanceSection.d.ts
|
|
3702
3819
|
declare const BalanceSection: ({
|
|
@@ -3707,17 +3824,17 @@ declare const BalanceSection: ({
|
|
|
3707
3824
|
mb?: number;
|
|
3708
3825
|
mt?: number;
|
|
3709
3826
|
onAssetsClick?: () => void;
|
|
3710
|
-
}) =>
|
|
3827
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
3711
3828
|
//#endregion
|
|
3712
3829
|
//#region src/components/AccountModal/Components/QuickActionsSection.d.ts
|
|
3713
|
-
type Props$
|
|
3830
|
+
type Props$9 = {
|
|
3714
3831
|
mt?: number;
|
|
3715
3832
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3716
3833
|
};
|
|
3717
3834
|
declare const QuickActionsSection: ({
|
|
3718
3835
|
mt,
|
|
3719
3836
|
setCurrentContent
|
|
3720
|
-
}: Props$
|
|
3837
|
+
}: Props$9) => react_jsx_runtime1.JSX.Element;
|
|
3721
3838
|
//#endregion
|
|
3722
3839
|
//#region src/components/AccountModal/Components/Alerts/FeatureAnnouncementCard.d.ts
|
|
3723
3840
|
type FeatureAnnouncementCardProps = {
|
|
@@ -3725,16 +3842,16 @@ type FeatureAnnouncementCardProps = {
|
|
|
3725
3842
|
};
|
|
3726
3843
|
declare const FeatureAnnouncementCard: ({
|
|
3727
3844
|
setCurrentContent
|
|
3728
|
-
}: FeatureAnnouncementCardProps) =>
|
|
3845
|
+
}: FeatureAnnouncementCardProps) => react_jsx_runtime1.JSX.Element;
|
|
3729
3846
|
//#endregion
|
|
3730
3847
|
//#region src/components/AccountModal/Components/Alerts/ExchangeWarningAlert.d.ts
|
|
3731
|
-
declare const ExchangeWarningAlert: () =>
|
|
3848
|
+
declare const ExchangeWarningAlert: () => react_jsx_runtime1.JSX.Element;
|
|
3732
3849
|
//#endregion
|
|
3733
3850
|
//#region src/components/AccountModal/Components/Alerts/DomainRequiredAlert.d.ts
|
|
3734
|
-
declare const DomainRequiredAlert: () =>
|
|
3851
|
+
declare const DomainRequiredAlert: () => react_jsx_runtime1.JSX.Element;
|
|
3735
3852
|
//#endregion
|
|
3736
3853
|
//#region src/components/AccountModal/Components/CrossAppConnectionSecurityCard.d.ts
|
|
3737
|
-
declare const CrossAppConnectionSecurityCard: () =>
|
|
3854
|
+
declare const CrossAppConnectionSecurityCard: () => react_jsx_runtime1.JSX.Element;
|
|
3738
3855
|
//#endregion
|
|
3739
3856
|
//#region src/components/common/ModalBackButton.d.ts
|
|
3740
3857
|
type BackButtonProps = {
|
|
@@ -3743,30 +3860,32 @@ type BackButtonProps = {
|
|
|
3743
3860
|
declare const ModalBackButton: ({
|
|
3744
3861
|
onClick,
|
|
3745
3862
|
...props
|
|
3746
|
-
}: BackButtonProps) =>
|
|
3863
|
+
}: BackButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
3747
3864
|
//#endregion
|
|
3748
3865
|
//#region src/components/common/AddressDisplay.d.ts
|
|
3749
|
-
type Props$
|
|
3866
|
+
type Props$8 = {
|
|
3750
3867
|
wallet: Wallet;
|
|
3751
3868
|
label?: string;
|
|
3752
3869
|
style?: PropsOf<typeof VStack>;
|
|
3753
3870
|
showHumanAddress?: boolean;
|
|
3871
|
+
setCurrentContent?: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3754
3872
|
};
|
|
3755
3873
|
declare const AddressDisplay: ({
|
|
3756
3874
|
wallet,
|
|
3757
3875
|
label,
|
|
3758
3876
|
style,
|
|
3759
|
-
showHumanAddress
|
|
3760
|
-
|
|
3877
|
+
showHumanAddress,
|
|
3878
|
+
setCurrentContent
|
|
3879
|
+
}: Props$8) => react_jsx_runtime1.JSX.Element;
|
|
3761
3880
|
//#endregion
|
|
3762
3881
|
//#region src/components/common/VersionFooter.d.ts
|
|
3763
|
-
type Props$
|
|
3882
|
+
type Props$7 = {} & Omit<StackProps, 'dangerouslySetInnerHTML'>;
|
|
3764
3883
|
declare const VersionFooter: ({
|
|
3765
3884
|
...props
|
|
3766
|
-
}: Props$
|
|
3885
|
+
}: Props$7) => react_jsx_runtime1.JSX.Element;
|
|
3767
3886
|
//#endregion
|
|
3768
3887
|
//#region src/components/common/StickyHeaderContainer.d.ts
|
|
3769
|
-
type Props$
|
|
3888
|
+
type Props$6 = {
|
|
3770
3889
|
children: React.ReactNode;
|
|
3771
3890
|
};
|
|
3772
3891
|
declare const useStickyHeaderContext: () => {
|
|
@@ -3774,15 +3893,15 @@ declare const useStickyHeaderContext: () => {
|
|
|
3774
3893
|
};
|
|
3775
3894
|
declare const StickyHeaderContainer: ({
|
|
3776
3895
|
children
|
|
3777
|
-
}: Props$
|
|
3896
|
+
}: Props$6) => react_jsx_runtime1.JSX.Element;
|
|
3778
3897
|
//#endregion
|
|
3779
3898
|
//#region src/components/common/StickyFooterContainer.d.ts
|
|
3780
|
-
type Props$
|
|
3899
|
+
type Props$5 = {
|
|
3781
3900
|
children: React.ReactNode;
|
|
3782
3901
|
};
|
|
3783
3902
|
declare const StickyFooterContainer: ({
|
|
3784
3903
|
children
|
|
3785
|
-
}: Props$
|
|
3904
|
+
}: Props$5) => react_jsx_runtime1.JSX.Element;
|
|
3786
3905
|
//#endregion
|
|
3787
3906
|
//#region src/components/common/BaseModal.d.ts
|
|
3788
3907
|
type BaseModalProps = {
|
|
@@ -3831,7 +3950,7 @@ declare const BaseModal: ({
|
|
|
3831
3950
|
mobileMaxHeight,
|
|
3832
3951
|
desktopMinHeight,
|
|
3833
3952
|
desktopMaxHeight
|
|
3834
|
-
}: BaseModalProps) =>
|
|
3953
|
+
}: BaseModalProps) => react_jsx_runtime1.JSX.Element;
|
|
3835
3954
|
//#endregion
|
|
3836
3955
|
//#region src/components/common/AssetButton.d.ts
|
|
3837
3956
|
type AssetButtonProps = ButtonProps & {
|
|
@@ -3850,7 +3969,7 @@ declare const AssetButton: ({
|
|
|
3850
3969
|
isDisabled,
|
|
3851
3970
|
onClick,
|
|
3852
3971
|
...buttonProps
|
|
3853
|
-
}: AssetButtonProps) =>
|
|
3972
|
+
}: AssetButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
3854
3973
|
//#endregion
|
|
3855
3974
|
//#region src/components/common/AddressDisplayCard.d.ts
|
|
3856
3975
|
type AddressDisplayCardProps = {
|
|
@@ -3870,7 +3989,7 @@ declare const AddressDisplayCard: ({
|
|
|
3870
3989
|
hideAddress,
|
|
3871
3990
|
balance,
|
|
3872
3991
|
tokenAddress
|
|
3873
|
-
}: AddressDisplayCardProps) =>
|
|
3992
|
+
}: AddressDisplayCardProps) => react_jsx_runtime1.JSX.Element;
|
|
3874
3993
|
//#endregion
|
|
3875
3994
|
//#region src/components/common/ModalFAQButton.d.ts
|
|
3876
3995
|
type FAQButtonProps = {
|
|
@@ -3879,13 +3998,13 @@ type FAQButtonProps = {
|
|
|
3879
3998
|
declare const ModalFAQButton: ({
|
|
3880
3999
|
onClick,
|
|
3881
4000
|
...props
|
|
3882
|
-
}: FAQButtonProps) =>
|
|
4001
|
+
}: FAQButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
3883
4002
|
//#endregion
|
|
3884
4003
|
//#region src/components/common/ScrollToTopWrapper.d.ts
|
|
3885
4004
|
declare const ScrollToTopWrapper: ({
|
|
3886
4005
|
children,
|
|
3887
4006
|
...props
|
|
3888
|
-
}: StackProps) =>
|
|
4007
|
+
}: StackProps) => react_jsx_runtime1.JSX.Element;
|
|
3889
4008
|
//#endregion
|
|
3890
4009
|
//#region src/components/common/AccountAvatar.d.ts
|
|
3891
4010
|
type AccountAvatarProps = {
|
|
@@ -3895,7 +4014,7 @@ type AccountAvatarProps = {
|
|
|
3895
4014
|
declare const AccountAvatar: ({
|
|
3896
4015
|
wallet,
|
|
3897
4016
|
props
|
|
3898
|
-
}: AccountAvatarProps) =>
|
|
4017
|
+
}: AccountAvatarProps) => react_jsx_runtime1.JSX.Element;
|
|
3899
4018
|
//#endregion
|
|
3900
4019
|
//#region src/components/common/TransactionButtonAndStatus.d.ts
|
|
3901
4020
|
type TransactionButtonAndStatusProps = {
|
|
@@ -3937,7 +4056,7 @@ declare const TransactionButtonAndStatus: ({
|
|
|
3937
4056
|
isLoadingGasEstimation,
|
|
3938
4057
|
showGasEstimationError,
|
|
3939
4058
|
context
|
|
3940
|
-
}: TransactionButtonAndStatusProps) =>
|
|
4059
|
+
}: TransactionButtonAndStatusProps) => react_jsx_runtime1.JSX.Element;
|
|
3941
4060
|
//#endregion
|
|
3942
4061
|
//#region src/components/common/ModalNotificationButton.d.ts
|
|
3943
4062
|
type NotificationButtonProps = {
|
|
@@ -3948,7 +4067,7 @@ declare const ModalNotificationButton: ({
|
|
|
3948
4067
|
onClick,
|
|
3949
4068
|
hasUnreadNotifications,
|
|
3950
4069
|
...props
|
|
3951
|
-
}: NotificationButtonProps) =>
|
|
4070
|
+
}: NotificationButtonProps) => react_jsx_runtime1.JSX.Element;
|
|
3952
4071
|
//#endregion
|
|
3953
4072
|
//#region src/components/common/GasFeeSummary.d.ts
|
|
3954
4073
|
interface GasFeeSummaryProps {
|
|
@@ -3984,7 +4103,36 @@ declare const GasFeeTokenSelector: ({
|
|
|
3984
4103
|
availableTokens,
|
|
3985
4104
|
tokenEstimations,
|
|
3986
4105
|
walletAddress
|
|
3987
|
-
}: GasFeeTokenSelectorProps) =>
|
|
4106
|
+
}: GasFeeTokenSelectorProps) => react_jsx_runtime1.JSX.Element;
|
|
4107
|
+
//#endregion
|
|
4108
|
+
//#region src/components/common/InlineFeedback.d.ts
|
|
4109
|
+
type Props$4 = {
|
|
4110
|
+
message: string;
|
|
4111
|
+
duration?: number;
|
|
4112
|
+
onClose?: () => void;
|
|
4113
|
+
};
|
|
4114
|
+
declare const InlineFeedback: ({
|
|
4115
|
+
message,
|
|
4116
|
+
duration,
|
|
4117
|
+
onClose
|
|
4118
|
+
}: Props$4) => react_jsx_runtime1.JSX.Element;
|
|
4119
|
+
//#endregion
|
|
4120
|
+
//#region src/components/common/WalletSwitchFeedback.d.ts
|
|
4121
|
+
type Props$3 = {
|
|
4122
|
+
/**
|
|
4123
|
+
* Show feedback flag passed via content props (desktop)
|
|
4124
|
+
* If true, shows the feedback message
|
|
4125
|
+
*/
|
|
4126
|
+
showFeedback?: boolean;
|
|
4127
|
+
};
|
|
4128
|
+
/**
|
|
4129
|
+
* Component that displays inline feedback when a wallet switch occurs.
|
|
4130
|
+
* Handles both desktop (via props) and VeWorld in-app browser (via address change detection).
|
|
4131
|
+
* Simply add this component where you want the feedback to appear.
|
|
4132
|
+
*/
|
|
4133
|
+
declare const WalletSwitchFeedback: ({
|
|
4134
|
+
showFeedback
|
|
4135
|
+
}: Props$3) => react_jsx_runtime1.JSX.Element | null;
|
|
3988
4136
|
//#endregion
|
|
3989
4137
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
3990
4138
|
type SuccessfulOperationContentProps = {
|
|
@@ -4014,7 +4162,7 @@ declare const UpgradeSmartAccountModal: ({
|
|
|
4014
4162
|
isOpen,
|
|
4015
4163
|
onClose,
|
|
4016
4164
|
style
|
|
4017
|
-
}: Props$2) =>
|
|
4165
|
+
}: Props$2) => react_jsx_runtime1.JSX.Element;
|
|
4018
4166
|
//#endregion
|
|
4019
4167
|
//#region src/components/LegalDocumentsModal/LegalDocumentsModal.d.ts
|
|
4020
4168
|
type Props$1 = {
|
|
@@ -4029,7 +4177,7 @@ declare const LegalDocumentsModal: ({
|
|
|
4029
4177
|
onAgree,
|
|
4030
4178
|
handleLogout,
|
|
4031
4179
|
onlyOptionalDocuments
|
|
4032
|
-
}: Props$1) =>
|
|
4180
|
+
}: Props$1) => react_jsx_runtime1.JSX.Element;
|
|
4033
4181
|
//#endregion
|
|
4034
4182
|
//#region src/components/LegalDocumentsModal/Components/LegalDocumentItem.d.ts
|
|
4035
4183
|
type Props = {
|
|
@@ -4041,18 +4189,20 @@ declare const LegalDocumentItem: ({
|
|
|
4041
4189
|
document,
|
|
4042
4190
|
register,
|
|
4043
4191
|
isText
|
|
4044
|
-
}: Props) =>
|
|
4192
|
+
}: Props) => react_jsx_runtime1.JSX.Element;
|
|
4045
4193
|
//#endregion
|
|
4046
4194
|
//#region src/providers/ModalProvider.d.ts
|
|
4047
4195
|
type AccountModalOptions = {
|
|
4048
4196
|
isolatedView?: boolean;
|
|
4049
4197
|
};
|
|
4050
4198
|
type ModalContextType = {
|
|
4051
|
-
openConnectModal: (initialContent?: ConnectModalContentsTypes) => void;
|
|
4199
|
+
openConnectModal: (initialContent?: ConnectModalContentsTypes, preventAutoClose?: boolean) => void;
|
|
4052
4200
|
closeConnectModal: () => void;
|
|
4053
4201
|
isConnectModalOpen: boolean;
|
|
4054
4202
|
connectModalContent: ConnectModalContentsTypes;
|
|
4055
4203
|
setConnectModalContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
4204
|
+
connectModalPreventAutoClose: boolean;
|
|
4205
|
+
setConnectModalPreventAutoClose: React.Dispatch<React.SetStateAction<boolean>>;
|
|
4056
4206
|
openAccountModal: (content?: AccountModalContentTypes, options?: AccountModalOptions) => void;
|
|
4057
4207
|
closeAccountModal: () => void;
|
|
4058
4208
|
isAccountModalOpen: boolean;
|
|
@@ -4074,7 +4224,7 @@ declare const ModalProvider: ({
|
|
|
4074
4224
|
children
|
|
4075
4225
|
}: {
|
|
4076
4226
|
children: ReactNode;
|
|
4077
|
-
}) =>
|
|
4227
|
+
}) => react_jsx_runtime1.JSX.Element;
|
|
4078
4228
|
//#endregion
|
|
4079
4229
|
//#region src/config/index.d.ts
|
|
4080
4230
|
type AppConfig = {
|
|
@@ -4119,5 +4269,5 @@ type AppConfig = {
|
|
|
4119
4269
|
};
|
|
4120
4270
|
declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
|
|
4121
4271
|
//#endregion
|
|
4122
|
-
export { AssetsContent as $, useGetErc20Balance as $a, ChooseNameModalProvider as $i, useIsPWA as $n, TransactionToast as $o, regexPattern as $r, GasTokenEstimate as $s, SmartAccountReturnType as $t, CrossAppConnectionSecurityCard as A, XAppMetadata as Aa, useSignMessage as Ai, decodeRawTx as An, useGetTextRecords as Ao, isValid as Ar, PrivyWalletProvider as As, BuildTransactionProps as At, AccountModalContentTypes as B, MostVotedAppsInRoundReturnType as Ba, useReceiveModal as Bi, useSyncableLocalStorage as Bn, buildVetDomainClauses as Bo, allNodeStrengthLevelToName as Br, EnrichedLegalDocument as Bs, getEventLogs as Bt, BaseModal as C, useIpfsImage as Ca, Wallet as Cc, fetchAppHubApps as Ci, getAccountBalanceQueryKey as Cn, useGetAvatarOfAddress as Co, buildCallClauses as Cr, ConnectModal as Cs, useDAppKitWalletModal as Ct, VersionFooter as D, useIpfsMetadata as Da, useLoginWithOAuth$1 as Di, useGenericDelegatorFeeEstimation as Dn, useUpdateTextRecord as Do, addPrefix as Dr, ColorModeSync as Ds, useThor$1 as Dt, useStickyHeaderContext as E, getIpfsMetadataQueryKey as Ea, useLoginWithVeChain as Ei, useEstimateAllTokens as En, buildClauses as Eo, isValidUrl as Er, useLegalDocuments as Es, useSetWalletRecovery as Et, BalanceSection as F, useWallet$1 as Fa, useProfileModal as Fi, signVip191Transaction as Fn, getDomainsOfAddress as Fo, TIME as Fr, VeChainKitConfig as Fs, useTransferERC20 as Ft, SettingsContentProps as G, getVot3BalanceQueryKey as Ga, NotificationsModalProvider as Gi, buildSingleAuthorizationTypedData as Gn, getVechainDomainQueryKey as Go, resolveMediaTypeFromMimeType as Gr, DepositAccount as Gs, useCurrentBlock as Gt, DisconnectConfirmContentProps as H, useMostVotedAppsInRound as Ha, useAccountCustomizationModal as Hi, useLocalStorage as Hn, useClaimVeWorldSubdomain as Ho, gmNfts as Hr, LegalDocumentSource as Hs, getChainIdQueryKey as Ht, AccountSelector as I, getRoundXAppsQueryKey as Ia, UpgradeSmartAccountModalProvider as Ii, useGenericDelegator as In, getDomainsOfAddressQueryKey as Io, EconomicNodeStrengthLevelToName as Ir, VeChainKitContext as Is, UseSendTransactionReturnValue as It, ChangeCurrencyContent as J, SupportedToken as Ja, useExploreEcosystemModal as Ji, UseEventsParams as Jn, useFetchPrivyStatus as Jo, validateIpfsUri as Jr, Rate as Js, getUpgradeRequiredForAccountQueryKey as Jt, GasTokenSettingsContent as K, useGetVot3Balance as Ka, useNotificationsModal as Ki, useBuildClauses as Kn, useVechainDomain as Ko, toIPFSURL as Kr, EstimatedGas as Ks, useUpgradeSmartAccount as Kt, ActionButton as L, useRoundXApps as La, useUpgradeSmartAccountModal as Li, useCrossAppConnectionCache as Ln, useGetDomainsOfAddress as Lo, MinXNodeLevel as Lr, VeChainKitProvider as Ls, useSendTransaction as Lt, ExchangeWarningAlert as M, useXAppMetadata as Ma, useNotifications as Mi, estimateAndBuildTxBody as Mn, useGetAvatar as Mo, removePrefix as Mr, usePrivyWalletProvider as Ms, buildVETClauses as Mt, FeatureAnnouncementCard as N, useWalletMetadata as Na, useAccountModalOptions as Ni, estimateGas as Nn, Domain as No, validate as Nr, LegalDocument as Ns, useTransferVET as Nt, AddressDisplay as O, getXAppsSharesQueryKey as Oa, useLoginWithPasskey$1 as Oi, useGenericDelegatorFeeEstimationParams as On, getTextRecords as Oo, compare as Or, VechainKitThemeProvider as Os, txReceiptQueryKey as Ot, QuickActionsSection as P, UseWalletReturnType as Pa, ProfileModalProvider as Pi, getDepositAccount as Pn, DomainsResponse as Po, isRejectionError as Pr, LegalDocumentOptions as Ps, buildERC20Clauses as Pt, ManageCustomTokenContentProps as Q, getErc20BalanceQueryKey as Qa, useSendTokenModal as Qi, useScrollToTop as Qn, AccountMainContent as Qo, leftPadWithZeros as Qr, formatGasCost as Qs, useUpgradeRequired as Qt, AccountDetailsButton as R, useRefreshMetadata as Ra, useLoginModalContent as Ri, EcosystemShortcut as Rn, getIsDomainProtectedQueryKey as Ro, NodeStrengthLevelToImage as Rr, VechainKitProviderProps as Rs, GetEventsProps as Rt, AssetButton as S, getIpfsImageQueryKey as Sa, VePassportUserStatus as Sc, AppHubApp as Si, getAccountBalance as Sn, getAvatarOfAddressQueryKey as So, ViewFunctionResult as Sr, MainContent as Ss, useDAppKitWallet as St, StickyHeaderContainer as T, getIpfsMetadata as Ta, useAppHubApps as Ti, UseEstimateAllTokensParams as Tn, useGetResolverAddress as To, executeMultipleClausesCall as Tr, LegalDocumentsProvider as Ts, usePrivy$1 as Tt, TermsAndPrivacyContent as U, getIsPersonQueryKey as Ua, FAQModalProvider as Ui, BuildClausesParams as Un, getEnsRecordExistsQueryKey as Uo, xNodeToGMstartingLevel as Ur, LegalDocumentType as Us, useGetChainId as Ut, DisconnectConfirmContent as V, XApp as Va, AccountCustomizationModalProvider as Vi, LocalStorageKey as Vn, useClaimVetDomain as Vo, buildQueryString as Vr, LegalDocumentAgreement as Vs, getChainId as Vt, SettingsContent as W, useIsPerson as Wa, useFAQModal as Wi, buildBatchAuthorizationTypedData as Wn, useEnsRecordExists as Wo, convertUriToUrl as Wr, CostLevel as Ws, currentBlockQueryKey as Wt, BridgeContent as X, getTokenUsdPriceQueryKey as Xa, useSwapTokenModal as Xi, getEventsKey as Xn, getPrivyAppInfoQueryKey as Xo, compareListOfAddresses as Xr, VthoPerGasAtSpeed as Xs, getUpgradeRequired as Xt, ChangeCurrencyContentProps as Y, getTokenUsdPrice as Ya, SwapTokenModalProvider as Yi, decodeEventLog$1 as Yn, fetchPrivyAppInfo as Yo, compareAddresses as Yr, TransactionCost as Ys, useUpgradeRequiredForAccount as Yt, ManageCustomTokenContent as Z, useGetTokenUsdPrice as Za, SendTokenModalProvider as Zi, useEvents as Zn, useFetchAppInfo as Zo, isValidAddress as Zr, calculateTotalCost as Zs, getUpgradeRequiredQueryKey as Zt, TransactionButtonAndStatusProps as _, useUploadImages as _a, PrivyLoginMethod as _c, VECHAIN_KIT_TERMS_CONFIG as _i, getCurrentAccountImplementationVersionQueryKey as _n, useTokenBalances as _o, safeQuerySelector as _r, EmailLoginButton as _s, ReceiveTokenContent as _t, useModal as a, TransactionModalProvider as aa, ENS_TEXT_RECORDS as ac, humanNumber as ai, getIsDeployed as an, useGetCustomTokenBalances as ao, getCallClauseQueryKey as ar, WalletButton as as, CustomizationSummaryContent as at, ModalFAQButton as b, MAX_IMAGE_SIZE as ba, TransactionStatus as bc, getGenericDelegatorUrl as bi, getAccountImplementationAddressQueryKey as bn, getAvatarLegacyQueryKey as bo, MultipleClausesCallParameters as br, ErrorContent as bs, SendTokenContent as bt, LegalDocumentsModal as c, useAccountModal as ca, CURRENCY_SYMBOLS as cc, DEFAULT_PRIVY_ECOSYSTEM_APPS as ci, getHasV1SmartAccount as cn, useCustomTokens as co, useMultipleClausesCall as cr, ConnectPopover as cs, CustomizationContent as ct, UpgradeSmartAccountModalContentsTypes as d, useSwapQuotes as da, ENSRecords as dc, SUPPORTED_GAS_TOKENS as di, getAccountVersionQueryKey as dn, useTotalBalance as do, getLocalStorageItem as dr, DappKitButton as ds, ChooseNameSummaryContentProps as dt, useChooseNameModal as ea, GasTokenInfo as ec, randomTransactionUser as ei, getSmartAccount as en, getCustomTokenInfoQueryKey as eo, useGetNodeUrl as er, TransactionModalContent as es, AssetsContentProps as et, UpgradeSmartAccountModalStyle as f, useSwapTransaction as fa, EnhancedClause as fc, TOKEN_LOGOS as fi, useGetAccountVersion as fn, TokenWithValue as fo, getWindowOrigin as fr, PasskeyLoginButton as fs, ChooseNameSearchContent as ft, TransactionButtonAndStatus as g, imageCompressionOptions as ga, PrivyAppInfo as gc, VECHAIN_KIT_STORAGE_KEYS as gi, getCurrentAccountImplementationVersion as gn, WalletTokenBalance as go, removeLocalStorageItem as gr, VeChainLoginButton as gs, SwapTokenContent as gt, ModalNotificationButton as h, compressImages as ha, NFTMediaType as hc, VECHAIN_KIT_COOKIES_CONFIG as hi, useGetAccountAddress as hn, useTokenPrices as ho, isOnline as hr, EcosystemButton as hs, ChooseNameContentProps as ht, ModalProvider as i, useTransactionToast as ia, TransactionSpeed as ic, humanDomain as ii, useRefreshFactoryQueries as in, getCustomTokenBalanceQueryKey as io, useCurrency as ir, SocialIcons as is, ProfileContentProps as it, DomainRequiredAlert as j, getXAppMetadata as ja, useNotificationAlerts as ji, delegateAuthorized as jn, getAvatarQueryKey as jo, normalize as jr, PrivyWalletProviderContextType as js, useBuildTransaction as jt, ModalBackButton as k, useXAppsShares as ka, useSignTypedData as ki, useGasTokenSelection as kn, getTextRecordsQueryKey as ko, isInvalid as kr, useVechainKitThemeConfig as ks, useTxReceipt as kt, LegalDocumentsModalContentsTypes as l, ConnectModalProvider as la, ConnectionSource as lc, ENV as li, getHasV1SmartAccountQueryKey as ln, getCurrentAllocationsRoundIdQueryKey as lo, copyToClipboard as lr, LoginWithGithubButton as ls, FAQContent as lt, GasFeeSummary as m, UploadedImage as ma, ExecuteWithAuthorizationSignData as mc, TogglePassportCheck as mi, getAccountAddressQueryKey as mn, ExchangeRates as mo, isBrowser as mr, PrivyButton as ms, ChooseNameContent as mt, getConfig as n, useWalletModal as na, GasTokenSelection as nc, getPicassoImage as ni, useSmartAccount as nn, useGetCustomTokenInfo as no, useCurrentCurrency as nr, TransactionModal as ns, UpgradeSmartAccountContentProps as nt, DAppKitWalletButton as o, useTransactionModal as oa, TextRecords as oc, isZero as oi, getIsDeployedQueryKey as on, getB3trBalanceQueryKey as oo, getCallClauseQueryKeyWithArgs as or, WalletButtonProps as os, CustomizationSummaryContentProps as ot, GasFeeTokenSelector as p, useSingleImageUpload as pa, ExecuteBatchWithAuthorizationSignData as pc, TOKEN_LOGO_COMPONENTS as pi, getAccountAddress as pn, useTokensWithValues as po, hasNavigator as pr, LoginWithGoogleButton as ps, ChooseNameSearchContentProps as pt, LanguageSettingsContent as q, PRICE_FEED_IDS as qa, ExploreEcosystemModalProvider as qi, GetEventsKeyParams as qn, fetchPrivyStatus as qo, uploadBlobToIPFS as qr, EstimationResponse as qs, getUpgradeRequiredForAccount as qt, AccountModalOptions as r, TransactionToastProvider as ra, GasTokenType as rc, humanAddress as ri, useRefreshSmartAccountQueries as rn, TokenWithBalance as ro, useCurrentLanguage as rr, TransactionModalProps as rs, ProfileContent as rt, LegalDocumentItem as s, AccountModalProvider as sa, CURRENCY as sc, DEFAULT_GAS_TOKEN_PREFERENCES as si, useIsSmartAccountDeployed as sn, useGetB3trBalance as so, useCallClause as sr, WalletDisplayVariant as ss, AccountCustomizationContentProps as st, AppConfig as t, WalletModalProvider as ta, GasTokenPreferences as tc, formatTokenBalance as ti, getSmartAccountQueryKey as tn, getTokenInfo$1 as to, useFeatureAnnouncement as tr, ShareButtons as ts, UpgradeSmartAccountContent as tt, UpgradeSmartAccountModal as u, useConnectModal as ua, CrossAppConnectionCache as uc, PrivyEcosystemApp as ui, useHasV1SmartAccount as un, useCurrentAllocationsRoundId as uo, getDocumentTitle as ur, VeChainWithPrivyLoginButton as us, ChooseNameSummaryContent as ut, AccountAvatar as v, useIpfsMetadatas as va, SmartAccount as vc, VECHAIN_PRIVY_APP_ID as vi, useCurrentAccountImplementationVersion as vn, useUnsetDomain as vo, safeWindowOpen as vr, ConnectionButton as vs, SelectTokenContent as vt, StickyFooterContainer as w, useIpfsImageList as wa, getAppHubAppsQueryKey as wi, useAccountBalance as wn, getResolverAddressQueryKey as wo, executeCallClause as wr, ConnectModalContentsTypes as ws, useMfaEnrollment as wt, AddressDisplayCard as x, getIpfsImage as xa, TransactionStatusErrorType as xc, notFoundImage as xi, useAccountImplementationAddress as xn, useGetAvatarLegacy as xo, MultipleClausesCallReturnType as xr, LoadingContent as xs, ThorClient$1 as xt, ScrollToTopWrapper as y, IpfsImage as ya, TokenBalance as yc, getENV as yi, getAccountImplementationAddress as yn, getAvatarLegacy as yo, setLocalStorageItem as yr, EcosystemContent as ys, SendTokenSummaryContent as yt, AccountModal as z, useRefreshBalances as za, ReceiveModalProvider as zi, useEcosystemShortcuts as zn, useIsDomainProtected as zo, XNodeStrengthLevelToName as zr, useVeChainKitConfig as zs, getAllEventLogs as zt };
|
|
4123
|
-
//# sourceMappingURL=index-
|
|
4272
|
+
export { LanguageSettingsContent as $, MostVotedAppsInRoundReturnType as $a, useFAQModal as $i, useBuildClauses as $n, buildVetDomainClauses as $o, toIPFSURL as $r, EnrichedLegalDocument as $s, useUpgradeSmartAccount as $t, AddressDisplay as A, getIpfsImage as Aa, PrivyLoginMethod as Ac, fetchAppHubApps as Ai, getAccountBalanceQueryKey as An, useTokenBalances as Ao, buildCallClauses as Ar, EmailLoginButton as As, useMfaEnrollment as At, AccountDetailsButton as B, getXAppMetadata as Ba, SettingsModalProvider as Bi, estimateGas as Bn, useUpdateTextRecord as Bo, validate as Br, ColorModeSync as Bs, useTransferVET as Bt, AddressDisplayCard as C, UploadedImage as Ca, CrossAppConnectionCache as Cc, VECHAIN_KIT_STORAGE_KEYS as Ci, getCurrentAccountImplementationVersion as Cn, useCurrentAllocationsRoundId as Co, removeLocalStorageItem as Cr, VeChainWithPrivyLoginButton as Cs, ReceiveTokenContent as Ct, StickyHeaderContainer as D, useIpfsMetadatas as Da, ExecuteWithAuthorizationSignData as Dc, getGenericDelegatorUrl as Di, getAccountImplementationAddressQueryKey as Dn, ExchangeRates as Do, MultipleClausesCallParameters as Dr, PrivyButton as Ds, ThorClient$1 as Dt, StickyFooterContainer as E, useUploadImages as Ea, ExecuteBatchWithAuthorizationSignData as Ec, getENV as Ei, getAccountImplementationAddress as En, useTokensWithValues as Eo, setLocalStorageItem as Er, LoginWithGoogleButton as Es, SendTokenContent as Et, FeatureAnnouncementCard as F, getIpfsMetadataQueryKey as Fa, VePassportUserStatus as Fc, useLoginWithPasskey$1 as Fi, useGenericDelegatorFeeEstimationParams as Fn, getAvatarOfAddressQueryKey as Fo, compare as Fr, MainContent as Fs, txReceiptQueryKey as Ft, RemoveWalletConfirmContentProps as G, useWalletStorage as Ga, UpgradeSmartAccountModalProvider as Gi, EcosystemShortcut as Gn, useGetAvatar as Go, NodeStrengthLevelToImage as Gr, usePrivyWalletProvider as Gs, GetEventsProps as Gt, AccountModalContentTypes as H, UseSwitchWalletReturnType as Ha, useAccountModalOptions as Hi, signVip191Transaction as Hn, getTextRecordsQueryKey as Ho, TIME as Hr, useVechainKitThemeConfig as Hs, useTransferERC20 as Ht, QuickActionsSection as I, useIpfsMetadata as Ia, Wallet as Ic, useSignTypedData as Ii, useGasTokenSelection as In, useGetAvatarOfAddress as Io, isInvalid as Ir, ConnectModal as Is, useTxReceipt as It, DisconnectConfirmContentProps as J, useWallet$1 as Ja, ReceiveModalProvider as Ji, LocalStorageKey as Jn, getDomainsOfAddress as Jo, buildQueryString as Jr, VeChainKitConfig as Js, getChainId as Jt, SelectWalletContent as K, useWalletMetadata as Ka, useUpgradeSmartAccountModal as Ki, useEcosystemShortcuts as Kn, Domain as Ko, XNodeStrengthLevelToName as Kr, LegalDocument as Ks, getAllEventLogs as Kt, BalanceSection as L, getXAppsSharesQueryKey as La, useSignMessage as Li, decodeRawTx as Ln, getResolverAddressQueryKey as Lo, isValid as Lr, ConnectModalContentsTypes as Ls, BuildTransactionProps as Lt, CrossAppConnectionSecurityCard as M, useIpfsImage as Ma, TokenBalance as Mc, useAppHubApps as Mi, UseEstimateAllTokensParams as Mn, getAvatarLegacy as Mo, executeMultipleClausesCall as Mr, EcosystemContent as Ms, useSetWalletRecovery as Mt, DomainRequiredAlert as N, useIpfsImageList as Na, TransactionStatus as Nc, useLoginWithVeChain as Ni, useEstimateAllTokens as Nn, getAvatarLegacyQueryKey as No, isValidUrl as Nr, ErrorContent as Ns, useThor$1 as Nt, useStickyHeaderContext as O, IpfsImage as Oa, NFTMediaType as Oc, notFoundImage as Oi, useAccountImplementationAddress as On, useTokenPrices as Oo, MultipleClausesCallReturnType as Or, EcosystemButton as Os, useDAppKitWallet as Ot, ExchangeWarningAlert as P, getIpfsMetadata as Pa, TransactionStatusErrorType as Pc, useLoginWithOAuth$1 as Pi, useGenericDelegatorFeeEstimation as Pn, useGetAvatarLegacy as Po, addPrefix as Pr, LoadingContent as Ps, useGasEstimate as Pt, GasTokenSettingsContent as Q, useRefreshBalances as Qa, FAQModalProvider as Qi, buildSingleAuthorizationTypedData as Qn, useIsDomainProtected as Qo, resolveMediaTypeFromMimeType as Qr, useVeChainKitConfig as Qs, useCurrentBlock as Qt, AccountSelector as R, useXAppsShares as Ra, useNotificationAlerts as Ri, delegateAuthorized as Rn, useGetResolverAddress as Ro, normalize as Rr, LegalDocumentsProvider as Rs, useBuildTransaction as Rt, ModalFAQButton as S, useSingleImageUpload as Sa, ConnectionSource as Sc, VECHAIN_KIT_COOKIES_CONFIG as Si, useGetAccountAddress as Sn, getCurrentAllocationsRoundIdQueryKey as So, isOnline as Sr, LoginWithGithubButton as Ss, SwapTokenContent as St, BaseModal as T, imageCompressionOptions as Ta, EnhancedClause as Tc, VECHAIN_PRIVY_APP_ID as Ti, useCurrentAccountImplementationVersion as Tn, TokenWithValue as To, safeWindowOpen as Tr, PasskeyLoginButton as Ts, SendTokenSummaryContent as Tt, SwitchFeedback as U, useSwitchWallet as Ua, ProfileModalProvider as Ui, useGenericDelegator as Un, useGetTextRecords as Uo, EconomicNodeStrengthLevelToName as Ur, PrivyWalletProvider as Us, UseSendTransactionReturnValue as Ut, AccountModal as V, useXAppMetadata as Va, useSettingsModal as Vi, getDepositAccount as Vn, getTextRecords as Vo, isRejectionError as Vr, VechainKitThemeProvider as Vs, buildERC20Clauses as Vt, RemoveWalletConfirmContent as W, StoredWallet as Wa, useProfileModal as Wi, useCrossAppConnectionCache as Wn, getAvatarQueryKey as Wo, MinXNodeLevel as Wr, PrivyWalletProviderContextType as Ws, useSendTransaction as Wt, SettingsContent as X, useRoundXApps as Xa, AccountCustomizationModalProvider as Xi, BuildClausesParams as Xn, useGetDomainsOfAddress as Xo, xNodeToGMstartingLevel as Xr, VeChainKitProvider as Xs, useGetChainId as Xt, TermsAndPrivacyContent as Y, getRoundXAppsQueryKey as Ya, useReceiveModal as Yi, useLocalStorage as Yn, getDomainsOfAddressQueryKey as Yo, gmNfts as Yr, VeChainKitContext as Ys, getChainIdQueryKey as Yt, SettingsContentProps as Z, useRefreshMetadata as Za, useAccountCustomizationModal as Zi, buildBatchAuthorizationTypedData as Zn, getIsDomainProtectedQueryKey as Zo, convertUriToUrl as Zr, VechainKitProviderProps as Zs, currentBlockQueryKey as Zt, ModalNotificationButton as _, useAccountModal as _a, TransactionSpeed as _c, PrivyEcosystemApp as _i, useHasV1SmartAccount as _n, getCustomTokenBalanceQueryKey as _o, getDocumentTitle as _r, SocialIcons as _s, ChooseNameSummaryContentProps as _t, useModal as a, useSwapTokenModal as aa, EstimatedGas as ac, leftPadWithZeros as ai, useUpgradeRequired as an, useGetVot3Balance as ao, useScrollToTop as ar, useVechainDomain as as, AssetsContent as at, AccountAvatar as b, useSwapQuotes as ba, CURRENCY as bc, TOKEN_LOGO_COMPONENTS as bi, getAccountAddress as bn, useGetB3trBalance as bo, hasNavigator as br, WalletDisplayVariant as bs, ChooseNameContent as bt, LegalDocumentsModal as c, ChooseNameModalProvider as ca, TransactionCost as cc, formatTokenBalance as ci, getSmartAccountQueryKey as cn, getTokenUsdPrice as co, useFeatureAnnouncement as cr, fetchPrivyAppInfo as cs, UpgradeSmartAccountContentProps as ct, UpgradeSmartAccountModalContentsTypes as d, useWalletModal as da, formatGasCost as dc, humanDomain as di, useRefreshFactoryQueries as dn, getErc20BalanceQueryKey as do, useCurrency as dr, AccountMainContent as ds, CustomizationSummaryContent as dt, NotificationsModalProvider as ea, LegalDocumentAgreement as ec, uploadBlobToIPFS as ei, getUpgradeRequiredForAccount as en, XApp as eo, GetEventsKeyParams as er, useClaimVetDomain as es, ChangeCurrencyContent as et, UpgradeSmartAccountModalStyle as f, TransactionToastProvider as fa, GasTokenEstimate as fc, humanNumber as fi, getIsDeployed as fn, useGetErc20Balance as fo, getCallClauseQueryKey as fr, TransactionToast as fs, CustomizationSummaryContentProps as ft, GasFeeSummary as g, AccountModalProvider as ga, GasTokenType as gc, ENV as gi, getHasV1SmartAccountQueryKey as gn, TokenWithBalance as go, copyToClipboard as gr, TransactionModalProps as gs, ChooseNameSummaryContent as gt, GasFeeTokenSelector as h, useTransactionModal as ha, GasTokenSelection as hc, DEFAULT_PRIVY_ECOSYSTEM_APPS as hi, getHasV1SmartAccount as hn, useGetCustomTokenInfo as ho, useMultipleClausesCall as hr, TransactionModal as hs, FAQContent as ht, ModalProvider as i, SwapTokenModalProvider as ia, DepositAccount as ic, isValidAddress as ii, getUpgradeRequiredQueryKey as in, getVot3BalanceQueryKey as io, useEvents as ir, getVechainDomainQueryKey as is, ManageCustomTokenContentProps as it, ModalBackButton as j, getIpfsImageQueryKey as ja, SmartAccount as jc, getAppHubAppsQueryKey as ji, useAccountBalance as jn, useUnsetDomain as jo, executeCallClause as jr, ConnectionButton as js, usePrivy$1 as jt, VersionFooter as k, MAX_IMAGE_SIZE as ka, PrivyAppInfo as kc, AppHubApp as ki, getAccountBalance as kn, WalletTokenBalance as ko, ViewFunctionResult as kr, VeChainLoginButton as ks, useDAppKitWalletModal as kt, LegalDocumentsModalContentsTypes as l, useChooseNameModal as la, VthoPerGasAtSpeed as lc, getPicassoImage as li, useSmartAccount as ln, getTokenUsdPriceQueryKey as lo, useCurrentCurrency as lr, getPrivyAppInfoQueryKey as ls, ProfileContent as lt, InlineFeedback as m, TransactionModalProvider as ma, GasTokenPreferences as mc, DEFAULT_GAS_TOKEN_PREFERENCES as mi, useIsSmartAccountDeployed as mn, getTokenInfo$1 as mo, useCallClause as mr, ShareButtons as ms, CustomizationContent as mt, getConfig as n, ExploreEcosystemModalProvider as na, LegalDocumentType as nc, compareAddresses as ni, useUpgradeRequiredForAccount as nn, getIsPersonQueryKey as no, decodeEventLog$1 as nr, getEnsRecordExistsQueryKey as ns, BridgeContent as nt, DAppKitWalletButton as o, SendTokenModalProvider as oa, EstimationResponse as oc, regexPattern as oi, SmartAccountReturnType as on, PRICE_FEED_IDS as oo, useIsPWA as or, fetchPrivyStatus as os, AssetsContentProps as ot, WalletSwitchFeedback as p, useTransactionToast as pa, GasTokenInfo as pc, isZero as pi, getIsDeployedQueryKey as pn, getCustomTokenInfoQueryKey as po, getCallClauseQueryKeyWithArgs as pr, TransactionModalContent as ps, AccountCustomizationContentProps as pt, DisconnectConfirmContent as q, UseWalletReturnType as qa, useLoginModalContent as qi, useSyncableLocalStorage as qn, DomainsResponse as qo, allNodeStrengthLevelToName as qr, LegalDocumentOptions as qs, getEventLogs as qt, AccountModalOptions as r, useExploreEcosystemModal as ra, CostLevel as rc, compareListOfAddresses as ri, getUpgradeRequired as rn, useIsPerson as ro, getEventsKey as rr, useEnsRecordExists as rs, ManageCustomTokenContent as rt, LegalDocumentItem as s, useSendTokenModal as sa, Rate as sc, randomTransactionUser as si, getSmartAccount as sn, SupportedToken as so, useGetNodeUrl as sr, useFetchPrivyStatus as ss, UpgradeSmartAccountContent as st, AppConfig as t, useNotificationsModal as ta, LegalDocumentSource as tc, validateIpfsUri as ti, getUpgradeRequiredForAccountQueryKey as tn, useMostVotedAppsInRound as to, UseEventsParams as tr, useClaimVeWorldSubdomain as ts, ChangeCurrencyContentProps as tt, UpgradeSmartAccountModal as u, WalletModalProvider as ua, calculateTotalCost as uc, humanAddress as ui, useRefreshSmartAccountQueries as un, useGetTokenUsdPrice as uo, useCurrentLanguage as ur, useFetchAppInfo as us, ProfileContentProps as ut, TransactionButtonAndStatus as v, ConnectModalProvider as va, ENS_TEXT_RECORDS as vc, SUPPORTED_GAS_TOKENS as vi, getAccountVersionQueryKey as vn, useGetCustomTokenBalances as vo, getLocalStorageItem as vr, WalletButton as vs, ChooseNameSearchContent as vt, AssetButton as w, compressImages as wa, ENSRecords as wc, VECHAIN_KIT_TERMS_CONFIG as wi, getCurrentAccountImplementationVersionQueryKey as wn, useTotalBalance as wo, safeQuerySelector as wr, DappKitButton as ws, SelectTokenContent as wt, ScrollToTopWrapper as x, useSwapTransaction as xa, CURRENCY_SYMBOLS as xc, TogglePassportCheck as xi, getAccountAddressQueryKey as xn, useCustomTokens as xo, isBrowser as xr, ConnectPopover as xs, ChooseNameContentProps as xt, TransactionButtonAndStatusProps as y, useConnectModal as ya, TextRecords as yc, TOKEN_LOGOS as yi, useGetAccountVersion as yn, getB3trBalanceQueryKey as yo, getWindowOrigin as yr, WalletButtonProps as ys, ChooseNameSearchContentProps as yt, ActionButton as z, XAppMetadata as za, useNotifications as zi, estimateAndBuildTxBody as zn, buildClauses as zo, removePrefix as zr, useLegalDocuments as zs, buildVETClauses as zt };
|
|
4273
|
+
//# sourceMappingURL=index-B_77CDYZ.d.mts.map
|