@vechain/vechain-kit 2.2.3 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.d.mts +1 -1
- package/dist/{index-Bs6t5GxR.d.mts → index--hSO7Xv4.d.mts} +4 -4
- package/dist/{index-Bs6t5GxR.d.mts.map → index--hSO7Xv4.d.mts.map} +1 -1
- package/dist/{index-DpCZuqUP.d.mts → index-B_77CDYZ.d.mts} +379 -157
- package/dist/index-B_77CDYZ.d.mts.map +1 -0
- package/dist/{index-BAtr2iQI.d.cts → index-CkflGtlh.d.cts} +438 -216
- package/dist/index-CkflGtlh.d.cts.map +1 -0
- package/dist/index.cjs +32 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +32 -6
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.d.cts +1 -1
- package/dist/utils/index.d.mts +2 -2
- package/package.json +6 -5
- package/dist/index-BAtr2iQI.d.cts.map +0 -1
- package/dist/index-DpCZuqUP.d.mts.map +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { ButtonProps, IconButtonProps, ImageProps, PropsOf, StackProps, ThemeTypings, VStack } from "@chakra-ui/react";
|
|
2
2
|
import * as react0 from "react";
|
|
3
3
|
import React$1, { ElementType, ReactElement, ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
import * as _vechain_sdk_network0 from "@vechain/sdk-network";
|
|
6
6
|
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
7
7
|
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
8
8
|
import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
9
|
-
import { Address, Certificate, CertificateData, Clause, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
9
|
+
import { Address, Certificate, CertificateData, Clause, Revision, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
10
10
|
import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
11
11
|
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
12
12
|
import { CustomizedStyle, I18n, SourceInfo } from "@vechain/dapp-kit-ui";
|
|
13
13
|
import { IconType } from "react-icons";
|
|
14
|
-
import * as
|
|
14
|
+
import * as _tanstack_react_query8 from "@tanstack/react-query";
|
|
15
15
|
import { UseQueryOptions } from "@tanstack/react-query";
|
|
16
16
|
import { z } from "zod";
|
|
17
17
|
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
@@ -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
|
|
@@ -426,6 +426,12 @@ interface VechainKitThemeConfig {
|
|
|
426
426
|
backdropFilter?: string;
|
|
427
427
|
borderRadius?: string;
|
|
428
428
|
rounded?: string | number;
|
|
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;
|
|
429
435
|
};
|
|
430
436
|
buttons?: {
|
|
431
437
|
secondaryButton?: {
|
|
@@ -623,7 +629,7 @@ declare const VeChainKitContext: react0.Context<VeChainKitConfig | null>;
|
|
|
623
629
|
* ```
|
|
624
630
|
*/
|
|
625
631
|
declare const useVeChainKitConfig: () => VeChainKitConfig;
|
|
626
|
-
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) =>
|
|
632
|
+
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) => react_jsx_runtime0.JSX.Element;
|
|
627
633
|
//#endregion
|
|
628
634
|
//#region src/providers/PrivyWalletProvider.d.ts
|
|
629
635
|
interface PrivyWalletProviderContextType {
|
|
@@ -666,11 +672,11 @@ declare const PrivyWalletProvider: ({
|
|
|
666
672
|
delegatorUrl?: string;
|
|
667
673
|
delegateAllTransactions: boolean;
|
|
668
674
|
genericDelegator?: boolean;
|
|
669
|
-
}) =>
|
|
675
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
670
676
|
declare const usePrivyWalletProvider: () => PrivyWalletProviderContextType;
|
|
671
677
|
//#endregion
|
|
672
678
|
//#region src/providers/VechainKitThemeProvider.d.ts
|
|
673
|
-
type Props$
|
|
679
|
+
type Props$35 = {
|
|
674
680
|
children: ReactNode;
|
|
675
681
|
darkMode?: boolean;
|
|
676
682
|
theme?: VechainKitThemeConfig;
|
|
@@ -678,20 +684,21 @@ type Props$32 = {
|
|
|
678
684
|
declare const useVechainKitThemeConfig: () => {
|
|
679
685
|
portalRootRef?: React.RefObject<HTMLDivElement | null>;
|
|
680
686
|
tokens?: ThemeTokens;
|
|
687
|
+
themeConfig?: VechainKitThemeConfig;
|
|
681
688
|
};
|
|
682
689
|
declare const ColorModeSync: ({
|
|
683
690
|
darkMode
|
|
684
691
|
}: {
|
|
685
692
|
darkMode: boolean;
|
|
686
|
-
}) =>
|
|
693
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
687
694
|
declare const VechainKitThemeProvider: ({
|
|
688
695
|
children,
|
|
689
696
|
darkMode,
|
|
690
697
|
theme: customTheme
|
|
691
|
-
}: Props$
|
|
698
|
+
}: Props$35) => react_jsx_runtime0.JSX.Element;
|
|
692
699
|
//#endregion
|
|
693
700
|
//#region src/providers/LegalDocumentsProvider.d.ts
|
|
694
|
-
type Props$
|
|
701
|
+
type Props$34 = {
|
|
695
702
|
children: Readonly<ReactNode>;
|
|
696
703
|
};
|
|
697
704
|
type LegalDocumentsContextType = {
|
|
@@ -704,28 +711,103 @@ type LegalDocumentsContextType = {
|
|
|
704
711
|
declare const useLegalDocuments: () => LegalDocumentsContextType;
|
|
705
712
|
declare const LegalDocumentsProvider: ({
|
|
706
713
|
children
|
|
707
|
-
}: Props$
|
|
714
|
+
}: Props$34) => react_jsx_runtime0.JSX.Element;
|
|
708
715
|
//#endregion
|
|
709
716
|
//#region src/components/ConnectModal/ConnectModal.d.ts
|
|
710
|
-
type Props$
|
|
717
|
+
type Props$33 = {
|
|
711
718
|
isOpen: boolean;
|
|
712
719
|
onClose: () => void;
|
|
720
|
+
initialContent?: ConnectModalContentsTypes;
|
|
721
|
+
preventAutoClose?: boolean;
|
|
722
|
+
};
|
|
723
|
+
type ConnectModalContentsTypes = 'main' | 'faq' | {
|
|
724
|
+
type: 'ecosystem';
|
|
725
|
+
props: {
|
|
726
|
+
appsInfo: PrivyAppInfo[];
|
|
727
|
+
isLoading: boolean;
|
|
728
|
+
showBackButton?: boolean;
|
|
729
|
+
};
|
|
730
|
+
} | {
|
|
731
|
+
type: 'loading';
|
|
732
|
+
props: {
|
|
733
|
+
title?: string;
|
|
734
|
+
loadingText?: string;
|
|
735
|
+
onTryAgain?: () => void;
|
|
736
|
+
showBackButton?: boolean;
|
|
737
|
+
};
|
|
738
|
+
} | {
|
|
739
|
+
type: 'error';
|
|
740
|
+
props: {
|
|
741
|
+
error: string;
|
|
742
|
+
onTryAgain: () => void;
|
|
743
|
+
};
|
|
713
744
|
};
|
|
714
|
-
type ConnectModalContentsTypes = 'main' | 'email-verification' | 'faq';
|
|
715
745
|
declare const ConnectModal: ({
|
|
716
746
|
isOpen,
|
|
717
|
-
onClose
|
|
718
|
-
|
|
747
|
+
onClose,
|
|
748
|
+
initialContent,
|
|
749
|
+
preventAutoClose
|
|
750
|
+
}: Props$33) => react_jsx_runtime0.JSX.Element;
|
|
719
751
|
//#endregion
|
|
720
752
|
//#region src/components/ConnectModal/Contents/MainContent.d.ts
|
|
721
|
-
type Props$
|
|
753
|
+
type Props$32 = {
|
|
722
754
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
723
755
|
onClose: () => void;
|
|
756
|
+
preventAutoClose?: boolean;
|
|
724
757
|
};
|
|
725
758
|
declare const MainContent: ({
|
|
726
759
|
setCurrentContent,
|
|
727
|
-
onClose
|
|
728
|
-
|
|
760
|
+
onClose,
|
|
761
|
+
preventAutoClose
|
|
762
|
+
}: Props$32) => react_jsx_runtime0.JSX.Element;
|
|
763
|
+
//#endregion
|
|
764
|
+
//#region src/components/ConnectModal/Contents/LoadingContent.d.ts
|
|
765
|
+
type LoadingContentProps = {
|
|
766
|
+
loadingText?: string;
|
|
767
|
+
title?: string;
|
|
768
|
+
onTryAgain?: () => void;
|
|
769
|
+
onClose: () => void;
|
|
770
|
+
onGoBack: () => void;
|
|
771
|
+
showBackButton?: boolean;
|
|
772
|
+
};
|
|
773
|
+
declare const LoadingContent: ({
|
|
774
|
+
loadingText,
|
|
775
|
+
title,
|
|
776
|
+
onTryAgain,
|
|
777
|
+
onClose,
|
|
778
|
+
onGoBack,
|
|
779
|
+
showBackButton
|
|
780
|
+
}: LoadingContentProps) => react_jsx_runtime0.JSX.Element;
|
|
781
|
+
//#endregion
|
|
782
|
+
//#region src/components/ConnectModal/Contents/ErrorContent.d.ts
|
|
783
|
+
type ErrorContentProps = {
|
|
784
|
+
error: string;
|
|
785
|
+
onClose: () => void;
|
|
786
|
+
onTryAgain: () => void;
|
|
787
|
+
onGoBack: () => void;
|
|
788
|
+
};
|
|
789
|
+
declare const ErrorContent: ({
|
|
790
|
+
error,
|
|
791
|
+
onClose,
|
|
792
|
+
onTryAgain,
|
|
793
|
+
onGoBack
|
|
794
|
+
}: ErrorContentProps) => react_jsx_runtime0.JSX.Element;
|
|
795
|
+
//#endregion
|
|
796
|
+
//#region src/components/ConnectModal/Contents/EcosystemContent.d.ts
|
|
797
|
+
type Props$31 = {
|
|
798
|
+
onClose: () => void;
|
|
799
|
+
appsInfo: PrivyAppInfo[];
|
|
800
|
+
isLoading: boolean;
|
|
801
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
802
|
+
showBackButton?: boolean;
|
|
803
|
+
};
|
|
804
|
+
declare const EcosystemContent: ({
|
|
805
|
+
onClose,
|
|
806
|
+
appsInfo,
|
|
807
|
+
isLoading,
|
|
808
|
+
setCurrentContent,
|
|
809
|
+
showBackButton
|
|
810
|
+
}: Props$31) => react_jsx_runtime0.JSX.Element;
|
|
729
811
|
//#endregion
|
|
730
812
|
//#region src/components/ConnectModal/Components/ConnectionButton.d.ts
|
|
731
813
|
interface ConnectionButtonProps {
|
|
@@ -748,35 +830,39 @@ declare const ConnectionButton: ({
|
|
|
748
830
|
style,
|
|
749
831
|
variant,
|
|
750
832
|
iconWidth
|
|
751
|
-
}: ConnectionButtonProps) =>
|
|
833
|
+
}: ConnectionButtonProps) => react_jsx_runtime0.JSX.Element | null;
|
|
752
834
|
//#endregion
|
|
753
835
|
//#region src/components/ConnectModal/Components/EmailLoginButton.d.ts
|
|
754
|
-
declare const EmailLoginButton: () =>
|
|
836
|
+
declare const EmailLoginButton: () => react_jsx_runtime0.JSX.Element;
|
|
755
837
|
//#endregion
|
|
756
838
|
//#region src/components/ConnectModal/Components/VeChainLoginButton.d.ts
|
|
757
|
-
type Props$
|
|
839
|
+
type Props$30 = {
|
|
758
840
|
isDark: boolean;
|
|
759
841
|
gridColumn?: number;
|
|
842
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
760
843
|
};
|
|
761
844
|
declare const VeChainLoginButton: ({
|
|
762
845
|
isDark,
|
|
763
|
-
gridColumn
|
|
764
|
-
|
|
846
|
+
gridColumn,
|
|
847
|
+
setCurrentContent
|
|
848
|
+
}: Props$30) => react_jsx_runtime0.JSX.Element;
|
|
765
849
|
//#endregion
|
|
766
850
|
//#region src/components/ConnectModal/Components/EcosystemButton.d.ts
|
|
767
|
-
type Props$
|
|
851
|
+
type Props$29 = {
|
|
768
852
|
isDark: boolean;
|
|
769
853
|
appsInfo: PrivyAppInfo[];
|
|
770
854
|
isLoading: boolean;
|
|
771
855
|
gridColumn?: number;
|
|
856
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
772
857
|
};
|
|
773
858
|
declare const EcosystemButton: ({
|
|
774
859
|
appsInfo,
|
|
775
|
-
isLoading
|
|
776
|
-
|
|
860
|
+
isLoading,
|
|
861
|
+
setCurrentContent
|
|
862
|
+
}: Props$29) => react_jsx_runtime0.JSX.Element;
|
|
777
863
|
//#endregion
|
|
778
864
|
//#region src/components/ConnectModal/Components/PrivyButton.d.ts
|
|
779
|
-
type Props$
|
|
865
|
+
type Props$28 = {
|
|
780
866
|
isDark: boolean;
|
|
781
867
|
onViewMoreLogin: () => void;
|
|
782
868
|
gridColumn?: number;
|
|
@@ -785,57 +871,59 @@ declare const PrivyButton: ({
|
|
|
785
871
|
isDark,
|
|
786
872
|
onViewMoreLogin,
|
|
787
873
|
gridColumn
|
|
788
|
-
}: Props$
|
|
874
|
+
}: Props$28) => react_jsx_runtime0.JSX.Element;
|
|
789
875
|
//#endregion
|
|
790
876
|
//#region src/components/ConnectModal/Components/LoginWithGoogleButton.d.ts
|
|
791
|
-
type Props$
|
|
877
|
+
type Props$27 = {
|
|
792
878
|
isDark: boolean;
|
|
793
879
|
gridColumn?: number;
|
|
794
880
|
};
|
|
795
881
|
declare const LoginWithGoogleButton: ({
|
|
796
882
|
isDark,
|
|
797
883
|
gridColumn
|
|
798
|
-
}: Props$
|
|
884
|
+
}: Props$27) => react_jsx_runtime0.JSX.Element;
|
|
799
885
|
//#endregion
|
|
800
886
|
//#region src/components/ConnectModal/Components/PasskeyLoginButton.d.ts
|
|
801
|
-
type Props$
|
|
887
|
+
type Props$26 = {
|
|
802
888
|
isDark: boolean;
|
|
803
889
|
gridColumn?: number;
|
|
890
|
+
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
804
891
|
};
|
|
805
892
|
declare const PasskeyLoginButton: ({
|
|
806
893
|
isDark,
|
|
807
|
-
gridColumn
|
|
808
|
-
|
|
894
|
+
gridColumn,
|
|
895
|
+
setCurrentContent
|
|
896
|
+
}: Props$26) => react_jsx_runtime0.JSX.Element;
|
|
809
897
|
//#endregion
|
|
810
898
|
//#region src/components/ConnectModal/Components/DappKitButton.d.ts
|
|
811
|
-
type Props$
|
|
899
|
+
type Props$25 = {
|
|
812
900
|
isDark: boolean;
|
|
813
901
|
gridColumn?: number;
|
|
814
902
|
};
|
|
815
903
|
declare const DappKitButton: ({
|
|
816
904
|
isDark,
|
|
817
905
|
gridColumn
|
|
818
|
-
}: Props$
|
|
906
|
+
}: Props$25) => react_jsx_runtime0.JSX.Element;
|
|
819
907
|
//#endregion
|
|
820
908
|
//#region src/components/ConnectModal/Components/VeChainWithPrivyLoginButton.d.ts
|
|
821
|
-
type Props$
|
|
909
|
+
type Props$24 = {
|
|
822
910
|
isDark: boolean;
|
|
823
911
|
gridColumn?: number;
|
|
824
912
|
};
|
|
825
913
|
declare const VeChainWithPrivyLoginButton: ({
|
|
826
914
|
isDark,
|
|
827
915
|
gridColumn
|
|
828
|
-
}: Props$
|
|
916
|
+
}: Props$24) => react_jsx_runtime0.JSX.Element;
|
|
829
917
|
//#endregion
|
|
830
918
|
//#region src/components/ConnectModal/Components/LoginWithGithubButton.d.ts
|
|
831
|
-
type Props$
|
|
919
|
+
type Props$23 = {
|
|
832
920
|
isDark: boolean;
|
|
833
921
|
gridColumn?: number;
|
|
834
922
|
};
|
|
835
923
|
declare const LoginWithGithubButton: ({
|
|
836
924
|
isDark,
|
|
837
925
|
gridColumn
|
|
838
|
-
}: Props$
|
|
926
|
+
}: Props$23) => react_jsx_runtime0.JSX.Element;
|
|
839
927
|
//#endregion
|
|
840
928
|
//#region src/components/ConnectModal/ConnectPopover.d.ts
|
|
841
929
|
type ConnectPopoverProps = {
|
|
@@ -845,7 +933,7 @@ type ConnectPopoverProps = {
|
|
|
845
933
|
declare const ConnectPopover: ({
|
|
846
934
|
isLoading,
|
|
847
935
|
buttonStyle
|
|
848
|
-
}: ConnectPopoverProps) =>
|
|
936
|
+
}: ConnectPopoverProps) => react_jsx_runtime0.JSX.Element;
|
|
849
937
|
//#endregion
|
|
850
938
|
//#region src/components/WalletButton/types.d.ts
|
|
851
939
|
type WalletDisplayVariant = 'icon' | 'iconAndDomain' | 'iconDomainAndAddress' | 'iconDomainAndAssets';
|
|
@@ -856,16 +944,18 @@ type WalletButtonProps = {
|
|
|
856
944
|
desktopVariant?: WalletDisplayVariant;
|
|
857
945
|
buttonStyle?: ButtonProps;
|
|
858
946
|
connectionVariant?: 'modal' | 'popover';
|
|
947
|
+
label?: string;
|
|
859
948
|
};
|
|
860
949
|
declare const WalletButton: ({
|
|
861
950
|
mobileVariant,
|
|
862
951
|
desktopVariant,
|
|
863
952
|
buttonStyle,
|
|
864
|
-
connectionVariant
|
|
865
|
-
|
|
953
|
+
connectionVariant,
|
|
954
|
+
label
|
|
955
|
+
}: WalletButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
866
956
|
//#endregion
|
|
867
957
|
//#region src/components/WalletButton/SocialIcons.d.ts
|
|
868
|
-
declare const SocialIcons: () =>
|
|
958
|
+
declare const SocialIcons: () => react_jsx_runtime0.JSX.Element;
|
|
869
959
|
//#endregion
|
|
870
960
|
//#region src/components/TransactionModal/TransactionModal.d.ts
|
|
871
961
|
type TransactionModalProps = {
|
|
@@ -895,17 +985,17 @@ declare const TransactionModal: ({
|
|
|
895
985
|
txReceipt,
|
|
896
986
|
txError,
|
|
897
987
|
onTryAgain
|
|
898
|
-
}: TransactionModalProps) =>
|
|
988
|
+
}: TransactionModalProps) => react_jsx_runtime0.JSX.Element | null;
|
|
899
989
|
//#endregion
|
|
900
990
|
//#region src/components/TransactionModal/Components/ShareButtons.d.ts
|
|
901
|
-
type Props$
|
|
991
|
+
type Props$22 = {
|
|
902
992
|
descriptionEncoded: string;
|
|
903
993
|
url?: string;
|
|
904
994
|
facebookHashtag?: string;
|
|
905
995
|
};
|
|
906
996
|
declare const ShareButtons: ({
|
|
907
997
|
descriptionEncoded
|
|
908
|
-
}: Props$
|
|
998
|
+
}: Props$22) => react_jsx_runtime0.JSX.Element;
|
|
909
999
|
//#endregion
|
|
910
1000
|
//#region src/components/TransactionModal/TransactionModalContent.d.ts
|
|
911
1001
|
declare const TransactionModalContent: ({
|
|
@@ -915,7 +1005,7 @@ declare const TransactionModalContent: ({
|
|
|
915
1005
|
txReceipt,
|
|
916
1006
|
txError,
|
|
917
1007
|
onClose
|
|
918
|
-
}: Omit<TransactionModalProps, "isOpen">) =>
|
|
1008
|
+
}: Omit<TransactionModalProps, "isOpen">) => react_jsx_runtime0.JSX.Element;
|
|
919
1009
|
//#endregion
|
|
920
1010
|
//#region src/components/TransactionToast/TransactionToast.d.ts
|
|
921
1011
|
type TransactionToastProps = {
|
|
@@ -935,24 +1025,28 @@ declare const TransactionToast: ({
|
|
|
935
1025
|
txError,
|
|
936
1026
|
onTryAgain,
|
|
937
1027
|
description
|
|
938
|
-
}: TransactionToastProps) =>
|
|
1028
|
+
}: TransactionToastProps) => react_jsx_runtime0.JSX.Element | null;
|
|
939
1029
|
//#endregion
|
|
940
1030
|
//#region src/components/AccountModal/Contents/Account/AccountMainContent.d.ts
|
|
941
|
-
type Props$
|
|
1031
|
+
type Props$21 = {
|
|
942
1032
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
943
1033
|
onClose: () => void;
|
|
944
1034
|
wallet: Wallet;
|
|
1035
|
+
switchFeedback?: {
|
|
1036
|
+
showFeedback: boolean;
|
|
1037
|
+
};
|
|
945
1038
|
};
|
|
946
1039
|
declare const AccountMainContent: ({
|
|
947
1040
|
setCurrentContent,
|
|
948
1041
|
wallet,
|
|
949
|
-
onClose
|
|
950
|
-
|
|
1042
|
+
onClose,
|
|
1043
|
+
switchFeedback
|
|
1044
|
+
}: Props$21) => react_jsx_runtime0.JSX.Element;
|
|
951
1045
|
//#endregion
|
|
952
1046
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
953
1047
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
954
1048
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
955
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
1049
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query8.UseQueryResult<{
|
|
956
1050
|
[k: string]: {
|
|
957
1051
|
website: string | undefined;
|
|
958
1052
|
id: string;
|
|
@@ -973,7 +1067,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
973
1067
|
//#endregion
|
|
974
1068
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
975
1069
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
976
|
-
declare const useFetchPrivyStatus: () =>
|
|
1070
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
977
1071
|
//#endregion
|
|
978
1072
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
979
1073
|
interface VeChainDomainResult {
|
|
@@ -983,11 +1077,11 @@ interface VeChainDomainResult {
|
|
|
983
1077
|
isPrimaryDomain: boolean;
|
|
984
1078
|
}
|
|
985
1079
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
986
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
1080
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query8.UseQueryResult<VeChainDomainResult, Error>;
|
|
987
1081
|
//#endregion
|
|
988
1082
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
989
1083
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
990
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
1084
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
991
1085
|
//#endregion
|
|
992
1086
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
993
1087
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1049,7 +1143,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1049
1143
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1050
1144
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1051
1145
|
*/
|
|
1052
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1146
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1053
1147
|
//#endregion
|
|
1054
1148
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1055
1149
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1077,7 +1171,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1077
1171
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1078
1172
|
* @returns The domains owned by the address
|
|
1079
1173
|
*/
|
|
1080
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1174
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1081
1175
|
domains: {
|
|
1082
1176
|
name: string;
|
|
1083
1177
|
}[];
|
|
@@ -1090,7 +1184,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1090
1184
|
* @param name - The VET domain name
|
|
1091
1185
|
* @returns The resolved avatar URL
|
|
1092
1186
|
*/
|
|
1093
|
-
declare const useGetAvatar: (name: string) =>
|
|
1187
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query8.UseQueryResult<string | null, Error>;
|
|
1094
1188
|
//#endregion
|
|
1095
1189
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1096
1190
|
/**
|
|
@@ -1102,7 +1196,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query17.UseQueryRe
|
|
|
1102
1196
|
*/
|
|
1103
1197
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1104
1198
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1105
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1199
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query8.UseQueryResult<TextRecords, Error>;
|
|
1106
1200
|
//#endregion
|
|
1107
1201
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1108
1202
|
type UpdateTextRecordVariables = {
|
|
@@ -1135,7 +1229,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1135
1229
|
* @param domain The domain to get resolver for
|
|
1136
1230
|
* @returns The resolver address for the domain
|
|
1137
1231
|
*/
|
|
1138
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1232
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query8.UseQueryResult<`0x${string}`, unknown>;
|
|
1139
1233
|
//#endregion
|
|
1140
1234
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1141
1235
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1145,7 +1239,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1145
1239
|
* @param address The owner's address
|
|
1146
1240
|
* @returns The avatar URL for the address's primary domain
|
|
1147
1241
|
*/
|
|
1148
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1242
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
1149
1243
|
//#endregion
|
|
1150
1244
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1151
1245
|
/**
|
|
@@ -1162,7 +1256,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1162
1256
|
* @param name - The VET domain name
|
|
1163
1257
|
* @returns The resolved avatar URL
|
|
1164
1258
|
*/
|
|
1165
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1259
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query8.UseQueryResult<string | null, Error>;
|
|
1166
1260
|
//#endregion
|
|
1167
1261
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1168
1262
|
type useUnsetDomainProps = {
|
|
@@ -1271,7 +1365,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1271
1365
|
* Hook to get the current roundId of allocations voting
|
|
1272
1366
|
* @returns the current roundId of allocations voting
|
|
1273
1367
|
*/
|
|
1274
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1368
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query8.UseQueryResult<string, unknown>;
|
|
1275
1369
|
//#endregion
|
|
1276
1370
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1277
1371
|
declare const useCustomTokens: () => {
|
|
@@ -1284,7 +1378,7 @@ declare const useCustomTokens: () => {
|
|
|
1284
1378
|
//#endregion
|
|
1285
1379
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1286
1380
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1287
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1381
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1288
1382
|
original: string;
|
|
1289
1383
|
scaled: string;
|
|
1290
1384
|
formatted: string;
|
|
@@ -1293,7 +1387,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query17.U
|
|
|
1293
1387
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1294
1388
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1295
1389
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string) => (string | undefined)[];
|
|
1296
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1390
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1297
1391
|
original: string;
|
|
1298
1392
|
scaled: string;
|
|
1299
1393
|
formatted: string;
|
|
@@ -1306,11 +1400,11 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1306
1400
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1307
1401
|
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1308
1402
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1309
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1403
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query8.UseQueryResult<CustomTokenInfo, Error>;
|
|
1310
1404
|
//#endregion
|
|
1311
1405
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1312
1406
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1313
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string) =>
|
|
1407
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1314
1408
|
original: string;
|
|
1315
1409
|
scaled: string;
|
|
1316
1410
|
formatted: string;
|
|
@@ -1327,11 +1421,11 @@ declare const PRICE_FEED_IDS: {
|
|
|
1327
1421
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1328
1422
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1329
1423
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1330
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1424
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query8.UseQueryResult<number, Error>;
|
|
1331
1425
|
//#endregion
|
|
1332
1426
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1333
1427
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1334
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1428
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1335
1429
|
original: string;
|
|
1336
1430
|
scaled: string;
|
|
1337
1431
|
formatted: string;
|
|
@@ -1350,7 +1444,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1350
1444
|
* @param user - The user address.
|
|
1351
1445
|
* @returns The isPerson status.
|
|
1352
1446
|
*/
|
|
1353
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1447
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1354
1448
|
//#endregion
|
|
1355
1449
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1356
1450
|
type XApp = {
|
|
@@ -1388,7 +1482,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1388
1482
|
//#endregion
|
|
1389
1483
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1390
1484
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => unknown[];
|
|
1391
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1485
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1392
1486
|
id: string;
|
|
1393
1487
|
teamWalletAddress: `0x${string}`;
|
|
1394
1488
|
name: string;
|
|
@@ -1429,6 +1523,37 @@ declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) =>
|
|
|
1429
1523
|
isLoading: boolean;
|
|
1430
1524
|
};
|
|
1431
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
|
|
1432
1557
|
//#region src/hooks/api/wallet/useXAppMetadata.d.ts
|
|
1433
1558
|
/**
|
|
1434
1559
|
* The metadata of an xApp from the xApps metadata base uri
|
|
@@ -1471,7 +1596,7 @@ type XAppMetadata = {
|
|
|
1471
1596
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1472
1597
|
*/
|
|
1473
1598
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1474
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1599
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query8.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1475
1600
|
//#endregion
|
|
1476
1601
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1477
1602
|
/**
|
|
@@ -1486,7 +1611,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1486
1611
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1487
1612
|
*
|
|
1488
1613
|
*/
|
|
1489
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1614
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1490
1615
|
app: string;
|
|
1491
1616
|
share: number;
|
|
1492
1617
|
unallocatedShare: number;
|
|
@@ -1508,7 +1633,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1508
1633
|
* @param ipfsUri - The IPFS URI
|
|
1509
1634
|
* @returns The metadata from IPFS
|
|
1510
1635
|
*/
|
|
1511
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1636
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<T$1>, Error>;
|
|
1512
1637
|
//#endregion
|
|
1513
1638
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1514
1639
|
interface IpfsImage {
|
|
@@ -1535,14 +1660,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1535
1660
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1536
1661
|
* @returns The NFT media
|
|
1537
1662
|
*/
|
|
1538
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1663
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query8.UseQueryResult<IpfsImage, Error>;
|
|
1539
1664
|
/**
|
|
1540
1665
|
* Custom hook to fetch a list of IPFS images.
|
|
1541
1666
|
*
|
|
1542
1667
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1543
1668
|
* @returns An array of queries for each IPFS image URI.
|
|
1544
1669
|
*/
|
|
1545
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1670
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query8.UseQueryResult<IpfsImage, Error>[];
|
|
1546
1671
|
//#endregion
|
|
1547
1672
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1548
1673
|
/**
|
|
@@ -1550,12 +1675,12 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1550
1675
|
* @param ipfsUris - The IPFS URIs
|
|
1551
1676
|
* @returns The metadata from IPFS for each URI
|
|
1552
1677
|
*/
|
|
1553
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1678
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query8.UseQueryResult<T$1, Error>[];
|
|
1554
1679
|
//#endregion
|
|
1555
1680
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1556
1681
|
declare const imageCompressionOptions: Options;
|
|
1557
1682
|
declare const compressImages: (images: UploadedImage[]) => Promise<File[]>;
|
|
1558
|
-
type Props$
|
|
1683
|
+
type Props$20 = {
|
|
1559
1684
|
compressImages?: boolean;
|
|
1560
1685
|
defaultImages?: UploadedImage[];
|
|
1561
1686
|
};
|
|
@@ -1571,7 +1696,7 @@ type UploadedImage = {
|
|
|
1571
1696
|
declare const useUploadImages: ({
|
|
1572
1697
|
compressImages,
|
|
1573
1698
|
defaultImages
|
|
1574
|
-
}: Props$
|
|
1699
|
+
}: Props$20) => {
|
|
1575
1700
|
uploadedImages: UploadedImage[];
|
|
1576
1701
|
setUploadedImages: react0.Dispatch<react0.SetStateAction<UploadedImage[]>>;
|
|
1577
1702
|
onUpload: (acceptedFiles: File[], keepCurrent?: boolean) => Promise<void>;
|
|
@@ -1580,7 +1705,7 @@ declare const useUploadImages: ({
|
|
|
1580
1705
|
};
|
|
1581
1706
|
//#endregion
|
|
1582
1707
|
//#region src/hooks/api/ipfs/useSingleImageUpload.d.ts
|
|
1583
|
-
type Props$
|
|
1708
|
+
type Props$19 = {
|
|
1584
1709
|
compressImage?: boolean;
|
|
1585
1710
|
defaultImage?: UploadedImage;
|
|
1586
1711
|
};
|
|
@@ -1593,7 +1718,7 @@ type Props$17 = {
|
|
|
1593
1718
|
declare const useSingleImageUpload: ({
|
|
1594
1719
|
compressImage,
|
|
1595
1720
|
defaultImage
|
|
1596
|
-
}: Props$
|
|
1721
|
+
}: Props$19) => {
|
|
1597
1722
|
uploadedImage: UploadedImage | undefined;
|
|
1598
1723
|
setUploadedImage: react0.Dispatch<react0.SetStateAction<UploadedImage | undefined>>;
|
|
1599
1724
|
onUpload: (acceptedFile: File) => Promise<UploadedImage>;
|
|
@@ -1761,7 +1886,7 @@ declare const useSwapQuotes: (fromToken: TokenWithValue | null, toToken: TokenWi
|
|
|
1761
1886
|
//#endregion
|
|
1762
1887
|
//#region src/hooks/modals/useConnectModal.d.ts
|
|
1763
1888
|
declare const useConnectModal: () => {
|
|
1764
|
-
open: () => void;
|
|
1889
|
+
open: (initialContent?: ConnectModalContentsTypes) => void;
|
|
1765
1890
|
close: () => void;
|
|
1766
1891
|
isOpen: boolean;
|
|
1767
1892
|
};
|
|
@@ -1769,7 +1894,7 @@ declare const ConnectModalProvider: ({
|
|
|
1769
1894
|
children
|
|
1770
1895
|
}: {
|
|
1771
1896
|
children: ReactNode;
|
|
1772
|
-
}) =>
|
|
1897
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1773
1898
|
//#endregion
|
|
1774
1899
|
//#region src/hooks/modals/useAccountModal.d.ts
|
|
1775
1900
|
declare const useAccountModal: () => {
|
|
@@ -1781,7 +1906,7 @@ declare const AccountModalProvider: ({
|
|
|
1781
1906
|
children
|
|
1782
1907
|
}: {
|
|
1783
1908
|
children: ReactNode;
|
|
1784
|
-
}) =>
|
|
1909
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1785
1910
|
//#endregion
|
|
1786
1911
|
//#region src/hooks/modals/useTransactionModal.d.ts
|
|
1787
1912
|
declare const useTransactionModal: () => {
|
|
@@ -1793,7 +1918,7 @@ declare const TransactionModalProvider: ({
|
|
|
1793
1918
|
children
|
|
1794
1919
|
}: {
|
|
1795
1920
|
children: ReactNode;
|
|
1796
|
-
}) =>
|
|
1921
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1797
1922
|
//#endregion
|
|
1798
1923
|
//#region src/hooks/modals/useTransactionToast.d.ts
|
|
1799
1924
|
declare const useTransactionToast: () => {
|
|
@@ -1805,11 +1930,11 @@ declare const TransactionToastProvider: ({
|
|
|
1805
1930
|
children
|
|
1806
1931
|
}: {
|
|
1807
1932
|
children: ReactNode;
|
|
1808
|
-
}) =>
|
|
1933
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1809
1934
|
//#endregion
|
|
1810
1935
|
//#region src/hooks/modals/useWalletModal.d.ts
|
|
1811
1936
|
declare const useWalletModal: () => {
|
|
1812
|
-
open: () => void;
|
|
1937
|
+
open: (options?: AccountModalOptions) => void;
|
|
1813
1938
|
close: () => void;
|
|
1814
1939
|
isOpen: boolean;
|
|
1815
1940
|
};
|
|
@@ -1817,7 +1942,7 @@ declare const WalletModalProvider: ({
|
|
|
1817
1942
|
children
|
|
1818
1943
|
}: {
|
|
1819
1944
|
children: ReactNode;
|
|
1820
|
-
}) =>
|
|
1945
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1821
1946
|
//#endregion
|
|
1822
1947
|
//#region src/hooks/modals/useChooseNameModal.d.ts
|
|
1823
1948
|
declare const useChooseNameModal: () => {
|
|
@@ -1829,7 +1954,7 @@ declare const ChooseNameModalProvider: ({
|
|
|
1829
1954
|
children
|
|
1830
1955
|
}: {
|
|
1831
1956
|
children: ReactNode;
|
|
1832
|
-
}) =>
|
|
1957
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1833
1958
|
//#endregion
|
|
1834
1959
|
//#region src/hooks/modals/useSendTokenModal.d.ts
|
|
1835
1960
|
declare const useSendTokenModal: () => {
|
|
@@ -1841,7 +1966,7 @@ declare const SendTokenModalProvider: ({
|
|
|
1841
1966
|
children
|
|
1842
1967
|
}: {
|
|
1843
1968
|
children: ReactNode;
|
|
1844
|
-
}) =>
|
|
1969
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1845
1970
|
//#endregion
|
|
1846
1971
|
//#region src/hooks/modals/useSwapTokenModal.d.ts
|
|
1847
1972
|
type SwapTokenModalOptions = {
|
|
@@ -1858,7 +1983,7 @@ declare const SwapTokenModalProvider: ({
|
|
|
1858
1983
|
children
|
|
1859
1984
|
}: {
|
|
1860
1985
|
children: ReactNode;
|
|
1861
|
-
}) =>
|
|
1986
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1862
1987
|
//#endregion
|
|
1863
1988
|
//#region src/hooks/modals/useExploreEcosystemModal.d.ts
|
|
1864
1989
|
declare const useExploreEcosystemModal: () => {
|
|
@@ -1870,7 +1995,7 @@ declare const ExploreEcosystemModalProvider: ({
|
|
|
1870
1995
|
children
|
|
1871
1996
|
}: {
|
|
1872
1997
|
children: ReactNode;
|
|
1873
|
-
}) =>
|
|
1998
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1874
1999
|
//#endregion
|
|
1875
2000
|
//#region src/hooks/modals/useNotificationsModal.d.ts
|
|
1876
2001
|
declare const useNotificationsModal: () => {
|
|
@@ -1882,7 +2007,7 @@ declare const NotificationsModalProvider: ({
|
|
|
1882
2007
|
children
|
|
1883
2008
|
}: {
|
|
1884
2009
|
children: ReactNode;
|
|
1885
|
-
}) =>
|
|
2010
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1886
2011
|
//#endregion
|
|
1887
2012
|
//#region src/hooks/modals/useFAQModal.d.ts
|
|
1888
2013
|
declare const useFAQModal: () => {
|
|
@@ -1894,7 +2019,7 @@ declare const FAQModalProvider: ({
|
|
|
1894
2019
|
children
|
|
1895
2020
|
}: {
|
|
1896
2021
|
children: ReactNode;
|
|
1897
|
-
}) =>
|
|
2022
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1898
2023
|
//#endregion
|
|
1899
2024
|
//#region src/hooks/modals/useAccountCustomizationModal.d.ts
|
|
1900
2025
|
declare const useAccountCustomizationModal: () => {
|
|
@@ -1906,7 +2031,7 @@ declare const AccountCustomizationModalProvider: ({
|
|
|
1906
2031
|
children
|
|
1907
2032
|
}: {
|
|
1908
2033
|
children: ReactNode;
|
|
1909
|
-
}) =>
|
|
2034
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1910
2035
|
//#endregion
|
|
1911
2036
|
//#region src/hooks/modals/useReceiveModal.d.ts
|
|
1912
2037
|
declare const useReceiveModal: () => {
|
|
@@ -1918,7 +2043,7 @@ declare const ReceiveModalProvider: ({
|
|
|
1918
2043
|
children
|
|
1919
2044
|
}: {
|
|
1920
2045
|
children: ReactNode;
|
|
1921
|
-
}) =>
|
|
2046
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1922
2047
|
//#endregion
|
|
1923
2048
|
//#region src/hooks/modals/useLoginModalContent.d.ts
|
|
1924
2049
|
type LoginModalContentConfig = {
|
|
@@ -1944,7 +2069,7 @@ declare const UpgradeSmartAccountModalProvider: ({
|
|
|
1944
2069
|
children
|
|
1945
2070
|
}: {
|
|
1946
2071
|
children: ReactNode;
|
|
1947
|
-
}) =>
|
|
2072
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1948
2073
|
//#endregion
|
|
1949
2074
|
//#region src/hooks/modals/useProfileModal.d.ts
|
|
1950
2075
|
declare const useProfileModal: () => {
|
|
@@ -1956,7 +2081,7 @@ declare const ProfileModalProvider: ({
|
|
|
1956
2081
|
children
|
|
1957
2082
|
}: {
|
|
1958
2083
|
children: ReactNode;
|
|
1959
|
-
}) =>
|
|
2084
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
1960
2085
|
//#endregion
|
|
1961
2086
|
//#region src/hooks/modals/useAccountModalOptions.d.ts
|
|
1962
2087
|
declare const useAccountModalOptions: () => {
|
|
@@ -1964,6 +2089,18 @@ declare const useAccountModalOptions: () => {
|
|
|
1964
2089
|
closeAccountModal: () => void;
|
|
1965
2090
|
};
|
|
1966
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_runtime0.JSX.Element;
|
|
2103
|
+
//#endregion
|
|
1967
2104
|
//#region src/hooks/notifications/types.d.ts
|
|
1968
2105
|
type NotificationAction = {
|
|
1969
2106
|
label: string;
|
|
@@ -2092,7 +2229,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2092
2229
|
* );
|
|
2093
2230
|
* ```
|
|
2094
2231
|
*/
|
|
2095
|
-
declare const useAppHubApps: () =>
|
|
2232
|
+
declare const useAppHubApps: () => _tanstack_react_query8.UseQueryResult<AppHubApp[], Error>;
|
|
2096
2233
|
//#endregion
|
|
2097
2234
|
//#region src/utils/constants.d.ts
|
|
2098
2235
|
declare const TOKEN_LOGOS: Record<string, string>;
|
|
@@ -2439,7 +2576,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2439
2576
|
method: TMethod;
|
|
2440
2577
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2441
2578
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2442
|
-
}) =>
|
|
2579
|
+
}) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<TData>, unknown>;
|
|
2443
2580
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2444
2581
|
thor,
|
|
2445
2582
|
calls,
|
|
@@ -2450,7 +2587,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2450
2587
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2451
2588
|
queryKey: string[];
|
|
2452
2589
|
enabled?: boolean;
|
|
2453
|
-
}) =>
|
|
2590
|
+
}) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2454
2591
|
//#endregion
|
|
2455
2592
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2456
2593
|
/**
|
|
@@ -2574,7 +2711,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2574
2711
|
filterParams,
|
|
2575
2712
|
mapResponse,
|
|
2576
2713
|
nodeUrl
|
|
2577
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
2714
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query8.UseQueryResult<R[], Error>;
|
|
2578
2715
|
//#endregion
|
|
2579
2716
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2580
2717
|
interface BuildClausesParams {
|
|
@@ -2725,7 +2862,7 @@ declare const useGenericDelegatorFeeEstimation: ({
|
|
|
2725
2862
|
tokens,
|
|
2726
2863
|
sendingAmount,
|
|
2727
2864
|
sendingTokenSymbol
|
|
2728
|
-
}: useGenericDelegatorFeeEstimationParams) =>
|
|
2865
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query8.UseQueryResult<EstimationResponse & {
|
|
2729
2866
|
usedToken: string;
|
|
2730
2867
|
}, Error>;
|
|
2731
2868
|
//#endregion
|
|
@@ -2739,7 +2876,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2739
2876
|
clauses,
|
|
2740
2877
|
tokens,
|
|
2741
2878
|
enabled
|
|
2742
|
-
}: UseEstimateAllTokensParams) =>
|
|
2879
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query8.UseQueryResult<Record<GasTokenType, {
|
|
2743
2880
|
cost: number;
|
|
2744
2881
|
loading: boolean;
|
|
2745
2882
|
error?: string;
|
|
@@ -2756,7 +2893,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2756
2893
|
* @param address The address of the account to get the balance for
|
|
2757
2894
|
* @returns The account balance
|
|
2758
2895
|
*/
|
|
2759
|
-
declare const useAccountBalance: (address?: string) =>
|
|
2896
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
2760
2897
|
balance: string;
|
|
2761
2898
|
energy: string;
|
|
2762
2899
|
}, Error>;
|
|
@@ -2769,7 +2906,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2769
2906
|
* @param version - The version of the smart account implementation
|
|
2770
2907
|
* @returns The address of the smart account implementation
|
|
2771
2908
|
*/
|
|
2772
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
2909
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
2773
2910
|
//#endregion
|
|
2774
2911
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
2775
2912
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2778,7 +2915,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
2778
2915
|
* Get the current account implementation version used by the smart account factory
|
|
2779
2916
|
* @returns The current account implementation version
|
|
2780
2917
|
*/
|
|
2781
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
2918
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query8.UseQueryResult<number, Error>;
|
|
2782
2919
|
//#endregion
|
|
2783
2920
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
2784
2921
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -2788,7 +2925,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
2788
2925
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2789
2926
|
* @returns The address of the smart account
|
|
2790
2927
|
*/
|
|
2791
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
2928
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
2792
2929
|
//#endregion
|
|
2793
2930
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
2794
2931
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => unknown[];
|
|
@@ -2798,7 +2935,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2798
2935
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2799
2936
|
* @returns The version of the smart account
|
|
2800
2937
|
*/
|
|
2801
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
2938
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query8.UseQueryResult<{
|
|
2802
2939
|
version: number;
|
|
2803
2940
|
isDeployed: boolean;
|
|
2804
2941
|
}, unknown>;
|
|
@@ -2811,7 +2948,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
2811
2948
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2812
2949
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
2813
2950
|
*/
|
|
2814
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
2951
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
2815
2952
|
//#endregion
|
|
2816
2953
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
2817
2954
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -2820,7 +2957,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
2820
2957
|
* Check if a smart account is deployed
|
|
2821
2958
|
* @returns True if the smart account is deployed, false otherwise
|
|
2822
2959
|
*/
|
|
2823
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
2960
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
2824
2961
|
//#endregion
|
|
2825
2962
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
2826
2963
|
/**
|
|
@@ -2853,7 +2990,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
2853
2990
|
isDeployed: boolean;
|
|
2854
2991
|
}>;
|
|
2855
2992
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
2856
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
2993
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
2857
2994
|
address: undefined;
|
|
2858
2995
|
isDeployed?: undefined;
|
|
2859
2996
|
} | {
|
|
@@ -2871,7 +3008,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2871
3008
|
* @param targetVersion - The version of the smart account to check for
|
|
2872
3009
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2873
3010
|
*/
|
|
2874
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
3011
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
2875
3012
|
//#endregion
|
|
2876
3013
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
2877
3014
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -2882,7 +3019,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
2882
3019
|
* @param targetVersion - The target version of the smart account
|
|
2883
3020
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2884
3021
|
*/
|
|
2885
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
3022
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
2886
3023
|
//#endregion
|
|
2887
3024
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
2888
3025
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -2907,7 +3044,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
2907
3044
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
2908
3045
|
* @returns the current block
|
|
2909
3046
|
*/
|
|
2910
|
-
declare const useCurrentBlock: () =>
|
|
3047
|
+
declare const useCurrentBlock: () => _tanstack_react_query8.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
2911
3048
|
//#endregion
|
|
2912
3049
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
2913
3050
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -2916,7 +3053,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
2916
3053
|
* Get the chain id
|
|
2917
3054
|
* @returns The chain id
|
|
2918
3055
|
*/
|
|
2919
|
-
declare const useGetChainId: () =>
|
|
3056
|
+
declare const useGetChainId: () => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
2920
3057
|
//#endregion
|
|
2921
3058
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
2922
3059
|
/**
|
|
@@ -3168,7 +3305,13 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3168
3305
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3169
3306
|
* @returns Query result containing the transaction receipt
|
|
3170
3307
|
*/
|
|
3171
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3308
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query8.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3309
|
+
//#endregion
|
|
3310
|
+
//#region src/hooks/thor/transactions/useGasEstimate.d.ts
|
|
3311
|
+
declare const useGasEstimate: (thor: ThorClient, clauses: TransactionClause[], caller: string, options?: {
|
|
3312
|
+
revision?: Revision;
|
|
3313
|
+
gasPadding?: number;
|
|
3314
|
+
}) => Promise<number>;
|
|
3172
3315
|
//#endregion
|
|
3173
3316
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
|
|
3174
3317
|
type SendTokenContentProps = {
|
|
@@ -3184,7 +3327,7 @@ declare const SendTokenContent: ({
|
|
|
3184
3327
|
initialAmount,
|
|
3185
3328
|
initialToAddressOrDomain,
|
|
3186
3329
|
onBack: parentOnBack
|
|
3187
|
-
}: SendTokenContentProps) =>
|
|
3330
|
+
}: SendTokenContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3188
3331
|
//#endregion
|
|
3189
3332
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenSummaryContent.d.ts
|
|
3190
3333
|
type SendTokenSummaryContentProps = {
|
|
@@ -3204,10 +3347,10 @@ declare const SendTokenSummaryContent: ({
|
|
|
3204
3347
|
amount,
|
|
3205
3348
|
selectedToken,
|
|
3206
3349
|
formattedTotalAmount
|
|
3207
|
-
}: SendTokenSummaryContentProps) =>
|
|
3350
|
+
}: SendTokenSummaryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3208
3351
|
//#endregion
|
|
3209
3352
|
//#region src/components/AccountModal/Contents/SendToken/SelectTokenContent.d.ts
|
|
3210
|
-
type Props$
|
|
3353
|
+
type Props$18 = {
|
|
3211
3354
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3212
3355
|
onSelectToken: (token: TokenWithValue) => void;
|
|
3213
3356
|
onBack: () => void;
|
|
@@ -3220,18 +3363,18 @@ declare const SelectTokenContent: ({
|
|
|
3220
3363
|
onSelectToken,
|
|
3221
3364
|
onBack,
|
|
3222
3365
|
showAllTokens
|
|
3223
|
-
}: Props$
|
|
3366
|
+
}: Props$18) => react_jsx_runtime0.JSX.Element;
|
|
3224
3367
|
//#endregion
|
|
3225
3368
|
//#region src/components/AccountModal/Contents/Receive/ReceiveTokenContent.d.ts
|
|
3226
|
-
type Props$
|
|
3369
|
+
type Props$17 = {
|
|
3227
3370
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3228
3371
|
};
|
|
3229
3372
|
declare const ReceiveTokenContent: ({
|
|
3230
3373
|
setCurrentContent
|
|
3231
|
-
}: Props$
|
|
3374
|
+
}: Props$17) => react_jsx_runtime0.JSX.Element;
|
|
3232
3375
|
//#endregion
|
|
3233
3376
|
//#region src/components/AccountModal/Contents/Swap/SwapTokenContent.d.ts
|
|
3234
|
-
type Props$
|
|
3377
|
+
type Props$16 = {
|
|
3235
3378
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
3236
3379
|
fromTokenAddress?: string;
|
|
3237
3380
|
toTokenAddress?: string;
|
|
@@ -3240,7 +3383,7 @@ declare const SwapTokenContent: ({
|
|
|
3240
3383
|
setCurrentContent,
|
|
3241
3384
|
fromTokenAddress,
|
|
3242
3385
|
toTokenAddress
|
|
3243
|
-
}: Props$
|
|
3386
|
+
}: Props$16) => react_jsx_runtime0.JSX.Element;
|
|
3244
3387
|
//#endregion
|
|
3245
3388
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameContent.d.ts
|
|
3246
3389
|
type ChooseNameContentProps = {
|
|
@@ -3252,7 +3395,7 @@ declare const ChooseNameContent: ({
|
|
|
3252
3395
|
setCurrentContent,
|
|
3253
3396
|
onBack,
|
|
3254
3397
|
initialContentSource
|
|
3255
|
-
}: ChooseNameContentProps) =>
|
|
3398
|
+
}: ChooseNameContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3256
3399
|
//#endregion
|
|
3257
3400
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameSearchContent.d.ts
|
|
3258
3401
|
type ChooseNameSearchContentProps = {
|
|
@@ -3264,7 +3407,7 @@ declare const ChooseNameSearchContent: ({
|
|
|
3264
3407
|
name: initialName,
|
|
3265
3408
|
setCurrentContent,
|
|
3266
3409
|
initialContentSource
|
|
3267
|
-
}: ChooseNameSearchContentProps) =>
|
|
3410
|
+
}: ChooseNameSearchContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3268
3411
|
//#endregion
|
|
3269
3412
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameSummaryContent.d.ts
|
|
3270
3413
|
type ChooseNameSummaryContentProps = {
|
|
@@ -3282,7 +3425,7 @@ declare const ChooseNameSummaryContent: ({
|
|
|
3282
3425
|
isOwnDomain,
|
|
3283
3426
|
isUnsetting,
|
|
3284
3427
|
initialContentSource
|
|
3285
|
-
}: ChooseNameSummaryContentProps) =>
|
|
3428
|
+
}: ChooseNameSummaryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3286
3429
|
//#endregion
|
|
3287
3430
|
//#region src/components/AccountModal/Contents/FAQ/FAQContent.d.ts
|
|
3288
3431
|
type FAQContentProps = {
|
|
@@ -3292,7 +3435,7 @@ type FAQContentProps = {
|
|
|
3292
3435
|
declare const FAQContent: ({
|
|
3293
3436
|
onGoBack,
|
|
3294
3437
|
showLanguageSelector
|
|
3295
|
-
}: FAQContentProps) =>
|
|
3438
|
+
}: FAQContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3296
3439
|
//#endregion
|
|
3297
3440
|
//#region src/components/AccountModal/Contents/Profile/Customization/CustomizationContent.d.ts
|
|
3298
3441
|
type AccountCustomizationContentProps = {
|
|
@@ -3302,7 +3445,7 @@ type AccountCustomizationContentProps = {
|
|
|
3302
3445
|
declare const CustomizationContent: ({
|
|
3303
3446
|
setCurrentContent,
|
|
3304
3447
|
initialContentSource
|
|
3305
|
-
}: AccountCustomizationContentProps) =>
|
|
3448
|
+
}: AccountCustomizationContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3306
3449
|
//#endregion
|
|
3307
3450
|
//#region src/components/AccountModal/Contents/Profile/Customization/CustomizationSummaryContent.d.ts
|
|
3308
3451
|
type CustomizationSummaryContentProps = {
|
|
@@ -3321,17 +3464,21 @@ declare const CustomizationSummaryContent: ({
|
|
|
3321
3464
|
setCurrentContent,
|
|
3322
3465
|
changes,
|
|
3323
3466
|
onDoneRedirectContent
|
|
3324
|
-
}: CustomizationSummaryContentProps) =>
|
|
3467
|
+
}: CustomizationSummaryContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3325
3468
|
//#endregion
|
|
3326
3469
|
//#region src/components/AccountModal/Contents/Profile/ProfileContent.d.ts
|
|
3327
3470
|
type ProfileContentProps = {
|
|
3328
3471
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3329
3472
|
onLogoutSuccess: () => void;
|
|
3473
|
+
switchFeedback?: {
|
|
3474
|
+
showFeedback: boolean;
|
|
3475
|
+
};
|
|
3330
3476
|
};
|
|
3331
3477
|
declare const ProfileContent: ({
|
|
3332
3478
|
setCurrentContent,
|
|
3333
|
-
onLogoutSuccess
|
|
3334
|
-
|
|
3479
|
+
onLogoutSuccess,
|
|
3480
|
+
switchFeedback
|
|
3481
|
+
}: ProfileContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3335
3482
|
//#endregion
|
|
3336
3483
|
//#region src/components/AccountModal/Contents/UpgradeSmartAccount/UpgradeSmartAccountContent.d.ts
|
|
3337
3484
|
type UpgradeSmartAccountContentProps = {
|
|
@@ -3343,7 +3490,7 @@ declare const UpgradeSmartAccountContent: ({
|
|
|
3343
3490
|
setCurrentContent,
|
|
3344
3491
|
handleClose,
|
|
3345
3492
|
initialContent
|
|
3346
|
-
}: UpgradeSmartAccountContentProps) =>
|
|
3493
|
+
}: UpgradeSmartAccountContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3347
3494
|
//#endregion
|
|
3348
3495
|
//#region src/components/AccountModal/Contents/Assets/AssetsContent.d.ts
|
|
3349
3496
|
type AssetsContentProps = {
|
|
@@ -3351,7 +3498,7 @@ type AssetsContentProps = {
|
|
|
3351
3498
|
};
|
|
3352
3499
|
declare const AssetsContent: ({
|
|
3353
3500
|
setCurrentContent
|
|
3354
|
-
}: AssetsContentProps) =>
|
|
3501
|
+
}: AssetsContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3355
3502
|
//#endregion
|
|
3356
3503
|
//#region src/components/AccountModal/Contents/Assets/ManageCustomTokenContent.d.ts
|
|
3357
3504
|
type ManageCustomTokenContentProps = {
|
|
@@ -3359,15 +3506,15 @@ type ManageCustomTokenContentProps = {
|
|
|
3359
3506
|
};
|
|
3360
3507
|
declare const ManageCustomTokenContent: ({
|
|
3361
3508
|
setCurrentContent
|
|
3362
|
-
}: ManageCustomTokenContentProps) =>
|
|
3509
|
+
}: ManageCustomTokenContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3363
3510
|
//#endregion
|
|
3364
3511
|
//#region src/components/AccountModal/Contents/Bridge/BridgeContent.d.ts
|
|
3365
|
-
type Props$
|
|
3512
|
+
type Props$15 = {
|
|
3366
3513
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3367
3514
|
};
|
|
3368
3515
|
declare const BridgeContent: ({
|
|
3369
3516
|
setCurrentContent
|
|
3370
|
-
}: Props$
|
|
3517
|
+
}: Props$15) => react_jsx_runtime0.JSX.Element;
|
|
3371
3518
|
//#endregion
|
|
3372
3519
|
//#region src/components/AccountModal/Contents/KitSettings/ChangeCurrencyContent.d.ts
|
|
3373
3520
|
type ChangeCurrencyContentProps = {
|
|
@@ -3375,23 +3522,23 @@ type ChangeCurrencyContentProps = {
|
|
|
3375
3522
|
};
|
|
3376
3523
|
declare const ChangeCurrencyContent: ({
|
|
3377
3524
|
setCurrentContent
|
|
3378
|
-
}: ChangeCurrencyContentProps) =>
|
|
3525
|
+
}: ChangeCurrencyContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3379
3526
|
//#endregion
|
|
3380
3527
|
//#region src/components/AccountModal/Contents/KitSettings/LanguageSettingsContent.d.ts
|
|
3381
|
-
type Props$
|
|
3528
|
+
type Props$14 = {
|
|
3382
3529
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3383
3530
|
};
|
|
3384
3531
|
declare const LanguageSettingsContent: ({
|
|
3385
3532
|
setCurrentContent
|
|
3386
|
-
}: Props$
|
|
3533
|
+
}: Props$14) => react_jsx_runtime0.JSX.Element;
|
|
3387
3534
|
//#endregion
|
|
3388
3535
|
//#region src/components/AccountModal/Contents/KitSettings/GasTokenSettingsContent.d.ts
|
|
3389
|
-
type Props$
|
|
3536
|
+
type Props$13 = {
|
|
3390
3537
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3391
3538
|
};
|
|
3392
3539
|
declare const GasTokenSettingsContent: ({
|
|
3393
3540
|
setCurrentContent
|
|
3394
|
-
}: Props$
|
|
3541
|
+
}: Props$13) => react_jsx_runtime0.JSX.Element;
|
|
3395
3542
|
//#endregion
|
|
3396
3543
|
//#region src/components/AccountModal/Contents/KitSettings/SettingsContent.d.ts
|
|
3397
3544
|
type SettingsContentProps = {
|
|
@@ -3401,7 +3548,7 @@ type SettingsContentProps = {
|
|
|
3401
3548
|
declare const SettingsContent: ({
|
|
3402
3549
|
setCurrentContent,
|
|
3403
3550
|
onLogoutSuccess
|
|
3404
|
-
}: SettingsContentProps) =>
|
|
3551
|
+
}: SettingsContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3405
3552
|
//#endregion
|
|
3406
3553
|
//#region src/components/AccountModal/Contents/TermsAndPrivacy/TermsAndPrivacyContent.d.ts
|
|
3407
3554
|
type TermsAndPrivacyContentProps = {
|
|
@@ -3409,7 +3556,7 @@ type TermsAndPrivacyContentProps = {
|
|
|
3409
3556
|
};
|
|
3410
3557
|
declare const TermsAndPrivacyContent: ({
|
|
3411
3558
|
onGoBack
|
|
3412
|
-
}: TermsAndPrivacyContentProps) =>
|
|
3559
|
+
}: TermsAndPrivacyContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3413
3560
|
//#endregion
|
|
3414
3561
|
//#region src/components/AccountModal/Contents/DisconnectConfirmation/DisconnectConfirmContent.d.ts
|
|
3415
3562
|
type DisconnectConfirmContentProps = {
|
|
@@ -3425,7 +3572,36 @@ declare const DisconnectConfirmContent: ({
|
|
|
3425
3572
|
onClose,
|
|
3426
3573
|
showCloseButton,
|
|
3427
3574
|
text
|
|
3428
|
-
}: DisconnectConfirmContentProps) =>
|
|
3575
|
+
}: DisconnectConfirmContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3576
|
+
//#endregion
|
|
3577
|
+
//#region src/components/AccountModal/Contents/SelectWallet/SelectWalletContent.d.ts
|
|
3578
|
+
type Props$12 = {
|
|
3579
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3580
|
+
onClose: () => void;
|
|
3581
|
+
returnTo?: 'main' | 'profile';
|
|
3582
|
+
onLogoutSuccess?: () => void;
|
|
3583
|
+
};
|
|
3584
|
+
declare const SelectWalletContent: ({
|
|
3585
|
+
setCurrentContent,
|
|
3586
|
+
returnTo,
|
|
3587
|
+
onLogoutSuccess: _onLogoutSuccess
|
|
3588
|
+
}: Props$12) => react_jsx_runtime0.JSX.Element;
|
|
3589
|
+
//#endregion
|
|
3590
|
+
//#region src/components/AccountModal/Contents/SelectWallet/RemoveWalletConfirmContent.d.ts
|
|
3591
|
+
type RemoveWalletConfirmContentProps = {
|
|
3592
|
+
walletAddress: string;
|
|
3593
|
+
walletDomain: string | null;
|
|
3594
|
+
onConfirm: () => void;
|
|
3595
|
+
onBack: () => void;
|
|
3596
|
+
onClose?: () => void;
|
|
3597
|
+
};
|
|
3598
|
+
declare const RemoveWalletConfirmContent: ({
|
|
3599
|
+
walletAddress,
|
|
3600
|
+
walletDomain: _walletDomain,
|
|
3601
|
+
onConfirm,
|
|
3602
|
+
onBack,
|
|
3603
|
+
onClose
|
|
3604
|
+
}: RemoveWalletConfirmContentProps) => react_jsx_runtime0.JSX.Element;
|
|
3429
3605
|
//#endregion
|
|
3430
3606
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryFilterSection.d.ts
|
|
3431
3607
|
type CategoryFilter = string | null;
|
|
@@ -3462,7 +3638,28 @@ type FailedOperationContentProps = {
|
|
|
3462
3638
|
};
|
|
3463
3639
|
//#endregion
|
|
3464
3640
|
//#region src/components/AccountModal/Types/Types.d.ts
|
|
3465
|
-
type
|
|
3641
|
+
type SwitchFeedback = {
|
|
3642
|
+
showFeedback: boolean;
|
|
3643
|
+
};
|
|
3644
|
+
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | {
|
|
3645
|
+
type: 'main';
|
|
3646
|
+
props?: {
|
|
3647
|
+
switchFeedback?: SwitchFeedback;
|
|
3648
|
+
};
|
|
3649
|
+
} | {
|
|
3650
|
+
type: 'profile';
|
|
3651
|
+
props?: {
|
|
3652
|
+
switchFeedback?: SwitchFeedback;
|
|
3653
|
+
};
|
|
3654
|
+
} | 'manage-mfa' | 'receive-token' | 'swap-token' | 'connection-details' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | 'add-custom-token' | 'assets' | 'change-currency' | 'change-language' | 'gas-token-settings' | {
|
|
3655
|
+
type: 'select-wallet';
|
|
3656
|
+
props: {
|
|
3657
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3658
|
+
onClose: () => void;
|
|
3659
|
+
returnTo?: 'main' | 'profile';
|
|
3660
|
+
onLogoutSuccess?: () => void;
|
|
3661
|
+
};
|
|
3662
|
+
} | {
|
|
3466
3663
|
type: 'swap-token';
|
|
3467
3664
|
props: {
|
|
3468
3665
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3508,6 +3705,9 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' |
|
|
|
3508
3705
|
} | {
|
|
3509
3706
|
type: 'disconnect-confirm';
|
|
3510
3707
|
props: DisconnectConfirmContentProps;
|
|
3708
|
+
} | {
|
|
3709
|
+
type: 'remove-wallet-confirm';
|
|
3710
|
+
props: RemoveWalletConfirmContentProps;
|
|
3511
3711
|
} | {
|
|
3512
3712
|
type: 'upgrade-smart-account';
|
|
3513
3713
|
props: UpgradeSmartAccountContentProps;
|
|
@@ -3520,7 +3720,7 @@ type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' |
|
|
|
3520
3720
|
};
|
|
3521
3721
|
//#endregion
|
|
3522
3722
|
//#region src/components/AccountModal/AccountModal.d.ts
|
|
3523
|
-
type Props$
|
|
3723
|
+
type Props$11 = {
|
|
3524
3724
|
isOpen: boolean;
|
|
3525
3725
|
onClose: () => void;
|
|
3526
3726
|
initialContent?: AccountModalContentTypes;
|
|
@@ -3529,7 +3729,7 @@ declare const AccountModal: ({
|
|
|
3529
3729
|
isOpen,
|
|
3530
3730
|
onClose,
|
|
3531
3731
|
initialContent
|
|
3532
|
-
}: Props$
|
|
3732
|
+
}: Props$11) => react_jsx_runtime0.JSX.Element;
|
|
3533
3733
|
//#endregion
|
|
3534
3734
|
//#region src/components/AccountModal/Components/AccountDetailsButton.d.ts
|
|
3535
3735
|
interface AccountDetailsButtonProps {
|
|
@@ -3551,7 +3751,7 @@ declare const AccountDetailsButton: ({
|
|
|
3551
3751
|
onClick,
|
|
3552
3752
|
leftImage,
|
|
3553
3753
|
isActive
|
|
3554
|
-
}: AccountDetailsButtonProps) =>
|
|
3754
|
+
}: AccountDetailsButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
3555
3755
|
//#endregion
|
|
3556
3756
|
//#region src/components/AccountModal/Components/ActionButton.d.ts
|
|
3557
3757
|
type ActionButtonProps = {
|
|
@@ -3593,10 +3793,10 @@ declare const ActionButton: ({
|
|
|
3593
3793
|
extraContent,
|
|
3594
3794
|
dataTestId,
|
|
3595
3795
|
variant
|
|
3596
|
-
}: ActionButtonProps) =>
|
|
3796
|
+
}: ActionButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
3597
3797
|
//#endregion
|
|
3598
3798
|
//#region src/components/AccountModal/Components/AccountSelector.d.ts
|
|
3599
|
-
type Props$
|
|
3799
|
+
type Props$10 = {
|
|
3600
3800
|
wallet: Wallet;
|
|
3601
3801
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3602
3802
|
size?: string;
|
|
@@ -3613,7 +3813,7 @@ declare const AccountSelector: ({
|
|
|
3613
3813
|
onClose,
|
|
3614
3814
|
mt,
|
|
3615
3815
|
style
|
|
3616
|
-
}: Props$
|
|
3816
|
+
}: Props$10) => react_jsx_runtime0.JSX.Element;
|
|
3617
3817
|
//#endregion
|
|
3618
3818
|
//#region src/components/AccountModal/Components/BalanceSection.d.ts
|
|
3619
3819
|
declare const BalanceSection: ({
|
|
@@ -3624,17 +3824,17 @@ declare const BalanceSection: ({
|
|
|
3624
3824
|
mb?: number;
|
|
3625
3825
|
mt?: number;
|
|
3626
3826
|
onAssetsClick?: () => void;
|
|
3627
|
-
}) =>
|
|
3827
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
3628
3828
|
//#endregion
|
|
3629
3829
|
//#region src/components/AccountModal/Components/QuickActionsSection.d.ts
|
|
3630
|
-
type Props$
|
|
3830
|
+
type Props$9 = {
|
|
3631
3831
|
mt?: number;
|
|
3632
3832
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3633
3833
|
};
|
|
3634
3834
|
declare const QuickActionsSection: ({
|
|
3635
3835
|
mt,
|
|
3636
3836
|
setCurrentContent
|
|
3637
|
-
}: Props$
|
|
3837
|
+
}: Props$9) => react_jsx_runtime0.JSX.Element;
|
|
3638
3838
|
//#endregion
|
|
3639
3839
|
//#region src/components/AccountModal/Components/Alerts/FeatureAnnouncementCard.d.ts
|
|
3640
3840
|
type FeatureAnnouncementCardProps = {
|
|
@@ -3642,16 +3842,16 @@ type FeatureAnnouncementCardProps = {
|
|
|
3642
3842
|
};
|
|
3643
3843
|
declare const FeatureAnnouncementCard: ({
|
|
3644
3844
|
setCurrentContent
|
|
3645
|
-
}: FeatureAnnouncementCardProps) =>
|
|
3845
|
+
}: FeatureAnnouncementCardProps) => react_jsx_runtime0.JSX.Element;
|
|
3646
3846
|
//#endregion
|
|
3647
3847
|
//#region src/components/AccountModal/Components/Alerts/ExchangeWarningAlert.d.ts
|
|
3648
|
-
declare const ExchangeWarningAlert: () =>
|
|
3848
|
+
declare const ExchangeWarningAlert: () => react_jsx_runtime0.JSX.Element;
|
|
3649
3849
|
//#endregion
|
|
3650
3850
|
//#region src/components/AccountModal/Components/Alerts/DomainRequiredAlert.d.ts
|
|
3651
|
-
declare const DomainRequiredAlert: () =>
|
|
3851
|
+
declare const DomainRequiredAlert: () => react_jsx_runtime0.JSX.Element;
|
|
3652
3852
|
//#endregion
|
|
3653
3853
|
//#region src/components/AccountModal/Components/CrossAppConnectionSecurityCard.d.ts
|
|
3654
|
-
declare const CrossAppConnectionSecurityCard: () =>
|
|
3854
|
+
declare const CrossAppConnectionSecurityCard: () => react_jsx_runtime0.JSX.Element;
|
|
3655
3855
|
//#endregion
|
|
3656
3856
|
//#region src/components/common/ModalBackButton.d.ts
|
|
3657
3857
|
type BackButtonProps = {
|
|
@@ -3660,43 +3860,48 @@ type BackButtonProps = {
|
|
|
3660
3860
|
declare const ModalBackButton: ({
|
|
3661
3861
|
onClick,
|
|
3662
3862
|
...props
|
|
3663
|
-
}: BackButtonProps) =>
|
|
3863
|
+
}: BackButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
3664
3864
|
//#endregion
|
|
3665
3865
|
//#region src/components/common/AddressDisplay.d.ts
|
|
3666
|
-
type Props$
|
|
3866
|
+
type Props$8 = {
|
|
3667
3867
|
wallet: Wallet;
|
|
3668
3868
|
label?: string;
|
|
3669
3869
|
style?: PropsOf<typeof VStack>;
|
|
3670
3870
|
showHumanAddress?: boolean;
|
|
3871
|
+
setCurrentContent?: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3671
3872
|
};
|
|
3672
3873
|
declare const AddressDisplay: ({
|
|
3673
3874
|
wallet,
|
|
3674
3875
|
label,
|
|
3675
3876
|
style,
|
|
3676
|
-
showHumanAddress
|
|
3677
|
-
|
|
3877
|
+
showHumanAddress,
|
|
3878
|
+
setCurrentContent
|
|
3879
|
+
}: Props$8) => react_jsx_runtime0.JSX.Element;
|
|
3678
3880
|
//#endregion
|
|
3679
3881
|
//#region src/components/common/VersionFooter.d.ts
|
|
3680
|
-
type Props$
|
|
3882
|
+
type Props$7 = {} & Omit<StackProps, 'dangerouslySetInnerHTML'>;
|
|
3681
3883
|
declare const VersionFooter: ({
|
|
3682
3884
|
...props
|
|
3683
|
-
}: Props$
|
|
3885
|
+
}: Props$7) => react_jsx_runtime0.JSX.Element;
|
|
3684
3886
|
//#endregion
|
|
3685
3887
|
//#region src/components/common/StickyHeaderContainer.d.ts
|
|
3686
|
-
type Props$
|
|
3888
|
+
type Props$6 = {
|
|
3687
3889
|
children: React.ReactNode;
|
|
3688
3890
|
};
|
|
3891
|
+
declare const useStickyHeaderContext: () => {
|
|
3892
|
+
hasContentBelow: boolean;
|
|
3893
|
+
};
|
|
3689
3894
|
declare const StickyHeaderContainer: ({
|
|
3690
3895
|
children
|
|
3691
|
-
}: Props$
|
|
3896
|
+
}: Props$6) => react_jsx_runtime0.JSX.Element;
|
|
3692
3897
|
//#endregion
|
|
3693
3898
|
//#region src/components/common/StickyFooterContainer.d.ts
|
|
3694
|
-
type Props$
|
|
3899
|
+
type Props$5 = {
|
|
3695
3900
|
children: React.ReactNode;
|
|
3696
3901
|
};
|
|
3697
3902
|
declare const StickyFooterContainer: ({
|
|
3698
3903
|
children
|
|
3699
|
-
}: Props$
|
|
3904
|
+
}: Props$5) => react_jsx_runtime0.JSX.Element;
|
|
3700
3905
|
//#endregion
|
|
3701
3906
|
//#region src/components/common/BaseModal.d.ts
|
|
3702
3907
|
type BaseModalProps = {
|
|
@@ -3714,6 +3919,19 @@ type BaseModalProps = {
|
|
|
3714
3919
|
allowExternalFocus?: boolean;
|
|
3715
3920
|
backdropFilter?: string;
|
|
3716
3921
|
isCloseable?: boolean;
|
|
3922
|
+
/**
|
|
3923
|
+
* Whether to use bottom sheet on mobile devices.
|
|
3924
|
+
* When false (default), uses regular modal on all screen sizes.
|
|
3925
|
+
* When true, uses bottom sheet on mobile (< 768px) and regular modal on desktop.
|
|
3926
|
+
*/
|
|
3927
|
+
useBottomSheetOnMobile?: boolean;
|
|
3928
|
+
/**
|
|
3929
|
+
* Minimum and maximum height for the modal on mobile devices.
|
|
3930
|
+
*/
|
|
3931
|
+
mobileMinHeight?: string;
|
|
3932
|
+
mobileMaxHeight?: string;
|
|
3933
|
+
desktopMinHeight?: string;
|
|
3934
|
+
desktopMaxHeight?: string;
|
|
3717
3935
|
};
|
|
3718
3936
|
declare const BaseModal: ({
|
|
3719
3937
|
isOpen,
|
|
@@ -3726,8 +3944,13 @@ declare const BaseModal: ({
|
|
|
3726
3944
|
blockScrollOnMount,
|
|
3727
3945
|
allowExternalFocus,
|
|
3728
3946
|
backdropFilter,
|
|
3729
|
-
isCloseable
|
|
3730
|
-
|
|
3947
|
+
isCloseable,
|
|
3948
|
+
useBottomSheetOnMobile,
|
|
3949
|
+
mobileMinHeight,
|
|
3950
|
+
mobileMaxHeight,
|
|
3951
|
+
desktopMinHeight,
|
|
3952
|
+
desktopMaxHeight
|
|
3953
|
+
}: BaseModalProps) => react_jsx_runtime0.JSX.Element;
|
|
3731
3954
|
//#endregion
|
|
3732
3955
|
//#region src/components/common/AssetButton.d.ts
|
|
3733
3956
|
type AssetButtonProps = ButtonProps & {
|
|
@@ -3746,11 +3969,10 @@ declare const AssetButton: ({
|
|
|
3746
3969
|
isDisabled,
|
|
3747
3970
|
onClick,
|
|
3748
3971
|
...buttonProps
|
|
3749
|
-
}: AssetButtonProps) =>
|
|
3972
|
+
}: AssetButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
3750
3973
|
//#endregion
|
|
3751
3974
|
//#region src/components/common/AddressDisplayCard.d.ts
|
|
3752
3975
|
type AddressDisplayCardProps = {
|
|
3753
|
-
label: string;
|
|
3754
3976
|
address: string;
|
|
3755
3977
|
domain?: string;
|
|
3756
3978
|
imageSrc: string;
|
|
@@ -3760,7 +3982,6 @@ type AddressDisplayCardProps = {
|
|
|
3760
3982
|
tokenAddress?: string;
|
|
3761
3983
|
};
|
|
3762
3984
|
declare const AddressDisplayCard: ({
|
|
3763
|
-
label,
|
|
3764
3985
|
address,
|
|
3765
3986
|
domain,
|
|
3766
3987
|
imageSrc,
|
|
@@ -3768,7 +3989,7 @@ declare const AddressDisplayCard: ({
|
|
|
3768
3989
|
hideAddress,
|
|
3769
3990
|
balance,
|
|
3770
3991
|
tokenAddress
|
|
3771
|
-
}: AddressDisplayCardProps) =>
|
|
3992
|
+
}: AddressDisplayCardProps) => react_jsx_runtime0.JSX.Element;
|
|
3772
3993
|
//#endregion
|
|
3773
3994
|
//#region src/components/common/ModalFAQButton.d.ts
|
|
3774
3995
|
type FAQButtonProps = {
|
|
@@ -3777,13 +3998,13 @@ type FAQButtonProps = {
|
|
|
3777
3998
|
declare const ModalFAQButton: ({
|
|
3778
3999
|
onClick,
|
|
3779
4000
|
...props
|
|
3780
|
-
}: FAQButtonProps) =>
|
|
4001
|
+
}: FAQButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
3781
4002
|
//#endregion
|
|
3782
4003
|
//#region src/components/common/ScrollToTopWrapper.d.ts
|
|
3783
4004
|
declare const ScrollToTopWrapper: ({
|
|
3784
4005
|
children,
|
|
3785
4006
|
...props
|
|
3786
|
-
}: StackProps) =>
|
|
4007
|
+
}: StackProps) => react_jsx_runtime0.JSX.Element;
|
|
3787
4008
|
//#endregion
|
|
3788
4009
|
//#region src/components/common/AccountAvatar.d.ts
|
|
3789
4010
|
type AccountAvatarProps = {
|
|
@@ -3793,7 +4014,7 @@ type AccountAvatarProps = {
|
|
|
3793
4014
|
declare const AccountAvatar: ({
|
|
3794
4015
|
wallet,
|
|
3795
4016
|
props
|
|
3796
|
-
}: AccountAvatarProps) =>
|
|
4017
|
+
}: AccountAvatarProps) => react_jsx_runtime0.JSX.Element;
|
|
3797
4018
|
//#endregion
|
|
3798
4019
|
//#region src/components/common/TransactionButtonAndStatus.d.ts
|
|
3799
4020
|
type TransactionButtonAndStatusProps = {
|
|
@@ -3835,7 +4056,7 @@ declare const TransactionButtonAndStatus: ({
|
|
|
3835
4056
|
isLoadingGasEstimation,
|
|
3836
4057
|
showGasEstimationError,
|
|
3837
4058
|
context
|
|
3838
|
-
}: TransactionButtonAndStatusProps) =>
|
|
4059
|
+
}: TransactionButtonAndStatusProps) => react_jsx_runtime0.JSX.Element;
|
|
3839
4060
|
//#endregion
|
|
3840
4061
|
//#region src/components/common/ModalNotificationButton.d.ts
|
|
3841
4062
|
type NotificationButtonProps = {
|
|
@@ -3846,7 +4067,7 @@ declare const ModalNotificationButton: ({
|
|
|
3846
4067
|
onClick,
|
|
3847
4068
|
hasUnreadNotifications,
|
|
3848
4069
|
...props
|
|
3849
|
-
}: NotificationButtonProps) =>
|
|
4070
|
+
}: NotificationButtonProps) => react_jsx_runtime0.JSX.Element;
|
|
3850
4071
|
//#endregion
|
|
3851
4072
|
//#region src/components/common/GasFeeSummary.d.ts
|
|
3852
4073
|
interface GasFeeSummaryProps {
|
|
@@ -3882,39 +4103,36 @@ declare const GasFeeTokenSelector: ({
|
|
|
3882
4103
|
availableTokens,
|
|
3883
4104
|
tokenEstimations,
|
|
3884
4105
|
walletAddress
|
|
3885
|
-
}: GasFeeTokenSelectorProps) =>
|
|
4106
|
+
}: GasFeeTokenSelectorProps) => react_jsx_runtime0.JSX.Element;
|
|
3886
4107
|
//#endregion
|
|
3887
|
-
//#region src/components/
|
|
3888
|
-
type
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
title?: string;
|
|
3893
|
-
loadingText?: string;
|
|
3894
|
-
onTryAgain?: () => void;
|
|
4108
|
+
//#region src/components/common/InlineFeedback.d.ts
|
|
4109
|
+
type Props$4 = {
|
|
4110
|
+
message: string;
|
|
4111
|
+
duration?: number;
|
|
4112
|
+
onClose?: () => void;
|
|
3895
4113
|
};
|
|
3896
|
-
declare const
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
loadingText,
|
|
3902
|
-
onTryAgain
|
|
3903
|
-
}: LoginLoadingModalProps) => react_jsx_runtime1.JSX.Element;
|
|
4114
|
+
declare const InlineFeedback: ({
|
|
4115
|
+
message,
|
|
4116
|
+
duration,
|
|
4117
|
+
onClose
|
|
4118
|
+
}: Props$4) => react_jsx_runtime0.JSX.Element;
|
|
3904
4119
|
//#endregion
|
|
3905
|
-
//#region src/components/
|
|
4120
|
+
//#region src/components/common/WalletSwitchFeedback.d.ts
|
|
3906
4121
|
type Props$3 = {
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
4122
|
+
/**
|
|
4123
|
+
* Show feedback flag passed via content props (desktop)
|
|
4124
|
+
* If true, shows the feedback message
|
|
4125
|
+
*/
|
|
4126
|
+
showFeedback?: boolean;
|
|
3911
4127
|
};
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
4128
|
+
/**
|
|
4129
|
+
* Component that displays inline feedback when a wallet switch occurs.
|
|
4130
|
+
* Handles both desktop (via props) and VeWorld in-app browser (via address change detection).
|
|
4131
|
+
* Simply add this component where you want the feedback to appear.
|
|
4132
|
+
*/
|
|
4133
|
+
declare const WalletSwitchFeedback: ({
|
|
4134
|
+
showFeedback
|
|
4135
|
+
}: Props$3) => react_jsx_runtime0.JSX.Element | null;
|
|
3918
4136
|
//#endregion
|
|
3919
4137
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
3920
4138
|
type SuccessfulOperationContentProps = {
|
|
@@ -3944,7 +4162,7 @@ declare const UpgradeSmartAccountModal: ({
|
|
|
3944
4162
|
isOpen,
|
|
3945
4163
|
onClose,
|
|
3946
4164
|
style
|
|
3947
|
-
}: Props$2) =>
|
|
4165
|
+
}: Props$2) => react_jsx_runtime0.JSX.Element;
|
|
3948
4166
|
//#endregion
|
|
3949
4167
|
//#region src/components/LegalDocumentsModal/LegalDocumentsModal.d.ts
|
|
3950
4168
|
type Props$1 = {
|
|
@@ -3959,7 +4177,7 @@ declare const LegalDocumentsModal: ({
|
|
|
3959
4177
|
onAgree,
|
|
3960
4178
|
handleLogout,
|
|
3961
4179
|
onlyOptionalDocuments
|
|
3962
|
-
}: Props$1) =>
|
|
4180
|
+
}: Props$1) => react_jsx_runtime0.JSX.Element;
|
|
3963
4181
|
//#endregion
|
|
3964
4182
|
//#region src/components/LegalDocumentsModal/Components/LegalDocumentItem.d.ts
|
|
3965
4183
|
type Props = {
|
|
@@ -3971,16 +4189,20 @@ declare const LegalDocumentItem: ({
|
|
|
3971
4189
|
document,
|
|
3972
4190
|
register,
|
|
3973
4191
|
isText
|
|
3974
|
-
}: Props) =>
|
|
4192
|
+
}: Props) => react_jsx_runtime0.JSX.Element;
|
|
3975
4193
|
//#endregion
|
|
3976
4194
|
//#region src/providers/ModalProvider.d.ts
|
|
3977
4195
|
type AccountModalOptions = {
|
|
3978
4196
|
isolatedView?: boolean;
|
|
3979
4197
|
};
|
|
3980
4198
|
type ModalContextType = {
|
|
3981
|
-
openConnectModal: () => void;
|
|
4199
|
+
openConnectModal: (initialContent?: ConnectModalContentsTypes, preventAutoClose?: boolean) => void;
|
|
3982
4200
|
closeConnectModal: () => void;
|
|
3983
4201
|
isConnectModalOpen: boolean;
|
|
4202
|
+
connectModalContent: ConnectModalContentsTypes;
|
|
4203
|
+
setConnectModalContent: React.Dispatch<React.SetStateAction<ConnectModalContentsTypes>>;
|
|
4204
|
+
connectModalPreventAutoClose: boolean;
|
|
4205
|
+
setConnectModalPreventAutoClose: React.Dispatch<React.SetStateAction<boolean>>;
|
|
3984
4206
|
openAccountModal: (content?: AccountModalContentTypes, options?: AccountModalOptions) => void;
|
|
3985
4207
|
closeAccountModal: () => void;
|
|
3986
4208
|
isAccountModalOpen: boolean;
|
|
@@ -4002,7 +4224,7 @@ declare const ModalProvider: ({
|
|
|
4002
4224
|
children
|
|
4003
4225
|
}: {
|
|
4004
4226
|
children: ReactNode;
|
|
4005
|
-
}) =>
|
|
4227
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
4006
4228
|
//#endregion
|
|
4007
4229
|
//#region src/config/index.d.ts
|
|
4008
4230
|
type AppConfig = {
|
|
@@ -4047,5 +4269,5 @@ type AppConfig = {
|
|
|
4047
4269
|
};
|
|
4048
4270
|
declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
|
|
4049
4271
|
//#endregion
|
|
4050
|
-
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 };
|
|
4051
|
-
//# sourceMappingURL=index-
|
|
4272
|
+
export { LanguageSettingsContent as $, MostVotedAppsInRoundReturnType as $a, useFAQModal as $i, useBuildClauses as $n, buildVetDomainClauses as $o, toIPFSURL as $r, EnrichedLegalDocument as $s, useUpgradeSmartAccount as $t, AddressDisplay as A, getIpfsImage as Aa, PrivyLoginMethod as Ac, fetchAppHubApps as Ai, getAccountBalanceQueryKey as An, useTokenBalances as Ao, buildCallClauses as Ar, EmailLoginButton as As, useMfaEnrollment as At, AccountDetailsButton as B, getXAppMetadata as Ba, SettingsModalProvider as Bi, estimateGas as Bn, useUpdateTextRecord as Bo, validate as Br, ColorModeSync as Bs, useTransferVET as Bt, AddressDisplayCard as C, UploadedImage as Ca, CrossAppConnectionCache as Cc, VECHAIN_KIT_STORAGE_KEYS as Ci, getCurrentAccountImplementationVersion as Cn, useCurrentAllocationsRoundId as Co, removeLocalStorageItem as Cr, VeChainWithPrivyLoginButton as Cs, ReceiveTokenContent as Ct, StickyHeaderContainer as D, useIpfsMetadatas as Da, ExecuteWithAuthorizationSignData as Dc, getGenericDelegatorUrl as Di, getAccountImplementationAddressQueryKey as Dn, ExchangeRates as Do, MultipleClausesCallParameters as Dr, PrivyButton as Ds, ThorClient$1 as Dt, StickyFooterContainer as E, useUploadImages as Ea, ExecuteBatchWithAuthorizationSignData as Ec, getENV as Ei, getAccountImplementationAddress as En, useTokensWithValues as Eo, setLocalStorageItem as Er, LoginWithGoogleButton as Es, SendTokenContent as Et, FeatureAnnouncementCard as F, getIpfsMetadataQueryKey as Fa, VePassportUserStatus as Fc, useLoginWithPasskey as Fi, useGenericDelegatorFeeEstimationParams as Fn, getAvatarOfAddressQueryKey as Fo, compare as Fr, MainContent as Fs, txReceiptQueryKey as Ft, RemoveWalletConfirmContentProps as G, useWalletStorage as Ga, UpgradeSmartAccountModalProvider as Gi, EcosystemShortcut as Gn, useGetAvatar as Go, NodeStrengthLevelToImage as Gr, usePrivyWalletProvider as Gs, GetEventsProps as Gt, AccountModalContentTypes as H, UseSwitchWalletReturnType as Ha, useAccountModalOptions as Hi, signVip191Transaction as Hn, getTextRecordsQueryKey as Ho, TIME as Hr, useVechainKitThemeConfig as Hs, useTransferERC20 as Ht, QuickActionsSection as I, useIpfsMetadata as Ia, Wallet as Ic, useSignTypedData as Ii, useGasTokenSelection as In, useGetAvatarOfAddress as Io, isInvalid as Ir, ConnectModal as Is, useTxReceipt as It, DisconnectConfirmContentProps as J, useWallet as Ja, ReceiveModalProvider as Ji, LocalStorageKey as Jn, getDomainsOfAddress as Jo, buildQueryString as Jr, VeChainKitConfig as Js, getChainId as Jt, SelectWalletContent as K, useWalletMetadata as Ka, useUpgradeSmartAccountModal as Ki, useEcosystemShortcuts as Kn, Domain as Ko, XNodeStrengthLevelToName as Kr, LegalDocument as Ks, getAllEventLogs as Kt, BalanceSection as L, getXAppsSharesQueryKey as La, useSignMessage as Li, decodeRawTx as Ln, getResolverAddressQueryKey as Lo, isValid as Lr, ConnectModalContentsTypes as Ls, BuildTransactionProps as Lt, CrossAppConnectionSecurityCard as M, useIpfsImage as Ma, TokenBalance as Mc, useAppHubApps as Mi, UseEstimateAllTokensParams as Mn, getAvatarLegacy as Mo, executeMultipleClausesCall as Mr, EcosystemContent as Ms, useSetWalletRecovery as Mt, DomainRequiredAlert as N, useIpfsImageList as Na, TransactionStatus as Nc, useLoginWithVeChain as Ni, useEstimateAllTokens as Nn, getAvatarLegacyQueryKey as No, isValidUrl as Nr, ErrorContent as Ns, useThor as Nt, useStickyHeaderContext as O, IpfsImage as Oa, NFTMediaType as Oc, notFoundImage as Oi, useAccountImplementationAddress as On, useTokenPrices as Oo, MultipleClausesCallReturnType as Or, EcosystemButton as Os, useDAppKitWallet as Ot, ExchangeWarningAlert as P, getIpfsMetadata as Pa, TransactionStatusErrorType as Pc, useLoginWithOAuth as Pi, useGenericDelegatorFeeEstimation as Pn, useGetAvatarLegacy as Po, addPrefix as Pr, LoadingContent as Ps, useGasEstimate as Pt, GasTokenSettingsContent as Q, useRefreshBalances as Qa, FAQModalProvider as Qi, buildSingleAuthorizationTypedData as Qn, useIsDomainProtected as Qo, resolveMediaTypeFromMimeType as Qr, useVeChainKitConfig as Qs, useCurrentBlock as Qt, AccountSelector as R, useXAppsShares as Ra, useNotificationAlerts as Ri, delegateAuthorized as Rn, useGetResolverAddress as Ro, normalize as Rr, LegalDocumentsProvider as Rs, useBuildTransaction as Rt, ModalFAQButton as S, useSingleImageUpload as Sa, ConnectionSource as Sc, VECHAIN_KIT_COOKIES_CONFIG as Si, useGetAccountAddress as Sn, getCurrentAllocationsRoundIdQueryKey as So, isOnline as Sr, LoginWithGithubButton as Ss, SwapTokenContent as St, BaseModal as T, imageCompressionOptions as Ta, EnhancedClause as Tc, VECHAIN_PRIVY_APP_ID as Ti, useCurrentAccountImplementationVersion as Tn, TokenWithValue as To, safeWindowOpen as Tr, PasskeyLoginButton as Ts, SendTokenSummaryContent as Tt, SwitchFeedback as U, useSwitchWallet as Ua, ProfileModalProvider as Ui, useGenericDelegator as Un, useGetTextRecords as Uo, EconomicNodeStrengthLevelToName as Ur, PrivyWalletProvider as Us, UseSendTransactionReturnValue as Ut, AccountModal as V, useXAppMetadata as Va, useSettingsModal as Vi, getDepositAccount as Vn, getTextRecords as Vo, isRejectionError as Vr, VechainKitThemeProvider as Vs, buildERC20Clauses as Vt, RemoveWalletConfirmContent as W, StoredWallet as Wa, useProfileModal as Wi, useCrossAppConnectionCache as Wn, getAvatarQueryKey as Wo, MinXNodeLevel as Wr, PrivyWalletProviderContextType as Ws, useSendTransaction as Wt, SettingsContent as X, useRoundXApps as Xa, AccountCustomizationModalProvider as Xi, BuildClausesParams as Xn, useGetDomainsOfAddress as Xo, xNodeToGMstartingLevel as Xr, VeChainKitProvider as Xs, useGetChainId as Xt, TermsAndPrivacyContent as Y, getRoundXAppsQueryKey as Ya, useReceiveModal as Yi, useLocalStorage as Yn, getDomainsOfAddressQueryKey as Yo, gmNfts as Yr, VeChainKitContext as Ys, getChainIdQueryKey as Yt, SettingsContentProps as Z, useRefreshMetadata as Za, useAccountCustomizationModal as Zi, buildBatchAuthorizationTypedData as Zn, getIsDomainProtectedQueryKey as Zo, convertUriToUrl as Zr, VechainKitProviderProps as Zs, currentBlockQueryKey as Zt, ModalNotificationButton as _, useAccountModal as _a, TransactionSpeed as _c, PrivyEcosystemApp as _i, useHasV1SmartAccount as _n, getCustomTokenBalanceQueryKey as _o, getDocumentTitle as _r, SocialIcons as _s, ChooseNameSummaryContentProps as _t, useModal as a, useSwapTokenModal as aa, EstimatedGas as ac, leftPadWithZeros as ai, useUpgradeRequired as an, useGetVot3Balance as ao, useScrollToTop as ar, useVechainDomain as as, AssetsContent as at, AccountAvatar as b, useSwapQuotes as ba, CURRENCY as bc, TOKEN_LOGO_COMPONENTS as bi, getAccountAddress as bn, useGetB3trBalance as bo, hasNavigator as br, WalletDisplayVariant as bs, ChooseNameContent as bt, LegalDocumentsModal as c, ChooseNameModalProvider as ca, TransactionCost as cc, formatTokenBalance as ci, getSmartAccountQueryKey as cn, getTokenUsdPrice as co, useFeatureAnnouncement as cr, fetchPrivyAppInfo as cs, UpgradeSmartAccountContentProps as ct, UpgradeSmartAccountModalContentsTypes as d, useWalletModal as da, formatGasCost as dc, humanDomain as di, useRefreshFactoryQueries as dn, getErc20BalanceQueryKey as do, useCurrency as dr, AccountMainContent as ds, CustomizationSummaryContent as dt, NotificationsModalProvider as ea, LegalDocumentAgreement as ec, uploadBlobToIPFS as ei, getUpgradeRequiredForAccount as en, XApp as eo, GetEventsKeyParams as er, useClaimVetDomain as es, ChangeCurrencyContent as et, UpgradeSmartAccountModalStyle as f, TransactionToastProvider as fa, GasTokenEstimate as fc, humanNumber as fi, getIsDeployed as fn, useGetErc20Balance as fo, getCallClauseQueryKey as fr, TransactionToast as fs, CustomizationSummaryContentProps as ft, GasFeeSummary as g, AccountModalProvider as ga, GasTokenType as gc, ENV as gi, getHasV1SmartAccountQueryKey as gn, TokenWithBalance as go, copyToClipboard as gr, TransactionModalProps as gs, ChooseNameSummaryContent as gt, GasFeeTokenSelector as h, useTransactionModal as ha, GasTokenSelection as hc, DEFAULT_PRIVY_ECOSYSTEM_APPS as hi, getHasV1SmartAccount as hn, useGetCustomTokenInfo as ho, useMultipleClausesCall as hr, TransactionModal as hs, FAQContent as ht, ModalProvider as i, SwapTokenModalProvider as ia, DepositAccount as ic, isValidAddress as ii, getUpgradeRequiredQueryKey as in, getVot3BalanceQueryKey as io, useEvents as ir, getVechainDomainQueryKey as is, ManageCustomTokenContentProps as it, ModalBackButton as j, getIpfsImageQueryKey as ja, SmartAccount as jc, getAppHubAppsQueryKey as ji, useAccountBalance as jn, useUnsetDomain as jo, executeCallClause as jr, ConnectionButton as js, usePrivy as jt, VersionFooter as k, MAX_IMAGE_SIZE as ka, PrivyAppInfo as kc, AppHubApp as ki, getAccountBalance as kn, WalletTokenBalance as ko, ViewFunctionResult as kr, VeChainLoginButton as ks, useDAppKitWalletModal as kt, LegalDocumentsModalContentsTypes as l, useChooseNameModal as la, VthoPerGasAtSpeed as lc, getPicassoImage as li, useSmartAccount as ln, getTokenUsdPriceQueryKey as lo, useCurrentCurrency as lr, getPrivyAppInfoQueryKey as ls, ProfileContent as lt, InlineFeedback as m, TransactionModalProvider as ma, GasTokenPreferences as mc, DEFAULT_GAS_TOKEN_PREFERENCES as mi, useIsSmartAccountDeployed as mn, getTokenInfo as mo, useCallClause as mr, ShareButtons as ms, CustomizationContent as mt, getConfig as n, ExploreEcosystemModalProvider as na, LegalDocumentType as nc, compareAddresses as ni, useUpgradeRequiredForAccount as nn, getIsPersonQueryKey as no, decodeEventLog$1 as nr, getEnsRecordExistsQueryKey as ns, BridgeContent as nt, DAppKitWalletButton as o, SendTokenModalProvider as oa, EstimationResponse as oc, regexPattern as oi, SmartAccountReturnType as on, PRICE_FEED_IDS as oo, useIsPWA as or, fetchPrivyStatus as os, AssetsContentProps as ot, WalletSwitchFeedback as p, useTransactionToast as pa, GasTokenInfo as pc, isZero as pi, getIsDeployedQueryKey as pn, getCustomTokenInfoQueryKey as po, getCallClauseQueryKeyWithArgs as pr, TransactionModalContent as ps, AccountCustomizationContentProps as pt, DisconnectConfirmContent as q, UseWalletReturnType as qa, useLoginModalContent as qi, useSyncableLocalStorage as qn, DomainsResponse as qo, allNodeStrengthLevelToName as qr, LegalDocumentOptions as qs, getEventLogs as qt, AccountModalOptions as r, useExploreEcosystemModal as ra, CostLevel as rc, compareListOfAddresses as ri, getUpgradeRequired as rn, useIsPerson as ro, getEventsKey as rr, useEnsRecordExists as rs, ManageCustomTokenContent as rt, LegalDocumentItem as s, useSendTokenModal as sa, Rate as sc, randomTransactionUser as si, getSmartAccount as sn, SupportedToken as so, useGetNodeUrl as sr, useFetchPrivyStatus as ss, UpgradeSmartAccountContent as st, AppConfig as t, useNotificationsModal as ta, LegalDocumentSource as tc, validateIpfsUri as ti, getUpgradeRequiredForAccountQueryKey as tn, useMostVotedAppsInRound as to, UseEventsParams as tr, useClaimVeWorldSubdomain as ts, ChangeCurrencyContentProps as tt, UpgradeSmartAccountModal as u, WalletModalProvider as ua, calculateTotalCost as uc, humanAddress as ui, useRefreshSmartAccountQueries as un, useGetTokenUsdPrice as uo, useCurrentLanguage as ur, useFetchAppInfo as us, ProfileContentProps as ut, TransactionButtonAndStatus as v, ConnectModalProvider as va, ENS_TEXT_RECORDS as vc, SUPPORTED_GAS_TOKENS as vi, getAccountVersionQueryKey as vn, useGetCustomTokenBalances as vo, getLocalStorageItem as vr, WalletButton as vs, ChooseNameSearchContent as vt, AssetButton as w, compressImages as wa, ENSRecords as wc, VECHAIN_KIT_TERMS_CONFIG as wi, getCurrentAccountImplementationVersionQueryKey as wn, useTotalBalance as wo, safeQuerySelector as wr, DappKitButton as ws, SelectTokenContent as wt, ScrollToTopWrapper as x, useSwapTransaction as xa, CURRENCY_SYMBOLS as xc, TogglePassportCheck as xi, getAccountAddressQueryKey as xn, useCustomTokens as xo, isBrowser as xr, ConnectPopover as xs, ChooseNameContentProps as xt, TransactionButtonAndStatusProps as y, useConnectModal as ya, TextRecords as yc, TOKEN_LOGOS as yi, useGetAccountVersion as yn, getB3trBalanceQueryKey as yo, getWindowOrigin as yr, WalletButtonProps as ys, ChooseNameSearchContentProps as yt, ActionButton as z, XAppMetadata as za, useNotifications as zi, estimateAndBuildTxBody as zn, buildClauses as zo, removePrefix as zr, useLegalDocuments as zs, buildVETClauses as zt };
|
|
4273
|
+
//# sourceMappingURL=index-CkflGtlh.d.cts.map
|