@vechain/vechain-kit 2.3.0 → 2.4.1
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-BYfc-9J5.d.mts} +4 -4
- package/dist/{index-Da5GOsB_.d.mts.map → index-BYfc-9J5.d.mts.map} +1 -1
- package/dist/{index-5_zBNaxA.d.cts → index-C6zk462M.d.cts} +232 -74
- package/dist/index-C6zk462M.d.cts.map +1 -0
- package/dist/{index-BlCAiOq5.d.mts → index-DQ-Jm6mW.d.mts} +278 -120
- package/dist/index-DQ-Jm6mW.d.mts.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.cjs +1 -1
- package/dist/utils/index.d.cts +3 -3
- package/dist/utils/index.d.mts +3 -3
- package/dist/utils/index.mjs +1 -1
- package/dist/{utils-DAs6kMGs.mjs → utils-CNYVq6tT.mjs} +2 -2
- package/dist/{utils-DAs6kMGs.mjs.map → utils-CNYVq6tT.mjs.map} +1 -1
- package/dist/{utils-Bl-JeVTg.cjs → utils-DcAJej3n.cjs} +2 -2
- package/dist/{utils-Bl-JeVTg.cjs.map → utils-DcAJej3n.cjs.map} +1 -1
- package/package.json +3 -3
- package/dist/index-5_zBNaxA.d.cts.map +0 -1
- package/dist/index-BlCAiOq5.d.mts.map +0 -1
|
@@ -4,10 +4,10 @@ import React$1, { ElementType, ReactElement, ReactNode } from "react";
|
|
|
4
4
|
import * as react_jsx_runtime3 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_query7 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";
|
|
@@ -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
|
|
@@ -676,7 +676,7 @@ declare const PrivyWalletProvider: ({
|
|
|
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;
|
|
@@ -695,10 +695,10 @@ declare const VechainKitThemeProvider: ({
|
|
|
695
695
|
children,
|
|
696
696
|
darkMode,
|
|
697
697
|
theme: customTheme
|
|
698
|
-
}: Props$
|
|
698
|
+
}: Props$35) => react_jsx_runtime3.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_runtime3.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_runtime3.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_runtime3.JSX.Element;
|
|
758
763
|
//#endregion
|
|
759
764
|
//#region src/components/ConnectModal/Contents/LoadingContent.d.ts
|
|
760
765
|
type LoadingContentProps = {
|
|
@@ -789,7 +794,7 @@ declare const ErrorContent: ({
|
|
|
789
794
|
}: ErrorContentProps) => react_jsx_runtime3.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_runtime3.JSX.Element;
|
|
806
811
|
//#endregion
|
|
807
812
|
//#region src/components/ConnectModal/Components/ConnectionButton.d.ts
|
|
808
813
|
interface ConnectionButtonProps {
|
|
@@ -831,7 +836,7 @@ declare const ConnectionButton: ({
|
|
|
831
836
|
declare const EmailLoginButton: () => react_jsx_runtime3.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_runtime3.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_runtime3.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_runtime3.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_runtime3.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_runtime3.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_runtime3.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_runtime3.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_runtime3.JSX.Element;
|
|
922
927
|
//#endregion
|
|
923
928
|
//#region src/components/ConnectModal/ConnectPopover.d.ts
|
|
924
929
|
type ConnectPopoverProps = {
|
|
@@ -939,12 +944,14 @@ 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
|
|
953
|
+
connectionVariant,
|
|
954
|
+
label
|
|
948
955
|
}: WalletButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
949
956
|
//#endregion
|
|
950
957
|
//#region src/components/WalletButton/SocialIcons.d.ts
|
|
@@ -981,14 +988,14 @@ declare const TransactionModal: ({
|
|
|
981
988
|
}: TransactionModalProps) => react_jsx_runtime3.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_runtime3.JSX.Element;
|
|
992
999
|
//#endregion
|
|
993
1000
|
//#region src/components/TransactionModal/TransactionModalContent.d.ts
|
|
994
1001
|
declare const TransactionModalContent: ({
|
|
@@ -1021,21 +1028,25 @@ declare const TransactionToast: ({
|
|
|
1021
1028
|
}: TransactionToastProps) => react_jsx_runtime3.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_runtime3.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.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_query7.UseQueryResult<_tanstack_react_query7.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_query7.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_query7.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_query7.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>;
|
|
@@ -1892,7 +1934,7 @@ declare const TransactionToastProvider: ({
|
|
|
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
|
};
|
|
@@ -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_runtime3.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_query7.UseQueryResult<AppHubApp[], Error>;
|
|
2179
2233
|
//#endregion
|
|
2180
2234
|
//#region src/utils/constants.d.ts
|
|
2181
2235
|
declare const TOKEN_LOGOS: Record<string, string>;
|
|
@@ -2356,6 +2410,12 @@ declare const TIME: {
|
|
|
2356
2410
|
* @returns boolean indicating if the message contains rejection terms
|
|
2357
2411
|
*/
|
|
2358
2412
|
declare const isRejectionError: (errorMessage: string) => boolean;
|
|
2413
|
+
/**
|
|
2414
|
+
* Generates a simple hash from a string using a 32-bit hash algorithm
|
|
2415
|
+
* @param input The string to hash
|
|
2416
|
+
* @returns A base-36 string representation of the hash
|
|
2417
|
+
*/
|
|
2418
|
+
declare const simpleHash: (input: string) => string;
|
|
2359
2419
|
//#endregion
|
|
2360
2420
|
//#region src/utils/hexUtils.d.ts
|
|
2361
2421
|
/**
|
|
@@ -2522,7 +2582,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2522
2582
|
method: TMethod;
|
|
2523
2583
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2524
2584
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2525
|
-
}) =>
|
|
2585
|
+
}) => _tanstack_react_query7.UseQueryResult<_tanstack_react_query7.NoInfer<TData>, unknown>;
|
|
2526
2586
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2527
2587
|
thor,
|
|
2528
2588
|
calls,
|
|
@@ -2533,7 +2593,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2533
2593
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2534
2594
|
queryKey: string[];
|
|
2535
2595
|
enabled?: boolean;
|
|
2536
|
-
}) =>
|
|
2596
|
+
}) => _tanstack_react_query7.UseQueryResult<_tanstack_react_query7.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2537
2597
|
//#endregion
|
|
2538
2598
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2539
2599
|
/**
|
|
@@ -2657,7 +2717,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2657
2717
|
filterParams,
|
|
2658
2718
|
mapResponse,
|
|
2659
2719
|
nodeUrl
|
|
2660
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
2720
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query7.UseQueryResult<R[], Error>;
|
|
2661
2721
|
//#endregion
|
|
2662
2722
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2663
2723
|
interface BuildClausesParams {
|
|
@@ -2808,7 +2868,7 @@ declare const useGenericDelegatorFeeEstimation: ({
|
|
|
2808
2868
|
tokens,
|
|
2809
2869
|
sendingAmount,
|
|
2810
2870
|
sendingTokenSymbol
|
|
2811
|
-
}: useGenericDelegatorFeeEstimationParams) =>
|
|
2871
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query7.UseQueryResult<EstimationResponse & {
|
|
2812
2872
|
usedToken: string;
|
|
2813
2873
|
}, Error>;
|
|
2814
2874
|
//#endregion
|
|
@@ -2822,7 +2882,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2822
2882
|
clauses,
|
|
2823
2883
|
tokens,
|
|
2824
2884
|
enabled
|
|
2825
|
-
}: UseEstimateAllTokensParams) =>
|
|
2885
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query7.UseQueryResult<Record<GasTokenType, {
|
|
2826
2886
|
cost: number;
|
|
2827
2887
|
loading: boolean;
|
|
2828
2888
|
error?: string;
|
|
@@ -2839,7 +2899,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2839
2899
|
* @param address The address of the account to get the balance for
|
|
2840
2900
|
* @returns The account balance
|
|
2841
2901
|
*/
|
|
2842
|
-
declare const useAccountBalance: (address?: string) =>
|
|
2902
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query7.UseQueryResult<{
|
|
2843
2903
|
balance: string;
|
|
2844
2904
|
energy: string;
|
|
2845
2905
|
}, Error>;
|
|
@@ -2852,7 +2912,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2852
2912
|
* @param version - The version of the smart account implementation
|
|
2853
2913
|
* @returns The address of the smart account implementation
|
|
2854
2914
|
*/
|
|
2855
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
2915
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query7.UseQueryResult<string, Error>;
|
|
2856
2916
|
//#endregion
|
|
2857
2917
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
2858
2918
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2861,7 +2921,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
2861
2921
|
* Get the current account implementation version used by the smart account factory
|
|
2862
2922
|
* @returns The current account implementation version
|
|
2863
2923
|
*/
|
|
2864
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
2924
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query7.UseQueryResult<number, Error>;
|
|
2865
2925
|
//#endregion
|
|
2866
2926
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
2867
2927
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -2871,7 +2931,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
2871
2931
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2872
2932
|
* @returns The address of the smart account
|
|
2873
2933
|
*/
|
|
2874
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
2934
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query7.UseQueryResult<string, Error>;
|
|
2875
2935
|
//#endregion
|
|
2876
2936
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
2877
2937
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => unknown[];
|
|
@@ -2881,7 +2941,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2881
2941
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2882
2942
|
* @returns The version of the smart account
|
|
2883
2943
|
*/
|
|
2884
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
2944
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query7.UseQueryResult<{
|
|
2885
2945
|
version: number;
|
|
2886
2946
|
isDeployed: boolean;
|
|
2887
2947
|
}, unknown>;
|
|
@@ -2894,7 +2954,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
2894
2954
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2895
2955
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
2896
2956
|
*/
|
|
2897
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
2957
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query7.UseQueryResult<boolean, Error>;
|
|
2898
2958
|
//#endregion
|
|
2899
2959
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
2900
2960
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -2903,7 +2963,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
2903
2963
|
* Check if a smart account is deployed
|
|
2904
2964
|
* @returns True if the smart account is deployed, false otherwise
|
|
2905
2965
|
*/
|
|
2906
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
2966
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query7.UseQueryResult<boolean, Error>;
|
|
2907
2967
|
//#endregion
|
|
2908
2968
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
2909
2969
|
/**
|
|
@@ -2936,7 +2996,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
2936
2996
|
isDeployed: boolean;
|
|
2937
2997
|
}>;
|
|
2938
2998
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
2939
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
2999
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query7.UseQueryResult<{
|
|
2940
3000
|
address: undefined;
|
|
2941
3001
|
isDeployed?: undefined;
|
|
2942
3002
|
} | {
|
|
@@ -2954,7 +3014,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2954
3014
|
* @param targetVersion - The version of the smart account to check for
|
|
2955
3015
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2956
3016
|
*/
|
|
2957
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
3017
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query7.UseQueryResult<boolean, Error>;
|
|
2958
3018
|
//#endregion
|
|
2959
3019
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
2960
3020
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -2965,7 +3025,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
2965
3025
|
* @param targetVersion - The target version of the smart account
|
|
2966
3026
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2967
3027
|
*/
|
|
2968
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
3028
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query7.UseQueryResult<boolean, Error>;
|
|
2969
3029
|
//#endregion
|
|
2970
3030
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
2971
3031
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -2990,7 +3050,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
2990
3050
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
2991
3051
|
* @returns the current block
|
|
2992
3052
|
*/
|
|
2993
|
-
declare const useCurrentBlock: () =>
|
|
3053
|
+
declare const useCurrentBlock: () => _tanstack_react_query7.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
2994
3054
|
//#endregion
|
|
2995
3055
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
2996
3056
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -2999,7 +3059,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
2999
3059
|
* Get the chain id
|
|
3000
3060
|
* @returns The chain id
|
|
3001
3061
|
*/
|
|
3002
|
-
declare const useGetChainId: () =>
|
|
3062
|
+
declare const useGetChainId: () => _tanstack_react_query7.UseQueryResult<string, Error>;
|
|
3003
3063
|
//#endregion
|
|
3004
3064
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
3005
3065
|
/**
|
|
@@ -3251,7 +3311,13 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3251
3311
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3252
3312
|
* @returns Query result containing the transaction receipt
|
|
3253
3313
|
*/
|
|
3254
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3314
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query7.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3315
|
+
//#endregion
|
|
3316
|
+
//#region src/hooks/thor/transactions/useGasEstimate.d.ts
|
|
3317
|
+
declare const useGasEstimate: (thor: ThorClient, clauses: TransactionClause[], caller: string, options?: {
|
|
3318
|
+
revision?: Revision;
|
|
3319
|
+
gasPadding?: number;
|
|
3320
|
+
}) => Promise<number>;
|
|
3255
3321
|
//#endregion
|
|
3256
3322
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
|
|
3257
3323
|
type SendTokenContentProps = {
|
|
@@ -3290,7 +3356,7 @@ declare const SendTokenSummaryContent: ({
|
|
|
3290
3356
|
}: SendTokenSummaryContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3291
3357
|
//#endregion
|
|
3292
3358
|
//#region src/components/AccountModal/Contents/SendToken/SelectTokenContent.d.ts
|
|
3293
|
-
type Props$
|
|
3359
|
+
type Props$18 = {
|
|
3294
3360
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3295
3361
|
onSelectToken: (token: TokenWithValue) => void;
|
|
3296
3362
|
onBack: () => void;
|
|
@@ -3303,18 +3369,18 @@ declare const SelectTokenContent: ({
|
|
|
3303
3369
|
onSelectToken,
|
|
3304
3370
|
onBack,
|
|
3305
3371
|
showAllTokens
|
|
3306
|
-
}: Props$
|
|
3372
|
+
}: Props$18) => react_jsx_runtime3.JSX.Element;
|
|
3307
3373
|
//#endregion
|
|
3308
3374
|
//#region src/components/AccountModal/Contents/Receive/ReceiveTokenContent.d.ts
|
|
3309
|
-
type Props$
|
|
3375
|
+
type Props$17 = {
|
|
3310
3376
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3311
3377
|
};
|
|
3312
3378
|
declare const ReceiveTokenContent: ({
|
|
3313
3379
|
setCurrentContent
|
|
3314
|
-
}: Props$
|
|
3380
|
+
}: Props$17) => react_jsx_runtime3.JSX.Element;
|
|
3315
3381
|
//#endregion
|
|
3316
3382
|
//#region src/components/AccountModal/Contents/Swap/SwapTokenContent.d.ts
|
|
3317
|
-
type Props$
|
|
3383
|
+
type Props$16 = {
|
|
3318
3384
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
3319
3385
|
fromTokenAddress?: string;
|
|
3320
3386
|
toTokenAddress?: string;
|
|
@@ -3323,7 +3389,7 @@ declare const SwapTokenContent: ({
|
|
|
3323
3389
|
setCurrentContent,
|
|
3324
3390
|
fromTokenAddress,
|
|
3325
3391
|
toTokenAddress
|
|
3326
|
-
}: Props$
|
|
3392
|
+
}: Props$16) => react_jsx_runtime3.JSX.Element;
|
|
3327
3393
|
//#endregion
|
|
3328
3394
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameContent.d.ts
|
|
3329
3395
|
type ChooseNameContentProps = {
|
|
@@ -3410,10 +3476,14 @@ declare const CustomizationSummaryContent: ({
|
|
|
3410
3476
|
type ProfileContentProps = {
|
|
3411
3477
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3412
3478
|
onLogoutSuccess: () => void;
|
|
3479
|
+
switchFeedback?: {
|
|
3480
|
+
showFeedback: boolean;
|
|
3481
|
+
};
|
|
3413
3482
|
};
|
|
3414
3483
|
declare const ProfileContent: ({
|
|
3415
3484
|
setCurrentContent,
|
|
3416
|
-
onLogoutSuccess
|
|
3485
|
+
onLogoutSuccess,
|
|
3486
|
+
switchFeedback
|
|
3417
3487
|
}: ProfileContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3418
3488
|
//#endregion
|
|
3419
3489
|
//#region src/components/AccountModal/Contents/UpgradeSmartAccount/UpgradeSmartAccountContent.d.ts
|
|
@@ -3445,12 +3515,12 @@ declare const ManageCustomTokenContent: ({
|
|
|
3445
3515
|
}: ManageCustomTokenContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3446
3516
|
//#endregion
|
|
3447
3517
|
//#region src/components/AccountModal/Contents/Bridge/BridgeContent.d.ts
|
|
3448
|
-
type Props$
|
|
3518
|
+
type Props$15 = {
|
|
3449
3519
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3450
3520
|
};
|
|
3451
3521
|
declare const BridgeContent: ({
|
|
3452
3522
|
setCurrentContent
|
|
3453
|
-
}: Props$
|
|
3523
|
+
}: Props$15) => react_jsx_runtime3.JSX.Element;
|
|
3454
3524
|
//#endregion
|
|
3455
3525
|
//#region src/components/AccountModal/Contents/KitSettings/ChangeCurrencyContent.d.ts
|
|
3456
3526
|
type ChangeCurrencyContentProps = {
|
|
@@ -3461,20 +3531,20 @@ declare const ChangeCurrencyContent: ({
|
|
|
3461
3531
|
}: ChangeCurrencyContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3462
3532
|
//#endregion
|
|
3463
3533
|
//#region src/components/AccountModal/Contents/KitSettings/LanguageSettingsContent.d.ts
|
|
3464
|
-
type Props$
|
|
3534
|
+
type Props$14 = {
|
|
3465
3535
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3466
3536
|
};
|
|
3467
3537
|
declare const LanguageSettingsContent: ({
|
|
3468
3538
|
setCurrentContent
|
|
3469
|
-
}: Props$
|
|
3539
|
+
}: Props$14) => react_jsx_runtime3.JSX.Element;
|
|
3470
3540
|
//#endregion
|
|
3471
3541
|
//#region src/components/AccountModal/Contents/KitSettings/GasTokenSettingsContent.d.ts
|
|
3472
|
-
type Props$
|
|
3542
|
+
type Props$13 = {
|
|
3473
3543
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3474
3544
|
};
|
|
3475
3545
|
declare const GasTokenSettingsContent: ({
|
|
3476
3546
|
setCurrentContent
|
|
3477
|
-
}: Props$
|
|
3547
|
+
}: Props$13) => react_jsx_runtime3.JSX.Element;
|
|
3478
3548
|
//#endregion
|
|
3479
3549
|
//#region src/components/AccountModal/Contents/KitSettings/SettingsContent.d.ts
|
|
3480
3550
|
type SettingsContentProps = {
|
|
@@ -3510,6 +3580,35 @@ declare const DisconnectConfirmContent: ({
|
|
|
3510
3580
|
text
|
|
3511
3581
|
}: DisconnectConfirmContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3512
3582
|
//#endregion
|
|
3583
|
+
//#region src/components/AccountModal/Contents/SelectWallet/SelectWalletContent.d.ts
|
|
3584
|
+
type Props$12 = {
|
|
3585
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3586
|
+
onClose: () => void;
|
|
3587
|
+
returnTo?: 'main' | 'profile';
|
|
3588
|
+
onLogoutSuccess?: () => void;
|
|
3589
|
+
};
|
|
3590
|
+
declare const SelectWalletContent: ({
|
|
3591
|
+
setCurrentContent,
|
|
3592
|
+
returnTo,
|
|
3593
|
+
onLogoutSuccess: _onLogoutSuccess
|
|
3594
|
+
}: Props$12) => react_jsx_runtime3.JSX.Element;
|
|
3595
|
+
//#endregion
|
|
3596
|
+
//#region src/components/AccountModal/Contents/SelectWallet/RemoveWalletConfirmContent.d.ts
|
|
3597
|
+
type RemoveWalletConfirmContentProps = {
|
|
3598
|
+
walletAddress: string;
|
|
3599
|
+
walletDomain: string | null;
|
|
3600
|
+
onConfirm: () => void;
|
|
3601
|
+
onBack: () => void;
|
|
3602
|
+
onClose?: () => void;
|
|
3603
|
+
};
|
|
3604
|
+
declare const RemoveWalletConfirmContent: ({
|
|
3605
|
+
walletAddress,
|
|
3606
|
+
walletDomain: _walletDomain,
|
|
3607
|
+
onConfirm,
|
|
3608
|
+
onBack,
|
|
3609
|
+
onClose
|
|
3610
|
+
}: RemoveWalletConfirmContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3611
|
+
//#endregion
|
|
3513
3612
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryFilterSection.d.ts
|
|
3514
3613
|
type CategoryFilter = string | null;
|
|
3515
3614
|
//#endregion
|
|
@@ -3545,7 +3644,28 @@ type FailedOperationContentProps = {
|
|
|
3545
3644
|
};
|
|
3546
3645
|
//#endregion
|
|
3547
3646
|
//#region src/components/AccountModal/Types/Types.d.ts
|
|
3548
|
-
type
|
|
3647
|
+
type SwitchFeedback = {
|
|
3648
|
+
showFeedback: boolean;
|
|
3649
|
+
};
|
|
3650
|
+
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
3651
|
+
type: 'main';
|
|
3652
|
+
props?: {
|
|
3653
|
+
switchFeedback?: SwitchFeedback;
|
|
3654
|
+
};
|
|
3655
|
+
} | {
|
|
3656
|
+
type: 'profile';
|
|
3657
|
+
props?: {
|
|
3658
|
+
switchFeedback?: SwitchFeedback;
|
|
3659
|
+
};
|
|
3660
|
+
} | 'manage-mfa' | 'receive-token' | 'swap-token' | 'connection-details' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | 'add-custom-token' | 'assets' | 'change-currency' | 'change-language' | 'gas-token-settings' | {
|
|
3661
|
+
type: 'select-wallet';
|
|
3662
|
+
props: {
|
|
3663
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3664
|
+
onClose: () => void;
|
|
3665
|
+
returnTo?: 'main' | 'profile';
|
|
3666
|
+
onLogoutSuccess?: () => void;
|
|
3667
|
+
};
|
|
3668
|
+
} | {
|
|
3549
3669
|
type: 'swap-token';
|
|
3550
3670
|
props: {
|
|
3551
3671
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3591,6 +3711,9 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' |
|
|
|
3591
3711
|
} | {
|
|
3592
3712
|
type: 'disconnect-confirm';
|
|
3593
3713
|
props: DisconnectConfirmContentProps;
|
|
3714
|
+
} | {
|
|
3715
|
+
type: 'remove-wallet-confirm';
|
|
3716
|
+
props: RemoveWalletConfirmContentProps;
|
|
3594
3717
|
} | {
|
|
3595
3718
|
type: 'upgrade-smart-account';
|
|
3596
3719
|
props: UpgradeSmartAccountContentProps;
|
|
@@ -3603,7 +3726,7 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' |
|
|
|
3603
3726
|
};
|
|
3604
3727
|
//#endregion
|
|
3605
3728
|
//#region src/components/AccountModal/AccountModal.d.ts
|
|
3606
|
-
type Props$
|
|
3729
|
+
type Props$11 = {
|
|
3607
3730
|
isOpen: boolean;
|
|
3608
3731
|
onClose: () => void;
|
|
3609
3732
|
initialContent?: AccountModalContentTypes;
|
|
@@ -3612,7 +3735,7 @@ declare const AccountModal: ({
|
|
|
3612
3735
|
isOpen,
|
|
3613
3736
|
onClose,
|
|
3614
3737
|
initialContent
|
|
3615
|
-
}: Props$
|
|
3738
|
+
}: Props$11) => react_jsx_runtime3.JSX.Element;
|
|
3616
3739
|
//#endregion
|
|
3617
3740
|
//#region src/components/AccountModal/Components/AccountDetailsButton.d.ts
|
|
3618
3741
|
interface AccountDetailsButtonProps {
|
|
@@ -3679,7 +3802,7 @@ declare const ActionButton: ({
|
|
|
3679
3802
|
}: ActionButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3680
3803
|
//#endregion
|
|
3681
3804
|
//#region src/components/AccountModal/Components/AccountSelector.d.ts
|
|
3682
|
-
type Props$
|
|
3805
|
+
type Props$10 = {
|
|
3683
3806
|
wallet: Wallet;
|
|
3684
3807
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3685
3808
|
size?: string;
|
|
@@ -3696,7 +3819,7 @@ declare const AccountSelector: ({
|
|
|
3696
3819
|
onClose,
|
|
3697
3820
|
mt,
|
|
3698
3821
|
style
|
|
3699
|
-
}: Props$
|
|
3822
|
+
}: Props$10) => react_jsx_runtime3.JSX.Element;
|
|
3700
3823
|
//#endregion
|
|
3701
3824
|
//#region src/components/AccountModal/Components/BalanceSection.d.ts
|
|
3702
3825
|
declare const BalanceSection: ({
|
|
@@ -3710,14 +3833,14 @@ declare const BalanceSection: ({
|
|
|
3710
3833
|
}) => react_jsx_runtime3.JSX.Element;
|
|
3711
3834
|
//#endregion
|
|
3712
3835
|
//#region src/components/AccountModal/Components/QuickActionsSection.d.ts
|
|
3713
|
-
type Props$
|
|
3836
|
+
type Props$9 = {
|
|
3714
3837
|
mt?: number;
|
|
3715
3838
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3716
3839
|
};
|
|
3717
3840
|
declare const QuickActionsSection: ({
|
|
3718
3841
|
mt,
|
|
3719
3842
|
setCurrentContent
|
|
3720
|
-
}: Props$
|
|
3843
|
+
}: Props$9) => react_jsx_runtime3.JSX.Element;
|
|
3721
3844
|
//#endregion
|
|
3722
3845
|
//#region src/components/AccountModal/Components/Alerts/FeatureAnnouncementCard.d.ts
|
|
3723
3846
|
type FeatureAnnouncementCardProps = {
|
|
@@ -3725,7 +3848,7 @@ type FeatureAnnouncementCardProps = {
|
|
|
3725
3848
|
};
|
|
3726
3849
|
declare const FeatureAnnouncementCard: ({
|
|
3727
3850
|
setCurrentContent
|
|
3728
|
-
}: FeatureAnnouncementCardProps) => react_jsx_runtime3.JSX.Element
|
|
3851
|
+
}: FeatureAnnouncementCardProps) => react_jsx_runtime3.JSX.Element;
|
|
3729
3852
|
//#endregion
|
|
3730
3853
|
//#region src/components/AccountModal/Components/Alerts/ExchangeWarningAlert.d.ts
|
|
3731
3854
|
declare const ExchangeWarningAlert: () => react_jsx_runtime3.JSX.Element;
|
|
@@ -3746,27 +3869,31 @@ declare const ModalBackButton: ({
|
|
|
3746
3869
|
}: BackButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3747
3870
|
//#endregion
|
|
3748
3871
|
//#region src/components/common/AddressDisplay.d.ts
|
|
3749
|
-
type Props$
|
|
3872
|
+
type Props$8 = {
|
|
3750
3873
|
wallet: Wallet;
|
|
3751
3874
|
label?: string;
|
|
3752
3875
|
style?: PropsOf<typeof VStack>;
|
|
3753
3876
|
showHumanAddress?: boolean;
|
|
3877
|
+
setCurrentContent?: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3878
|
+
onLogout?: () => void;
|
|
3754
3879
|
};
|
|
3755
3880
|
declare const AddressDisplay: ({
|
|
3756
3881
|
wallet,
|
|
3757
3882
|
label,
|
|
3758
3883
|
style,
|
|
3759
|
-
showHumanAddress
|
|
3760
|
-
|
|
3884
|
+
showHumanAddress,
|
|
3885
|
+
setCurrentContent,
|
|
3886
|
+
onLogout
|
|
3887
|
+
}: Props$8) => react_jsx_runtime3.JSX.Element;
|
|
3761
3888
|
//#endregion
|
|
3762
3889
|
//#region src/components/common/VersionFooter.d.ts
|
|
3763
|
-
type Props$
|
|
3890
|
+
type Props$7 = {} & Omit<StackProps, 'dangerouslySetInnerHTML'>;
|
|
3764
3891
|
declare const VersionFooter: ({
|
|
3765
3892
|
...props
|
|
3766
|
-
}: Props$
|
|
3893
|
+
}: Props$7) => react_jsx_runtime3.JSX.Element;
|
|
3767
3894
|
//#endregion
|
|
3768
3895
|
//#region src/components/common/StickyHeaderContainer.d.ts
|
|
3769
|
-
type Props$
|
|
3896
|
+
type Props$6 = {
|
|
3770
3897
|
children: React.ReactNode;
|
|
3771
3898
|
};
|
|
3772
3899
|
declare const useStickyHeaderContext: () => {
|
|
@@ -3774,15 +3901,15 @@ declare const useStickyHeaderContext: () => {
|
|
|
3774
3901
|
};
|
|
3775
3902
|
declare const StickyHeaderContainer: ({
|
|
3776
3903
|
children
|
|
3777
|
-
}: Props$
|
|
3904
|
+
}: Props$6) => react_jsx_runtime3.JSX.Element;
|
|
3778
3905
|
//#endregion
|
|
3779
3906
|
//#region src/components/common/StickyFooterContainer.d.ts
|
|
3780
|
-
type Props$
|
|
3907
|
+
type Props$5 = {
|
|
3781
3908
|
children: React.ReactNode;
|
|
3782
3909
|
};
|
|
3783
3910
|
declare const StickyFooterContainer: ({
|
|
3784
3911
|
children
|
|
3785
|
-
}: Props$
|
|
3912
|
+
}: Props$5) => react_jsx_runtime3.JSX.Element;
|
|
3786
3913
|
//#endregion
|
|
3787
3914
|
//#region src/components/common/BaseModal.d.ts
|
|
3788
3915
|
type BaseModalProps = {
|
|
@@ -3986,6 +4113,35 @@ declare const GasFeeTokenSelector: ({
|
|
|
3986
4113
|
walletAddress
|
|
3987
4114
|
}: GasFeeTokenSelectorProps) => react_jsx_runtime3.JSX.Element;
|
|
3988
4115
|
//#endregion
|
|
4116
|
+
//#region src/components/common/InlineFeedback.d.ts
|
|
4117
|
+
type Props$4 = {
|
|
4118
|
+
message: string;
|
|
4119
|
+
duration?: number;
|
|
4120
|
+
onClose?: () => void;
|
|
4121
|
+
};
|
|
4122
|
+
declare const InlineFeedback: ({
|
|
4123
|
+
message,
|
|
4124
|
+
duration,
|
|
4125
|
+
onClose
|
|
4126
|
+
}: Props$4) => react_jsx_runtime3.JSX.Element;
|
|
4127
|
+
//#endregion
|
|
4128
|
+
//#region src/components/common/WalletSwitchFeedback.d.ts
|
|
4129
|
+
type Props$3 = {
|
|
4130
|
+
/**
|
|
4131
|
+
* Show feedback flag passed via content props (desktop)
|
|
4132
|
+
* If true, shows the feedback message
|
|
4133
|
+
*/
|
|
4134
|
+
showFeedback?: boolean;
|
|
4135
|
+
};
|
|
4136
|
+
/**
|
|
4137
|
+
* Component that displays inline feedback when a wallet switch occurs.
|
|
4138
|
+
* Handles both desktop (via props) and VeWorld in-app browser (via address change detection).
|
|
4139
|
+
* Simply add this component where you want the feedback to appear.
|
|
4140
|
+
*/
|
|
4141
|
+
declare const WalletSwitchFeedback: ({
|
|
4142
|
+
showFeedback
|
|
4143
|
+
}: Props$3) => react_jsx_runtime3.JSX.Element | null;
|
|
4144
|
+
//#endregion
|
|
3989
4145
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
3990
4146
|
type SuccessfulOperationContentProps = {
|
|
3991
4147
|
setCurrentContent: React.Dispatch<React.SetStateAction<UpgradeSmartAccountModalContentsTypes>>;
|
|
@@ -4048,11 +4204,13 @@ type AccountModalOptions = {
|
|
|
4048
4204
|
isolatedView?: boolean;
|
|
4049
4205
|
};
|
|
4050
4206
|
type ModalContextType = {
|
|
4051
|
-
openConnectModal: (initialContent?: ConnectModalContentsTypes) => void;
|
|
4207
|
+
openConnectModal: (initialContent?: ConnectModalContentsTypes, preventAutoClose?: boolean) => void;
|
|
4052
4208
|
closeConnectModal: () => void;
|
|
4053
4209
|
isConnectModalOpen: boolean;
|
|
4054
4210
|
connectModalContent: ConnectModalContentsTypes;
|
|
4055
4211
|
setConnectModalContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
4212
|
+
connectModalPreventAutoClose: boolean;
|
|
4213
|
+
setConnectModalPreventAutoClose: React.Dispatch<React.SetStateAction<boolean>>;
|
|
4056
4214
|
openAccountModal: (content?: AccountModalContentTypes, options?: AccountModalOptions) => void;
|
|
4057
4215
|
closeAccountModal: () => void;
|
|
4058
4216
|
isAccountModalOpen: boolean;
|
|
@@ -4119,5 +4277,5 @@ type AppConfig = {
|
|
|
4119
4277
|
};
|
|
4120
4278
|
declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
|
|
4121
4279
|
//#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-
|
|
4280
|
+
export { LanguageSettingsContent as $, useRefreshBalances as $a, FAQModalProvider as $i, useBuildClauses as $n, useIsDomainProtected as $o, resolveMediaTypeFromMimeType as $r, useVeChainKitConfig as $s, useUpgradeSmartAccount as $t, AddressDisplay as A, MAX_IMAGE_SIZE as Aa, PrivyAppInfo as Ac, AppHubApp as Ai, getAccountBalanceQueryKey as An, WalletTokenBalance as Ao, buildCallClauses as Ar, VeChainLoginButton as As, useMfaEnrollment as At, AccountDetailsButton as B, XAppMetadata as Ba, useNotifications as Bi, estimateGas as Bn, buildClauses as Bo, validate as Br, useLegalDocuments as Bs, useTransferVET as Bt, AddressDisplayCard as C, useSingleImageUpload as Ca, ConnectionSource as Cc, VECHAIN_KIT_COOKIES_CONFIG as Ci, getCurrentAccountImplementationVersion as Cn, getCurrentAllocationsRoundIdQueryKey as Co, removeLocalStorageItem as Cr, LoginWithGithubButton as Cs, ReceiveTokenContent as Ct, StickyHeaderContainer as D, useUploadImages as Da, ExecuteBatchWithAuthorizationSignData as Dc, getENV as Di, getAccountImplementationAddressQueryKey as Dn, useTokensWithValues as Do, MultipleClausesCallParameters as Dr, LoginWithGoogleButton as Ds, ThorClient$1 as Dt, StickyFooterContainer as E, imageCompressionOptions as Ea, EnhancedClause as Ec, VECHAIN_PRIVY_APP_ID as Ei, getAccountImplementationAddress as En, TokenWithValue as Eo, setLocalStorageItem as Er, PasskeyLoginButton as Es, SendTokenContent as Et, FeatureAnnouncementCard as F, getIpfsMetadata as Fa, TransactionStatusErrorType as Fc, useLoginWithOAuth$1 as Fi, useGenericDelegatorFeeEstimationParams as Fn, useGetAvatarLegacy as Fo, compare as Fr, LoadingContent as Fs, txReceiptQueryKey as Ft, RemoveWalletConfirmContentProps as G, StoredWallet as Ga, useProfileModal as Gi, EcosystemShortcut as Gn, getAvatarQueryKey as Go, MinXNodeLevel as Gr, PrivyWalletProviderContextType as Gs, GetEventsProps as Gt, AccountModalContentTypes as H, useXAppMetadata as Ha, useSettingsModal as Hi, signVip191Transaction as Hn, getTextRecords as Ho, simpleHash as Hr, VechainKitThemeProvider as Hs, useTransferERC20 as Ht, QuickActionsSection as I, getIpfsMetadataQueryKey as Ia, VePassportUserStatus as Ic, useLoginWithPasskey$1 as Ii, useGasTokenSelection as In, getAvatarOfAddressQueryKey as Io, isInvalid as Ir, MainContent as Is, useTxReceipt as It, DisconnectConfirmContentProps as J, UseWalletReturnType as Ja, useLoginModalContent as Ji, LocalStorageKey as Jn, DomainsResponse as Jo, allNodeStrengthLevelToName as Jr, LegalDocumentOptions as Js, getChainId as Jt, SelectWalletContent as K, useWalletStorage as Ka, UpgradeSmartAccountModalProvider as Ki, useEcosystemShortcuts as Kn, useGetAvatar as Ko, NodeStrengthLevelToImage as Kr, usePrivyWalletProvider as Ks, getAllEventLogs as Kt, BalanceSection as L, useIpfsMetadata as La, Wallet as Lc, useSignTypedData as Li, decodeRawTx as Ln, useGetAvatarOfAddress as Lo, isValid as Lr, ConnectModal as Ls, BuildTransactionProps as Lt, CrossAppConnectionSecurityCard as M, getIpfsImageQueryKey as Ma, SmartAccount as Mc, getAppHubAppsQueryKey as Mi, UseEstimateAllTokensParams as Mn, useUnsetDomain as Mo, executeMultipleClausesCall as Mr, ConnectionButton as Ms, useSetWalletRecovery as Mt, DomainRequiredAlert as N, useIpfsImage as Na, TokenBalance as Nc, useAppHubApps as Ni, useEstimateAllTokens as Nn, getAvatarLegacy as No, isValidUrl as Nr, EcosystemContent as Ns, useThor$1 as Nt, useStickyHeaderContext as O, useIpfsMetadatas as Oa, ExecuteWithAuthorizationSignData as Oc, getGenericDelegatorUrl as Oi, useAccountImplementationAddress as On, ExchangeRates as Oo, MultipleClausesCallReturnType as Or, PrivyButton as Os, useDAppKitWallet as Ot, ExchangeWarningAlert as P, useIpfsImageList as Pa, TransactionStatus as Pc, useLoginWithVeChain as Pi, useGenericDelegatorFeeEstimation as Pn, getAvatarLegacyQueryKey as Po, addPrefix as Pr, ErrorContent as Ps, useGasEstimate as Pt, GasTokenSettingsContent as Q, useRefreshMetadata as Qa, useAccountCustomizationModal as Qi, buildSingleAuthorizationTypedData as Qn, getIsDomainProtectedQueryKey as Qo, convertUriToUrl as Qr, VechainKitProviderProps as Qs, useCurrentBlock as Qt, AccountSelector as R, getXAppsSharesQueryKey as Ra, useSignMessage as Ri, delegateAuthorized as Rn, getResolverAddressQueryKey as Ro, normalize as Rr, ConnectModalContentsTypes as Rs, useBuildTransaction as Rt, ModalFAQButton as S, useSwapTransaction as Sa, CURRENCY_SYMBOLS as Sc, TogglePassportCheck as Si, useGetAccountAddress as Sn, useCustomTokens as So, isOnline as Sr, ConnectPopover as Ss, SwapTokenContent as St, BaseModal as T, compressImages as Ta, ENSRecords as Tc, VECHAIN_KIT_TERMS_CONFIG as Ti, useCurrentAccountImplementationVersion as Tn, useTotalBalance as To, safeWindowOpen as Tr, DappKitButton as Ts, SendTokenSummaryContent as Tt, SwitchFeedback as U, UseSwitchWalletReturnType as Ua, useAccountModalOptions as Ui, useGenericDelegator as Un, getTextRecordsQueryKey as Uo, TIME as Ur, useVechainKitThemeConfig as Us, UseSendTransactionReturnValue as Ut, AccountModal as V, getXAppMetadata as Va, SettingsModalProvider as Vi, getDepositAccount as Vn, useUpdateTextRecord as Vo, isRejectionError as Vr, ColorModeSync as Vs, buildERC20Clauses as Vt, RemoveWalletConfirmContent as W, useSwitchWallet as Wa, ProfileModalProvider as Wi, useCrossAppConnectionCache as Wn, useGetTextRecords as Wo, EconomicNodeStrengthLevelToName as Wr, PrivyWalletProvider as Ws, useSendTransaction as Wt, SettingsContent as X, getRoundXAppsQueryKey as Xa, useReceiveModal as Xi, BuildClausesParams as Xn, getDomainsOfAddressQueryKey as Xo, gmNfts as Xr, VeChainKitContext as Xs, useGetChainId as Xt, TermsAndPrivacyContent as Y, useWallet$1 as Ya, ReceiveModalProvider as Yi, useLocalStorage as Yn, getDomainsOfAddress as Yo, buildQueryString as Yr, VeChainKitConfig as Ys, getChainIdQueryKey as Yt, SettingsContentProps as Z, useRoundXApps as Za, AccountCustomizationModalProvider as Zi, buildBatchAuthorizationTypedData as Zn, useGetDomainsOfAddress as Zo, xNodeToGMstartingLevel as Zr, VeChainKitProvider as Zs, currentBlockQueryKey as Zt, ModalNotificationButton as _, AccountModalProvider as _a, GasTokenType as _c, ENV as _i, useHasV1SmartAccount as _n, TokenWithBalance as _o, getDocumentTitle as _r, TransactionModalProps as _s, ChooseNameSummaryContentProps as _t, useModal as a, SwapTokenModalProvider as aa, DepositAccount as ac, isValidAddress as ai, useUpgradeRequired as an, getVot3BalanceQueryKey as ao, useScrollToTop as ar, getVechainDomainQueryKey as as, AssetsContent as at, AccountAvatar as b, useConnectModal as ba, TextRecords as bc, TOKEN_LOGOS as bi, getAccountAddress as bn, getB3trBalanceQueryKey as bo, hasNavigator as br, WalletButtonProps as bs, ChooseNameContent as bt, LegalDocumentsModal as c, useSendTokenModal as ca, Rate as cc, randomTransactionUser as ci, getSmartAccountQueryKey as cn, SupportedToken as co, useFeatureAnnouncement as cr, useFetchPrivyStatus as cs, UpgradeSmartAccountContentProps as ct, UpgradeSmartAccountModalContentsTypes as d, WalletModalProvider as da, calculateTotalCost as dc, humanAddress as di, useRefreshFactoryQueries as dn, useGetTokenUsdPrice as do, useCurrency as dr, useFetchAppInfo as ds, CustomizationSummaryContent as dt, useFAQModal as ea, EnrichedLegalDocument as ec, toIPFSURL as ei, getUpgradeRequiredForAccount as en, MostVotedAppsInRoundReturnType as eo, GetEventsKeyParams as er, buildVetDomainClauses as es, ChangeCurrencyContent as et, UpgradeSmartAccountModalStyle as f, useWalletModal as fa, formatGasCost as fc, humanDomain as fi, getIsDeployed as fn, getErc20BalanceQueryKey as fo, getCallClauseQueryKey as fr, AccountMainContent as fs, CustomizationSummaryContentProps as ft, GasFeeSummary as g, useTransactionModal as ga, GasTokenSelection as gc, DEFAULT_PRIVY_ECOSYSTEM_APPS as gi, getHasV1SmartAccountQueryKey as gn, useGetCustomTokenInfo as go, copyToClipboard as gr, TransactionModal as gs, ChooseNameSummaryContent as gt, GasFeeTokenSelector as h, TransactionModalProvider as ha, GasTokenPreferences as hc, DEFAULT_GAS_TOKEN_PREFERENCES as hi, getHasV1SmartAccount as hn, getTokenInfo$1 as ho, useMultipleClausesCall as hr, ShareButtons as hs, FAQContent as ht, ModalProvider as i, useExploreEcosystemModal as ia, CostLevel as ic, compareListOfAddresses as ii, getUpgradeRequiredQueryKey as in, useIsPerson as io, useEvents as ir, useEnsRecordExists as is, ManageCustomTokenContentProps as it, ModalBackButton as j, getIpfsImage as ja, PrivyLoginMethod as jc, fetchAppHubApps as ji, useAccountBalance as jn, useTokenBalances as jo, executeCallClause as jr, EmailLoginButton as js, usePrivy$1 as jt, VersionFooter as k, IpfsImage as ka, NFTMediaType as kc, notFoundImage as ki, getAccountBalance as kn, useTokenPrices as ko, ViewFunctionResult as kr, EcosystemButton as ks, useDAppKitWalletModal as kt, LegalDocumentsModalContentsTypes as l, ChooseNameModalProvider as la, TransactionCost as lc, formatTokenBalance as li, useSmartAccount as ln, getTokenUsdPrice as lo, useCurrentCurrency as lr, fetchPrivyAppInfo as ls, ProfileContent as lt, InlineFeedback as m, useTransactionToast as ma, GasTokenInfo as mc, isZero as mi, useIsSmartAccountDeployed as mn, getCustomTokenInfoQueryKey as mo, useCallClause as mr, TransactionModalContent as ms, CustomizationContent as mt, getConfig as n, useNotificationsModal as na, LegalDocumentSource as nc, validateIpfsUri as ni, useUpgradeRequiredForAccount as nn, useMostVotedAppsInRound as no, decodeEventLog$1 as nr, useClaimVeWorldSubdomain as ns, BridgeContent as nt, DAppKitWalletButton as o, useSwapTokenModal as oa, EstimatedGas as oc, leftPadWithZeros as oi, SmartAccountReturnType as on, useGetVot3Balance as oo, useIsPWA as or, useVechainDomain as os, AssetsContentProps as ot, WalletSwitchFeedback as p, TransactionToastProvider as pa, GasTokenEstimate as pc, humanNumber as pi, getIsDeployedQueryKey as pn, useGetErc20Balance as po, getCallClauseQueryKeyWithArgs as pr, TransactionToast as ps, AccountCustomizationContentProps as pt, DisconnectConfirmContent as q, useWalletMetadata as qa, useUpgradeSmartAccountModal as qi, useSyncableLocalStorage as qn, Domain as qo, XNodeStrengthLevelToName as qr, LegalDocument as qs, getEventLogs as qt, AccountModalOptions as r, ExploreEcosystemModalProvider as ra, LegalDocumentType as rc, compareAddresses as ri, getUpgradeRequired as rn, getIsPersonQueryKey as ro, getEventsKey as rr, getEnsRecordExistsQueryKey as rs, ManageCustomTokenContent as rt, LegalDocumentItem as s, SendTokenModalProvider as sa, EstimationResponse as sc, regexPattern as si, getSmartAccount as sn, PRICE_FEED_IDS as so, useGetNodeUrl as sr, fetchPrivyStatus as ss, UpgradeSmartAccountContent as st, AppConfig as t, NotificationsModalProvider as ta, LegalDocumentAgreement as tc, uploadBlobToIPFS as ti, getUpgradeRequiredForAccountQueryKey as tn, XApp as to, UseEventsParams as tr, useClaimVetDomain as ts, ChangeCurrencyContentProps as tt, UpgradeSmartAccountModal as u, useChooseNameModal as ua, VthoPerGasAtSpeed as uc, getPicassoImage as ui, useRefreshSmartAccountQueries as un, getTokenUsdPriceQueryKey as uo, useCurrentLanguage as ur, getPrivyAppInfoQueryKey as us, ProfileContentProps as ut, TransactionButtonAndStatus as v, useAccountModal as va, TransactionSpeed as vc, PrivyEcosystemApp as vi, getAccountVersionQueryKey as vn, getCustomTokenBalanceQueryKey as vo, getLocalStorageItem as vr, SocialIcons as vs, ChooseNameSearchContent as vt, AssetButton as w, UploadedImage as wa, CrossAppConnectionCache as wc, VECHAIN_KIT_STORAGE_KEYS as wi, getCurrentAccountImplementationVersionQueryKey as wn, useCurrentAllocationsRoundId as wo, safeQuerySelector as wr, VeChainWithPrivyLoginButton as ws, SelectTokenContent as wt, ScrollToTopWrapper as x, useSwapQuotes as xa, CURRENCY as xc, TOKEN_LOGO_COMPONENTS as xi, getAccountAddressQueryKey as xn, useGetB3trBalance as xo, isBrowser as xr, WalletDisplayVariant as xs, ChooseNameContentProps as xt, TransactionButtonAndStatusProps as y, ConnectModalProvider as ya, ENS_TEXT_RECORDS as yc, SUPPORTED_GAS_TOKENS as yi, useGetAccountVersion as yn, useGetCustomTokenBalances as yo, getWindowOrigin as yr, WalletButton as ys, ChooseNameSearchContentProps as yt, ActionButton as z, useXAppsShares as za, useNotificationAlerts as zi, estimateAndBuildTxBody as zn, useGetResolverAddress as zo, removePrefix as zr, LegalDocumentsProvider as zs, buildVETClauses as zt };
|
|
4281
|
+
//# sourceMappingURL=index-DQ-Jm6mW.d.mts.map
|