@vechain/vechain-kit 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.d.cts +1 -1
- package/dist/assets/index.d.mts +1 -1
- package/dist/{index-I8fe7GR2.d.cts → index-BB3iebWm.d.mts} +4 -4
- package/dist/{index-I8fe7GR2.d.cts.map → index-BB3iebWm.d.mts.map} +1 -1
- package/dist/{index-C29c--c1.d.mts → index-BSgtiDLw.d.cts} +174 -183
- package/dist/index-BSgtiDLw.d.cts.map +1 -0
- package/dist/{index-BqitwzCD.d.cts → index-CX-PoQpp.d.mts} +247 -256
- package/dist/index-CX-PoQpp.d.mts.map +1 -0
- package/dist/{index--hSO7Xv4.d.mts → index-DSMUkHcK.d.cts} +1 -1
- package/dist/{index--hSO7Xv4.d.mts.map → index-DSMUkHcK.d.cts.map} +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/utils/index.d.cts +2 -2
- package/dist/utils/index.d.mts +2 -2
- package/package.json +1 -1
- package/dist/index-BqitwzCD.d.cts.map +0 -1
- package/dist/index-C29c--c1.d.mts.map +0 -1
|
@@ -1,26 +1,26 @@
|
|
|
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
|
|
5
|
-
import
|
|
6
|
-
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
7
|
-
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
4
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
5
|
+
import { Account } from "viem/accounts";
|
|
8
6
|
import * as _vechain_sdk_core0 from "@vechain/sdk-core";
|
|
9
7
|
import { Address, Certificate, CertificateData, Clause, Transaction, TransactionClause } from "@vechain/sdk-core";
|
|
10
|
-
import {
|
|
11
|
-
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
12
|
-
import
|
|
13
|
-
import { IconType } from "react-icons";
|
|
14
|
-
import * as _tanstack_react_query46 from "@tanstack/react-query";
|
|
8
|
+
import { LoginMethodOrderOption, OAuthProviderType, SignTypedDataParams, User, WalletListEntry, useMfaEnrollment, usePrivy as usePrivy$1, useSetWalletRecovery } from "@privy-io/react-auth";
|
|
9
|
+
import { WalletButton as DAppKitWalletButton, WalletConnectOptions, useThor as useThor$1, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from "@vechain/dapp-kit-react";
|
|
10
|
+
import * as _tanstack_react_query8 from "@tanstack/react-query";
|
|
15
11
|
import { UseQueryOptions } from "@tanstack/react-query";
|
|
16
|
-
import { z } from "zod";
|
|
17
12
|
import { CustomTokenInfo } from "@vechain/contract-getters";
|
|
13
|
+
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
14
|
+
import { z } from "zod";
|
|
18
15
|
import { Options } from "browser-image-compression";
|
|
19
|
-
import {
|
|
16
|
+
import { UseFormRegister } from "react-hook-form";
|
|
17
|
+
import * as _vechain_sdk_network0 from "@vechain/sdk-network";
|
|
18
|
+
import { CompressedBlockDetail, EventLogs, FilterEventLogsOptions, ThorClient, ThorClient as ThorClient$1, TransactionReceipt } from "@vechain/sdk-network";
|
|
19
|
+
import { LogLevel, WalletSource } from "@vechain/dapp-kit";
|
|
20
|
+
import { CustomizedStyle, I18n, SourceInfo } from "@vechain/dapp-kit-ui";
|
|
21
|
+
import { IconType } from "react-icons";
|
|
20
22
|
import * as abitype0 from "abitype";
|
|
21
23
|
import { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from "abitype";
|
|
22
|
-
import { Abi, ContractEventName, ContractFunctionParameters, MulticallParameters, MulticallReturnType, decodeEventLog } from "viem";
|
|
23
|
-
import { UseFormRegister } from "react-hook-form";
|
|
24
24
|
|
|
25
25
|
//#region src/config/network.d.ts
|
|
26
26
|
/**
|
|
@@ -343,22 +343,30 @@ interface ThemeTokens {
|
|
|
343
343
|
color: string;
|
|
344
344
|
border: string;
|
|
345
345
|
hoverBg?: string;
|
|
346
|
+
backdropFilter?: string;
|
|
347
|
+
rounded?: string | number;
|
|
346
348
|
};
|
|
347
349
|
primaryButton: {
|
|
348
350
|
bg: string;
|
|
349
351
|
color: string;
|
|
350
352
|
border: string;
|
|
351
353
|
hoverBg?: string;
|
|
354
|
+
backdropFilter?: string;
|
|
355
|
+
rounded?: string | number;
|
|
352
356
|
};
|
|
353
357
|
tertiaryButton: {
|
|
354
358
|
bg: string;
|
|
355
359
|
color: string;
|
|
356
360
|
border: string;
|
|
361
|
+
backdropFilter?: string;
|
|
362
|
+
rounded?: string | number;
|
|
357
363
|
};
|
|
358
364
|
loginButton: {
|
|
359
365
|
bg: string;
|
|
360
366
|
color: string;
|
|
361
367
|
border: string;
|
|
368
|
+
backdropFilter?: string;
|
|
369
|
+
rounded?: string | number;
|
|
362
370
|
};
|
|
363
371
|
};
|
|
364
372
|
effects: {
|
|
@@ -394,8 +402,12 @@ interface ThemeTokens {
|
|
|
394
402
|
large: string;
|
|
395
403
|
xl: string;
|
|
396
404
|
full: string;
|
|
405
|
+
modal: string;
|
|
397
406
|
};
|
|
398
407
|
};
|
|
408
|
+
modal: {
|
|
409
|
+
rounded?: string | number;
|
|
410
|
+
};
|
|
399
411
|
}
|
|
400
412
|
/**
|
|
401
413
|
* Developer-facing theme configuration
|
|
@@ -411,6 +423,9 @@ interface VechainKitThemeConfig {
|
|
|
411
423
|
modal?: {
|
|
412
424
|
backgroundColor?: string;
|
|
413
425
|
border?: string;
|
|
426
|
+
backdropFilter?: string;
|
|
427
|
+
borderRadius?: string;
|
|
428
|
+
rounded?: string | number;
|
|
414
429
|
};
|
|
415
430
|
buttons?: {
|
|
416
431
|
secondaryButton?: {
|
|
@@ -418,22 +433,30 @@ interface VechainKitThemeConfig {
|
|
|
418
433
|
color?: string;
|
|
419
434
|
border?: string;
|
|
420
435
|
hoverBg?: string;
|
|
436
|
+
backdropFilter?: string;
|
|
437
|
+
rounded?: string | number;
|
|
421
438
|
};
|
|
422
439
|
primaryButton?: {
|
|
423
440
|
bg?: string;
|
|
424
441
|
color?: string;
|
|
425
442
|
border?: string;
|
|
426
443
|
hoverBg?: string;
|
|
444
|
+
backdropFilter?: string;
|
|
445
|
+
rounded?: string | number;
|
|
427
446
|
};
|
|
428
447
|
tertiaryButton?: {
|
|
429
448
|
bg?: string;
|
|
430
449
|
color?: string;
|
|
431
450
|
border?: string;
|
|
451
|
+
backdropFilter?: string;
|
|
452
|
+
rounded?: string | number;
|
|
432
453
|
};
|
|
433
454
|
loginButton?: {
|
|
434
455
|
bg?: string;
|
|
435
456
|
color?: string;
|
|
436
457
|
border?: string;
|
|
458
|
+
backdropFilter?: string;
|
|
459
|
+
rounded?: string | number;
|
|
437
460
|
};
|
|
438
461
|
};
|
|
439
462
|
fonts?: {
|
|
@@ -600,7 +623,7 @@ declare const VeChainKitContext: react0.Context<VeChainKitConfig | null>;
|
|
|
600
623
|
* ```
|
|
601
624
|
*/
|
|
602
625
|
declare const useVeChainKitConfig: () => VeChainKitConfig;
|
|
603
|
-
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) =>
|
|
626
|
+
declare const VeChainKitProvider: (props: Omit<VechainKitProviderProps, "queryClient">) => react_jsx_runtime3.JSX.Element;
|
|
604
627
|
//#endregion
|
|
605
628
|
//#region src/providers/PrivyWalletProvider.d.ts
|
|
606
629
|
interface PrivyWalletProviderContextType {
|
|
@@ -612,6 +635,7 @@ interface PrivyWalletProviderContextType {
|
|
|
612
635
|
description?: string;
|
|
613
636
|
buttonText?: string;
|
|
614
637
|
currentGasToken?: GasTokenType;
|
|
638
|
+
delegationUrl?: string;
|
|
615
639
|
}) => Promise<string>;
|
|
616
640
|
signTypedData: (data: SignTypedDataParams) => Promise<string>;
|
|
617
641
|
signMessage: (message: string) => Promise<string>;
|
|
@@ -642,11 +666,11 @@ declare const PrivyWalletProvider: ({
|
|
|
642
666
|
delegatorUrl?: string;
|
|
643
667
|
delegateAllTransactions: boolean;
|
|
644
668
|
genericDelegator?: boolean;
|
|
645
|
-
}) =>
|
|
669
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
646
670
|
declare const usePrivyWalletProvider: () => PrivyWalletProviderContextType;
|
|
647
671
|
//#endregion
|
|
648
672
|
//#region src/providers/VechainKitThemeProvider.d.ts
|
|
649
|
-
type Props$
|
|
673
|
+
type Props$32 = {
|
|
650
674
|
children: ReactNode;
|
|
651
675
|
darkMode?: boolean;
|
|
652
676
|
theme?: VechainKitThemeConfig;
|
|
@@ -659,15 +683,15 @@ declare const ColorModeSync: ({
|
|
|
659
683
|
darkMode
|
|
660
684
|
}: {
|
|
661
685
|
darkMode: boolean;
|
|
662
|
-
}) =>
|
|
686
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
663
687
|
declare const VechainKitThemeProvider: ({
|
|
664
688
|
children,
|
|
665
689
|
darkMode,
|
|
666
690
|
theme: customTheme
|
|
667
|
-
}: Props$
|
|
691
|
+
}: Props$32) => react_jsx_runtime3.JSX.Element;
|
|
668
692
|
//#endregion
|
|
669
693
|
//#region src/providers/LegalDocumentsProvider.d.ts
|
|
670
|
-
type Props$
|
|
694
|
+
type Props$31 = {
|
|
671
695
|
children: Readonly<ReactNode>;
|
|
672
696
|
};
|
|
673
697
|
type LegalDocumentsContextType = {
|
|
@@ -680,10 +704,10 @@ type LegalDocumentsContextType = {
|
|
|
680
704
|
declare const useLegalDocuments: () => LegalDocumentsContextType;
|
|
681
705
|
declare const LegalDocumentsProvider: ({
|
|
682
706
|
children
|
|
683
|
-
}: Props$
|
|
707
|
+
}: Props$31) => react_jsx_runtime3.JSX.Element;
|
|
684
708
|
//#endregion
|
|
685
709
|
//#region src/components/ConnectModal/ConnectModal.d.ts
|
|
686
|
-
type Props$
|
|
710
|
+
type Props$30 = {
|
|
687
711
|
isOpen: boolean;
|
|
688
712
|
onClose: () => void;
|
|
689
713
|
};
|
|
@@ -691,17 +715,17 @@ type ConnectModalContentsTypes = 'main' | 'email-verification' | 'faq';
|
|
|
691
715
|
declare const ConnectModal: ({
|
|
692
716
|
isOpen,
|
|
693
717
|
onClose
|
|
694
|
-
}: Props$
|
|
718
|
+
}: Props$30) => react_jsx_runtime3.JSX.Element;
|
|
695
719
|
//#endregion
|
|
696
720
|
//#region src/components/ConnectModal/Contents/MainContent.d.ts
|
|
697
|
-
type Props$
|
|
721
|
+
type Props$29 = {
|
|
698
722
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<ConnectModalContentsTypes>>;
|
|
699
723
|
onClose: () => void;
|
|
700
724
|
};
|
|
701
725
|
declare const MainContent: ({
|
|
702
726
|
setCurrentContent,
|
|
703
727
|
onClose
|
|
704
|
-
}: Props$
|
|
728
|
+
}: Props$29) => react_jsx_runtime3.JSX.Element;
|
|
705
729
|
//#endregion
|
|
706
730
|
//#region src/components/ConnectModal/Components/ConnectionButton.d.ts
|
|
707
731
|
interface ConnectionButtonProps {
|
|
@@ -724,23 +748,23 @@ declare const ConnectionButton: ({
|
|
|
724
748
|
style,
|
|
725
749
|
variant,
|
|
726
750
|
iconWidth
|
|
727
|
-
}: ConnectionButtonProps) =>
|
|
751
|
+
}: ConnectionButtonProps) => react_jsx_runtime3.JSX.Element | null;
|
|
728
752
|
//#endregion
|
|
729
753
|
//#region src/components/ConnectModal/Components/EmailLoginButton.d.ts
|
|
730
|
-
declare const EmailLoginButton: () =>
|
|
754
|
+
declare const EmailLoginButton: () => react_jsx_runtime3.JSX.Element;
|
|
731
755
|
//#endregion
|
|
732
756
|
//#region src/components/ConnectModal/Components/VeChainLoginButton.d.ts
|
|
733
|
-
type Props$
|
|
757
|
+
type Props$28 = {
|
|
734
758
|
isDark: boolean;
|
|
735
759
|
gridColumn?: number;
|
|
736
760
|
};
|
|
737
761
|
declare const VeChainLoginButton: ({
|
|
738
762
|
isDark,
|
|
739
763
|
gridColumn
|
|
740
|
-
}: Props$
|
|
764
|
+
}: Props$28) => react_jsx_runtime3.JSX.Element;
|
|
741
765
|
//#endregion
|
|
742
766
|
//#region src/components/ConnectModal/Components/EcosystemButton.d.ts
|
|
743
|
-
type Props$
|
|
767
|
+
type Props$27 = {
|
|
744
768
|
isDark: boolean;
|
|
745
769
|
appsInfo: PrivyAppInfo[];
|
|
746
770
|
isLoading: boolean;
|
|
@@ -749,10 +773,10 @@ type Props$31 = {
|
|
|
749
773
|
declare const EcosystemButton: ({
|
|
750
774
|
appsInfo,
|
|
751
775
|
isLoading
|
|
752
|
-
}: Props$
|
|
776
|
+
}: Props$27) => react_jsx_runtime3.JSX.Element;
|
|
753
777
|
//#endregion
|
|
754
778
|
//#region src/components/ConnectModal/Components/PrivyButton.d.ts
|
|
755
|
-
type Props$
|
|
779
|
+
type Props$26 = {
|
|
756
780
|
isDark: boolean;
|
|
757
781
|
onViewMoreLogin: () => void;
|
|
758
782
|
gridColumn?: number;
|
|
@@ -761,57 +785,57 @@ declare const PrivyButton: ({
|
|
|
761
785
|
isDark,
|
|
762
786
|
onViewMoreLogin,
|
|
763
787
|
gridColumn
|
|
764
|
-
}: Props$
|
|
788
|
+
}: Props$26) => react_jsx_runtime3.JSX.Element;
|
|
765
789
|
//#endregion
|
|
766
790
|
//#region src/components/ConnectModal/Components/LoginWithGoogleButton.d.ts
|
|
767
|
-
type Props$
|
|
791
|
+
type Props$25 = {
|
|
768
792
|
isDark: boolean;
|
|
769
793
|
gridColumn?: number;
|
|
770
794
|
};
|
|
771
795
|
declare const LoginWithGoogleButton: ({
|
|
772
796
|
isDark,
|
|
773
797
|
gridColumn
|
|
774
|
-
}: Props$
|
|
798
|
+
}: Props$25) => react_jsx_runtime3.JSX.Element;
|
|
775
799
|
//#endregion
|
|
776
800
|
//#region src/components/ConnectModal/Components/PasskeyLoginButton.d.ts
|
|
777
|
-
type Props$
|
|
801
|
+
type Props$24 = {
|
|
778
802
|
isDark: boolean;
|
|
779
803
|
gridColumn?: number;
|
|
780
804
|
};
|
|
781
805
|
declare const PasskeyLoginButton: ({
|
|
782
806
|
isDark,
|
|
783
807
|
gridColumn
|
|
784
|
-
}: Props$
|
|
808
|
+
}: Props$24) => react_jsx_runtime3.JSX.Element;
|
|
785
809
|
//#endregion
|
|
786
810
|
//#region src/components/ConnectModal/Components/DappKitButton.d.ts
|
|
787
|
-
type Props$
|
|
811
|
+
type Props$23 = {
|
|
788
812
|
isDark: boolean;
|
|
789
813
|
gridColumn?: number;
|
|
790
814
|
};
|
|
791
815
|
declare const DappKitButton: ({
|
|
792
816
|
isDark,
|
|
793
817
|
gridColumn
|
|
794
|
-
}: Props$
|
|
818
|
+
}: Props$23) => react_jsx_runtime3.JSX.Element;
|
|
795
819
|
//#endregion
|
|
796
820
|
//#region src/components/ConnectModal/Components/VeChainWithPrivyLoginButton.d.ts
|
|
797
|
-
type Props$
|
|
821
|
+
type Props$22 = {
|
|
798
822
|
isDark: boolean;
|
|
799
823
|
gridColumn?: number;
|
|
800
824
|
};
|
|
801
825
|
declare const VeChainWithPrivyLoginButton: ({
|
|
802
826
|
isDark,
|
|
803
827
|
gridColumn
|
|
804
|
-
}: Props$
|
|
828
|
+
}: Props$22) => react_jsx_runtime3.JSX.Element;
|
|
805
829
|
//#endregion
|
|
806
830
|
//#region src/components/ConnectModal/Components/LoginWithGithubButton.d.ts
|
|
807
|
-
type Props$
|
|
831
|
+
type Props$21 = {
|
|
808
832
|
isDark: boolean;
|
|
809
833
|
gridColumn?: number;
|
|
810
834
|
};
|
|
811
835
|
declare const LoginWithGithubButton: ({
|
|
812
836
|
isDark,
|
|
813
837
|
gridColumn
|
|
814
|
-
}: Props$
|
|
838
|
+
}: Props$21) => react_jsx_runtime3.JSX.Element;
|
|
815
839
|
//#endregion
|
|
816
840
|
//#region src/components/ConnectModal/ConnectPopover.d.ts
|
|
817
841
|
type ConnectPopoverProps = {
|
|
@@ -821,7 +845,7 @@ type ConnectPopoverProps = {
|
|
|
821
845
|
declare const ConnectPopover: ({
|
|
822
846
|
isLoading,
|
|
823
847
|
buttonStyle
|
|
824
|
-
}: ConnectPopoverProps) =>
|
|
848
|
+
}: ConnectPopoverProps) => react_jsx_runtime3.JSX.Element;
|
|
825
849
|
//#endregion
|
|
826
850
|
//#region src/components/WalletButton/types.d.ts
|
|
827
851
|
type WalletDisplayVariant = 'icon' | 'iconAndDomain' | 'iconDomainAndAddress' | 'iconDomainAndAssets';
|
|
@@ -838,10 +862,10 @@ declare const WalletButton: ({
|
|
|
838
862
|
desktopVariant,
|
|
839
863
|
buttonStyle,
|
|
840
864
|
connectionVariant
|
|
841
|
-
}: WalletButtonProps) =>
|
|
865
|
+
}: WalletButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
842
866
|
//#endregion
|
|
843
867
|
//#region src/components/WalletButton/SocialIcons.d.ts
|
|
844
|
-
declare const SocialIcons: () =>
|
|
868
|
+
declare const SocialIcons: () => react_jsx_runtime3.JSX.Element;
|
|
845
869
|
//#endregion
|
|
846
870
|
//#region src/components/TransactionModal/TransactionModal.d.ts
|
|
847
871
|
type TransactionModalProps = {
|
|
@@ -871,17 +895,17 @@ declare const TransactionModal: ({
|
|
|
871
895
|
txReceipt,
|
|
872
896
|
txError,
|
|
873
897
|
onTryAgain
|
|
874
|
-
}: TransactionModalProps) =>
|
|
898
|
+
}: TransactionModalProps) => react_jsx_runtime3.JSX.Element;
|
|
875
899
|
//#endregion
|
|
876
900
|
//#region src/components/TransactionModal/Components/ShareButtons.d.ts
|
|
877
|
-
type Props$
|
|
901
|
+
type Props$20 = {
|
|
878
902
|
descriptionEncoded: string;
|
|
879
903
|
url?: string;
|
|
880
904
|
facebookHashtag?: string;
|
|
881
905
|
};
|
|
882
906
|
declare const ShareButtons: ({
|
|
883
907
|
descriptionEncoded
|
|
884
|
-
}: Props$
|
|
908
|
+
}: Props$20) => react_jsx_runtime3.JSX.Element;
|
|
885
909
|
//#endregion
|
|
886
910
|
//#region src/components/TransactionModal/TransactionModalContent.d.ts
|
|
887
911
|
declare const TransactionModalContent: ({
|
|
@@ -891,7 +915,7 @@ declare const TransactionModalContent: ({
|
|
|
891
915
|
txReceipt,
|
|
892
916
|
txError,
|
|
893
917
|
onClose
|
|
894
|
-
}: Omit<TransactionModalProps, "isOpen">) =>
|
|
918
|
+
}: Omit<TransactionModalProps, "isOpen">) => react_jsx_runtime3.JSX.Element;
|
|
895
919
|
//#endregion
|
|
896
920
|
//#region src/components/TransactionToast/TransactionToast.d.ts
|
|
897
921
|
type TransactionToastProps = {
|
|
@@ -911,10 +935,10 @@ declare const TransactionToast: ({
|
|
|
911
935
|
txError,
|
|
912
936
|
onTryAgain,
|
|
913
937
|
description
|
|
914
|
-
}: TransactionToastProps) =>
|
|
938
|
+
}: TransactionToastProps) => react_jsx_runtime3.JSX.Element | null;
|
|
915
939
|
//#endregion
|
|
916
940
|
//#region src/components/AccountModal/Contents/Account/AccountMainContent.d.ts
|
|
917
|
-
type Props$
|
|
941
|
+
type Props$19 = {
|
|
918
942
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
919
943
|
onClose: () => void;
|
|
920
944
|
wallet: Wallet;
|
|
@@ -923,54 +947,12 @@ declare const AccountMainContent: ({
|
|
|
923
947
|
setCurrentContent,
|
|
924
948
|
wallet,
|
|
925
949
|
onClose
|
|
926
|
-
}: Props$
|
|
927
|
-
//#endregion
|
|
928
|
-
//#region src/components/AccountModal/Contents/Account/AccessAndSecurityContent.d.ts
|
|
929
|
-
type Props$22 = {
|
|
930
|
-
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
931
|
-
};
|
|
932
|
-
declare const AccessAndSecurityContent: ({
|
|
933
|
-
setCurrentContent
|
|
934
|
-
}: Props$22) => react_jsx_runtime1.JSX.Element;
|
|
935
|
-
//#endregion
|
|
936
|
-
//#region src/components/AccountModal/Contents/Account/SettingsContent.d.ts
|
|
937
|
-
type SettingsContentProps = {
|
|
938
|
-
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
939
|
-
onLogoutSuccess: () => void;
|
|
940
|
-
};
|
|
941
|
-
declare const SettingsContent: ({
|
|
942
|
-
setCurrentContent,
|
|
943
|
-
onLogoutSuccess
|
|
944
|
-
}: SettingsContentProps) => react_jsx_runtime1.JSX.Element;
|
|
945
|
-
//#endregion
|
|
946
|
-
//#region src/components/AccountModal/Contents/Account/EmbeddedWalletContent.d.ts
|
|
947
|
-
type Props$21 = {
|
|
948
|
-
setCurrentContent: (content: AccountModalContentTypes) => void;
|
|
949
|
-
};
|
|
950
|
-
declare const EmbeddedWalletContent: ({
|
|
951
|
-
setCurrentContent
|
|
952
|
-
}: Props$21) => react_jsx_runtime1.JSX.Element;
|
|
953
|
-
//#endregion
|
|
954
|
-
//#region src/components/AccountModal/Contents/Account/DisconnectConfirmContent.d.ts
|
|
955
|
-
type DisconnectConfirmContentProps = {
|
|
956
|
-
onDisconnect: () => void;
|
|
957
|
-
onBack: () => void;
|
|
958
|
-
onClose?: () => void;
|
|
959
|
-
text?: string;
|
|
960
|
-
showCloseButton?: boolean;
|
|
961
|
-
};
|
|
962
|
-
declare const DisconnectConfirmContent: ({
|
|
963
|
-
onDisconnect,
|
|
964
|
-
onBack,
|
|
965
|
-
onClose,
|
|
966
|
-
showCloseButton,
|
|
967
|
-
text
|
|
968
|
-
}: DisconnectConfirmContentProps) => react_jsx_runtime1.JSX.Element;
|
|
950
|
+
}: Props$19) => react_jsx_runtime3.JSX.Element;
|
|
969
951
|
//#endregion
|
|
970
952
|
//#region src/hooks/api/privy/useFetchAppInfo.d.ts
|
|
971
953
|
declare const fetchPrivyAppInfo: (appId: string) => Promise<PrivyAppInfo>;
|
|
972
954
|
declare const getPrivyAppInfoQueryKey: (appIds: string | string[]) => string[];
|
|
973
|
-
declare const useFetchAppInfo: (appIds: string | string[]) =>
|
|
955
|
+
declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_query8.UseQueryResult<{
|
|
974
956
|
[k: string]: {
|
|
975
957
|
website: string | undefined;
|
|
976
958
|
id: string;
|
|
@@ -991,7 +973,7 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
|
|
|
991
973
|
//#endregion
|
|
992
974
|
//#region src/hooks/api/privy/useFetchPrivyStatus.d.ts
|
|
993
975
|
declare const fetchPrivyStatus: () => Promise<string>;
|
|
994
|
-
declare const useFetchPrivyStatus: () =>
|
|
976
|
+
declare const useFetchPrivyStatus: () => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
995
977
|
//#endregion
|
|
996
978
|
//#region src/hooks/api/vetDomains/useVechainDomain.d.ts
|
|
997
979
|
interface VeChainDomainResult {
|
|
@@ -1001,11 +983,11 @@ interface VeChainDomainResult {
|
|
|
1001
983
|
isPrimaryDomain: boolean;
|
|
1002
984
|
}
|
|
1003
985
|
declare const getVechainDomainQueryKey: (addressOrDomain?: string | null) => (string | null | undefined)[];
|
|
1004
|
-
declare const useVechainDomain: (addressOrDomain?: string | null) =>
|
|
986
|
+
declare const useVechainDomain: (addressOrDomain?: string | null) => _tanstack_react_query8.UseQueryResult<VeChainDomainResult, Error>;
|
|
1005
987
|
//#endregion
|
|
1006
988
|
//#region src/hooks/api/vetDomains/useEnsRecordExists.d.ts
|
|
1007
989
|
declare const getEnsRecordExistsQueryKey: (name: string) => string[];
|
|
1008
|
-
declare const useEnsRecordExists: (name: string) =>
|
|
990
|
+
declare const useEnsRecordExists: (name: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1009
991
|
//#endregion
|
|
1010
992
|
//#region src/hooks/api/vetDomains/useClaimVeWorldSubdomain.d.ts
|
|
1011
993
|
type useClaimVeWorldSubdomainProps = {
|
|
@@ -1067,7 +1049,7 @@ declare const getIsDomainProtectedQueryKey: (domain?: string) => (string | undef
|
|
|
1067
1049
|
* @param {boolean} [enabled=true] - Flag to enable or disable the hook.
|
|
1068
1050
|
* @returns The result of the useQuery hook, with the protection status.
|
|
1069
1051
|
*/
|
|
1070
|
-
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) =>
|
|
1052
|
+
declare const useIsDomainProtected: (domain?: string, enabled?: boolean) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1071
1053
|
//#endregion
|
|
1072
1054
|
//#region src/hooks/api/vetDomains/useGetDomainsOfAddress.d.ts
|
|
1073
1055
|
declare const DomainSchema: z.ZodObject<{
|
|
@@ -1095,7 +1077,7 @@ declare const getDomainsOfAddressQueryKey: (address?: string, parentDomain?: str
|
|
|
1095
1077
|
* @param parentDomain The parent domain (e.g., "veworld.vet")
|
|
1096
1078
|
* @returns The domains owned by the address
|
|
1097
1079
|
*/
|
|
1098
|
-
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) =>
|
|
1080
|
+
declare const useGetDomainsOfAddress: (address?: string, parentDomain?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1099
1081
|
domains: {
|
|
1100
1082
|
name: string;
|
|
1101
1083
|
}[];
|
|
@@ -1108,7 +1090,7 @@ declare const getAvatarQueryKey: (name: string, networkType: NETWORK_TYPE) => st
|
|
|
1108
1090
|
* @param name - The VET domain name
|
|
1109
1091
|
* @returns The resolved avatar URL
|
|
1110
1092
|
*/
|
|
1111
|
-
declare const useGetAvatar: (name: string) =>
|
|
1093
|
+
declare const useGetAvatar: (name: string) => _tanstack_react_query8.UseQueryResult<string | null, Error>;
|
|
1112
1094
|
//#endregion
|
|
1113
1095
|
//#region src/hooks/api/vetDomains/useGetTextRecords.d.ts
|
|
1114
1096
|
/**
|
|
@@ -1120,7 +1102,7 @@ declare const useGetAvatar: (name: string) => _tanstack_react_query46.UseQueryRe
|
|
|
1120
1102
|
*/
|
|
1121
1103
|
declare const getTextRecords: (nodeUrl: string, network: NETWORK_TYPE, domain?: string) => Promise<TextRecords>;
|
|
1122
1104
|
declare const getTextRecordsQueryKey: (domain?: string, network?: NETWORK_TYPE) => (string | undefined)[];
|
|
1123
|
-
declare const useGetTextRecords: (domain?: string) =>
|
|
1105
|
+
declare const useGetTextRecords: (domain?: string) => _tanstack_react_query8.UseQueryResult<TextRecords, Error>;
|
|
1124
1106
|
//#endregion
|
|
1125
1107
|
//#region src/hooks/api/vetDomains/useUpdateTextRecord.d.ts
|
|
1126
1108
|
type UpdateTextRecordVariables = {
|
|
@@ -1153,7 +1135,7 @@ declare const getResolverAddressQueryKey: (domain?: string) => (string | undefin
|
|
|
1153
1135
|
* @param domain The domain to get resolver for
|
|
1154
1136
|
* @returns The resolver address for the domain
|
|
1155
1137
|
*/
|
|
1156
|
-
declare const useGetResolverAddress: (domain?: string) =>
|
|
1138
|
+
declare const useGetResolverAddress: (domain?: string) => _tanstack_react_query8.UseQueryResult<`0x${string}`, unknown>;
|
|
1157
1139
|
//#endregion
|
|
1158
1140
|
//#region src/hooks/api/vetDomains/useGetAvatarOfAddress.d.ts
|
|
1159
1141
|
declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefined)[];
|
|
@@ -1163,7 +1145,7 @@ declare const getAvatarOfAddressQueryKey: (address?: string) => (string | undefi
|
|
|
1163
1145
|
* @param address The owner's address
|
|
1164
1146
|
* @returns The avatar URL for the address's primary domain
|
|
1165
1147
|
*/
|
|
1166
|
-
declare const useGetAvatarOfAddress: (address?: string) =>
|
|
1148
|
+
declare const useGetAvatarOfAddress: (address?: string) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
1167
1149
|
//#endregion
|
|
1168
1150
|
//#region src/hooks/api/vetDomains/useGetAvatarLegacy.d.ts
|
|
1169
1151
|
/**
|
|
@@ -1180,7 +1162,7 @@ declare const getAvatarLegacyQueryKey: (name: string, networkType: NETWORK_TYPE)
|
|
|
1180
1162
|
* @param name - The VET domain name
|
|
1181
1163
|
* @returns The resolved avatar URL
|
|
1182
1164
|
*/
|
|
1183
|
-
declare const useGetAvatarLegacy: (name: string) =>
|
|
1165
|
+
declare const useGetAvatarLegacy: (name: string) => _tanstack_react_query8.UseQueryResult<string | null, Error>;
|
|
1184
1166
|
//#endregion
|
|
1185
1167
|
//#region src/hooks/api/vetDomains/useUnsetDomain.d.ts
|
|
1186
1168
|
type useUnsetDomainProps = {
|
|
@@ -1289,7 +1271,7 @@ declare const getCurrentAllocationsRoundIdQueryKey: (address: string) => string[
|
|
|
1289
1271
|
* Hook to get the current roundId of allocations voting
|
|
1290
1272
|
* @returns the current roundId of allocations voting
|
|
1291
1273
|
*/
|
|
1292
|
-
declare const useCurrentAllocationsRoundId: () =>
|
|
1274
|
+
declare const useCurrentAllocationsRoundId: () => _tanstack_react_query8.UseQueryResult<string, unknown>;
|
|
1293
1275
|
//#endregion
|
|
1294
1276
|
//#region src/hooks/api/wallet/useCustomTokens.d.ts
|
|
1295
1277
|
declare const useCustomTokens: () => {
|
|
@@ -1302,7 +1284,7 @@ declare const useCustomTokens: () => {
|
|
|
1302
1284
|
//#endregion
|
|
1303
1285
|
//#region src/hooks/api/wallet/useGetB3trBalance.d.ts
|
|
1304
1286
|
declare const getB3trBalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1305
|
-
declare const useGetB3trBalance: (address?: string) =>
|
|
1287
|
+
declare const useGetB3trBalance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1306
1288
|
original: string;
|
|
1307
1289
|
scaled: string;
|
|
1308
1290
|
formatted: string;
|
|
@@ -1311,7 +1293,7 @@ declare const useGetB3trBalance: (address?: string) => _tanstack_react_query46.U
|
|
|
1311
1293
|
//#region src/hooks/api/wallet/useGetCustomTokenBalances.d.ts
|
|
1312
1294
|
type TokenWithBalance = CustomTokenInfo & TokenBalance;
|
|
1313
1295
|
declare const getCustomTokenBalanceQueryKey: (tokenAddress?: string, address?: string) => (string | undefined)[];
|
|
1314
|
-
declare const useGetCustomTokenBalances: (address?: string) =>
|
|
1296
|
+
declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1315
1297
|
original: string;
|
|
1316
1298
|
scaled: string;
|
|
1317
1299
|
formatted: string;
|
|
@@ -1322,13 +1304,13 @@ declare const useGetCustomTokenBalances: (address?: string) => _tanstack_react_q
|
|
|
1322
1304
|
}, Error>[];
|
|
1323
1305
|
//#endregion
|
|
1324
1306
|
//#region src/hooks/api/wallet/useGetCustomTokenInfo.d.ts
|
|
1325
|
-
declare const getTokenInfo: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1307
|
+
declare const getTokenInfo$1: (tokenAddress: string, networkUrl: string) => Promise<CustomTokenInfo>;
|
|
1326
1308
|
declare const getCustomTokenInfoQueryKey: (tokenAddress: string) => string[];
|
|
1327
|
-
declare const useGetCustomTokenInfo: (tokenAddress: string) =>
|
|
1309
|
+
declare const useGetCustomTokenInfo: (tokenAddress: string) => _tanstack_react_query8.UseQueryResult<CustomTokenInfo, Error>;
|
|
1328
1310
|
//#endregion
|
|
1329
1311
|
//#region src/hooks/api/wallet/useGetErc20Balance.d.ts
|
|
1330
1312
|
declare const getErc20BalanceQueryKey: (tokenAddress: string, address?: string) => (string | undefined)[];
|
|
1331
|
-
declare const useGetErc20Balance: (tokenAddress: string, address?: string) =>
|
|
1313
|
+
declare const useGetErc20Balance: (tokenAddress: string, address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1332
1314
|
original: string;
|
|
1333
1315
|
scaled: string;
|
|
1334
1316
|
formatted: string;
|
|
@@ -1345,11 +1327,11 @@ declare const PRICE_FEED_IDS: {
|
|
|
1345
1327
|
type SupportedToken = keyof typeof PRICE_FEED_IDS;
|
|
1346
1328
|
declare const getTokenUsdPrice: (thor: ThorClient, token: SupportedToken, network: NETWORK_TYPE) => Promise<number>;
|
|
1347
1329
|
declare const getTokenUsdPriceQueryKey: (token: SupportedToken) => string[];
|
|
1348
|
-
declare const useGetTokenUsdPrice: (token: SupportedToken) =>
|
|
1330
|
+
declare const useGetTokenUsdPrice: (token: SupportedToken) => _tanstack_react_query8.UseQueryResult<number, Error>;
|
|
1349
1331
|
//#endregion
|
|
1350
1332
|
//#region src/hooks/api/wallet/useGetVot3Balance.d.ts
|
|
1351
1333
|
declare const getVot3BalanceQueryKey: (address?: string) => (string | undefined)[];
|
|
1352
|
-
declare const useGetVot3Balance: (address?: string) =>
|
|
1334
|
+
declare const useGetVot3Balance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1353
1335
|
original: string;
|
|
1354
1336
|
scaled: string;
|
|
1355
1337
|
formatted: string;
|
|
@@ -1368,7 +1350,7 @@ declare const getIsPersonQueryKey: (user: string, networkType: NETWORK_TYPE) =>
|
|
|
1368
1350
|
* @param user - The user address.
|
|
1369
1351
|
* @returns The isPerson status.
|
|
1370
1352
|
*/
|
|
1371
|
-
declare const useIsPerson: (user?: string | null) =>
|
|
1353
|
+
declare const useIsPerson: (user?: string | null) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
1372
1354
|
//#endregion
|
|
1373
1355
|
//#region src/hooks/api/wallet/useMostVotedAppsInRound.d.ts
|
|
1374
1356
|
type XApp = {
|
|
@@ -1406,7 +1388,7 @@ declare const useRefreshMetadata: (domain: string, address: string) => {
|
|
|
1406
1388
|
//#endregion
|
|
1407
1389
|
//#region src/hooks/api/wallet/useRoundXApps.d.ts
|
|
1408
1390
|
declare const getRoundXAppsQueryKey: (roundId: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
|
|
1409
|
-
declare const useRoundXApps: (roundId?: string) =>
|
|
1391
|
+
declare const useRoundXApps: (roundId?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1410
1392
|
id: string;
|
|
1411
1393
|
teamWalletAddress: `0x${string}`;
|
|
1412
1394
|
name: string;
|
|
@@ -1437,7 +1419,7 @@ type UseWalletReturnType = {
|
|
|
1437
1419
|
};
|
|
1438
1420
|
disconnect: () => Promise<void>;
|
|
1439
1421
|
};
|
|
1440
|
-
declare const useWallet: () => UseWalletReturnType;
|
|
1422
|
+
declare const useWallet$1: () => UseWalletReturnType;
|
|
1441
1423
|
//#endregion
|
|
1442
1424
|
//#region src/hooks/api/wallet/useWalletMetadata.d.ts
|
|
1443
1425
|
declare const useWalletMetadata: (address: string, networkType: NETWORK_TYPE) => {
|
|
@@ -1489,7 +1471,7 @@ type XAppMetadata = {
|
|
|
1489
1471
|
* @returns The metadata of the xApp see {@link XAppMetadata}
|
|
1490
1472
|
*/
|
|
1491
1473
|
declare const getXAppMetadata: (uri: string, networkType: NETWORK_TYPE) => Promise<XAppMetadata | undefined>;
|
|
1492
|
-
declare const useXAppMetadata: (xAppId: string) =>
|
|
1474
|
+
declare const useXAppMetadata: (xAppId: string) => _tanstack_react_query8.UseQueryResult<XAppMetadata | undefined, Error>;
|
|
1493
1475
|
//#endregion
|
|
1494
1476
|
//#region src/hooks/api/wallet/useXAppShares.d.ts
|
|
1495
1477
|
/**
|
|
@@ -1504,7 +1486,7 @@ declare const getXAppsSharesQueryKey: (roundId?: number | string) => (string | n
|
|
|
1504
1486
|
* @returns the shares (% of allocation pool) for the xApps in the round { allocated: number, unallocated: number }
|
|
1505
1487
|
*
|
|
1506
1488
|
*/
|
|
1507
|
-
declare const useXAppsShares: (apps: string[], roundId?: string) =>
|
|
1489
|
+
declare const useXAppsShares: (apps: string[], roundId?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
1508
1490
|
app: string;
|
|
1509
1491
|
share: number;
|
|
1510
1492
|
unallocatedShare: number;
|
|
@@ -1526,7 +1508,7 @@ declare const getIpfsMetadataQueryKey: (networkType: NETWORK_TYPE, ipfsUri?: str
|
|
|
1526
1508
|
* @param ipfsUri - The IPFS URI
|
|
1527
1509
|
* @returns The metadata from IPFS
|
|
1528
1510
|
*/
|
|
1529
|
-
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) =>
|
|
1511
|
+
declare const useIpfsMetadata: <T$1>(ipfsUri?: string, parseJson?: boolean) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<T$1>, Error>;
|
|
1530
1512
|
//#endregion
|
|
1531
1513
|
//#region src/hooks/api/ipfs/useIpfsImage.d.ts
|
|
1532
1514
|
interface IpfsImage {
|
|
@@ -1553,14 +1535,14 @@ declare const getIpfsImageQueryKey: (networkType: NETWORK_TYPE, imageIpfsUri?: n
|
|
|
1553
1535
|
* @param imageIpfsUri - The IPFS URI of the NFT media
|
|
1554
1536
|
* @returns The NFT media
|
|
1555
1537
|
*/
|
|
1556
|
-
declare const useIpfsImage: (imageIpfsUri?: null | string) =>
|
|
1538
|
+
declare const useIpfsImage: (imageIpfsUri?: null | string) => _tanstack_react_query8.UseQueryResult<IpfsImage, Error>;
|
|
1557
1539
|
/**
|
|
1558
1540
|
* Custom hook to fetch a list of IPFS images.
|
|
1559
1541
|
*
|
|
1560
1542
|
* @param imageIpfsUriList - An array of IPFS URIs for the images.
|
|
1561
1543
|
* @returns An array of queries for each IPFS image URI.
|
|
1562
1544
|
*/
|
|
1563
|
-
declare const useIpfsImageList: (imageIpfsUriList: string[]) =>
|
|
1545
|
+
declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_query8.UseQueryResult<IpfsImage, Error>[];
|
|
1564
1546
|
//#endregion
|
|
1565
1547
|
//#region src/hooks/api/ipfs/useIpfsMetadatas.d.ts
|
|
1566
1548
|
/**
|
|
@@ -1568,12 +1550,12 @@ declare const useIpfsImageList: (imageIpfsUriList: string[]) => _tanstack_react_
|
|
|
1568
1550
|
* @param ipfsUris - The IPFS URIs
|
|
1569
1551
|
* @returns The metadata from IPFS for each URI
|
|
1570
1552
|
*/
|
|
1571
|
-
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) =>
|
|
1553
|
+
declare const useIpfsMetadatas: <T$1>(ipfsUris: string[], parseJson?: boolean) => _tanstack_react_query8.UseQueryResult<T$1, Error>[];
|
|
1572
1554
|
//#endregion
|
|
1573
1555
|
//#region src/hooks/api/ipfs/useUploadImages.d.ts
|
|
1574
1556
|
declare const imageCompressionOptions: Options;
|
|
1575
1557
|
declare const compressImages: (images: UploadedImage[]) => Promise<File[]>;
|
|
1576
|
-
type Props$
|
|
1558
|
+
type Props$18 = {
|
|
1577
1559
|
compressImages?: boolean;
|
|
1578
1560
|
defaultImages?: UploadedImage[];
|
|
1579
1561
|
};
|
|
@@ -1589,7 +1571,7 @@ type UploadedImage = {
|
|
|
1589
1571
|
declare const useUploadImages: ({
|
|
1590
1572
|
compressImages,
|
|
1591
1573
|
defaultImages
|
|
1592
|
-
}: Props$
|
|
1574
|
+
}: Props$18) => {
|
|
1593
1575
|
uploadedImages: UploadedImage[];
|
|
1594
1576
|
setUploadedImages: react0.Dispatch<react0.SetStateAction<UploadedImage[]>>;
|
|
1595
1577
|
onUpload: (acceptedFiles: File[], keepCurrent?: boolean) => Promise<void>;
|
|
@@ -1598,7 +1580,7 @@ declare const useUploadImages: ({
|
|
|
1598
1580
|
};
|
|
1599
1581
|
//#endregion
|
|
1600
1582
|
//#region src/hooks/api/ipfs/useSingleImageUpload.d.ts
|
|
1601
|
-
type Props$
|
|
1583
|
+
type Props$17 = {
|
|
1602
1584
|
compressImage?: boolean;
|
|
1603
1585
|
defaultImage?: UploadedImage;
|
|
1604
1586
|
};
|
|
@@ -1611,7 +1593,7 @@ type Props$19 = {
|
|
|
1611
1593
|
declare const useSingleImageUpload: ({
|
|
1612
1594
|
compressImage,
|
|
1613
1595
|
defaultImage
|
|
1614
|
-
}: Props$
|
|
1596
|
+
}: Props$17) => {
|
|
1615
1597
|
uploadedImage: UploadedImage | undefined;
|
|
1616
1598
|
setUploadedImage: react0.Dispatch<react0.SetStateAction<UploadedImage | undefined>>;
|
|
1617
1599
|
onUpload: (acceptedFile: File) => Promise<UploadedImage>;
|
|
@@ -1749,7 +1731,7 @@ declare const useSwapTransaction: (params: SwapParams | null, quote: SwapQuote |
|
|
|
1749
1731
|
executeSwap: () => Promise<void>;
|
|
1750
1732
|
isTransactionPending: boolean;
|
|
1751
1733
|
isWaitingForWalletConfirmation: boolean;
|
|
1752
|
-
txReceipt:
|
|
1734
|
+
txReceipt: _vechain_sdk_network0.TransactionReceipt | null;
|
|
1753
1735
|
status: TransactionStatus;
|
|
1754
1736
|
resetStatus: () => void;
|
|
1755
1737
|
error: TransactionStatusErrorType | undefined;
|
|
@@ -1787,7 +1769,7 @@ declare const ConnectModalProvider: ({
|
|
|
1787
1769
|
children
|
|
1788
1770
|
}: {
|
|
1789
1771
|
children: ReactNode;
|
|
1790
|
-
}) =>
|
|
1772
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1791
1773
|
//#endregion
|
|
1792
1774
|
//#region src/hooks/modals/useAccountModal.d.ts
|
|
1793
1775
|
declare const useAccountModal: () => {
|
|
@@ -1799,7 +1781,7 @@ declare const AccountModalProvider: ({
|
|
|
1799
1781
|
children
|
|
1800
1782
|
}: {
|
|
1801
1783
|
children: ReactNode;
|
|
1802
|
-
}) =>
|
|
1784
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1803
1785
|
//#endregion
|
|
1804
1786
|
//#region src/hooks/modals/useTransactionModal.d.ts
|
|
1805
1787
|
declare const useTransactionModal: () => {
|
|
@@ -1811,7 +1793,7 @@ declare const TransactionModalProvider: ({
|
|
|
1811
1793
|
children
|
|
1812
1794
|
}: {
|
|
1813
1795
|
children: ReactNode;
|
|
1814
|
-
}) =>
|
|
1796
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1815
1797
|
//#endregion
|
|
1816
1798
|
//#region src/hooks/modals/useTransactionToast.d.ts
|
|
1817
1799
|
declare const useTransactionToast: () => {
|
|
@@ -1823,7 +1805,7 @@ declare const TransactionToastProvider: ({
|
|
|
1823
1805
|
children
|
|
1824
1806
|
}: {
|
|
1825
1807
|
children: ReactNode;
|
|
1826
|
-
}) =>
|
|
1808
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1827
1809
|
//#endregion
|
|
1828
1810
|
//#region src/hooks/modals/useWalletModal.d.ts
|
|
1829
1811
|
declare const useWalletModal: () => {
|
|
@@ -1835,7 +1817,7 @@ declare const WalletModalProvider: ({
|
|
|
1835
1817
|
children
|
|
1836
1818
|
}: {
|
|
1837
1819
|
children: ReactNode;
|
|
1838
|
-
}) =>
|
|
1820
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1839
1821
|
//#endregion
|
|
1840
1822
|
//#region src/hooks/modals/useChooseNameModal.d.ts
|
|
1841
1823
|
declare const useChooseNameModal: () => {
|
|
@@ -1847,7 +1829,7 @@ declare const ChooseNameModalProvider: ({
|
|
|
1847
1829
|
children
|
|
1848
1830
|
}: {
|
|
1849
1831
|
children: ReactNode;
|
|
1850
|
-
}) =>
|
|
1832
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1851
1833
|
//#endregion
|
|
1852
1834
|
//#region src/hooks/modals/useSendTokenModal.d.ts
|
|
1853
1835
|
declare const useSendTokenModal: () => {
|
|
@@ -1859,7 +1841,7 @@ declare const SendTokenModalProvider: ({
|
|
|
1859
1841
|
children
|
|
1860
1842
|
}: {
|
|
1861
1843
|
children: ReactNode;
|
|
1862
|
-
}) =>
|
|
1844
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1863
1845
|
//#endregion
|
|
1864
1846
|
//#region src/hooks/modals/useSwapTokenModal.d.ts
|
|
1865
1847
|
type SwapTokenModalOptions = {
|
|
@@ -1876,19 +1858,7 @@ declare const SwapTokenModalProvider: ({
|
|
|
1876
1858
|
children
|
|
1877
1859
|
}: {
|
|
1878
1860
|
children: ReactNode;
|
|
1879
|
-
}) =>
|
|
1880
|
-
//#endregion
|
|
1881
|
-
//#region src/hooks/modals/useAccessAndSecurityModal.d.ts
|
|
1882
|
-
declare const useAccessAndSecurityModal: () => {
|
|
1883
|
-
open: (options?: AccountModalOptions) => void;
|
|
1884
|
-
close: () => void;
|
|
1885
|
-
isOpen: boolean;
|
|
1886
|
-
};
|
|
1887
|
-
declare const AccessAndSecurityModalProvider: ({
|
|
1888
|
-
children
|
|
1889
|
-
}: {
|
|
1890
|
-
children: ReactNode;
|
|
1891
|
-
}) => react_jsx_runtime1.JSX.Element;
|
|
1861
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1892
1862
|
//#endregion
|
|
1893
1863
|
//#region src/hooks/modals/useExploreEcosystemModal.d.ts
|
|
1894
1864
|
declare const useExploreEcosystemModal: () => {
|
|
@@ -1900,7 +1870,7 @@ declare const ExploreEcosystemModalProvider: ({
|
|
|
1900
1870
|
children
|
|
1901
1871
|
}: {
|
|
1902
1872
|
children: ReactNode;
|
|
1903
|
-
}) =>
|
|
1873
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1904
1874
|
//#endregion
|
|
1905
1875
|
//#region src/hooks/modals/useNotificationsModal.d.ts
|
|
1906
1876
|
declare const useNotificationsModal: () => {
|
|
@@ -1912,7 +1882,7 @@ declare const NotificationsModalProvider: ({
|
|
|
1912
1882
|
children
|
|
1913
1883
|
}: {
|
|
1914
1884
|
children: ReactNode;
|
|
1915
|
-
}) =>
|
|
1885
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1916
1886
|
//#endregion
|
|
1917
1887
|
//#region src/hooks/modals/useFAQModal.d.ts
|
|
1918
1888
|
declare const useFAQModal: () => {
|
|
@@ -1924,7 +1894,7 @@ declare const FAQModalProvider: ({
|
|
|
1924
1894
|
children
|
|
1925
1895
|
}: {
|
|
1926
1896
|
children: ReactNode;
|
|
1927
|
-
}) =>
|
|
1897
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1928
1898
|
//#endregion
|
|
1929
1899
|
//#region src/hooks/modals/useAccountCustomizationModal.d.ts
|
|
1930
1900
|
declare const useAccountCustomizationModal: () => {
|
|
@@ -1936,7 +1906,7 @@ declare const AccountCustomizationModalProvider: ({
|
|
|
1936
1906
|
children
|
|
1937
1907
|
}: {
|
|
1938
1908
|
children: ReactNode;
|
|
1939
|
-
}) =>
|
|
1909
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1940
1910
|
//#endregion
|
|
1941
1911
|
//#region src/hooks/modals/useReceiveModal.d.ts
|
|
1942
1912
|
declare const useReceiveModal: () => {
|
|
@@ -1948,7 +1918,7 @@ declare const ReceiveModalProvider: ({
|
|
|
1948
1918
|
children
|
|
1949
1919
|
}: {
|
|
1950
1920
|
children: ReactNode;
|
|
1951
|
-
}) =>
|
|
1921
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1952
1922
|
//#endregion
|
|
1953
1923
|
//#region src/hooks/modals/useLoginModalContent.d.ts
|
|
1954
1924
|
type LoginModalContentConfig = {
|
|
@@ -1974,7 +1944,7 @@ declare const UpgradeSmartAccountModalProvider: ({
|
|
|
1974
1944
|
children
|
|
1975
1945
|
}: {
|
|
1976
1946
|
children: ReactNode;
|
|
1977
|
-
}) =>
|
|
1947
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1978
1948
|
//#endregion
|
|
1979
1949
|
//#region src/hooks/modals/useProfileModal.d.ts
|
|
1980
1950
|
declare const useProfileModal: () => {
|
|
@@ -1986,7 +1956,7 @@ declare const ProfileModalProvider: ({
|
|
|
1986
1956
|
children
|
|
1987
1957
|
}: {
|
|
1988
1958
|
children: ReactNode;
|
|
1989
|
-
}) =>
|
|
1959
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
1990
1960
|
//#endregion
|
|
1991
1961
|
//#region src/hooks/modals/useAccountModalOptions.d.ts
|
|
1992
1962
|
declare const useAccountModalOptions: () => {
|
|
@@ -2057,7 +2027,7 @@ type UseSignTypedDataReturnValue = {
|
|
|
2057
2027
|
declare const useSignTypedData: () => UseSignTypedDataReturnValue;
|
|
2058
2028
|
//#endregion
|
|
2059
2029
|
//#region src/hooks/login/useLoginWithPasskey.d.ts
|
|
2060
|
-
declare const useLoginWithPasskey: () => {
|
|
2030
|
+
declare const useLoginWithPasskey$1: () => {
|
|
2061
2031
|
loginWithPasskey: () => Promise<void>;
|
|
2062
2032
|
};
|
|
2063
2033
|
//#endregion
|
|
@@ -2065,7 +2035,7 @@ declare const useLoginWithPasskey: () => {
|
|
|
2065
2035
|
interface OAuthOptions {
|
|
2066
2036
|
provider: OAuthProviderType;
|
|
2067
2037
|
}
|
|
2068
|
-
declare const useLoginWithOAuth: () => {
|
|
2038
|
+
declare const useLoginWithOAuth$1: () => {
|
|
2069
2039
|
initOAuth: ({
|
|
2070
2040
|
provider
|
|
2071
2041
|
}: OAuthOptions) => Promise<void>;
|
|
@@ -2122,7 +2092,7 @@ declare const fetchAppHubApps: () => Promise<AppHubApp[]>;
|
|
|
2122
2092
|
* );
|
|
2123
2093
|
* ```
|
|
2124
2094
|
*/
|
|
2125
|
-
declare const useAppHubApps: () =>
|
|
2095
|
+
declare const useAppHubApps: () => _tanstack_react_query8.UseQueryResult<AppHubApp[], Error>;
|
|
2126
2096
|
//#endregion
|
|
2127
2097
|
//#region src/utils/constants.d.ts
|
|
2128
2098
|
declare const TOKEN_LOGOS: Record<string, string>;
|
|
@@ -2469,7 +2439,7 @@ declare const useCallClause: <TAbi extends Abi, TMethod extends ExtractAbiFuncti
|
|
|
2469
2439
|
method: TMethod;
|
|
2470
2440
|
args: AbiParametersToPrimitiveTypes<ExtractViewFunction<TAbi, TMethod>["inputs"], "inputs">;
|
|
2471
2441
|
queryOptions?: Omit<UseQueryOptions<ViewFunctionResult<TAbi, TMethod>, unknown, TData, ReturnType<typeof getCallClauseQueryKeyWithArgs<TAbi, TMethod>>>, "queryKey" | "queryFn">;
|
|
2472
|
-
}) =>
|
|
2442
|
+
}) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<TData>, unknown>;
|
|
2473
2443
|
declare const useMultipleClausesCall: <contracts extends readonly ContractFunctionParameters[], allowFailure extends boolean = false>({
|
|
2474
2444
|
thor,
|
|
2475
2445
|
calls,
|
|
@@ -2480,7 +2450,7 @@ declare const useMultipleClausesCall: <contracts extends readonly ContractFuncti
|
|
|
2480
2450
|
calls: MultipleClausesCallParameters<contracts, allowFailure>;
|
|
2481
2451
|
queryKey: string[];
|
|
2482
2452
|
enabled?: boolean;
|
|
2483
|
-
}) =>
|
|
2453
|
+
}) => _tanstack_react_query8.UseQueryResult<_tanstack_react_query8.NoInfer<MultipleClausesCallReturnType<contracts, false>>, Error>;
|
|
2484
2454
|
//#endregion
|
|
2485
2455
|
//#region src/hooks/utils/useCurrency.d.ts
|
|
2486
2456
|
/**
|
|
@@ -2604,7 +2574,7 @@ declare const useEvents: <T$1 extends Abi, K extends ContractEventName<T$1>, R>(
|
|
|
2604
2574
|
filterParams,
|
|
2605
2575
|
mapResponse,
|
|
2606
2576
|
nodeUrl
|
|
2607
|
-
}: UseEventsParams<T$1, K, R>) =>
|
|
2577
|
+
}: UseEventsParams<T$1, K, R>) => _tanstack_react_query8.UseQueryResult<R[], Error>;
|
|
2608
2578
|
//#endregion
|
|
2609
2579
|
//#region src/hooks/utils/useBuildClauses.d.ts
|
|
2610
2580
|
interface BuildClausesParams {
|
|
@@ -2741,21 +2711,21 @@ declare const useGasTokenSelection: () => {
|
|
|
2741
2711
|
toggleTokenExclusion: (token: GasTokenType) => void;
|
|
2742
2712
|
};
|
|
2743
2713
|
//#endregion
|
|
2744
|
-
//#region src/hooks/generic-delegator/
|
|
2745
|
-
interface
|
|
2714
|
+
//#region src/hooks/generic-delegator/useGenericDelegatorFeeEstimation.d.ts
|
|
2715
|
+
interface useGenericDelegatorFeeEstimationParams {
|
|
2746
2716
|
clauses: EnhancedClause[];
|
|
2747
2717
|
enabled?: boolean;
|
|
2748
2718
|
tokens: string[];
|
|
2749
2719
|
sendingAmount?: string;
|
|
2750
2720
|
sendingTokenSymbol?: string;
|
|
2751
2721
|
}
|
|
2752
|
-
declare const
|
|
2722
|
+
declare const useGenericDelegatorFeeEstimation: ({
|
|
2753
2723
|
clauses,
|
|
2754
2724
|
enabled,
|
|
2755
2725
|
tokens,
|
|
2756
2726
|
sendingAmount,
|
|
2757
2727
|
sendingTokenSymbol
|
|
2758
|
-
}:
|
|
2728
|
+
}: useGenericDelegatorFeeEstimationParams) => _tanstack_react_query8.UseQueryResult<EstimationResponse & {
|
|
2759
2729
|
usedToken: string;
|
|
2760
2730
|
}, Error>;
|
|
2761
2731
|
//#endregion
|
|
@@ -2769,7 +2739,7 @@ declare const useEstimateAllTokens: ({
|
|
|
2769
2739
|
clauses,
|
|
2770
2740
|
tokens,
|
|
2771
2741
|
enabled
|
|
2772
|
-
}: UseEstimateAllTokensParams) =>
|
|
2742
|
+
}: UseEstimateAllTokensParams) => _tanstack_react_query8.UseQueryResult<Record<GasTokenType, {
|
|
2773
2743
|
cost: number;
|
|
2774
2744
|
loading: boolean;
|
|
2775
2745
|
error?: string;
|
|
@@ -2786,7 +2756,7 @@ declare const getAccountBalanceQueryKey: (address?: string) => (string | undefin
|
|
|
2786
2756
|
* @param address The address of the account to get the balance for
|
|
2787
2757
|
* @returns The account balance
|
|
2788
2758
|
*/
|
|
2789
|
-
declare const useAccountBalance: (address?: string) =>
|
|
2759
|
+
declare const useAccountBalance: (address?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
2790
2760
|
balance: string;
|
|
2791
2761
|
energy: string;
|
|
2792
2762
|
}, Error>;
|
|
@@ -2799,7 +2769,7 @@ declare const getAccountImplementationAddressQueryKey: (version?: number, networ
|
|
|
2799
2769
|
* @param version - The version of the smart account implementation
|
|
2800
2770
|
* @returns The address of the smart account implementation
|
|
2801
2771
|
*/
|
|
2802
|
-
declare const useAccountImplementationAddress: (version?: number) =>
|
|
2772
|
+
declare const useAccountImplementationAddress: (version?: number) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
2803
2773
|
//#endregion
|
|
2804
2774
|
//#region src/hooks/thor/smartAccounts/useCurrentAccountImplementationVersion.d.ts
|
|
2805
2775
|
declare const getCurrentAccountImplementationVersion: (thor: ThorClient, networkType?: NETWORK_TYPE) => Promise<number>;
|
|
@@ -2808,7 +2778,7 @@ declare const getCurrentAccountImplementationVersionQueryKey: (networkType?: NET
|
|
|
2808
2778
|
* Get the current account implementation version used by the smart account factory
|
|
2809
2779
|
* @returns The current account implementation version
|
|
2810
2780
|
*/
|
|
2811
|
-
declare const useCurrentAccountImplementationVersion: () =>
|
|
2781
|
+
declare const useCurrentAccountImplementationVersion: () => _tanstack_react_query8.UseQueryResult<number, Error>;
|
|
2812
2782
|
//#endregion
|
|
2813
2783
|
//#region src/hooks/thor/smartAccounts/useGetAccountAddress.d.ts
|
|
2814
2784
|
declare const getAccountAddress: (thor: ThorClient, ownerAddress?: string, networkType?: NETWORK_TYPE) => Promise<string>;
|
|
@@ -2818,7 +2788,7 @@ declare const getAccountAddressQueryKey: (ownerAddress?: string, networkType?: N
|
|
|
2818
2788
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2819
2789
|
* @returns The address of the smart account
|
|
2820
2790
|
*/
|
|
2821
|
-
declare const useGetAccountAddress: (ownerAddress?: string) =>
|
|
2791
|
+
declare const useGetAccountAddress: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
2822
2792
|
//#endregion
|
|
2823
2793
|
//#region src/hooks/thor/smartAccounts/useGetAccountVersion.d.ts
|
|
2824
2794
|
declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress: string, networkType: NETWORK_TYPE) => (string | unknown[])[];
|
|
@@ -2828,7 +2798,7 @@ declare const getAccountVersionQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2828
2798
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2829
2799
|
* @returns The version of the smart account
|
|
2830
2800
|
*/
|
|
2831
|
-
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) =>
|
|
2801
|
+
declare const useGetAccountVersion: (accountAddress: string, ownerAddress: string) => _tanstack_react_query8.UseQueryResult<{
|
|
2832
2802
|
version: number;
|
|
2833
2803
|
isDeployed: boolean;
|
|
2834
2804
|
}, unknown>;
|
|
@@ -2841,7 +2811,7 @@ declare const getHasV1SmartAccountQueryKey: (ownerAddress?: string, networkType?
|
|
|
2841
2811
|
* @param ownerAddress - The address of the owner of the smart account
|
|
2842
2812
|
* @returns True if the smart account has a v1 smart account, false otherwise
|
|
2843
2813
|
*/
|
|
2844
|
-
declare const useHasV1SmartAccount: (ownerAddress?: string) =>
|
|
2814
|
+
declare const useHasV1SmartAccount: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
2845
2815
|
//#endregion
|
|
2846
2816
|
//#region src/hooks/thor/smartAccounts/useIsSmartAccountDeployed.d.ts
|
|
2847
2817
|
declare const getIsDeployed: (thor: ThorClient, accountAddress?: string) => Promise<boolean>;
|
|
@@ -2850,7 +2820,7 @@ declare const getIsDeployedQueryKey: (contractAddress?: string) => (string | und
|
|
|
2850
2820
|
* Check if a smart account is deployed
|
|
2851
2821
|
* @returns True if the smart account is deployed, false otherwise
|
|
2852
2822
|
*/
|
|
2853
|
-
declare const useIsSmartAccountDeployed: (accountAddress?: string) =>
|
|
2823
|
+
declare const useIsSmartAccountDeployed: (accountAddress?: string) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
2854
2824
|
//#endregion
|
|
2855
2825
|
//#region src/hooks/thor/smartAccounts/useRefreshFactoryQueries.d.ts
|
|
2856
2826
|
/**
|
|
@@ -2883,7 +2853,7 @@ declare const getSmartAccount: (thor: ThorClient, network: NETWORK_TYPE, ownerAd
|
|
|
2883
2853
|
isDeployed: boolean;
|
|
2884
2854
|
}>;
|
|
2885
2855
|
declare const getSmartAccountQueryKey: (ownerAddress?: string) => (string | undefined)[];
|
|
2886
|
-
declare const useSmartAccount: (ownerAddress?: string) =>
|
|
2856
|
+
declare const useSmartAccount: (ownerAddress?: string) => _tanstack_react_query8.UseQueryResult<{
|
|
2887
2857
|
address: undefined;
|
|
2888
2858
|
isDeployed?: undefined;
|
|
2889
2859
|
} | {
|
|
@@ -2901,7 +2871,7 @@ declare const getUpgradeRequiredQueryKey: (accountAddress: string, ownerAddress:
|
|
|
2901
2871
|
* @param targetVersion - The version of the smart account to check for
|
|
2902
2872
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2903
2873
|
*/
|
|
2904
|
-
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) =>
|
|
2874
|
+
declare const useUpgradeRequired: (accountAddress: string, ownerAddress: string, targetVersion: number) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
2905
2875
|
//#endregion
|
|
2906
2876
|
//#region src/hooks/thor/smartAccounts/useUpgradeRequiredForAccount.d.ts
|
|
2907
2877
|
declare const getUpgradeRequiredForAccount: (thor: ThorClient, contractAddress: string, targetVersion: number, networkType: NETWORK_TYPE) => Promise<boolean>;
|
|
@@ -2912,7 +2882,7 @@ declare const getUpgradeRequiredForAccountQueryKey: (contractAddress: string, ta
|
|
|
2912
2882
|
* @param targetVersion - The target version of the smart account
|
|
2913
2883
|
* @returns True if the smart account needs an upgrade, false otherwise
|
|
2914
2884
|
*/
|
|
2915
|
-
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) =>
|
|
2885
|
+
declare const useUpgradeRequiredForAccount: (contractAddress: string, targetVersion: number) => _tanstack_react_query8.UseQueryResult<boolean, Error>;
|
|
2916
2886
|
//#endregion
|
|
2917
2887
|
//#region src/hooks/thor/smartAccounts/useUpgradeSmartAccount.d.ts
|
|
2918
2888
|
type UseUpgradeSmartAccountVersionProps = {
|
|
@@ -2937,7 +2907,7 @@ declare const currentBlockQueryKey: () => string[];
|
|
|
2937
2907
|
* Fetches the current block from the blockchain. The block is refetched every 10 seconds.
|
|
2938
2908
|
* @returns the current block
|
|
2939
2909
|
*/
|
|
2940
|
-
declare const useCurrentBlock: () =>
|
|
2910
|
+
declare const useCurrentBlock: () => _tanstack_react_query8.UseQueryResult<_vechain_sdk_network0.ExpandedBlockDetail, Error>;
|
|
2941
2911
|
//#endregion
|
|
2942
2912
|
//#region src/hooks/thor/blocks/useGetChainId.d.ts
|
|
2943
2913
|
declare const getChainId: (thor: ThorClient) => Promise<string>;
|
|
@@ -2946,7 +2916,7 @@ declare const getChainIdQueryKey: () => string[];
|
|
|
2946
2916
|
* Get the chain id
|
|
2947
2917
|
* @returns The chain id
|
|
2948
2918
|
*/
|
|
2949
|
-
declare const useGetChainId: () =>
|
|
2919
|
+
declare const useGetChainId: () => _tanstack_react_query8.UseQueryResult<string, Error>;
|
|
2950
2920
|
//#endregion
|
|
2951
2921
|
//#region src/hooks/thor/logs/logUtils.d.ts
|
|
2952
2922
|
/**
|
|
@@ -3015,6 +2985,7 @@ declare const getAllEventLogs: ({
|
|
|
3015
2985
|
* @param suggestedMaxGas the suggested max gas for the transaction
|
|
3016
2986
|
* @param privyUIOptions options to pass to the Privy UI
|
|
3017
2987
|
* @param gasPadding the gas padding to use for the transaction (Eg. 0.1 for 10%)
|
|
2988
|
+
* @param delegationUrl the dApp sponsored delegator url.
|
|
3018
2989
|
*/
|
|
3019
2990
|
type UseSendTransactionProps = {
|
|
3020
2991
|
signerAccountAddress?: string | null;
|
|
@@ -3028,6 +2999,7 @@ type UseSendTransactionProps = {
|
|
|
3028
2999
|
buttonText?: string;
|
|
3029
3000
|
};
|
|
3030
3001
|
gasPadding?: number;
|
|
3002
|
+
delegationUrl?: string;
|
|
3031
3003
|
};
|
|
3032
3004
|
/**
|
|
3033
3005
|
* Return value of the {@link useSendTransaction} hook
|
|
@@ -3040,7 +3012,11 @@ type UseSendTransactionProps = {
|
|
|
3040
3012
|
* @param error error that occurred while sending the transaction
|
|
3041
3013
|
*/
|
|
3042
3014
|
type UseSendTransactionReturnValue = {
|
|
3043
|
-
sendTransaction: (clauses?: TransactionClause[]
|
|
3015
|
+
sendTransaction: (clauses?: TransactionClause[], delegationUrl?: string, privyUIOptions?: {
|
|
3016
|
+
title?: string;
|
|
3017
|
+
description?: string;
|
|
3018
|
+
buttonText?: string;
|
|
3019
|
+
}) => Promise<void>;
|
|
3044
3020
|
isTransactionPending: boolean;
|
|
3045
3021
|
isWaitingForWalletConfirmation: boolean;
|
|
3046
3022
|
txReceipt: TransactionReceipt | null;
|
|
@@ -3080,6 +3056,7 @@ type UseSendTransactionReturnValue = {
|
|
|
3080
3056
|
* @param suggestedMaxGas the suggested max gas for the transaction
|
|
3081
3057
|
* @param privyUIOptions options to pass to the Privy UI
|
|
3082
3058
|
* @param gasPadding the gas padding to use for the transaction (Eg. 0.1 for 10%)
|
|
3059
|
+
* @param delegationUrl the dApp sponsored delegator url.
|
|
3083
3060
|
* @returns see {@link UseSendTransactionReturnValue}
|
|
3084
3061
|
*/
|
|
3085
3062
|
declare const useSendTransaction: ({
|
|
@@ -3089,7 +3066,8 @@ declare const useSendTransaction: ({
|
|
|
3089
3066
|
onTxFailedOrCancelled,
|
|
3090
3067
|
suggestedMaxGas,
|
|
3091
3068
|
privyUIOptions,
|
|
3092
|
-
gasPadding
|
|
3069
|
+
gasPadding,
|
|
3070
|
+
delegationUrl
|
|
3093
3071
|
}: UseSendTransactionProps) => UseSendTransactionReturnValue;
|
|
3094
3072
|
//#endregion
|
|
3095
3073
|
//#region src/hooks/thor/transactions/useTransferERC20.d.ts
|
|
@@ -3148,6 +3126,7 @@ type BuildTransactionProps<ClausesParams> = {
|
|
|
3148
3126
|
suggestedMaxGas?: number;
|
|
3149
3127
|
gasPadding?: number;
|
|
3150
3128
|
onFailure?: () => void;
|
|
3129
|
+
delegationUrl?: string;
|
|
3151
3130
|
};
|
|
3152
3131
|
/**
|
|
3153
3132
|
* Custom hook for building and sending transactions.
|
|
@@ -3158,6 +3137,7 @@ type BuildTransactionProps<ClausesParams> = {
|
|
|
3158
3137
|
* @param onFailure - An optional callback function to be called after the transaction is failed or cancelled.
|
|
3159
3138
|
* @param suggestedMaxGas - The suggested maximum gas for the transaction.
|
|
3160
3139
|
* @param gasPadding - The padding to add to the suggested maximum gas.
|
|
3140
|
+
* @param delegationUrl - The dApp sponsored delegator url.
|
|
3161
3141
|
* @returns An object containing the result of the `useSendTransaction` hook and a `sendTransaction` function.
|
|
3162
3142
|
*/
|
|
3163
3143
|
declare const useBuildTransaction: <ClausesParams>({
|
|
@@ -3167,12 +3147,13 @@ declare const useBuildTransaction: <ClausesParams>({
|
|
|
3167
3147
|
onSuccess,
|
|
3168
3148
|
onFailure,
|
|
3169
3149
|
suggestedMaxGas,
|
|
3170
|
-
gasPadding
|
|
3150
|
+
gasPadding,
|
|
3151
|
+
delegationUrl
|
|
3171
3152
|
}: BuildTransactionProps<ClausesParams>) => {
|
|
3172
3153
|
sendTransaction: (props: ClausesParams) => Promise<void>;
|
|
3173
3154
|
isTransactionPending: boolean;
|
|
3174
3155
|
isWaitingForWalletConfirmation: boolean;
|
|
3175
|
-
txReceipt:
|
|
3156
|
+
txReceipt: _vechain_sdk_network0.TransactionReceipt | null;
|
|
3176
3157
|
status: TransactionStatus;
|
|
3177
3158
|
resetStatus: () => void;
|
|
3178
3159
|
error?: TransactionStatusErrorType;
|
|
@@ -3187,7 +3168,7 @@ declare const txReceiptQueryKey: (txId: string) => string[];
|
|
|
3187
3168
|
* @param blockTimeout Optional timeout in milliseconds to stop polling for receipt
|
|
3188
3169
|
* @returns Query result containing the transaction receipt
|
|
3189
3170
|
*/
|
|
3190
|
-
declare const useTxReceipt: (txId: string, blockTimeout?: number) =>
|
|
3171
|
+
declare const useTxReceipt: (txId: string, blockTimeout?: number) => _tanstack_react_query8.UseQueryResult<_vechain_sdk_network0.TransactionReceipt, Error>;
|
|
3191
3172
|
//#endregion
|
|
3192
3173
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenContent.d.ts
|
|
3193
3174
|
type SendTokenContentProps = {
|
|
@@ -3203,7 +3184,7 @@ declare const SendTokenContent: ({
|
|
|
3203
3184
|
initialAmount,
|
|
3204
3185
|
initialToAddressOrDomain,
|
|
3205
3186
|
onBack: parentOnBack
|
|
3206
|
-
}: SendTokenContentProps) =>
|
|
3187
|
+
}: SendTokenContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3207
3188
|
//#endregion
|
|
3208
3189
|
//#region src/components/AccountModal/Contents/SendToken/SendTokenSummaryContent.d.ts
|
|
3209
3190
|
type SendTokenSummaryContentProps = {
|
|
@@ -3223,10 +3204,10 @@ declare const SendTokenSummaryContent: ({
|
|
|
3223
3204
|
amount,
|
|
3224
3205
|
selectedToken,
|
|
3225
3206
|
formattedTotalAmount
|
|
3226
|
-
}: SendTokenSummaryContentProps) =>
|
|
3207
|
+
}: SendTokenSummaryContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3227
3208
|
//#endregion
|
|
3228
3209
|
//#region src/components/AccountModal/Contents/SendToken/SelectTokenContent.d.ts
|
|
3229
|
-
type Props$
|
|
3210
|
+
type Props$16 = {
|
|
3230
3211
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3231
3212
|
onSelectToken: (token: TokenWithValue) => void;
|
|
3232
3213
|
onBack: () => void;
|
|
@@ -3239,18 +3220,18 @@ declare const SelectTokenContent: ({
|
|
|
3239
3220
|
onSelectToken,
|
|
3240
3221
|
onBack,
|
|
3241
3222
|
showAllTokens
|
|
3242
|
-
}: Props$
|
|
3223
|
+
}: Props$16) => react_jsx_runtime3.JSX.Element;
|
|
3243
3224
|
//#endregion
|
|
3244
3225
|
//#region src/components/AccountModal/Contents/Receive/ReceiveTokenContent.d.ts
|
|
3245
|
-
type Props$
|
|
3226
|
+
type Props$15 = {
|
|
3246
3227
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3247
3228
|
};
|
|
3248
3229
|
declare const ReceiveTokenContent: ({
|
|
3249
3230
|
setCurrentContent
|
|
3250
|
-
}: Props$
|
|
3231
|
+
}: Props$15) => react_jsx_runtime3.JSX.Element;
|
|
3251
3232
|
//#endregion
|
|
3252
3233
|
//#region src/components/AccountModal/Contents/Swap/SwapTokenContent.d.ts
|
|
3253
|
-
type Props$
|
|
3234
|
+
type Props$14 = {
|
|
3254
3235
|
setCurrentContent: React$1.Dispatch<React$1.SetStateAction<AccountModalContentTypes>>;
|
|
3255
3236
|
fromTokenAddress?: string;
|
|
3256
3237
|
toTokenAddress?: string;
|
|
@@ -3259,7 +3240,7 @@ declare const SwapTokenContent: ({
|
|
|
3259
3240
|
setCurrentContent,
|
|
3260
3241
|
fromTokenAddress,
|
|
3261
3242
|
toTokenAddress
|
|
3262
|
-
}: Props$
|
|
3243
|
+
}: Props$14) => react_jsx_runtime3.JSX.Element;
|
|
3263
3244
|
//#endregion
|
|
3264
3245
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameContent.d.ts
|
|
3265
3246
|
type ChooseNameContentProps = {
|
|
@@ -3271,7 +3252,7 @@ declare const ChooseNameContent: ({
|
|
|
3271
3252
|
setCurrentContent,
|
|
3272
3253
|
onBack,
|
|
3273
3254
|
initialContentSource
|
|
3274
|
-
}: ChooseNameContentProps) =>
|
|
3255
|
+
}: ChooseNameContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3275
3256
|
//#endregion
|
|
3276
3257
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameSearchContent.d.ts
|
|
3277
3258
|
type ChooseNameSearchContentProps = {
|
|
@@ -3283,7 +3264,7 @@ declare const ChooseNameSearchContent: ({
|
|
|
3283
3264
|
name: initialName,
|
|
3284
3265
|
setCurrentContent,
|
|
3285
3266
|
initialContentSource
|
|
3286
|
-
}: ChooseNameSearchContentProps) =>
|
|
3267
|
+
}: ChooseNameSearchContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3287
3268
|
//#endregion
|
|
3288
3269
|
//#region src/components/AccountModal/Contents/ChooseName/ChooseNameSummaryContent.d.ts
|
|
3289
3270
|
type ChooseNameSummaryContentProps = {
|
|
@@ -3301,7 +3282,7 @@ declare const ChooseNameSummaryContent: ({
|
|
|
3301
3282
|
isOwnDomain,
|
|
3302
3283
|
isUnsetting,
|
|
3303
3284
|
initialContentSource
|
|
3304
|
-
}: ChooseNameSummaryContentProps) =>
|
|
3285
|
+
}: ChooseNameSummaryContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3305
3286
|
//#endregion
|
|
3306
3287
|
//#region src/components/AccountModal/Contents/FAQ/FAQContent.d.ts
|
|
3307
3288
|
type FAQContentProps = {
|
|
@@ -3311,7 +3292,7 @@ type FAQContentProps = {
|
|
|
3311
3292
|
declare const FAQContent: ({
|
|
3312
3293
|
onGoBack,
|
|
3313
3294
|
showLanguageSelector
|
|
3314
|
-
}: FAQContentProps) =>
|
|
3295
|
+
}: FAQContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3315
3296
|
//#endregion
|
|
3316
3297
|
//#region src/components/AccountModal/Contents/Profile/Customization/CustomizationContent.d.ts
|
|
3317
3298
|
type AccountCustomizationContentProps = {
|
|
@@ -3321,7 +3302,7 @@ type AccountCustomizationContentProps = {
|
|
|
3321
3302
|
declare const CustomizationContent: ({
|
|
3322
3303
|
setCurrentContent,
|
|
3323
3304
|
initialContentSource
|
|
3324
|
-
}: AccountCustomizationContentProps) =>
|
|
3305
|
+
}: AccountCustomizationContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3325
3306
|
//#endregion
|
|
3326
3307
|
//#region src/components/AccountModal/Contents/Profile/Customization/CustomizationSummaryContent.d.ts
|
|
3327
3308
|
type CustomizationSummaryContentProps = {
|
|
@@ -3340,7 +3321,7 @@ declare const CustomizationSummaryContent: ({
|
|
|
3340
3321
|
setCurrentContent,
|
|
3341
3322
|
changes,
|
|
3342
3323
|
onDoneRedirectContent
|
|
3343
|
-
}: CustomizationSummaryContentProps) =>
|
|
3324
|
+
}: CustomizationSummaryContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3344
3325
|
//#endregion
|
|
3345
3326
|
//#region src/components/AccountModal/Contents/Profile/ProfileContent.d.ts
|
|
3346
3327
|
type ProfileContentProps = {
|
|
@@ -3350,7 +3331,7 @@ type ProfileContentProps = {
|
|
|
3350
3331
|
declare const ProfileContent: ({
|
|
3351
3332
|
setCurrentContent,
|
|
3352
3333
|
onLogoutSuccess
|
|
3353
|
-
}: ProfileContentProps) =>
|
|
3334
|
+
}: ProfileContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3354
3335
|
//#endregion
|
|
3355
3336
|
//#region src/components/AccountModal/Contents/UpgradeSmartAccount/UpgradeSmartAccountContent.d.ts
|
|
3356
3337
|
type UpgradeSmartAccountContentProps = {
|
|
@@ -3362,7 +3343,7 @@ declare const UpgradeSmartAccountContent: ({
|
|
|
3362
3343
|
setCurrentContent,
|
|
3363
3344
|
handleClose,
|
|
3364
3345
|
initialContent
|
|
3365
|
-
}: UpgradeSmartAccountContentProps) =>
|
|
3346
|
+
}: UpgradeSmartAccountContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3366
3347
|
//#endregion
|
|
3367
3348
|
//#region src/components/AccountModal/Contents/Assets/AssetsContent.d.ts
|
|
3368
3349
|
type AssetsContentProps = {
|
|
@@ -3370,7 +3351,7 @@ type AssetsContentProps = {
|
|
|
3370
3351
|
};
|
|
3371
3352
|
declare const AssetsContent: ({
|
|
3372
3353
|
setCurrentContent
|
|
3373
|
-
}: AssetsContentProps) =>
|
|
3354
|
+
}: AssetsContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3374
3355
|
//#endregion
|
|
3375
3356
|
//#region src/components/AccountModal/Contents/Assets/ManageCustomTokenContent.d.ts
|
|
3376
3357
|
type ManageCustomTokenContentProps = {
|
|
@@ -3378,15 +3359,15 @@ type ManageCustomTokenContentProps = {
|
|
|
3378
3359
|
};
|
|
3379
3360
|
declare const ManageCustomTokenContent: ({
|
|
3380
3361
|
setCurrentContent
|
|
3381
|
-
}: ManageCustomTokenContentProps) =>
|
|
3362
|
+
}: ManageCustomTokenContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3382
3363
|
//#endregion
|
|
3383
3364
|
//#region src/components/AccountModal/Contents/Bridge/BridgeContent.d.ts
|
|
3384
|
-
type Props$
|
|
3365
|
+
type Props$13 = {
|
|
3385
3366
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3386
3367
|
};
|
|
3387
3368
|
declare const BridgeContent: ({
|
|
3388
3369
|
setCurrentContent
|
|
3389
|
-
}: Props$
|
|
3370
|
+
}: Props$13) => react_jsx_runtime3.JSX.Element;
|
|
3390
3371
|
//#endregion
|
|
3391
3372
|
//#region src/components/AccountModal/Contents/KitSettings/ChangeCurrencyContent.d.ts
|
|
3392
3373
|
type ChangeCurrencyContentProps = {
|
|
@@ -3394,31 +3375,15 @@ type ChangeCurrencyContentProps = {
|
|
|
3394
3375
|
};
|
|
3395
3376
|
declare const ChangeCurrencyContent: ({
|
|
3396
3377
|
setCurrentContent
|
|
3397
|
-
}: ChangeCurrencyContentProps) =>
|
|
3398
|
-
//#endregion
|
|
3399
|
-
//#region src/components/AccountModal/Contents/KitSettings/GeneralSettingsContent.d.ts
|
|
3400
|
-
type Props$14 = {
|
|
3401
|
-
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3402
|
-
};
|
|
3403
|
-
declare const GeneralSettingsContent: ({
|
|
3404
|
-
setCurrentContent
|
|
3405
|
-
}: Props$14) => react_jsx_runtime1.JSX.Element;
|
|
3378
|
+
}: ChangeCurrencyContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3406
3379
|
//#endregion
|
|
3407
3380
|
//#region src/components/AccountModal/Contents/KitSettings/LanguageSettingsContent.d.ts
|
|
3408
|
-
type Props$13 = {
|
|
3409
|
-
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3410
|
-
};
|
|
3411
|
-
declare const LanguageSettingsContent: ({
|
|
3412
|
-
setCurrentContent
|
|
3413
|
-
}: Props$13) => react_jsx_runtime1.JSX.Element;
|
|
3414
|
-
//#endregion
|
|
3415
|
-
//#region src/components/AccountModal/Contents/KitSettings/AppearanceSettingsContent.d.ts
|
|
3416
3381
|
type Props$12 = {
|
|
3417
3382
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3418
3383
|
};
|
|
3419
|
-
declare const
|
|
3384
|
+
declare const LanguageSettingsContent: ({
|
|
3420
3385
|
setCurrentContent
|
|
3421
|
-
}: Props$12) =>
|
|
3386
|
+
}: Props$12) => react_jsx_runtime3.JSX.Element;
|
|
3422
3387
|
//#endregion
|
|
3423
3388
|
//#region src/components/AccountModal/Contents/KitSettings/GasTokenSettingsContent.d.ts
|
|
3424
3389
|
type Props$11 = {
|
|
@@ -3426,7 +3391,17 @@ type Props$11 = {
|
|
|
3426
3391
|
};
|
|
3427
3392
|
declare const GasTokenSettingsContent: ({
|
|
3428
3393
|
setCurrentContent
|
|
3429
|
-
}: Props$11) =>
|
|
3394
|
+
}: Props$11) => react_jsx_runtime3.JSX.Element;
|
|
3395
|
+
//#endregion
|
|
3396
|
+
//#region src/components/AccountModal/Contents/KitSettings/SettingsContent.d.ts
|
|
3397
|
+
type SettingsContentProps = {
|
|
3398
|
+
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
3399
|
+
onLogoutSuccess: () => void;
|
|
3400
|
+
};
|
|
3401
|
+
declare const SettingsContent: ({
|
|
3402
|
+
setCurrentContent,
|
|
3403
|
+
onLogoutSuccess
|
|
3404
|
+
}: SettingsContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3430
3405
|
//#endregion
|
|
3431
3406
|
//#region src/components/AccountModal/Contents/TermsAndPrivacy/TermsAndPrivacyContent.d.ts
|
|
3432
3407
|
type TermsAndPrivacyContentProps = {
|
|
@@ -3434,7 +3409,23 @@ type TermsAndPrivacyContentProps = {
|
|
|
3434
3409
|
};
|
|
3435
3410
|
declare const TermsAndPrivacyContent: ({
|
|
3436
3411
|
onGoBack
|
|
3437
|
-
}: TermsAndPrivacyContentProps) =>
|
|
3412
|
+
}: TermsAndPrivacyContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3413
|
+
//#endregion
|
|
3414
|
+
//#region src/components/AccountModal/Contents/DisconnectConfirmation/DisconnectConfirmContent.d.ts
|
|
3415
|
+
type DisconnectConfirmContentProps = {
|
|
3416
|
+
onDisconnect: () => void;
|
|
3417
|
+
onBack: () => void;
|
|
3418
|
+
onClose?: () => void;
|
|
3419
|
+
text?: string;
|
|
3420
|
+
showCloseButton?: boolean;
|
|
3421
|
+
};
|
|
3422
|
+
declare const DisconnectConfirmContent: ({
|
|
3423
|
+
onDisconnect,
|
|
3424
|
+
onBack,
|
|
3425
|
+
onClose,
|
|
3426
|
+
showCloseButton,
|
|
3427
|
+
text
|
|
3428
|
+
}: DisconnectConfirmContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3438
3429
|
//#endregion
|
|
3439
3430
|
//#region src/components/AccountModal/Contents/Ecosystem/Components/CategoryFilterSection.d.ts
|
|
3440
3431
|
type CategoryFilter = string | null;
|
|
@@ -3471,7 +3462,7 @@ type FailedOperationContentProps = {
|
|
|
3471
3462
|
};
|
|
3472
3463
|
//#endregion
|
|
3473
3464
|
//#region src/components/AccountModal/Types/Types.d.ts
|
|
3474
|
-
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | '
|
|
3465
|
+
type AccountModalContentTypes = 'main' | 'settings' | 'profile' | 'manage-mfa' | 'receive-token' | 'swap-token' | 'connection-details' | 'ecosystem' | 'notifications' | 'privy-linked-accounts' | 'add-custom-token' | 'assets' | 'bridge' | 'change-currency' | 'change-language' | 'gas-token-settings' | {
|
|
3475
3466
|
type: 'swap-token';
|
|
3476
3467
|
props: {
|
|
3477
3468
|
setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
|
|
@@ -3538,7 +3529,7 @@ declare const AccountModal: ({
|
|
|
3538
3529
|
isOpen,
|
|
3539
3530
|
onClose,
|
|
3540
3531
|
initialContent
|
|
3541
|
-
}: Props$10) =>
|
|
3532
|
+
}: Props$10) => react_jsx_runtime3.JSX.Element;
|
|
3542
3533
|
//#endregion
|
|
3543
3534
|
//#region src/components/AccountModal/Components/AccountDetailsButton.d.ts
|
|
3544
3535
|
interface AccountDetailsButtonProps {
|
|
@@ -3560,7 +3551,7 @@ declare const AccountDetailsButton: ({
|
|
|
3560
3551
|
onClick,
|
|
3561
3552
|
leftImage,
|
|
3562
3553
|
isActive
|
|
3563
|
-
}: AccountDetailsButtonProps) =>
|
|
3554
|
+
}: AccountDetailsButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3564
3555
|
//#endregion
|
|
3565
3556
|
//#region src/components/AccountModal/Components/ActionButton.d.ts
|
|
3566
3557
|
type ActionButtonProps = {
|
|
@@ -3602,7 +3593,7 @@ declare const ActionButton: ({
|
|
|
3602
3593
|
extraContent,
|
|
3603
3594
|
dataTestId,
|
|
3604
3595
|
variant
|
|
3605
|
-
}: ActionButtonProps) =>
|
|
3596
|
+
}: ActionButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3606
3597
|
//#endregion
|
|
3607
3598
|
//#region src/components/AccountModal/Components/AccountSelector.d.ts
|
|
3608
3599
|
type Props$9 = {
|
|
@@ -3622,7 +3613,7 @@ declare const AccountSelector: ({
|
|
|
3622
3613
|
onClose,
|
|
3623
3614
|
mt,
|
|
3624
3615
|
style
|
|
3625
|
-
}: Props$9) =>
|
|
3616
|
+
}: Props$9) => react_jsx_runtime3.JSX.Element;
|
|
3626
3617
|
//#endregion
|
|
3627
3618
|
//#region src/components/AccountModal/Components/BalanceSection.d.ts
|
|
3628
3619
|
declare const BalanceSection: ({
|
|
@@ -3633,7 +3624,7 @@ declare const BalanceSection: ({
|
|
|
3633
3624
|
mb?: number;
|
|
3634
3625
|
mt?: number;
|
|
3635
3626
|
onAssetsClick?: () => void;
|
|
3636
|
-
}) =>
|
|
3627
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
3637
3628
|
//#endregion
|
|
3638
3629
|
//#region src/components/AccountModal/Components/QuickActionsSection.d.ts
|
|
3639
3630
|
type Props$8 = {
|
|
@@ -3643,7 +3634,7 @@ type Props$8 = {
|
|
|
3643
3634
|
declare const QuickActionsSection: ({
|
|
3644
3635
|
mt,
|
|
3645
3636
|
setCurrentContent
|
|
3646
|
-
}: Props$8) =>
|
|
3637
|
+
}: Props$8) => react_jsx_runtime3.JSX.Element;
|
|
3647
3638
|
//#endregion
|
|
3648
3639
|
//#region src/components/AccountModal/Components/Alerts/FeatureAnnouncementCard.d.ts
|
|
3649
3640
|
type FeatureAnnouncementCardProps = {
|
|
@@ -3651,16 +3642,16 @@ type FeatureAnnouncementCardProps = {
|
|
|
3651
3642
|
};
|
|
3652
3643
|
declare const FeatureAnnouncementCard: ({
|
|
3653
3644
|
setCurrentContent
|
|
3654
|
-
}: FeatureAnnouncementCardProps) =>
|
|
3645
|
+
}: FeatureAnnouncementCardProps) => react_jsx_runtime3.JSX.Element | null;
|
|
3655
3646
|
//#endregion
|
|
3656
3647
|
//#region src/components/AccountModal/Components/Alerts/ExchangeWarningAlert.d.ts
|
|
3657
|
-
declare const ExchangeWarningAlert: () =>
|
|
3648
|
+
declare const ExchangeWarningAlert: () => react_jsx_runtime3.JSX.Element;
|
|
3658
3649
|
//#endregion
|
|
3659
3650
|
//#region src/components/AccountModal/Components/Alerts/DomainRequiredAlert.d.ts
|
|
3660
|
-
declare const DomainRequiredAlert: () =>
|
|
3651
|
+
declare const DomainRequiredAlert: () => react_jsx_runtime3.JSX.Element;
|
|
3661
3652
|
//#endregion
|
|
3662
3653
|
//#region src/components/AccountModal/Components/CrossAppConnectionSecurityCard.d.ts
|
|
3663
|
-
declare const CrossAppConnectionSecurityCard: () =>
|
|
3654
|
+
declare const CrossAppConnectionSecurityCard: () => react_jsx_runtime3.JSX.Element;
|
|
3664
3655
|
//#endregion
|
|
3665
3656
|
//#region src/components/common/ModalBackButton.d.ts
|
|
3666
3657
|
type BackButtonProps = {
|
|
@@ -3669,7 +3660,7 @@ type BackButtonProps = {
|
|
|
3669
3660
|
declare const ModalBackButton: ({
|
|
3670
3661
|
onClick,
|
|
3671
3662
|
...props
|
|
3672
|
-
}: BackButtonProps) =>
|
|
3663
|
+
}: BackButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3673
3664
|
//#endregion
|
|
3674
3665
|
//#region src/components/common/AddressDisplay.d.ts
|
|
3675
3666
|
type Props$7 = {
|
|
@@ -3683,13 +3674,13 @@ declare const AddressDisplay: ({
|
|
|
3683
3674
|
label,
|
|
3684
3675
|
style,
|
|
3685
3676
|
showHumanAddress
|
|
3686
|
-
}: Props$7) =>
|
|
3677
|
+
}: Props$7) => react_jsx_runtime3.JSX.Element;
|
|
3687
3678
|
//#endregion
|
|
3688
3679
|
//#region src/components/common/VersionFooter.d.ts
|
|
3689
3680
|
type Props$6 = {} & Omit<StackProps, 'dangerouslySetInnerHTML'>;
|
|
3690
3681
|
declare const VersionFooter: ({
|
|
3691
3682
|
...props
|
|
3692
|
-
}: Props$6) =>
|
|
3683
|
+
}: Props$6) => react_jsx_runtime3.JSX.Element;
|
|
3693
3684
|
//#endregion
|
|
3694
3685
|
//#region src/components/common/StickyHeaderContainer.d.ts
|
|
3695
3686
|
type Props$5 = {
|
|
@@ -3697,7 +3688,7 @@ type Props$5 = {
|
|
|
3697
3688
|
};
|
|
3698
3689
|
declare const StickyHeaderContainer: ({
|
|
3699
3690
|
children
|
|
3700
|
-
}: Props$5) =>
|
|
3691
|
+
}: Props$5) => react_jsx_runtime3.JSX.Element;
|
|
3701
3692
|
//#endregion
|
|
3702
3693
|
//#region src/components/common/StickyFooterContainer.d.ts
|
|
3703
3694
|
type Props$4 = {
|
|
@@ -3705,7 +3696,7 @@ type Props$4 = {
|
|
|
3705
3696
|
};
|
|
3706
3697
|
declare const StickyFooterContainer: ({
|
|
3707
3698
|
children
|
|
3708
|
-
}: Props$4) =>
|
|
3699
|
+
}: Props$4) => react_jsx_runtime3.JSX.Element;
|
|
3709
3700
|
//#endregion
|
|
3710
3701
|
//#region src/components/common/BaseModal.d.ts
|
|
3711
3702
|
type BaseModalProps = {
|
|
@@ -3736,7 +3727,7 @@ declare const BaseModal: ({
|
|
|
3736
3727
|
allowExternalFocus,
|
|
3737
3728
|
backdropFilter,
|
|
3738
3729
|
isCloseable
|
|
3739
|
-
}: BaseModalProps) =>
|
|
3730
|
+
}: BaseModalProps) => react_jsx_runtime3.JSX.Element;
|
|
3740
3731
|
//#endregion
|
|
3741
3732
|
//#region src/components/common/AssetButton.d.ts
|
|
3742
3733
|
type AssetButtonProps = ButtonProps & {
|
|
@@ -3755,7 +3746,7 @@ declare const AssetButton: ({
|
|
|
3755
3746
|
isDisabled,
|
|
3756
3747
|
onClick,
|
|
3757
3748
|
...buttonProps
|
|
3758
|
-
}: AssetButtonProps) =>
|
|
3749
|
+
}: AssetButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3759
3750
|
//#endregion
|
|
3760
3751
|
//#region src/components/common/AddressDisplayCard.d.ts
|
|
3761
3752
|
type AddressDisplayCardProps = {
|
|
@@ -3777,7 +3768,7 @@ declare const AddressDisplayCard: ({
|
|
|
3777
3768
|
hideAddress,
|
|
3778
3769
|
balance,
|
|
3779
3770
|
tokenAddress
|
|
3780
|
-
}: AddressDisplayCardProps) =>
|
|
3771
|
+
}: AddressDisplayCardProps) => react_jsx_runtime3.JSX.Element;
|
|
3781
3772
|
//#endregion
|
|
3782
3773
|
//#region src/components/common/ModalFAQButton.d.ts
|
|
3783
3774
|
type FAQButtonProps = {
|
|
@@ -3786,13 +3777,13 @@ type FAQButtonProps = {
|
|
|
3786
3777
|
declare const ModalFAQButton: ({
|
|
3787
3778
|
onClick,
|
|
3788
3779
|
...props
|
|
3789
|
-
}: FAQButtonProps) =>
|
|
3780
|
+
}: FAQButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3790
3781
|
//#endregion
|
|
3791
3782
|
//#region src/components/common/ScrollToTopWrapper.d.ts
|
|
3792
3783
|
declare const ScrollToTopWrapper: ({
|
|
3793
3784
|
children,
|
|
3794
3785
|
...props
|
|
3795
|
-
}: StackProps) =>
|
|
3786
|
+
}: StackProps) => react_jsx_runtime3.JSX.Element;
|
|
3796
3787
|
//#endregion
|
|
3797
3788
|
//#region src/components/common/AccountAvatar.d.ts
|
|
3798
3789
|
type AccountAvatarProps = {
|
|
@@ -3802,7 +3793,7 @@ type AccountAvatarProps = {
|
|
|
3802
3793
|
declare const AccountAvatar: ({
|
|
3803
3794
|
wallet,
|
|
3804
3795
|
props
|
|
3805
|
-
}: AccountAvatarProps) =>
|
|
3796
|
+
}: AccountAvatarProps) => react_jsx_runtime3.JSX.Element;
|
|
3806
3797
|
//#endregion
|
|
3807
3798
|
//#region src/components/common/TransactionButtonAndStatus.d.ts
|
|
3808
3799
|
type TransactionButtonAndStatusProps = {
|
|
@@ -3844,7 +3835,7 @@ declare const TransactionButtonAndStatus: ({
|
|
|
3844
3835
|
isLoadingGasEstimation,
|
|
3845
3836
|
showGasEstimationError,
|
|
3846
3837
|
context
|
|
3847
|
-
}: TransactionButtonAndStatusProps) =>
|
|
3838
|
+
}: TransactionButtonAndStatusProps) => react_jsx_runtime3.JSX.Element;
|
|
3848
3839
|
//#endregion
|
|
3849
3840
|
//#region src/components/common/ModalNotificationButton.d.ts
|
|
3850
3841
|
type NotificationButtonProps = {
|
|
@@ -3855,7 +3846,7 @@ declare const ModalNotificationButton: ({
|
|
|
3855
3846
|
onClick,
|
|
3856
3847
|
hasUnreadNotifications,
|
|
3857
3848
|
...props
|
|
3858
|
-
}: NotificationButtonProps) =>
|
|
3849
|
+
}: NotificationButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
3859
3850
|
//#endregion
|
|
3860
3851
|
//#region src/components/common/GasFeeSummary.d.ts
|
|
3861
3852
|
interface GasFeeSummaryProps {
|
|
@@ -3891,7 +3882,7 @@ declare const GasFeeTokenSelector: ({
|
|
|
3891
3882
|
availableTokens,
|
|
3892
3883
|
tokenEstimations,
|
|
3893
3884
|
walletAddress
|
|
3894
|
-
}: GasFeeTokenSelectorProps) =>
|
|
3885
|
+
}: GasFeeTokenSelectorProps) => react_jsx_runtime3.JSX.Element;
|
|
3895
3886
|
//#endregion
|
|
3896
3887
|
//#region src/components/LoginLoadingModal/LoginLoadingModal.d.ts
|
|
3897
3888
|
type LoginLoadingModalProps = {
|
|
@@ -3909,7 +3900,7 @@ declare const LoginLoadingModal: ({
|
|
|
3909
3900
|
title,
|
|
3910
3901
|
loadingText,
|
|
3911
3902
|
onTryAgain
|
|
3912
|
-
}: LoginLoadingModalProps) =>
|
|
3903
|
+
}: LoginLoadingModalProps) => react_jsx_runtime3.JSX.Element;
|
|
3913
3904
|
//#endregion
|
|
3914
3905
|
//#region src/components/EcosystemModal/EcosystemModal.d.ts
|
|
3915
3906
|
type Props$3 = {
|
|
@@ -3923,7 +3914,7 @@ declare const EcosystemModal: ({
|
|
|
3923
3914
|
onClose,
|
|
3924
3915
|
appsInfo,
|
|
3925
3916
|
isLoading
|
|
3926
|
-
}: Props$3) =>
|
|
3917
|
+
}: Props$3) => react_jsx_runtime3.JSX.Element;
|
|
3927
3918
|
//#endregion
|
|
3928
3919
|
//#region src/components/UpgradeSmartAccountModal/Contents/SuccessfulOperationContent.d.ts
|
|
3929
3920
|
type SuccessfulOperationContentProps = {
|
|
@@ -3953,7 +3944,7 @@ declare const UpgradeSmartAccountModal: ({
|
|
|
3953
3944
|
isOpen,
|
|
3954
3945
|
onClose,
|
|
3955
3946
|
style
|
|
3956
|
-
}: Props$2) =>
|
|
3947
|
+
}: Props$2) => react_jsx_runtime3.JSX.Element;
|
|
3957
3948
|
//#endregion
|
|
3958
3949
|
//#region src/components/LegalDocumentsModal/LegalDocumentsModal.d.ts
|
|
3959
3950
|
type Props$1 = {
|
|
@@ -3968,7 +3959,7 @@ declare const LegalDocumentsModal: ({
|
|
|
3968
3959
|
onAgree,
|
|
3969
3960
|
handleLogout,
|
|
3970
3961
|
onlyOptionalDocuments
|
|
3971
|
-
}: Props$1) =>
|
|
3962
|
+
}: Props$1) => react_jsx_runtime3.JSX.Element;
|
|
3972
3963
|
//#endregion
|
|
3973
3964
|
//#region src/components/LegalDocumentsModal/Components/LegalDocumentItem.d.ts
|
|
3974
3965
|
type Props = {
|
|
@@ -3980,7 +3971,7 @@ declare const LegalDocumentItem: ({
|
|
|
3980
3971
|
document,
|
|
3981
3972
|
register,
|
|
3982
3973
|
isText
|
|
3983
|
-
}: Props) =>
|
|
3974
|
+
}: Props) => react_jsx_runtime3.JSX.Element;
|
|
3984
3975
|
//#endregion
|
|
3985
3976
|
//#region src/providers/ModalProvider.d.ts
|
|
3986
3977
|
type AccountModalOptions = {
|
|
@@ -4011,7 +4002,7 @@ declare const ModalProvider: ({
|
|
|
4011
4002
|
children
|
|
4012
4003
|
}: {
|
|
4013
4004
|
children: ReactNode;
|
|
4014
|
-
}) =>
|
|
4005
|
+
}) => react_jsx_runtime3.JSX.Element;
|
|
4015
4006
|
//#endregion
|
|
4016
4007
|
//#region src/config/index.d.ts
|
|
4017
4008
|
type AppConfig = {
|
|
@@ -4056,5 +4047,5 @@ type AppConfig = {
|
|
|
4056
4047
|
};
|
|
4057
4048
|
declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
|
|
4058
4049
|
//#endregion
|
|
4059
|
-
export { AssetsContentProps as $, getErc20BalanceQueryKey as $a, useSendTokenModal as $i, useGetNodeUrl as $n, DisconnectConfirmContent as $o, randomTransactionUser as $r, TransactionCost as $s, getSmartAccount as $t, ModalBackButton as A, useXAppsShares as Aa, useNotificationAlerts as Ai, delegateAuthorized as An, getTextRecordsQueryKey as Ao, normalize as Ar, useLegalDocuments as As, useBuildTransaction as At, AccountModal as B, useRefreshBalances as Ba, AccountCustomizationModalProvider as Bi, LocalStorageKey as Bn, useIsDomainProtected as Bo, buildQueryString as Br, VeChainKitContext as Bs, getChainId as Bt, AddressDisplayCard as C, getIpfsImageQueryKey as Ca, TokenBalance as Cc, getAppHubAppsQueryKey as Ci, useAccountBalance as Cn, getAvatarOfAddressQueryKey as Co, executeCallClause as Cr, VeChainLoginButton as Cs, useMfaEnrollment as Ct, StickyHeaderContainer as D, getIpfsMetadataQueryKey as Da, Wallet as Dc, useLoginWithPasskey as Di, useGasEstimation as Dn, buildClauses as Do, compare as Dr, ConnectModal as Ds, txReceiptQueryKey as Dt, StickyFooterContainer as E, getIpfsMetadata as Ea, VePassportUserStatus as Ec, useLoginWithOAuth as Ei, UseGasEstimationParams as En, useGetResolverAddress as Eo, addPrefix as Er, MainContent as Es, useThor as Et, QuickActionsSection as F, UseWalletReturnType as Fa, UpgradeSmartAccountModalProvider as Fi, useGenericDelegator as Fn, DomainsResponse as Fo, EconomicNodeStrengthLevelToName as Fr, PrivyWalletProviderContextType as Fs, UseSendTransactionReturnValue as Ft, LanguageSettingsContent as G, useIsPerson as Ga, useNotificationsModal as Gi, useBuildClauses as Gn, useEnsRecordExists as Go, toIPFSURL as Gr, LegalDocumentAgreement as Gs, useUpgradeSmartAccount as Gt, TermsAndPrivacyContent as H, XApp as Ha, FAQModalProvider as Hi, BuildClausesParams as Hn, useClaimVetDomain as Ho, xNodeToGMstartingLevel as Hr, VechainKitProviderProps as Hs, useGetChainId as Ht, BalanceSection as I, useWallet as Ia, useUpgradeSmartAccountModal as Ii, useCrossAppConnectionCache as In, getDomainsOfAddress as Io, MinXNodeLevel as Ir, usePrivyWalletProvider as Is, useSendTransaction as It, ChangeCurrencyContentProps as J, PRICE_FEED_IDS as Ja, AccessAndSecurityModalProvider as Ji, decodeEventLog$1 as Jn, fetchPrivyStatus as Jo, compareAddresses as Jr, CostLevel as Js, useUpgradeRequiredForAccount as Jt, GeneralSettingsContent as K, getVot3BalanceQueryKey as Ka, ExploreEcosystemModalProvider as Ki, GetEventsKeyParams as Kn, getVechainDomainQueryKey as Ko, uploadBlobToIPFS as Kr, LegalDocumentSource as Ks, getUpgradeRequiredForAccount as Kt, AccountSelector as L, getRoundXAppsQueryKey as La, useLoginModalContent as Li, EcosystemShortcut as Ln, getDomainsOfAddressQueryKey as Lo, NodeStrengthLevelToImage as Lr, LegalDocument as Ls, GetEventsProps as Lt, DomainRequiredAlert as M, getXAppMetadata as Ma, useAccountModalOptions as Mi, estimateGas as Mn, getAvatarQueryKey as Mo, validate as Mr, VechainKitThemeProvider as Ms, useTransferVET as Mt, ExchangeWarningAlert as N, useXAppMetadata as Na, ProfileModalProvider as Ni, getDepositAccount as Nn, useGetAvatar as No, isRejectionError as Nr, useVechainKitThemeConfig as Ns, buildERC20Clauses as Nt, VersionFooter as O, useIpfsMetadata as Oa, useSignTypedData as Oi, useGasTokenSelection as On, useUpdateTextRecord as Oo, isInvalid as Or, ConnectModalContentsTypes as Os, useTxReceipt as Ot, FeatureAnnouncementCard as P, useWalletMetadata as Pa, useProfileModal as Pi, signVip191Transaction as Pn, Domain as Po, TIME as Pr, PrivyWalletProvider as Ps, useTransferERC20 as Pt, AssetsContent as Q, useGetTokenUsdPrice as Qa, SendTokenModalProvider as Qi, useIsPWA as Qn, useFetchAppInfo as Qo, regexPattern as Qr, Rate as Qs, SmartAccountReturnType as Qt, ActionButton as R, useRoundXApps as Ra, ReceiveModalProvider as Ri, useEcosystemShortcuts as Rn, useGetDomainsOfAddress as Ro, XNodeStrengthLevelToName as Rr, LegalDocumentOptions as Rs, getAllEventLogs as Rt, ModalFAQButton as S, getIpfsImage as Sa, SmartAccount as Sc, fetchAppHubApps as Si, getAccountBalanceQueryKey as Sn, useGetAvatarLegacy as So, buildCallClauses as Sr, EcosystemButton as Ss, useDAppKitWalletModal as St, BaseModal as T, useIpfsImageList as Ta, TransactionStatusErrorType as Tc, useLoginWithVeChain as Ti, useEstimateAllTokens as Tn, getResolverAddressQueryKey as To, isValidUrl as Tr, ConnectionButton as Ts, useSetWalletRecovery as Tt, GasTokenSettingsContent as U, useMostVotedAppsInRound as Ua, useFAQModal as Ui, buildBatchAuthorizationTypedData as Un, useClaimVeWorldSubdomain as Uo, convertUriToUrl as Ur, useVeChainKitConfig as Us, currentBlockQueryKey as Ut, AccountModalContentTypes as V, MostVotedAppsInRoundReturnType as Va, useAccountCustomizationModal as Vi, useLocalStorage as Vn, buildVetDomainClauses as Vo, gmNfts as Vr, VeChainKitProvider as Vs, getChainIdQueryKey as Vt, AppearanceSettingsContent as W, getIsPersonQueryKey as Wa, NotificationsModalProvider as Wi, buildSingleAuthorizationTypedData as Wn, getEnsRecordExistsQueryKey as Wo, resolveMediaTypeFromMimeType as Wr, EnrichedLegalDocument as Ws, useCurrentBlock as Wt, ManageCustomTokenContent as X, getTokenUsdPrice as Xa, SwapTokenModalProvider as Xi, useEvents as Xn, fetchPrivyAppInfo as Xo, isValidAddress as Xr, EstimatedGas as Xs, getUpgradeRequiredQueryKey as Xt, BridgeContent as Y, SupportedToken as Ya, useAccessAndSecurityModal as Yi, getEventsKey as Yn, useFetchPrivyStatus as Yo, compareListOfAddresses as Yr, DepositAccount as Ys, getUpgradeRequired as Yt, ManageCustomTokenContentProps as Z, getTokenUsdPriceQueryKey as Za, useSwapTokenModal as Zi, useScrollToTop as Zn, getPrivyAppInfoQueryKey as Zo, leftPadWithZeros as Zr, EstimationResponse as Zs, useUpgradeRequired as Zt, ModalNotificationButton as _, imageCompressionOptions as _a, ExecuteBatchWithAuthorizationSignData as _c, VECHAIN_PRIVY_APP_ID as _i, useCurrentAccountImplementationVersion as _n, WalletTokenBalance as _o, safeWindowOpen as _r, VeChainWithPrivyLoginButton as _s, SelectTokenContent as _t, useModal as a, useTransactionToast as aa, GasTokenPreferences as ac, isZero as ai, getIsDeployedQueryKey as an, getCustomTokenBalanceQueryKey as ao, getCallClauseQueryKeyWithArgs as ar, AccountMainContent as as, CustomizationSummaryContentProps as at, AccountAvatar as b, IpfsImage as ba, PrivyAppInfo as bc, notFoundImage as bi, useAccountImplementationAddress as bn, getAvatarLegacy as bo, MultipleClausesCallReturnType as br, LoginWithGoogleButton as bs, ThorClient$1 as bt, LegalDocumentsModal as c, AccountModalProvider as ca, TransactionSpeed as cc, ENV as ci, getHasV1SmartAccountQueryKey as cn, useGetB3trBalance as co, copyToClipboard as cr, ShareButtons as cs, FAQContent as ct, UpgradeSmartAccountModalContentsTypes as d, useConnectModal as da, CURRENCY as dc, TOKEN_LOGOS as di, useGetAccountVersion as dn, useCurrentAllocationsRoundId as do, getWindowOrigin as dr, SocialIcons as ds, ChooseNameSearchContent as dt, ChooseNameModalProvider as ea, VthoPerGasAtSpeed as ec, formatTokenBalance as ei, getSmartAccountQueryKey as en, useGetErc20Balance as eo, useFeatureAnnouncement as er, DisconnectConfirmContentProps as es, UpgradeSmartAccountContent as et, UpgradeSmartAccountModalStyle as f, useSwapQuotes as fa, CURRENCY_SYMBOLS as fc, TOKEN_LOGO_COMPONENTS as fi, getAccountAddress as fn, useTotalBalance as fo, hasNavigator as fr, WalletButton as fs, ChooseNameSearchContentProps as ft, GasFeeSummary as g, compressImages as ga, EnhancedClause as gc, VECHAIN_KIT_TERMS_CONFIG as gi, getCurrentAccountImplementationVersionQueryKey as gn, useTokenPrices as go, safeQuerySelector as gr, LoginWithGithubButton as gs, ReceiveTokenContent as gt, GasFeeTokenSelector as h, UploadedImage as ha, ENSRecords as hc, VECHAIN_KIT_STORAGE_KEYS as hi, getCurrentAccountImplementationVersion as hn, ExchangeRates as ho, removeLocalStorageItem as hr, ConnectPopover as hs, SwapTokenContent as ht, ModalProvider as i, TransactionToastProvider as ia, GasTokenInfo as ic, humanNumber as ii, getIsDeployed as in, TokenWithBalance as io, getCallClauseQueryKey as ir, AccessAndSecurityContent as is, CustomizationSummaryContent as it, CrossAppConnectionSecurityCard as j, XAppMetadata as ja, useNotifications as ji, estimateAndBuildTxBody as jn, useGetTextRecords as jo, removePrefix as jr, ColorModeSync as js, buildVETClauses as jt, AddressDisplay as k, getXAppsSharesQueryKey as ka, useSignMessage as ki, decodeRawTx as kn, getTextRecords as ko, isValid as kr, LegalDocumentsProvider as ks, BuildTransactionProps as kt, LegalDocumentsModalContentsTypes as l, useAccountModal as la, ENS_TEXT_RECORDS as lc, PrivyEcosystemApp as li, useHasV1SmartAccount as ln, useCustomTokens as lo, getDocumentTitle as lr, TransactionModal as ls, ChooseNameSummaryContent as lt, LoginLoadingModal as m, useSingleImageUpload as ma, CrossAppConnectionCache as mc, VECHAIN_KIT_COOKIES_CONFIG as mi, useGetAccountAddress as mn, useTokensWithValues as mo, isOnline as mr, WalletDisplayVariant as ms, ChooseNameContentProps as mt, getConfig as n, WalletModalProvider as na, formatGasCost as nc, humanAddress as ni, useRefreshSmartAccountQueries as nn, getTokenInfo as no, useCurrentLanguage as nr, SettingsContent as ns, ProfileContent as nt, DAppKitWalletButton as o, TransactionModalProvider as oa, GasTokenSelection as oc, DEFAULT_GAS_TOKEN_PREFERENCES as oi, useIsSmartAccountDeployed as on, useGetCustomTokenBalances as oo, useCallClause as or, TransactionToast as os, AccountCustomizationContentProps as ot, EcosystemModal as p, useSwapTransaction as pa, ConnectionSource as pc, TogglePassportCheck as pi, getAccountAddressQueryKey as pn, TokenWithValue as po, isBrowser as pr, WalletButtonProps as ps, ChooseNameContent as pt, ChangeCurrencyContent as q, useGetVot3Balance as qa, useExploreEcosystemModal as qi, UseEventsParams as qn, useVechainDomain as qo, validateIpfsUri as qr, LegalDocumentType as qs, getUpgradeRequiredForAccountQueryKey as qt, AccountModalOptions as r, useWalletModal as ra, GasTokenEstimate as rc, humanDomain as ri, useRefreshFactoryQueries as rn, useGetCustomTokenInfo as ro, useCurrency as rr, SettingsContentProps as rs, ProfileContentProps as rt, LegalDocumentItem as s, useTransactionModal as sa, GasTokenType as sc, DEFAULT_PRIVY_ECOSYSTEM_APPS as si, getHasV1SmartAccount as sn, getB3trBalanceQueryKey as so, useMultipleClausesCall as sr, TransactionModalContent as ss, CustomizationContent as st, AppConfig as t, useChooseNameModal as ta, calculateTotalCost as tc, getPicassoImage as ti, useSmartAccount as tn, getCustomTokenInfoQueryKey as to, useCurrentCurrency as tr, EmbeddedWalletContent as ts, UpgradeSmartAccountContentProps as tt, UpgradeSmartAccountModal as u, ConnectModalProvider as ua, TextRecords as uc, SUPPORTED_GAS_TOKENS as ui, getAccountVersionQueryKey as un, getCurrentAllocationsRoundIdQueryKey as uo, getLocalStorageItem as ur, TransactionModalProps as us, ChooseNameSummaryContentProps as ut, TransactionButtonAndStatus as v, useUploadImages as va, ExecuteWithAuthorizationSignData as vc, getENV as vi, getAccountImplementationAddress as vn, useTokenBalances as vo, setLocalStorageItem as vr, DappKitButton as vs, SendTokenSummaryContent as vt, AssetButton as w, useIpfsImage as wa, TransactionStatus as wc, useAppHubApps as wi, UseEstimateAllTokensParams as wn, useGetAvatarOfAddress as wo, executeMultipleClausesCall as wr, EmailLoginButton as ws, usePrivy as wt, ScrollToTopWrapper as x, MAX_IMAGE_SIZE as xa, PrivyLoginMethod as xc, AppHubApp as xi, getAccountBalance as xn, getAvatarLegacyQueryKey as xo, ViewFunctionResult as xr, PrivyButton as xs, useDAppKitWallet as xt, TransactionButtonAndStatusProps as y, useIpfsMetadatas as ya, NFTMediaType as yc, getGenericDelegatorUrl as yi, getAccountImplementationAddressQueryKey as yn, useUnsetDomain as yo, MultipleClausesCallParameters as yr, PasskeyLoginButton as ys, SendTokenContent as yt, AccountDetailsButton as z, useRefreshMetadata as za, useReceiveModal as zi, useSyncableLocalStorage as zn, getIsDomainProtectedQueryKey as zo, allNodeStrengthLevelToName as zr, VeChainKitConfig as zs, getEventLogs as zt };
|
|
4060
|
-
//# sourceMappingURL=index-
|
|
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$1 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$1 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$1 as Oi, useGenericDelegatorFeeEstimation as On, useUpdateTextRecord as Oo, addPrefix as Or, PrivyWalletProvider as Os, useThor$1 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$1 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$1 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-CX-PoQpp.d.mts.map
|