@vechain/vechain-kit 2.2.2 → 2.3.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-w9zDQB56.d.mts → index-5_zBNaxA.d.cts} +186 -116
- package/dist/index-5_zBNaxA.d.cts.map +1 -0
- package/dist/{index--hSO7Xv4.d.mts → index-7c9VJYh1.d.cts} +4 -4
- package/dist/{index-u3CPquCV.d.cts.map → index-7c9VJYh1.d.cts.map} +1 -1
- package/dist/{index-CWCXsRcP.d.cts → index-BlCAiOq5.d.mts} +232 -162
- package/dist/index-BlCAiOq5.d.mts.map +1 -0
- package/dist/{index-u3CPquCV.d.cts → index-Da5GOsB_.d.mts} +4 -4
- package/dist/{index--hSO7Xv4.d.mts.map → index-Da5GOsB_.d.mts.map} +1 -1
- package/dist/index.cjs +20 -19
- 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 +20 -19
- 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 +4 -3
- package/dist/index-CWCXsRcP.d.cts.map +0 -1
- package/dist/index-w9zDQB56.d.mts.map +0 -1
|
@@ -2,25 +2,25 @@ import { ButtonProps, IconButtonProps, ImageProps, PropsOf, StackProps, ThemeTyp
|
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import React$1, { ElementType, ReactElement, ReactNode } from "react";
|
|
4
4
|
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
|
-
import
|
|
6
|
-
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
7
|
-
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
5
|
+
import { Account } from "viem/accounts";
|
|
8
6
|
import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
9
7
|
import { Address, Certificate, CertificateData, Clause, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
10
|
-
import {
|
|
11
|
-
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
12
|
-
import
|
|
13
|
-
import { IconType } from "react-icons";
|
|
14
|
-
import * as _tanstack_react_query7 from "@tanstack/react-query";
|
|
8
|
+
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy as usePrivy$1, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
9
|
+
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor as useThor$1, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
10
|
+
import * as _tanstack_react_query24 from "@tanstack/react-query";
|
|
15
11
|
import { UseQueryOptions } from "@tanstack/react-query";
|
|
16
|
-
import { z } from "zod";
|
|
17
12
|
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
13
|
+
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
14
|
+
import { z } from "zod";
|
|
18
15
|
import { Options } from "browser-image-compression";
|
|
19
|
-
import {
|
|
16
|
+
import { UseFormRegister } from "react-hook-form";
|
|
17
|
+
import * as _vechain_sdk_network0 from "@vechain/sdk-network";
|
|
18
|
+
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
19
|
+
import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
20
|
+
import { CustomizedStyle, I18n, SourceInfo } from "@vechain/dapp-kit-ui";
|
|
21
|
+
import { IconType } from "react-icons";
|
|
20
22
|
import * as abitype0 from "abitype";
|
|
21
23
|
import { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from "abitype";
|
|
22
|
-
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
23
|
-
import { UseFormRegister } from "react-hook-form";
|
|
24
24
|
|
|
25
25
|
//#region src/config/network.d.ts
|
|
26
26
|
/**
|
|
@@ -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): "main" | "test" | "solo" | undefined;
|
|
57
57
|
};
|
|
58
58
|
//#endregion
|
|
59
59
|
//#region src/types/types.d.ts
|
|
@@ -407,7 +407,6 @@ interface ThemeTokens {
|
|
|
407
407
|
};
|
|
408
408
|
modal: {
|
|
409
409
|
rounded?: string | number;
|
|
410
|
-
zIndex?: number;
|
|
411
410
|
};
|
|
412
411
|
}
|
|
413
412
|
/**
|
|
@@ -427,7 +426,12 @@ interface VechainKitThemeConfig {
|
|
|
427
426
|
backdropFilter?: string;
|
|
428
427
|
borderRadius?: string;
|
|
429
428
|
rounded?: string | number;
|
|
430
|
-
|
|
429
|
+
/**
|
|
430
|
+
* Whether to use bottom sheet on mobile devices.
|
|
431
|
+
* When false (default), uses regular modal on all screen sizes.
|
|
432
|
+
* When true, uses bottom sheet on mobile (< 768px) and regular modal on desktop.
|
|
433
|
+
*/
|
|
434
|
+
useBottomSheetOnMobile?: boolean;
|
|
431
435
|
};
|
|
432
436
|
buttons?: {
|
|
433
437
|
secondaryButton?: {
|
|
@@ -680,6 +684,7 @@ type Props$32 = {
|
|
|
680
684
|
declare const useVechainKitThemeConfig: () => {
|
|
681
685
|
portalRootRef?: React.RefObject<HTMLDivElement | null>;
|
|
682
686
|
tokens?: ThemeTokens;
|
|
687
|
+
themeConfig?: VechainKitThemeConfig;
|
|
683
688
|
};
|
|
684
689
|
declare const ColorModeSync: ({
|
|
685
690
|
darkMode
|
|
@@ -712,11 +717,34 @@ declare const LegalDocumentsProvider: ({
|
|
|
712
717
|
type Props$30 = {
|
|
713
718
|
isOpen: boolean;
|
|
714
719
|
onClose: () => void;
|
|
720
|
+
initialContent?: ConnectModalContentsTypes;
|
|
721
|
+
};
|
|
722
|
+
type ConnectModalContentsTypes = 'main' | 'faq' | {
|
|
723
|
+
type: 'ecosystem';
|
|
724
|
+
props: {
|
|
725
|
+
appsInfo: PrivyAppInfo[];
|
|
726
|
+
isLoading: boolean;
|
|
727
|
+
showBackButton?: boolean;
|
|
728
|
+
};
|
|
729
|
+
} | {
|
|
730
|
+
type: 'loading';
|
|
731
|
+
props: {
|
|
732
|
+
title?: string;
|
|
733
|
+
loadingText?: string;
|
|
734
|
+
onTryAgain?: () => void;
|
|
735
|
+
showBackButton?: boolean;
|
|
736
|
+
};
|
|
737
|
+
} | {
|
|
738
|
+
type: 'error';
|
|
739
|
+
props: {
|
|
740
|
+
error: string;
|
|
741
|
+
onTryAgain: () => void;
|
|
742
|
+
};
|
|
715
743
|
};
|
|
716
|
-
type ConnectModalContentsTypes = 'main' | 'email-verification' | 'faq';
|
|
717
744
|
declare const ConnectModal: ({
|
|
718
745
|
isOpen,
|
|
719
|
-
onClose
|
|
746
|
+
onClose,
|
|
747
|
+
initialContent
|
|
720
748
|
}: Props$30) => react_jsx_runtime3.JSX.Element;
|
|
721
749
|
//#endregion
|
|
722
750
|
//#region src/components/ConnectModal/Contents/MainContent.d.ts
|
|
@@ -725,10 +753,57 @@ type Props$29 = {
|
|
|
725
753
|
onClose: () => void;
|
|
726
754
|
};
|
|
727
755
|
declare const MainContent: ({
|
|
728
|
-
setCurrentContent
|
|
729
|
-
onClose
|
|
756
|
+
setCurrentContent
|
|
730
757
|
}: Props$29) => react_jsx_runtime3.JSX.Element;
|
|
731
758
|
//#endregion
|
|
759
|
+
//#region src/components/ConnectModal/Contents/LoadingContent.d.ts
|
|
760
|
+
type LoadingContentProps = {
|
|
761
|
+
loadingText?: string;
|
|
762
|
+
title?: string;
|
|
763
|
+
onTryAgain?: () => void;
|
|
764
|
+
onClose: () => void;
|
|
765
|
+
onGoBack: () => void;
|
|
766
|
+
showBackButton?: boolean;
|
|
767
|
+
};
|
|
768
|
+
declare const LoadingContent: ({
|
|
769
|
+
loadingText,
|
|
770
|
+
title,
|
|
771
|
+
onTryAgain,
|
|
772
|
+
onClose,
|
|
773
|
+
onGoBack,
|
|
774
|
+
showBackButton
|
|
775
|
+
}: LoadingContentProps) => react_jsx_runtime3.JSX.Element;
|
|
776
|
+
//#endregion
|
|
777
|
+
//#region src/components/ConnectModal/Contents/ErrorContent.d.ts
|
|
778
|
+
type ErrorContentProps = {
|
|
779
|
+
error: string;
|
|
780
|
+
onClose: () => void;
|
|
781
|
+
onTryAgain: () => void;
|
|
782
|
+
onGoBack: () => void;
|
|
783
|
+
};
|
|
784
|
+
declare const ErrorContent: ({
|
|
785
|
+
error,
|
|
786
|
+
onClose,
|
|
787
|
+
onTryAgain,
|
|
788
|
+
onGoBack
|
|
789
|
+
}: ErrorContentProps) => react_jsx_runtime3.JSX.Element;
|
|
790
|
+
//#endregion
|
|
791
|
+
//#region src/components/ConnectModal/Contents/EcosystemContent.d.ts
|
|
792
|
+
type Props$28 = {
|
|
793
|
+
onClose: () => void;
|
|
794
|
+
appsInfo: PrivyAppInfo[];
|
|
795
|
+
isLoading: boolean;
|
|
796
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
797
|
+
showBackButton?: boolean;
|
|
798
|
+
};
|
|
799
|
+
declare const EcosystemContent: ({
|
|
800
|
+
onClose,
|
|
801
|
+
appsInfo,
|
|
802
|
+
isLoading,
|
|
803
|
+
setCurrentContent,
|
|
804
|
+
showBackButton
|
|
805
|
+
}: Props$28) => react_jsx_runtime3.JSX.Element;
|
|
806
|
+
//#endregion
|
|
732
807
|
//#region src/components/ConnectModal/Components/ConnectionButton.d.ts
|
|
733
808
|
interface ConnectionButtonProps {
|
|
734
809
|
isDark: boolean;
|
|
@@ -756,29 +831,33 @@ declare const ConnectionButton: ({
|
|
|
756
831
|
declare const EmailLoginButton: () => react_jsx_runtime3.JSX.Element;
|
|
757
832
|
//#endregion
|
|
758
833
|
//#region src/components/ConnectModal/Components/VeChainLoginButton.d.ts
|
|
759
|
-
type Props$
|
|
834
|
+
type Props$27 = {
|
|
760
835
|
isDark: boolean;
|
|
761
836
|
gridColumn?: number;
|
|
837
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
762
838
|
};
|
|
763
839
|
declare const VeChainLoginButton: ({
|
|
764
840
|
isDark,
|
|
765
|
-
gridColumn
|
|
766
|
-
|
|
841
|
+
gridColumn,
|
|
842
|
+
setCurrentContent
|
|
843
|
+
}: Props$27) => react_jsx_runtime3.JSX.Element;
|
|
767
844
|
//#endregion
|
|
768
845
|
//#region src/components/ConnectModal/Components/EcosystemButton.d.ts
|
|
769
|
-
type Props$
|
|
846
|
+
type Props$26 = {
|
|
770
847
|
isDark: boolean;
|
|
771
848
|
appsInfo: PrivyAppInfo[];
|
|
772
849
|
isLoading: boolean;
|
|
773
850
|
gridColumn?: number;
|
|
851
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
774
852
|
};
|
|
775
853
|
declare const EcosystemButton: ({
|
|
776
854
|
appsInfo,
|
|
777
|
-
isLoading
|
|
778
|
-
|
|
855
|
+
isLoading,
|
|
856
|
+
setCurrentContent
|
|
857
|
+
}: Props$26) => react_jsx_runtime3.JSX.Element;
|
|
779
858
|
//#endregion
|
|
780
859
|
//#region src/components/ConnectModal/Components/PrivyButton.d.ts
|
|
781
|
-
type Props$
|
|
860
|
+
type Props$25 = {
|
|
782
861
|
isDark: boolean;
|
|
783
862
|
onViewMoreLogin: () => void;
|
|
784
863
|
gridColumn?: number;
|
|
@@ -787,57 +866,59 @@ declare const PrivyButton: ({
|
|
|
787
866
|
isDark,
|
|
788
867
|
onViewMoreLogin,
|
|
789
868
|
gridColumn
|
|
790
|
-
}: Props$
|
|
869
|
+
}: Props$25) => react_jsx_runtime3.JSX.Element;
|
|
791
870
|
//#endregion
|
|
792
871
|
//#region src/components/ConnectModal/Components/LoginWithGoogleButton.d.ts
|
|
793
|
-
type Props$
|
|
872
|
+
type Props$24 = {
|
|
794
873
|
isDark: boolean;
|
|
795
874
|
gridColumn?: number;
|
|
796
875
|
};
|
|
797
876
|
declare const LoginWithGoogleButton: ({
|
|
798
877
|
isDark,
|
|
799
878
|
gridColumn
|
|
800
|
-
}: Props$
|
|
879
|
+
}: Props$24) => react_jsx_runtime3.JSX.Element;
|
|
801
880
|
//#endregion
|
|
802
881
|
//#region src/components/ConnectModal/Components/PasskeyLoginButton.d.ts
|
|
803
|
-
type Props$
|
|
882
|
+
type Props$23 = {
|
|
804
883
|
isDark: boolean;
|
|
805
884
|
gridColumn?: number;
|
|
885
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
806
886
|
};
|
|
807
887
|
declare const PasskeyLoginButton: ({
|
|
808
888
|
isDark,
|
|
809
|
-
gridColumn
|
|
810
|
-
|
|
889
|
+
gridColumn,
|
|
890
|
+
setCurrentContent
|
|
891
|
+
}: Props$23) => react_jsx_runtime3.JSX.Element;
|
|
811
892
|
//#endregion
|
|
812
893
|
//#region src/components/ConnectModal/Components/DappKitButton.d.ts
|
|
813
|
-
type Props$
|
|
894
|
+
type Props$22 = {
|
|
814
895
|
isDark: boolean;
|
|
815
896
|
gridColumn?: number;
|
|
816
897
|
};
|
|
817
898
|
declare const DappKitButton: ({
|
|
818
899
|
isDark,
|
|
819
900
|
gridColumn
|
|
820
|
-
}: Props$
|
|
901
|
+
}: Props$22) => react_jsx_runtime3.JSX.Element;
|
|
821
902
|
//#endregion
|
|
822
903
|
//#region src/components/ConnectModal/Components/VeChainWithPrivyLoginButton.d.ts
|
|
823
|
-
type Props$
|
|
904
|
+
type Props$21 = {
|
|
824
905
|
isDark: boolean;
|
|
825
906
|
gridColumn?: number;
|
|
826
907
|
};
|
|
827
908
|
declare const VeChainWithPrivyLoginButton: ({
|
|
828
909
|
isDark,
|
|
829
910
|
gridColumn
|
|
830
|
-
}: Props$
|
|
911
|
+
}: Props$21) => react_jsx_runtime3.JSX.Element;
|
|
831
912
|
//#endregion
|
|
832
913
|
//#region src/components/ConnectModal/Components/LoginWithGithubButton.d.ts
|
|
833
|
-
type Props$
|
|
914
|
+
type Props$20 = {
|
|
834
915
|
isDark: boolean;
|
|
835
916
|
gridColumn?: number;
|
|
836
917
|
};
|
|
837
918
|
declare const LoginWithGithubButton: ({
|
|
838
919
|
isDark,
|
|
839
920
|
gridColumn
|
|
840
|
-
}: Props$
|
|
921
|
+
}: Props$20) => react_jsx_runtime3.JSX.Element;
|
|
841
922
|
//#endregion
|
|
842
923
|
//#region src/components/ConnectModal/ConnectPopover.d.ts
|
|
843
924
|
type ConnectPopoverProps = {
|
|
@@ -897,17 +978,17 @@ declare const TransactionModal: ({
|
|
|
897
978
|
txReceipt,
|
|
898
979
|
txError,
|
|
899
980
|
onTryAgain
|
|
900
|
-
}: TransactionModalProps) => react_jsx_runtime3.JSX.Element;
|
|
981
|
+
}: TransactionModalProps) => react_jsx_runtime3.JSX.Element | null;
|
|
901
982
|
//#endregion
|
|
902
983
|
//#region src/components/TransactionModal/Components/ShareButtons.d.ts
|
|
903
|
-
type Props$
|
|
984
|
+
type Props$19 = {
|
|
904
985
|
descriptionEncoded: string;
|
|
905
986
|
url?: string;
|
|
906
987
|
facebookHashtag?: string;
|
|
907
988
|
};
|
|
908
989
|
declare const ShareButtons: ({
|
|
909
990
|
descriptionEncoded
|
|
910
|
-
}: Props$
|
|
991
|
+
}: Props$19) => react_jsx_runtime3.JSX.Element;
|
|
911
992
|
//#endregion
|
|
912
993
|
//#region src/components/TransactionModal/TransactionModalContent.d.ts
|
|
913
994
|
declare const TransactionModalContent: ({
|
|
@@ -940,7 +1021,7 @@ declare const TransactionToast: ({
|
|
|
940
1021
|
}: TransactionToastProps) => react_jsx_runtime3.JSX.Element | null;
|
|
941
1022
|
//#endregion
|
|
942
1023
|
//#region src/components/AccountModal/Contents/Account/AccountMainContent.d.ts
|
|
943
|
-
type Props$
|
|
1024
|
+
type Props$18 = {
|
|
944
1025
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
945
1026
|
onClose: () => void;
|
|
946
1027
|
wallet: Wallet;
|
|
@@ -949,12 +1030,12 @@ declare const AccountMainContent: ({
|
|
|
949
1030
|
setCurrentContent,
|
|
950
1031
|
wallet,
|
|
951
1032
|
onClose
|
|
952
|
-
}: Props$
|
|
1033
|
+
}: Props$18) => react_jsx_runtime3.JSX.Element;
|
|
953
1034
|
//#endregion
|
|
954
1035
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
955
1036
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
956
1037
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
957
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
1038
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query24.UseQueryResult<{
|
|
958
1039
|
[k: string]: {
|
|
959
1040
|
website: string | undefined;
|
|
960
1041
|
id: string;
|
|
@@ -975,7 +1056,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
975
1056
|
//#endregion
|
|
976
1057
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
977
1058
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
978
|
-
declare const useFetchPrivyStatus: () =>
|
|
1059
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query24.UseQueryResult<string, Error>;
|
|
979
1060
|
//#endregion
|
|
980
1061
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
981
1062
|
interface VeChainDomainResult {
|
|
@@ -985,11 +1066,11 @@ interface VeChainDomainResult {
|
|
|
985
1066
|
isPrimaryDomain: boolean;
|
|
986
1067
|
}
|
|
987
1068
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
988
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1069
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query24.UseQueryResult<VeChainDomainResult, Error>;
|
|
989
1070
|
//#endregion
|
|
990
1071
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
991
1072
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
992
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1073
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query24.UseQueryResult<boolean, Error>;
|
|
993
1074
|
//#endregion
|
|
994
1075
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
995
1076
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1051,7 +1132,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1051
1132
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1052
1133
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1053
1134
|
*/
|
|
1054
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1135
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query24.UseQueryResult<boolean, Error>;
|
|
1055
1136
|
//#endregion
|
|
1056
1137
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1057
1138
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1079,7 +1160,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1079
1160
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1080
1161
|
* @returns The domains owned by the address
|
|
1081
1162
|
*/
|
|
1082
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1163
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
1083
1164
|
domains: {
|
|
1084
1165
|
name: string;
|
|
1085
1166
|
}[];
|
|
@@ -1092,7 +1173,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1092
1173
|
* @param name - The VET domain name
|
|
1093
1174
|
* @returns The resolved avatar URL
|
|
1094
1175
|
*/
|
|
1095
|
-
declare const useGetAvatar: (name: string) =>
|
|
1176
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query24.UseQueryResult<string | null, Error>;
|
|
1096
1177
|
//#endregion
|
|
1097
1178
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1098
1179
|
/**
|
|
@@ -1104,7 +1185,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query7.UseQueryRes
|
|
|
1104
1185
|
*/
|
|
1105
1186
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1106
1187
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1107
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1188
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query24.UseQueryResult<TextRecords, Error>;
|
|
1108
1189
|
//#endregion
|
|
1109
1190
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1110
1191
|
type UpdateTextRecordVariables = {
|
|
@@ -1137,7 +1218,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1137
1218
|
* @param domain The domain to get resolver for
|
|
1138
1219
|
* @returns The resolver address for the domain
|
|
1139
1220
|
*/
|
|
1140
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1221
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query24.UseQueryResult<`0x${string}`, unknown>;
|
|
1141
1222
|
//#endregion
|
|
1142
1223
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1143
1224
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1147,7 +1228,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1147
1228
|
* @param address The owner's address
|
|
1148
1229
|
* @returns The avatar URL for the address's primary domain
|
|
1149
1230
|
*/
|
|
1150
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1231
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query24.UseQueryResult<string, Error>;
|
|
1151
1232
|
//#endregion
|
|
1152
1233
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1153
1234
|
/**
|
|
@@ -1164,7 +1245,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1164
1245
|
* @param name - The VET domain name
|
|
1165
1246
|
* @returns The resolved avatar URL
|
|
1166
1247
|
*/
|
|
1167
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1248
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query24.UseQueryResult<string | null, Error>;
|
|
1168
1249
|
//#endregion
|
|
1169
1250
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1170
1251
|
type useUnsetDomainProps = {
|
|
@@ -1273,7 +1354,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1273
1354
|
* Hook to get the current roundId of allocations voting
|
|
1274
1355
|
* @returns the current roundId of allocations voting
|
|
1275
1356
|
*/
|
|
1276
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1357
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query24.UseQueryResult<string, unknown>;
|
|
1277
1358
|
//#endregion
|
|
1278
1359
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1279
1360
|
declare const useCustomTokens: () => {
|
|
@@ -1286,7 +1367,7 @@ declare const useCustomTokens: () => {
|
|
|
1286
1367
|
//#endregion
|
|
1287
1368
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1288
1369
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1289
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1370
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
1290
1371
|
original: string;
|
|
1291
1372
|
scaled: string;
|
|
1292
1373
|
formatted: string;
|
|
@@ -1295,7 +1376,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query7.Us
|
|
|
1295
1376
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1296
1377
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1297
1378
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string) => (string | undefined)[];
|
|
1298
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1379
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
1299
1380
|
original: string;
|
|
1300
1381
|
scaled: string;
|
|
1301
1382
|
formatted: string;
|
|
@@ -1306,13 +1387,13 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1306
1387
|
}, Error>[];
|
|
1307
1388
|
//#endregion
|
|
1308
1389
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1309
|
-
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1390
|
+
declare const getTokenInfo$1: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1310
1391
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1311
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1392
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query24.UseQueryResult<CustomTokenInfo, Error>;
|
|
1312
1393
|
//#endregion
|
|
1313
1394
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1314
1395
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1315
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string) =>
|
|
1396
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
1316
1397
|
original: string;
|
|
1317
1398
|
scaled: string;
|
|
1318
1399
|
formatted: string;
|
|
@@ -1329,11 +1410,11 @@ declare const PRICE_FEED_IDS: {
|
|
|
1329
1410
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1330
1411
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1331
1412
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1332
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1413
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query24.UseQueryResult<number, Error>;
|
|
1333
1414
|
//#endregion
|
|
1334
1415
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1335
1416
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1336
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1417
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
1337
1418
|
original: string;
|
|
1338
1419
|
scaled: string;
|
|
1339
1420
|
formatted: string;
|
|
@@ -1352,7 +1433,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1352
1433
|
* @param user - The user address.
|
|
1353
1434
|
* @returns The isPerson status.
|
|
1354
1435
|
*/
|
|
1355
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1436
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query24.UseQueryResult<boolean, Error>;
|
|
1356
1437
|
//#endregion
|
|
1357
1438
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1358
1439
|
type XApp = {
|
|
@@ -1390,7 +1471,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1390
1471
|
//#endregion
|
|
1391
1472
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1392
1473
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => unknown[];
|
|
1393
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1474
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
1394
1475
|
id: string;
|
|
1395
1476
|
teamWalletAddress: `0x${string}`;
|
|
1396
1477
|
name: string;
|
|
@@ -1421,7 +1502,7 @@ type UseWalletReturnType = {
|
|
|
1421
1502
|
};
|
|
1422
1503
|
disconnect: () => Promise<void>;
|
|
1423
1504
|
};
|
|
1424
|
-
declare const useWallet: () => UseWalletReturnType;
|
|
1505
|
+
declare const useWallet$1: () => UseWalletReturnType;
|
|
1425
1506
|
//#endregion
|
|
1426
1507
|
//#region src/hooks/api/wallet/useWalletMetadata.d.ts
|
|
1427
1508
|
declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) => {
|
|
@@ -1473,7 +1554,7 @@ type XAppMetadata = {
|
|
|
1473
1554
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1474
1555
|
*/
|
|
1475
1556
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1476
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1557
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query24.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1477
1558
|
//#endregion
|
|
1478
1559
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1479
1560
|
/**
|
|
@@ -1488,7 +1569,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1488
1569
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1489
1570
|
*
|
|
1490
1571
|
*/
|
|
1491
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1572
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
1492
1573
|
app: string;
|
|
1493
1574
|
share: number;
|
|
1494
1575
|
unallocatedShare: number;
|
|
@@ -1510,7 +1591,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1510
1591
|
* @param ipfsUri - The IPFS URI
|
|
1511
1592
|
* @returns The metadata from IPFS
|
|
1512
1593
|
*/
|
|
1513
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1594
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query24.UseQueryResult<_tanstack_react_query24.NoInfer<T$1>, Error>;
|
|
1514
1595
|
//#endregion
|
|
1515
1596
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1516
1597
|
interface IpfsImage {
|
|
@@ -1537,14 +1618,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1537
1618
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1538
1619
|
* @returns The NFT media
|
|
1539
1620
|
*/
|
|
1540
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1621
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query24.UseQueryResult<IpfsImage, Error>;
|
|
1541
1622
|
/**
|
|
1542
1623
|
* Custom hook to fetch a list of IPFS images.
|
|
1543
1624
|
*
|
|
1544
1625
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1545
1626
|
* @returns An array of queries for each IPFS image URI.
|
|
1546
1627
|
*/
|
|
1547
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1628
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query24.UseQueryResult<IpfsImage, Error>[];
|
|
1548
1629
|
//#endregion
|
|
1549
1630
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1550
1631
|
/**
|
|
@@ -1552,12 +1633,12 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1552
1633
|
* @param ipfsUris - The IPFS URIs
|
|
1553
1634
|
* @returns The metadata from IPFS for each URI
|
|
1554
1635
|
*/
|
|
1555
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1636
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query24.UseQueryResult<T$1, Error>[];
|
|
1556
1637
|
//#endregion
|
|
1557
1638
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1558
1639
|
declare const imageCompressionOptions: Options;
|
|
1559
1640
|
declare const compressImages: (images: UploadedImage[]) => Promise<File[]>;
|
|
1560
|
-
type Props$
|
|
1641
|
+
type Props$17 = {
|
|
1561
1642
|
compressImages?: boolean;
|
|
1562
1643
|
defaultImages?: UploadedImage[];
|
|
1563
1644
|
};
|
|
@@ -1573,7 +1654,7 @@ type UploadedImage = {
|
|
|
1573
1654
|
declare const useUploadImages: ({
|
|
1574
1655
|
compressImages,
|
|
1575
1656
|
defaultImages
|
|
1576
|
-
}: Props$
|
|
1657
|
+
}: Props$17) => {
|
|
1577
1658
|
uploadedImages: UploadedImage[];
|
|
1578
1659
|
setUploadedImages: react0.Dispatch<react0.SetStateAction<UploadedImage[]>>;
|
|
1579
1660
|
onUpload: (acceptedFiles: File[], keepCurrent?: boolean) => Promise<void>;
|
|
@@ -1582,7 +1663,7 @@ declare const useUploadImages: ({
|
|
|
1582
1663
|
};
|
|
1583
1664
|
//#endregion
|
|
1584
1665
|
//#region src/hooks/api/ipfs/useSingleImageUpload.d.ts
|
|
1585
|
-
type Props$
|
|
1666
|
+
type Props$16 = {
|
|
1586
1667
|
compressImage?: boolean;
|
|
1587
1668
|
defaultImage?: UploadedImage;
|
|
1588
1669
|
};
|
|
@@ -1595,7 +1676,7 @@ type Props$17 = {
|
|
|
1595
1676
|
declare const useSingleImageUpload: ({
|
|
1596
1677
|
compressImage,
|
|
1597
1678
|
defaultImage
|
|
1598
|
-
}: Props$
|
|
1679
|
+
}: Props$16) => {
|
|
1599
1680
|
uploadedImage: UploadedImage | undefined;
|
|
1600
1681
|
setUploadedImage: react0.Dispatch<react0.SetStateAction<UploadedImage | undefined>>;
|
|
1601
1682
|
onUpload: (acceptedFile: File) => Promise<UploadedImage>;
|
|
@@ -1763,7 +1844,7 @@ declare const useSwapQuotes: (fromToken: TokenWithValue | null, toToken: TokenWi
|
|
|
1763
1844
|
//#endregion
|
|
1764
1845
|
//#region src/hooks/modals/useConnectModal.d.ts
|
|
1765
1846
|
declare const useConnectModal: () => {
|
|
1766
|
-
open: () => void;
|
|
1847
|
+
open: (initialContent?: ConnectModalContentsTypes) => void;
|
|
1767
1848
|
close: () => void;
|
|
1768
1849
|
isOpen: boolean;
|
|
1769
1850
|
};
|
|
@@ -2029,7 +2110,7 @@ type UseSignTypedDataReturnValue = {
|
|
|
2029
2110
|
declare const useSignTypedData: () => UseSignTypedDataReturnValue;
|
|
2030
2111
|
//#endregion
|
|
2031
2112
|
//#region src/hooks/login/useLoginWithPasskey.d.ts
|
|
2032
|
-
declare const useLoginWithPasskey: () => {
|
|
2113
|
+
declare const useLoginWithPasskey$1: () => {
|
|
2033
2114
|
loginWithPasskey: () => Promise<void>;
|
|
2034
2115
|
};
|
|
2035
2116
|
//#endregion
|
|
@@ -2037,7 +2118,7 @@ declare const useLoginWithPasskey: () => {
|
|
|
2037
2118
|
interface OAuthOptions {
|
|
2038
2119
|
provider: OAuthProviderType;
|
|
2039
2120
|
}
|
|
2040
|
-
declare const useLoginWithOAuth: () => {
|
|
2121
|
+
declare const useLoginWithOAuth$1: () => {
|
|
2041
2122
|
initOAuth: ({
|
|
2042
2123
|
provider
|
|
2043
2124
|
}: OAuthOptions) => Promise<void>;
|
|
@@ -2094,7 +2175,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2094
2175
|
* );
|
|
2095
2176
|
* ```
|
|
2096
2177
|
*/
|
|
2097
|
-
declare const useAppHubApps: () =>
|
|
2178
|
+
declare const useAppHubApps: () => _tanstack_react_query24.UseQueryResult<AppHubApp[], Error>;
|
|
2098
2179
|
//#endregion
|
|
2099
2180
|
//#region src/utils/constants.d.ts
|
|
2100
2181
|
declare const TOKEN_LOGOS: Record<string, string>;
|
|
@@ -2441,7 +2522,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2441
2522
|
method: TMethod;
|
|
2442
2523
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2443
2524
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2444
|
-
}) =>
|
|
2525
|
+
}) => _tanstack_react_query24.UseQueryResult<_tanstack_react_query24.NoInfer<TData>, unknown>;
|
|
2445
2526
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2446
2527
|
thor,
|
|
2447
2528
|
calls,
|
|
@@ -2452,7 +2533,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2452
2533
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2453
2534
|
queryKey: string[];
|
|
2454
2535
|
enabled?: boolean;
|
|
2455
|
-
}) =>
|
|
2536
|
+
}) => _tanstack_react_query24.UseQueryResult<_tanstack_react_query24.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2456
2537
|
//#endregion
|
|
2457
2538
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2458
2539
|
/**
|
|
@@ -2576,7 +2657,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2576
2657
|
filterParams,
|
|
2577
2658
|
mapResponse,
|
|
2578
2659
|
nodeUrl
|
|
2579
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
2660
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query24.UseQueryResult<R[], Error>;
|
|
2580
2661
|
//#endregion
|
|
2581
2662
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2582
2663
|
interface BuildClausesParams {
|
|
@@ -2727,7 +2808,7 @@ declare const useGenericDelegatorFeeEstimation: ({
|
|
|
2727
2808
|
tokens,
|
|
2728
2809
|
sendingAmount,
|
|
2729
2810
|
sendingTokenSymbol
|
|
2730
|
-
}: useGenericDelegatorFeeEstimationParams) =>
|
|
2811
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query24.UseQueryResult<EstimationResponse & {
|
|
2731
2812
|
usedToken: string;
|
|
2732
2813
|
}, Error>;
|
|
2733
2814
|
//#endregion
|
|
@@ -2741,7 +2822,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2741
2822
|
clauses,
|
|
2742
2823
|
tokens,
|
|
2743
2824
|
enabled
|
|
2744
|
-
}: UseEstimateAllTokensParams) =>
|
|
2825
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query24.UseQueryResult<Record<GasTokenType, {
|
|
2745
2826
|
cost: number;
|
|
2746
2827
|
loading: boolean;
|
|
2747
2828
|
error?: string;
|
|
@@ -2758,7 +2839,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2758
2839
|
* @param address The address of the account to get the balance for
|
|
2759
2840
|
* @returns The account balance
|
|
2760
2841
|
*/
|
|
2761
|
-
declare const useAccountBalance: (address?: string) =>
|
|
2842
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
2762
2843
|
balance: string;
|
|
2763
2844
|
energy: string;
|
|
2764
2845
|
}, Error>;
|
|
@@ -2771,7 +2852,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2771
2852
|
* @param version - The version of the smart account implementation
|
|
2772
2853
|
* @returns The address of the smart account implementation
|
|
2773
2854
|
*/
|
|
2774
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
2855
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query24.UseQueryResult<string, Error>;
|
|
2775
2856
|
//#endregion
|
|
2776
2857
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
2777
2858
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2780,7 +2861,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
2780
2861
|
* Get the current account implementation version used by the smart account factory
|
|
2781
2862
|
* @returns The current account implementation version
|
|
2782
2863
|
*/
|
|
2783
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
2864
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query24.UseQueryResult<number, Error>;
|
|
2784
2865
|
//#endregion
|
|
2785
2866
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
2786
2867
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -2790,7 +2871,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
2790
2871
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2791
2872
|
* @returns The address of the smart account
|
|
2792
2873
|
*/
|
|
2793
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
2874
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query24.UseQueryResult<string, Error>;
|
|
2794
2875
|
//#endregion
|
|
2795
2876
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
2796
2877
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => unknown[];
|
|
@@ -2800,7 +2881,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2800
2881
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2801
2882
|
* @returns The version of the smart account
|
|
2802
2883
|
*/
|
|
2803
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
2884
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query24.UseQueryResult<{
|
|
2804
2885
|
version: number;
|
|
2805
2886
|
isDeployed: boolean;
|
|
2806
2887
|
}, unknown>;
|
|
@@ -2813,7 +2894,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
2813
2894
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2814
2895
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
2815
2896
|
*/
|
|
2816
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
2897
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query24.UseQueryResult<boolean, Error>;
|
|
2817
2898
|
//#endregion
|
|
2818
2899
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
2819
2900
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -2822,7 +2903,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
2822
2903
|
* Check if a smart account is deployed
|
|
2823
2904
|
* @returns True if the smart account is deployed, false otherwise
|
|
2824
2905
|
*/
|
|
2825
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
2906
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query24.UseQueryResult<boolean, Error>;
|
|
2826
2907
|
//#endregion
|
|
2827
2908
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
2828
2909
|
/**
|
|
@@ -2855,7 +2936,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
2855
2936
|
isDeployed: boolean;
|
|
2856
2937
|
}>;
|
|
2857
2938
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
2858
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
2939
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query24.UseQueryResult<{
|
|
2859
2940
|
address: undefined;
|
|
2860
2941
|
isDeployed?: undefined;
|
|
2861
2942
|
} | {
|
|
@@ -2873,7 +2954,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2873
2954
|
* @param targetVersion - The version of the smart account to check for
|
|
2874
2955
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2875
2956
|
*/
|
|
2876
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
2957
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query24.UseQueryResult<boolean, Error>;
|
|
2877
2958
|
//#endregion
|
|
2878
2959
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
2879
2960
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -2884,7 +2965,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
2884
2965
|
* @param targetVersion - The target version of the smart account
|
|
2885
2966
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2886
2967
|
*/
|
|
2887
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
2968
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query24.UseQueryResult<boolean, Error>;
|
|
2888
2969
|
//#endregion
|
|
2889
2970
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
2890
2971
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -2909,7 +2990,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
2909
2990
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
2910
2991
|
* @returns the current block
|
|
2911
2992
|
*/
|
|
2912
|
-
declare const useCurrentBlock: () =>
|
|
2993
|
+
declare const useCurrentBlock: () => _tanstack_react_query24.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
2913
2994
|
//#endregion
|
|
2914
2995
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
2915
2996
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -2918,7 +2999,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
2918
2999
|
* Get the chain id
|
|
2919
3000
|
* @returns The chain id
|
|
2920
3001
|
*/
|
|
2921
|
-
declare const useGetChainId: () =>
|
|
3002
|
+
declare const useGetChainId: () => _tanstack_react_query24.UseQueryResult<string, Error>;
|
|
2922
3003
|
//#endregion
|
|
2923
3004
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
2924
3005
|
/**
|
|
@@ -3170,7 +3251,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3170
3251
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3171
3252
|
* @returns Query result containing the transaction receipt
|
|
3172
3253
|
*/
|
|
3173
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3254
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query24.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3174
3255
|
//#endregion
|
|
3175
3256
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
|
|
3176
3257
|
type SendTokenContentProps = {
|
|
@@ -3209,7 +3290,7 @@ declare const SendTokenSummaryContent: ({
|
|
|
3209
3290
|
}: SendTokenSummaryContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3210
3291
|
//#endregion
|
|
3211
3292
|
//#region src/components/AccountModal/Contents/SendToken/SelectTokenContent.d.ts
|
|
3212
|
-
type Props$
|
|
3293
|
+
type Props$15 = {
|
|
3213
3294
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3214
3295
|
onSelectToken: (token: TokenWithValue) => void;
|
|
3215
3296
|
onBack: () => void;
|
|
@@ -3222,18 +3303,18 @@ declare const SelectTokenContent: ({
|
|
|
3222
3303
|
onSelectToken,
|
|
3223
3304
|
onBack,
|
|
3224
3305
|
showAllTokens
|
|
3225
|
-
}: Props$
|
|
3306
|
+
}: Props$15) => react_jsx_runtime3.JSX.Element;
|
|
3226
3307
|
//#endregion
|
|
3227
3308
|
//#region src/components/AccountModal/Contents/Receive/ReceiveTokenContent.d.ts
|
|
3228
|
-
type Props$
|
|
3309
|
+
type Props$14 = {
|
|
3229
3310
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3230
3311
|
};
|
|
3231
3312
|
declare const ReceiveTokenContent: ({
|
|
3232
3313
|
setCurrentContent
|
|
3233
|
-
}: Props$
|
|
3314
|
+
}: Props$14) => react_jsx_runtime3.JSX.Element;
|
|
3234
3315
|
//#endregion
|
|
3235
3316
|
//#region src/components/AccountModal/Contents/Swap/SwapTokenContent.d.ts
|
|
3236
|
-
type Props$
|
|
3317
|
+
type Props$13 = {
|
|
3237
3318
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
3238
3319
|
fromTokenAddress?: string;
|
|
3239
3320
|
toTokenAddress?: string;
|
|
@@ -3242,7 +3323,7 @@ declare const SwapTokenContent: ({
|
|
|
3242
3323
|
setCurrentContent,
|
|
3243
3324
|
fromTokenAddress,
|
|
3244
3325
|
toTokenAddress
|
|
3245
|
-
}: Props$
|
|
3326
|
+
}: Props$13) => react_jsx_runtime3.JSX.Element;
|
|
3246
3327
|
//#endregion
|
|
3247
3328
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameContent.d.ts
|
|
3248
3329
|
type ChooseNameContentProps = {
|
|
@@ -3364,12 +3445,12 @@ declare const ManageCustomTokenContent: ({
|
|
|
3364
3445
|
}: ManageCustomTokenContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3365
3446
|
//#endregion
|
|
3366
3447
|
//#region src/components/AccountModal/Contents/Bridge/BridgeContent.d.ts
|
|
3367
|
-
type Props$
|
|
3448
|
+
type Props$12 = {
|
|
3368
3449
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3369
3450
|
};
|
|
3370
3451
|
declare const BridgeContent: ({
|
|
3371
3452
|
setCurrentContent
|
|
3372
|
-
}: Props$
|
|
3453
|
+
}: Props$12) => react_jsx_runtime3.JSX.Element;
|
|
3373
3454
|
//#endregion
|
|
3374
3455
|
//#region src/components/AccountModal/Contents/KitSettings/ChangeCurrencyContent.d.ts
|
|
3375
3456
|
type ChangeCurrencyContentProps = {
|
|
@@ -3380,20 +3461,20 @@ declare const ChangeCurrencyContent: ({
|
|
|
3380
3461
|
}: ChangeCurrencyContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3381
3462
|
//#endregion
|
|
3382
3463
|
//#region src/components/AccountModal/Contents/KitSettings/LanguageSettingsContent.d.ts
|
|
3383
|
-
type Props$
|
|
3464
|
+
type Props$11 = {
|
|
3384
3465
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3385
3466
|
};
|
|
3386
3467
|
declare const LanguageSettingsContent: ({
|
|
3387
3468
|
setCurrentContent
|
|
3388
|
-
}: Props$
|
|
3469
|
+
}: Props$11) => react_jsx_runtime3.JSX.Element;
|
|
3389
3470
|
//#endregion
|
|
3390
3471
|
//#region src/components/AccountModal/Contents/KitSettings/GasTokenSettingsContent.d.ts
|
|
3391
|
-
type Props$
|
|
3472
|
+
type Props$10 = {
|
|
3392
3473
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3393
3474
|
};
|
|
3394
3475
|
declare const GasTokenSettingsContent: ({
|
|
3395
3476
|
setCurrentContent
|
|
3396
|
-
}: Props$
|
|
3477
|
+
}: Props$10) => react_jsx_runtime3.JSX.Element;
|
|
3397
3478
|
//#endregion
|
|
3398
3479
|
//#region src/components/AccountModal/Contents/KitSettings/SettingsContent.d.ts
|
|
3399
3480
|
type SettingsContentProps = {
|
|
@@ -3464,7 +3545,7 @@ type FailedOperationContentProps = {
|
|
|
3464
3545
|
};
|
|
3465
3546
|
//#endregion
|
|
3466
3547
|
//#region src/components/AccountModal/Types/Types.d.ts
|
|
3467
|
-
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' | 'receive-token' | 'swap-token' | 'connection-details' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | 'add-custom-token' | 'assets' | '
|
|
3548
|
+
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' | 'receive-token' | 'swap-token' | 'connection-details' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | 'add-custom-token' | 'assets' | 'change-currency' | 'change-language' | 'gas-token-settings' | {
|
|
3468
3549
|
type: 'swap-token';
|
|
3469
3550
|
props: {
|
|
3470
3551
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3522,7 +3603,7 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' |
|
|
|
3522
3603
|
};
|
|
3523
3604
|
//#endregion
|
|
3524
3605
|
//#region src/components/AccountModal/AccountModal.d.ts
|
|
3525
|
-
type Props$
|
|
3606
|
+
type Props$9 = {
|
|
3526
3607
|
isOpen: boolean;
|
|
3527
3608
|
onClose: () => void;
|
|
3528
3609
|
initialContent?: AccountModalContentTypes;
|
|
@@ -3531,7 +3612,7 @@ declare const AccountModal: ({
|
|
|
3531
3612
|
isOpen,
|
|
3532
3613
|
onClose,
|
|
3533
3614
|
initialContent
|
|
3534
|
-
}: Props$
|
|
3615
|
+
}: Props$9) => react_jsx_runtime3.JSX.Element;
|
|
3535
3616
|
//#endregion
|
|
3536
3617
|
//#region src/components/AccountModal/Components/AccountDetailsButton.d.ts
|
|
3537
3618
|
interface AccountDetailsButtonProps {
|
|
@@ -3598,7 +3679,7 @@ declare const ActionButton: ({
|
|
|
3598
3679
|
}: ActionButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3599
3680
|
//#endregion
|
|
3600
3681
|
//#region src/components/AccountModal/Components/AccountSelector.d.ts
|
|
3601
|
-
type Props$
|
|
3682
|
+
type Props$8 = {
|
|
3602
3683
|
wallet: Wallet;
|
|
3603
3684
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3604
3685
|
size?: string;
|
|
@@ -3615,7 +3696,7 @@ declare const AccountSelector: ({
|
|
|
3615
3696
|
onClose,
|
|
3616
3697
|
mt,
|
|
3617
3698
|
style
|
|
3618
|
-
}: Props$
|
|
3699
|
+
}: Props$8) => react_jsx_runtime3.JSX.Element;
|
|
3619
3700
|
//#endregion
|
|
3620
3701
|
//#region src/components/AccountModal/Components/BalanceSection.d.ts
|
|
3621
3702
|
declare const BalanceSection: ({
|
|
@@ -3629,14 +3710,14 @@ declare const BalanceSection: ({
|
|
|
3629
3710
|
}) => react_jsx_runtime3.JSX.Element;
|
|
3630
3711
|
//#endregion
|
|
3631
3712
|
//#region src/components/AccountModal/Components/QuickActionsSection.d.ts
|
|
3632
|
-
type Props$
|
|
3713
|
+
type Props$7 = {
|
|
3633
3714
|
mt?: number;
|
|
3634
3715
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3635
3716
|
};
|
|
3636
3717
|
declare const QuickActionsSection: ({
|
|
3637
3718
|
mt,
|
|
3638
3719
|
setCurrentContent
|
|
3639
|
-
}: Props$
|
|
3720
|
+
}: Props$7) => react_jsx_runtime3.JSX.Element;
|
|
3640
3721
|
//#endregion
|
|
3641
3722
|
//#region src/components/AccountModal/Components/Alerts/FeatureAnnouncementCard.d.ts
|
|
3642
3723
|
type FeatureAnnouncementCardProps = {
|
|
@@ -3665,7 +3746,7 @@ declare const ModalBackButton: ({
|
|
|
3665
3746
|
}: BackButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3666
3747
|
//#endregion
|
|
3667
3748
|
//#region src/components/common/AddressDisplay.d.ts
|
|
3668
|
-
type Props$
|
|
3749
|
+
type Props$6 = {
|
|
3669
3750
|
wallet: Wallet;
|
|
3670
3751
|
label?: string;
|
|
3671
3752
|
style?: PropsOf<typeof VStack>;
|
|
@@ -3676,29 +3757,32 @@ declare const AddressDisplay: ({
|
|
|
3676
3757
|
label,
|
|
3677
3758
|
style,
|
|
3678
3759
|
showHumanAddress
|
|
3679
|
-
}: Props$
|
|
3760
|
+
}: Props$6) => react_jsx_runtime3.JSX.Element;
|
|
3680
3761
|
//#endregion
|
|
3681
3762
|
//#region src/components/common/VersionFooter.d.ts
|
|
3682
|
-
type Props$
|
|
3763
|
+
type Props$5 = {} & Omit<StackProps, 'dangerouslySetInnerHTML'>;
|
|
3683
3764
|
declare const VersionFooter: ({
|
|
3684
3765
|
...props
|
|
3685
|
-
}: Props$
|
|
3766
|
+
}: Props$5) => react_jsx_runtime3.JSX.Element;
|
|
3686
3767
|
//#endregion
|
|
3687
3768
|
//#region src/components/common/StickyHeaderContainer.d.ts
|
|
3688
|
-
type Props$
|
|
3769
|
+
type Props$4 = {
|
|
3689
3770
|
children: React.ReactNode;
|
|
3690
3771
|
};
|
|
3772
|
+
declare const useStickyHeaderContext: () => {
|
|
3773
|
+
hasContentBelow: boolean;
|
|
3774
|
+
};
|
|
3691
3775
|
declare const StickyHeaderContainer: ({
|
|
3692
3776
|
children
|
|
3693
|
-
}: Props$
|
|
3777
|
+
}: Props$4) => react_jsx_runtime3.JSX.Element;
|
|
3694
3778
|
//#endregion
|
|
3695
3779
|
//#region src/components/common/StickyFooterContainer.d.ts
|
|
3696
|
-
type Props$
|
|
3780
|
+
type Props$3 = {
|
|
3697
3781
|
children: React.ReactNode;
|
|
3698
3782
|
};
|
|
3699
3783
|
declare const StickyFooterContainer: ({
|
|
3700
3784
|
children
|
|
3701
|
-
}: Props$
|
|
3785
|
+
}: Props$3) => react_jsx_runtime3.JSX.Element;
|
|
3702
3786
|
//#endregion
|
|
3703
3787
|
//#region src/components/common/BaseModal.d.ts
|
|
3704
3788
|
type BaseModalProps = {
|
|
@@ -3716,6 +3800,19 @@ type BaseModalProps = {
|
|
|
3716
3800
|
allowExternalFocus?: boolean;
|
|
3717
3801
|
backdropFilter?: string;
|
|
3718
3802
|
isCloseable?: boolean;
|
|
3803
|
+
/**
|
|
3804
|
+
* Whether to use bottom sheet on mobile devices.
|
|
3805
|
+
* When false (default), uses regular modal on all screen sizes.
|
|
3806
|
+
* When true, uses bottom sheet on mobile (< 768px) and regular modal on desktop.
|
|
3807
|
+
*/
|
|
3808
|
+
useBottomSheetOnMobile?: boolean;
|
|
3809
|
+
/**
|
|
3810
|
+
* Minimum and maximum height for the modal on mobile devices.
|
|
3811
|
+
*/
|
|
3812
|
+
mobileMinHeight?: string;
|
|
3813
|
+
mobileMaxHeight?: string;
|
|
3814
|
+
desktopMinHeight?: string;
|
|
3815
|
+
desktopMaxHeight?: string;
|
|
3719
3816
|
};
|
|
3720
3817
|
declare const BaseModal: ({
|
|
3721
3818
|
isOpen,
|
|
@@ -3728,7 +3825,12 @@ declare const BaseModal: ({
|
|
|
3728
3825
|
blockScrollOnMount,
|
|
3729
3826
|
allowExternalFocus,
|
|
3730
3827
|
backdropFilter,
|
|
3731
|
-
isCloseable
|
|
3828
|
+
isCloseable,
|
|
3829
|
+
useBottomSheetOnMobile,
|
|
3830
|
+
mobileMinHeight,
|
|
3831
|
+
mobileMaxHeight,
|
|
3832
|
+
desktopMinHeight,
|
|
3833
|
+
desktopMaxHeight
|
|
3732
3834
|
}: BaseModalProps) => react_jsx_runtime3.JSX.Element;
|
|
3733
3835
|
//#endregion
|
|
3734
3836
|
//#region src/components/common/AssetButton.d.ts
|
|
@@ -3752,7 +3854,6 @@ declare const AssetButton: ({
|
|
|
3752
3854
|
//#endregion
|
|
3753
3855
|
//#region src/components/common/AddressDisplayCard.d.ts
|
|
3754
3856
|
type AddressDisplayCardProps = {
|
|
3755
|
-
label: string;
|
|
3756
3857
|
address: string;
|
|
3757
3858
|
domain?: string;
|
|
3758
3859
|
imageSrc: string;
|
|
@@ -3762,7 +3863,6 @@ type AddressDisplayCardProps = {
|
|
|
3762
3863
|
tokenAddress?: string;
|
|
3763
3864
|
};
|
|
3764
3865
|
declare const AddressDisplayCard: ({
|
|
3765
|
-
label,
|
|
3766
3866
|
address,
|
|
3767
3867
|
domain,
|
|
3768
3868
|
imageSrc,
|
|
@@ -3886,38 +3986,6 @@ declare const GasFeeTokenSelector: ({
|
|
|
3886
3986
|
walletAddress
|
|
3887
3987
|
}: GasFeeTokenSelectorProps) => react_jsx_runtime3.JSX.Element;
|
|
3888
3988
|
//#endregion
|
|
3889
|
-
//#region src/components/LoginLoadingModal/LoginLoadingModal.d.ts
|
|
3890
|
-
type LoginLoadingModalProps = {
|
|
3891
|
-
isOpen: boolean;
|
|
3892
|
-
onClose: () => void;
|
|
3893
|
-
error?: string;
|
|
3894
|
-
title?: string;
|
|
3895
|
-
loadingText?: string;
|
|
3896
|
-
onTryAgain?: () => void;
|
|
3897
|
-
};
|
|
3898
|
-
declare const LoginLoadingModal: ({
|
|
3899
|
-
isOpen,
|
|
3900
|
-
onClose,
|
|
3901
|
-
error,
|
|
3902
|
-
title,
|
|
3903
|
-
loadingText,
|
|
3904
|
-
onTryAgain
|
|
3905
|
-
}: LoginLoadingModalProps) => react_jsx_runtime3.JSX.Element;
|
|
3906
|
-
//#endregion
|
|
3907
|
-
//#region src/components/EcosystemModal/EcosystemModal.d.ts
|
|
3908
|
-
type Props$3 = {
|
|
3909
|
-
isOpen: boolean;
|
|
3910
|
-
onClose: () => void;
|
|
3911
|
-
appsInfo: PrivyAppInfo[];
|
|
3912
|
-
isLoading: boolean;
|
|
3913
|
-
};
|
|
3914
|
-
declare const EcosystemModal: ({
|
|
3915
|
-
isOpen,
|
|
3916
|
-
onClose,
|
|
3917
|
-
appsInfo,
|
|
3918
|
-
isLoading
|
|
3919
|
-
}: Props$3) => react_jsx_runtime3.JSX.Element;
|
|
3920
|
-
//#endregion
|
|
3921
3989
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
3922
3990
|
type SuccessfulOperationContentProps = {
|
|
3923
3991
|
setCurrentContent: React.Dispatch<React.SetStateAction<UpgradeSmartAccountModalContentsTypes>>;
|
|
@@ -3980,9 +4048,11 @@ type AccountModalOptions = {
|
|
|
3980
4048
|
isolatedView?: boolean;
|
|
3981
4049
|
};
|
|
3982
4050
|
type ModalContextType = {
|
|
3983
|
-
openConnectModal: () => void;
|
|
4051
|
+
openConnectModal: (initialContent?: ConnectModalContentsTypes) => void;
|
|
3984
4052
|
closeConnectModal: () => void;
|
|
3985
4053
|
isConnectModalOpen: boolean;
|
|
4054
|
+
connectModalContent: ConnectModalContentsTypes;
|
|
4055
|
+
setConnectModalContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
3986
4056
|
openAccountModal: (content?: AccountModalContentTypes, options?: AccountModalOptions) => void;
|
|
3987
4057
|
closeAccountModal: () => void;
|
|
3988
4058
|
isAccountModalOpen: boolean;
|
|
@@ -4049,5 +4119,5 @@ type AppConfig = {
|
|
|
4049
4119
|
};
|
|
4050
4120
|
declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
|
|
4051
4121
|
//#endregion
|
|
4052
|
-
export { ManageCustomTokenContentProps as $, getErc20BalanceQueryKey as $a, useSendTokenModal as $i, useScrollToTop as $n, AccountMainContent as $o, leftPadWithZeros as $r, GasTokenPreferences as $s, useUpgradeRequired as $t, ModalBackButton as A, useXAppsShares as Aa, useSignTypedData as Ai, useGasTokenSelection as An, getTextRecordsQueryKey as Ao, isInvalid as Ar, usePrivyWalletProvider as As, useTxReceipt as At, AccountModal as B, useRefreshBalances as Ba, ReceiveModalProvider as Bi, useEcosystemShortcuts as Bn, useIsDomainProtected as Bo, XNodeStrengthLevelToName as Br, LegalDocumentSource as Bs, getAllEventLogs as Bt, AddressDisplayCard as C, getIpfsImageQueryKey as Ca, AppHubApp as Ci, getAccountBalance as Cn, getAvatarOfAddressQueryKey as Co, ViewFunctionResult as Cr, LegalDocumentsProvider as Cs, useDAppKitWallet as Ct, StickyHeaderContainer as D, getIpfsMetadataQueryKey as Da, useLoginWithVeChain as Di, useEstimateAllTokens as Dn, buildClauses as Do, isValidUrl as Dr, useVechainKitThemeConfig as Ds, useSetWalletRecovery as Dt, StickyFooterContainer as E, getIpfsMetadata as Ea, useAppHubApps as Ei, UseEstimateAllTokensParams as En, useGetResolverAddress as Eo, executeMultipleClausesCall as Er, VechainKitThemeProvider as Es, usePrivy as Et, QuickActionsSection as F, UseWalletReturnType as Fa, ProfileModalProvider as Fi, getDepositAccount as Fn, DomainsResponse as Fo, isRejectionError as Fr, VeChainKitProvider as Fs, buildERC20Clauses as Ft, SettingsContent as G, useIsPerson as Ga, useFAQModal as Gi, buildBatchAuthorizationTypedData as Gn, useEnsRecordExists as Go, convertUriToUrl as Gr, EstimationResponse as Gs, currentBlockQueryKey as Gt, DisconnectConfirmContent as H, XApp as Ha, AccountCustomizationModalProvider as Hi, LocalStorageKey as Hn, useClaimVetDomain as Ho, buildQueryString as Hr, CostLevel as Hs, getChainId as Ht, BalanceSection as I, useWallet as Ia, useProfileModal as Ii, signVip191Transaction as In, getDomainsOfAddress as Io, TIME as Ir, VechainKitProviderProps as Is, useTransferERC20 as It, LanguageSettingsContent as J, PRICE_FEED_IDS as Ja, ExploreEcosystemModalProvider as Ji, GetEventsKeyParams as Jn, fetchPrivyStatus as Jo, uploadBlobToIPFS as Jr, VthoPerGasAtSpeed as Js, getUpgradeRequiredForAccount as Jt, SettingsContentProps as K, getVot3BalanceQueryKey as Ka, NotificationsModalProvider as Ki, buildSingleAuthorizationTypedData as Kn, getVechainDomainQueryKey as Ko, resolveMediaTypeFromMimeType as Kr, Rate as Ks, useCurrentBlock as Kt, AccountSelector as L, getRoundXAppsQueryKey as La, UpgradeSmartAccountModalProvider as Li, useGenericDelegator as Ln, getDomainsOfAddressQueryKey as Lo, EconomicNodeStrengthLevelToName as Lr, useVeChainKitConfig as Ls, UseSendTransactionReturnValue as Lt, DomainRequiredAlert as M, getXAppMetadata as Ma, useNotificationAlerts as Mi, delegateAuthorized as Mn, getAvatarQueryKey as Mo, normalize as Mr, LegalDocumentOptions as Ms, useBuildTransaction as Mt, ExchangeWarningAlert as N, useXAppMetadata as Na, useNotifications as Ni, estimateAndBuildTxBody as Nn, useGetAvatar as No, removePrefix as Nr, VeChainKitConfig as Ns, buildVETClauses as Nt, VersionFooter as O, useIpfsMetadata as Oa, useLoginWithOAuth as Oi, useGenericDelegatorFeeEstimation as On, useUpdateTextRecord as Oo, addPrefix as Or, PrivyWalletProvider as Os, useThor as Ot, FeatureAnnouncementCard as P, useWalletMetadata as Pa, useAccountModalOptions as Pi, estimateGas as Pn, Domain as Po, validate as Pr, VeChainKitContext as Ps, useTransferVET as Pt, ManageCustomTokenContent as Q, useGetTokenUsdPrice as Qa, SendTokenModalProvider as Qi, useEvents as Qn, useFetchAppInfo as Qo, isValidAddress as Qr, GasTokenInfo as Qs, getUpgradeRequiredQueryKey as Qt, ActionButton as R, useRoundXApps as Ra, useUpgradeSmartAccountModal as Ri, useCrossAppConnectionCache as Rn, useGetDomainsOfAddress as Ro, MinXNodeLevel as Rr, EnrichedLegalDocument as Rs, useSendTransaction as Rt, ModalFAQButton as S, getIpfsImage as Sa, notFoundImage as Si, useAccountImplementationAddress as Sn, useGetAvatarLegacy as So, MultipleClausesCallReturnType as Sr, ConnectModalContentsTypes as Ss, ThorClient$1 as St, BaseModal as T, useIpfsImageList as Ta, getAppHubAppsQueryKey as Ti, useAccountBalance as Tn, getResolverAddressQueryKey as To, executeCallClause as Tr, ColorModeSync as Ts, useMfaEnrollment as Tt, DisconnectConfirmContentProps as U, useMostVotedAppsInRound as Ua, useAccountCustomizationModal as Ui, useLocalStorage as Un, useClaimVeWorldSubdomain as Uo, gmNfts as Ur, DepositAccount as Us, getChainIdQueryKey as Ut, AccountModalContentTypes as V, MostVotedAppsInRoundReturnType as Va, useReceiveModal as Vi, useSyncableLocalStorage as Vn, buildVetDomainClauses as Vo, allNodeStrengthLevelToName as Vr, LegalDocumentType as Vs, getEventLogs as Vt, TermsAndPrivacyContent as W, getIsPersonQueryKey as Wa, FAQModalProvider as Wi, BuildClausesParams as Wn, getEnsRecordExistsQueryKey as Wo, xNodeToGMstartingLevel as Wr, EstimatedGas as Ws, useGetChainId as Wt, ChangeCurrencyContentProps as X, getTokenUsdPrice as Xa, SwapTokenModalProvider as Xi, decodeEventLog$1 as Xn, fetchPrivyAppInfo as Xo, compareAddresses as Xr, formatGasCost as Xs, useUpgradeRequiredForAccount as Xt, ChangeCurrencyContent as Y, SupportedToken as Ya, useExploreEcosystemModal as Yi, UseEventsParams as Yn, useFetchPrivyStatus as Yo, validateIpfsUri as Yr, calculateTotalCost as Ys, getUpgradeRequiredForAccountQueryKey as Yt, BridgeContent as Z, getTokenUsdPriceQueryKey as Za, useSwapTokenModal as Zi, getEventsKey as Zn, getPrivyAppInfoQueryKey as Zo, compareListOfAddresses as Zr, GasTokenEstimate as Zs, getUpgradeRequired as Zt, ModalNotificationButton as _, imageCompressionOptions as _a, TokenBalance as _c, VECHAIN_KIT_STORAGE_KEYS as _i, getCurrentAccountImplementationVersion as _n, WalletTokenBalance as _o, removeLocalStorageItem as _r, VeChainLoginButton as _s, SwapTokenContent as _t, useModal as a, useTransactionToast as aa, CURRENCY as ac, humanDomain as ai, useRefreshFactoryQueries as an, getCustomTokenBalanceQueryKey as ao, useCurrency as ar, SocialIcons as as, ProfileContentProps as at, AccountAvatar as b, IpfsImage as ba, VePassportUserStatus as bc, getENV as bi, getAccountImplementationAddress as bn, getAvatarLegacy as bo, setLocalStorageItem as br, MainContent as bs, SendTokenSummaryContent as bt, LegalDocumentsModal as c, AccountModalProvider as ca, CrossAppConnectionCache as cc, DEFAULT_GAS_TOKEN_PREFERENCES as ci, useIsSmartAccountDeployed as cn, useGetB3trBalance as co, useCallClause as cr, WalletDisplayVariant as cs, AccountCustomizationContentProps as ct, UpgradeSmartAccountModalContentsTypes as d, useConnectModal as da, ExecuteBatchWithAuthorizationSignData as dc, PrivyEcosystemApp as di, useHasV1SmartAccount as dn, useCurrentAllocationsRoundId as do, getDocumentTitle as dr, VeChainWithPrivyLoginButton as ds, ChooseNameSummaryContent as dt, ChooseNameModalProvider as ea, GasTokenSelection as ec, regexPattern as ei, SmartAccountReturnType as en, useGetErc20Balance as eo, useIsPWA as er, TransactionToast as es, AssetsContent as et, UpgradeSmartAccountModalStyle as f, useSwapQuotes as fa, ExecuteWithAuthorizationSignData as fc, SUPPORTED_GAS_TOKENS as fi, getAccountVersionQueryKey as fn, useTotalBalance as fo, getLocalStorageItem as fr, DappKitButton as fs, ChooseNameSummaryContentProps as ft, GasFeeSummary as g, compressImages as ga, SmartAccount as gc, VECHAIN_KIT_COOKIES_CONFIG as gi, useGetAccountAddress as gn, useTokenPrices as go, isOnline as gr, EcosystemButton as gs, ChooseNameContentProps as gt, GasFeeTokenSelector as h, UploadedImage as ha, PrivyLoginMethod as hc, TogglePassportCheck as hi, getAccountAddressQueryKey as hn, ExchangeRates as ho, isBrowser as hr, PrivyButton as hs, ChooseNameContent as ht, ModalProvider as i, TransactionToastProvider as ia, TextRecords as ic, humanAddress as ii, useRefreshSmartAccountQueries as in, TokenWithBalance as io, useCurrentLanguage as ir, TransactionModalProps as is, ProfileContent as it, CrossAppConnectionSecurityCard as j, XAppMetadata as ja, useSignMessage as ji, decodeRawTx as jn, useGetTextRecords as jo, isValid as jr, LegalDocument as js, BuildTransactionProps as jt, AddressDisplay as k, getXAppsSharesQueryKey as ka, useLoginWithPasskey as ki, useGenericDelegatorFeeEstimationParams as kn, getTextRecords as ko, compare as kr, PrivyWalletProviderContextType as ks, txReceiptQueryKey as kt, LegalDocumentsModalContentsTypes as l, useAccountModal as la, ENSRecords as lc, DEFAULT_PRIVY_ECOSYSTEM_APPS as li, getHasV1SmartAccount as ln, useCustomTokens as lo, useMultipleClausesCall as lr, ConnectPopover as ls, CustomizationContent as lt, LoginLoadingModal as m, useSingleImageUpload as ma, PrivyAppInfo as mc, TOKEN_LOGO_COMPONENTS as mi, getAccountAddress as mn, useTokensWithValues as mo, hasNavigator as mr, LoginWithGoogleButton as ms, ChooseNameSearchContentProps as mt, getConfig as n, WalletModalProvider as na, TransactionSpeed as nc, formatTokenBalance as ni, getSmartAccountQueryKey as nn, getTokenInfo as no, useFeatureAnnouncement as nr, ShareButtons as ns, UpgradeSmartAccountContent as nt, DAppKitWalletButton as o, TransactionModalProvider as oa, CURRENCY_SYMBOLS as oc, humanNumber as oi, getIsDeployed as on, useGetCustomTokenBalances as oo, getCallClauseQueryKey as or, WalletButton as os, CustomizationSummaryContent as ot, EcosystemModal as p, useSwapTransaction as pa, NFTMediaType as pc, TOKEN_LOGOS as pi, useGetAccountVersion as pn, TokenWithValue as po, getWindowOrigin as pr, PasskeyLoginButton as ps, ChooseNameSearchContent as pt, GasTokenSettingsContent as q, useGetVot3Balance as qa, useNotificationsModal as qi, useBuildClauses as qn, useVechainDomain as qo, toIPFSURL as qr, TransactionCost as qs, useUpgradeSmartAccount as qt, AccountModalOptions as r, useWalletModal as ra, ENS_TEXT_RECORDS as rc, getPicassoImage as ri, useSmartAccount as rn, useGetCustomTokenInfo as ro, useCurrentCurrency as rr, TransactionModal as rs, UpgradeSmartAccountContentProps as rt, LegalDocumentItem as s, useTransactionModal as sa, ConnectionSource as sc, isZero as si, getIsDeployedQueryKey as sn, getB3trBalanceQueryKey as so, getCallClauseQueryKeyWithArgs as sr, WalletButtonProps as ss, CustomizationSummaryContentProps as st, AppConfig as t, useChooseNameModal as ta, GasTokenType as tc, randomTransactionUser as ti, getSmartAccount as tn, getCustomTokenInfoQueryKey as to, useGetNodeUrl as tr, TransactionModalContent as ts, AssetsContentProps as tt, UpgradeSmartAccountModal as u, ConnectModalProvider as ua, EnhancedClause as uc, ENV as ui, getHasV1SmartAccountQueryKey as un, getCurrentAllocationsRoundIdQueryKey as uo, copyToClipboard as ur, LoginWithGithubButton as us, FAQContent as ut, TransactionButtonAndStatus as v, useUploadImages as va, TransactionStatus as vc, VECHAIN_KIT_TERMS_CONFIG as vi, getCurrentAccountImplementationVersionQueryKey as vn, useTokenBalances as vo, safeQuerySelector as vr, EmailLoginButton as vs, ReceiveTokenContent as vt, AssetButton as w, useIpfsImage as wa, fetchAppHubApps as wi, getAccountBalanceQueryKey as wn, useGetAvatarOfAddress as wo, buildCallClauses as wr, useLegalDocuments as ws, useDAppKitWalletModal as wt, ScrollToTopWrapper as x, MAX_IMAGE_SIZE as xa, Wallet as xc, getGenericDelegatorUrl as xi, getAccountImplementationAddressQueryKey as xn, getAvatarLegacyQueryKey as xo, MultipleClausesCallParameters as xr, ConnectModal as xs, SendTokenContent as xt, TransactionButtonAndStatusProps as y, useIpfsMetadatas as ya, TransactionStatusErrorType as yc, VECHAIN_PRIVY_APP_ID as yi, useCurrentAccountImplementationVersion as yn, useUnsetDomain as yo, safeWindowOpen as yr, ConnectionButton as ys, SelectTokenContent as yt, AccountDetailsButton as z, useRefreshMetadata as za, useLoginModalContent as zi, EcosystemShortcut as zn, getIsDomainProtectedQueryKey as zo, NodeStrengthLevelToImage as zr, LegalDocumentAgreement as zs, GetEventsProps as zt };
|
|
4053
|
-
//# sourceMappingURL=index-
|
|
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-BlCAiOq5.d.mts.map
|