@vechain/vechain-kit 0.10.6 → 0.11.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/index.d.ts CHANGED
@@ -727,39 +727,44 @@ declare const SimpleAccountFactoryABI: readonly [{
727
727
  readonly type: "function";
728
728
  }];
729
729
 
730
- type Props$v = {
730
+ type Props$z = {
731
731
  boxSize?: string | number;
732
732
  } & Omit<BoxProps, 'dangerouslySetInnerHTML'>;
733
- declare const GoogleLogo: React__default.FC<Props$v>;
733
+ declare const GoogleLogo: React__default.FC<Props$z>;
734
734
 
735
- type Props$u = {
735
+ type Props$y = {
736
736
  isDark?: boolean;
737
737
  boxSize?: string | number;
738
738
  } & Omit<BoxProps, 'dangerouslySetInnerHTML'>;
739
- declare const TwitterLogo: React__default.FC<Props$u>;
739
+ declare const TwitterLogo: React__default.FC<Props$y>;
740
740
 
741
- type Props$t = {
741
+ type Props$x = {
742
742
  isDark?: boolean;
743
743
  } & Omit<IconProps, 'dangerouslySetInnerHTML'>;
744
- declare const VechainLogo: React__default.FC<Props$t>;
744
+ declare const VechainLogo: React__default.FC<Props$x>;
745
745
 
746
- type Props$s = {
746
+ type Props$w = {
747
747
  isDark?: boolean;
748
748
  } & Omit<ImageProps, 'dangerouslySetInnerHTML'>;
749
- declare const VechainLogoHorizontal: React__default.FC<Props$s>;
749
+ declare const VechainLogoHorizontal: React__default.FC<Props$w>;
750
750
 
751
- type Props$r = {
751
+ type Props$v = {
752
+ isDark?: boolean;
753
+ } & Omit<ImageProps, 'dangerouslySetInnerHTML'>;
754
+ declare const PrivyLogo: React__default.FC<Props$v>;
755
+
756
+ type Props$u = {
752
757
  isOpen: boolean;
753
758
  onClose: () => void;
754
759
  };
755
760
  type ConnectModalContents = 'main' | 'email-verification';
756
- declare const ConnectModal: ({ isOpen, onClose }: Props$r) => react_jsx_runtime.JSX.Element;
761
+ declare const ConnectModal: ({ isOpen, onClose }: Props$u) => react_jsx_runtime.JSX.Element;
757
762
 
758
- type Props$q = {
763
+ type Props$t = {
759
764
  setCurrentContent: React__default.Dispatch<React__default.SetStateAction<ConnectModalContents>>;
760
765
  onClose: () => void;
761
766
  };
762
- declare const MainContent: ({ onClose }: Props$q) => react_jsx_runtime.JSX.Element;
767
+ declare const MainContent: ({ onClose }: Props$t) => react_jsx_runtime.JSX.Element;
763
768
 
764
769
  interface ConnectionButtonProps {
765
770
  isDark: boolean;
@@ -772,22 +777,22 @@ declare const ConnectionButton: ({ isDark, onClick, text, icon, customIcon, }: C
772
777
 
773
778
  declare const EmailLoginButton: () => react_jsx_runtime.JSX.Element;
774
779
 
775
- type Props$p = {
780
+ type Props$s = {
776
781
  isDark: boolean;
777
782
  };
778
- declare const VeChainLoginButton: ({ isDark }: Props$p) => react_jsx_runtime.JSX.Element;
783
+ declare const VeChainLoginButton: ({ isDark }: Props$s) => react_jsx_runtime.JSX.Element;
779
784
 
780
- type Props$o = {
785
+ type Props$r = {
781
786
  isDark: boolean;
782
787
  privySocialLoginEnabled: boolean;
783
788
  };
784
- declare const EcosystemButton: ({ isDark, privySocialLoginEnabled }: Props$o) => react_jsx_runtime.JSX.Element;
789
+ declare const EcosystemButton: ({ isDark, privySocialLoginEnabled }: Props$r) => react_jsx_runtime.JSX.Element;
785
790
 
786
- type Props$n = {
791
+ type Props$q = {
787
792
  isDark: boolean;
788
793
  onViewMoreLogin: () => void;
789
794
  };
790
- declare const PrivyButton: ({ isDark, onViewMoreLogin }: Props$n) => react_jsx_runtime.JSX.Element;
795
+ declare const PrivyButton: ({ isDark, onViewMoreLogin }: Props$q) => react_jsx_runtime.JSX.Element;
791
796
 
792
797
  type Wallet = {
793
798
  address: string | null;
@@ -796,6 +801,7 @@ type Wallet = {
796
801
  };
797
802
  type SmartAccount = Wallet & {
798
803
  isDeployed: boolean;
804
+ isActive: boolean;
799
805
  };
800
806
  type ConnectionSource = {
801
807
  type: 'privy' | 'wallet' | 'privy-cross-app' | 'privy-vechain';
@@ -817,6 +823,10 @@ type ExecuteWithAuthorizationSignData = {
817
823
  name: string;
818
824
  type: string;
819
825
  }[];
826
+ EIP712Domain: {
827
+ name: string;
828
+ type: string;
829
+ }[];
820
830
  };
821
831
  primaryType: string;
822
832
  message: {
@@ -864,6 +874,11 @@ type PrivyAppInfo = {
864
874
  twitter_oauth: boolean;
865
875
  };
866
876
  type PrivyLoginMethod = 'wallet' | 'email' | 'sms' | 'google' | 'twitter' | 'discord' | 'github' | 'linkedin' | 'spotify' | 'instagram' | 'tiktok' | 'apple' | 'farcaster' | 'telegram';
877
+ type TransactionProgress = {
878
+ currentStep: number;
879
+ totalSteps: number;
880
+ currentStepDescription?: string;
881
+ };
867
882
 
868
883
  /**
869
884
  * The type of network that we are connected to (indentified by the genesis block)
@@ -993,6 +1008,7 @@ interface PrivyWalletProviderContextType {
993
1008
  title?: string;
994
1009
  description?: string;
995
1010
  buttonText?: string;
1011
+ onProgress?: (progress: TransactionProgress) => void;
996
1012
  }) => Promise<string>;
997
1013
  exportWallet: () => Promise<void>;
998
1014
  }
@@ -1017,24 +1033,29 @@ declare const PrivyWalletProvider: ({ children, nodeUrl, delegatorUrl, delegateA
1017
1033
  }) => react_jsx_runtime.JSX.Element;
1018
1034
  declare const usePrivyWalletProvider: () => PrivyWalletProviderContextType;
1019
1035
 
1020
- type Props$m = {
1036
+ type Props$p = {
1021
1037
  isDark: boolean;
1022
1038
  loginModalUI: VechainKitProps['loginModalUI'];
1023
1039
  };
1024
- declare const SocialLoginButtons: ({ isDark, loginModalUI }: Props$m) => react_jsx_runtime.JSX.Element;
1040
+ declare const SocialLoginButtons: ({ isDark, loginModalUI }: Props$p) => react_jsx_runtime.JSX.Element;
1025
1041
 
1026
- type Props$l = {
1042
+ type Props$o = {
1027
1043
  isDark: boolean;
1028
1044
  };
1029
- declare const PasskeyLoginButton: ({ isDark }: Props$l) => react_jsx_runtime.JSX.Element;
1045
+ declare const PasskeyLoginButton: ({ isDark }: Props$o) => react_jsx_runtime.JSX.Element;
1030
1046
 
1031
- type Props$k = {
1047
+ type Props$n = {
1032
1048
  isDark: boolean;
1033
1049
  privySocialLoginEnabled: boolean;
1034
1050
  };
1035
- declare const DappKitButton: ({ isDark, privySocialLoginEnabled }: Props$k) => react_jsx_runtime.JSX.Element;
1051
+ declare const DappKitButton: ({ isDark, privySocialLoginEnabled }: Props$n) => react_jsx_runtime.JSX.Element;
1052
+
1053
+ type WalletButtonProps = {
1054
+ mobileVariant?: 'icon' | 'iconAndDomain' | 'iconDomainAndAddress';
1055
+ desktopVariant?: 'icon' | 'iconAndDomain' | 'iconDomainAndAddress';
1056
+ };
1036
1057
 
1037
- declare const WalletButton: () => react_jsx_runtime.JSX.Element;
1058
+ declare const WalletButton: ({ mobileVariant, desktopVariant, }: WalletButtonProps) => react_jsx_runtime.JSX.Element;
1038
1059
 
1039
1060
  type TransactionModalProps = {
1040
1061
  isOpen: boolean;
@@ -1051,8 +1072,9 @@ type TransactionModalProps = {
1051
1072
  onTryAgain?: () => void;
1052
1073
  showExplorerButton?: boolean;
1053
1074
  txId?: string;
1075
+ progress?: TransactionProgress;
1054
1076
  };
1055
- declare const TransactionModal: ({ isOpen, onClose, status, pendingTitle, confirmationTitle, errorTitle, errorDescription, successTitle, showSocialButtons, socialDescriptionEncoded, showTryAgainButton, onTryAgain, showExplorerButton, txId, }: TransactionModalProps) => react_jsx_runtime.JSX.Element | null;
1077
+ declare const TransactionModal: ({ isOpen, onClose, status, pendingTitle, confirmationTitle, errorTitle, errorDescription, successTitle, showSocialButtons, socialDescriptionEncoded, showTryAgainButton, onTryAgain, showExplorerButton, txId, progress, }: TransactionModalProps) => react_jsx_runtime.JSX.Element | null;
1056
1078
 
1057
1079
  type TransactionToastProps = {
1058
1080
  isOpen: boolean;
@@ -1061,81 +1083,80 @@ type TransactionToastProps = {
1061
1083
  txReceipt: any;
1062
1084
  resetStatus: () => void;
1063
1085
  error?: TransactionStatusErrorType;
1086
+ progress?: TransactionProgress;
1064
1087
  };
1065
- declare const TransactionToast: ({ isOpen, onClose, status, txReceipt, error, resetStatus, }: TransactionToastProps) => react_jsx_runtime.JSX.Element | null;
1088
+ declare const TransactionToast: ({ isOpen, onClose, status, txReceipt, error, resetStatus, progress, }: TransactionToastProps) => react_jsx_runtime.JSX.Element | null;
1066
1089
 
1067
- type Props$j = {
1090
+ type Props$m = {
1068
1091
  isOpen: boolean;
1069
1092
  onClose: () => void;
1070
1093
  };
1071
- declare const AccountModal: ({ isOpen, onClose }: Props$j) => react_jsx_runtime.JSX.Element;
1094
+ declare const AccountModal: ({ isOpen, onClose }: Props$m) => react_jsx_runtime.JSX.Element;
1072
1095
 
1073
- type AccountModalContentTypes = 'main' | 'settings' | 'smart-account' | 'accounts' | 'send-token' | 'receive-token' | {
1096
+ type SendTokenSummaryContentProps = {
1097
+ setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1098
+ onSend: (address: string, amount: string) => void;
1099
+ toAddressOrDomain: string;
1100
+ resolvedDomain?: string;
1101
+ resolvedAddress?: string;
1102
+ amount: string;
1103
+ selectedToken: {
1104
+ symbol: string;
1105
+ balance: string;
1106
+ address: string;
1107
+ numericBalance: number;
1108
+ price: number;
1109
+ };
1110
+ };
1111
+ declare const SendTokenSummaryContent: ({ setCurrentContent, toAddressOrDomain, resolvedDomain, resolvedAddress, amount, selectedToken, }: SendTokenSummaryContentProps) => react_jsx_runtime.JSX.Element;
1112
+
1113
+ type AccountModalContentTypes = 'main' | 'settings' | 'smart-account' | 'accounts' | 'send-token' | 'receive-token' | 'swap-token' | 'choose-name' | {
1074
1114
  type: 'send-token-summary';
1115
+ props: SendTokenSummaryContentProps;
1116
+ } | {
1117
+ type: 'choose-name-search';
1075
1118
  props: {
1076
- toAddressOrDomain: string;
1077
- resolvedDomain?: string;
1078
- resolvedAddress?: string;
1079
- amount: string;
1080
- selectedToken: {
1081
- symbol: string;
1082
- balance: string;
1083
- address: string;
1084
- numericBalance: number;
1085
- price: number;
1086
- };
1087
- onSend: (address: string, amount: string) => void;
1088
- setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1119
+ name: string;
1120
+ setCurrentContent: (content: AccountModalContentTypes) => void;
1121
+ };
1122
+ } | {
1123
+ type: 'choose-name-summary';
1124
+ props: {
1125
+ name: string;
1126
+ setCurrentContent: (content: AccountModalContentTypes) => void;
1089
1127
  };
1090
1128
  };
1091
1129
 
1092
- type Props$i = {
1130
+ type Props$l = {
1093
1131
  setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1094
1132
  onClose: () => void;
1095
1133
  wallet: Wallet;
1096
1134
  };
1097
- declare const AccountMainContent: ({ setCurrentContent, wallet }: Props$i) => react_jsx_runtime.JSX.Element;
1135
+ declare const AccountMainContent: ({ setCurrentContent, wallet }: Props$l) => react_jsx_runtime.JSX.Element;
1098
1136
 
1099
- type Props$h = {
1137
+ type Props$k = {
1100
1138
  setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
1101
1139
  onClose: () => void;
1102
1140
  wallet?: Wallet;
1103
1141
  };
1104
- declare const AccountsListContent: ({ setCurrentContent, onClose }: Props$h) => react_jsx_runtime.JSX.Element;
1142
+ declare const AccountsListContent: ({ setCurrentContent, onClose }: Props$k) => react_jsx_runtime.JSX.Element;
1105
1143
 
1106
- type Props$g = {
1144
+ type Props$j = {
1107
1145
  setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
1108
1146
  };
1109
- declare const SmartAccountContent: ({ setCurrentContent }: Props$g) => react_jsx_runtime.JSX.Element;
1147
+ declare const SmartAccountContent: ({ setCurrentContent }: Props$j) => react_jsx_runtime.JSX.Element;
1110
1148
 
1111
- type Props$f = {
1149
+ type Props$i = {
1112
1150
  setCurrentContent: (content: AccountModalContentTypes) => void;
1113
1151
  onLogoutSuccess: () => void;
1114
1152
  };
1115
- declare const WalletSettingsContent: ({ setCurrentContent, onLogoutSuccess, }: Props$f) => react_jsx_runtime.JSX.Element;
1116
-
1117
- type Props$e = {
1118
- setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1119
- onSend: (address: string, amount: string) => void;
1120
- };
1121
- declare const SendTokenContent: ({ setCurrentContent, onSend }: Props$e) => react_jsx_runtime.JSX.Element;
1153
+ declare const WalletSettingsContent: ({ setCurrentContent, onLogoutSuccess, }: Props$i) => react_jsx_runtime.JSX.Element;
1122
1154
 
1123
- type Props$d = {
1155
+ type Props$h = {
1124
1156
  setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1125
1157
  onSend: (address: string, amount: string) => void;
1126
- toAddressOrDomain: string;
1127
- resolvedDomain?: string;
1128
- resolvedAddress?: string;
1129
- amount: string;
1130
- selectedToken: {
1131
- symbol: string;
1132
- balance: string;
1133
- address: string;
1134
- numericBalance: number;
1135
- price: number;
1136
- };
1137
1158
  };
1138
- declare const SendTokenSummaryContent: ({ setCurrentContent, toAddressOrDomain, resolvedDomain, resolvedAddress, amount, selectedToken, }: Props$d) => react_jsx_runtime.JSX.Element;
1159
+ declare const SendTokenContent: ({ setCurrentContent, onSend }: Props$h) => react_jsx_runtime.JSX.Element;
1139
1160
 
1140
1161
  type Token = {
1141
1162
  symbol: string;
@@ -1144,17 +1165,39 @@ type Token = {
1144
1165
  numericBalance: number;
1145
1166
  price: number;
1146
1167
  };
1147
- type Props$c = {
1168
+ type Props$g = {
1148
1169
  setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1149
1170
  onSelectToken: (token: Token) => void;
1150
1171
  onBack: () => void;
1151
1172
  };
1152
- declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$c) => react_jsx_runtime.JSX.Element;
1173
+ declare const SelectTokenContent: ({ onSelectToken, onBack }: Props$g) => react_jsx_runtime.JSX.Element;
1153
1174
 
1154
- type Props$b = {
1175
+ type Props$f = {
1176
+ setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1177
+ };
1178
+ declare const ReceiveTokenContent: ({ setCurrentContent }: Props$f) => react_jsx_runtime.JSX.Element;
1179
+
1180
+ type Props$e = {
1155
1181
  setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1156
1182
  };
1157
- declare const ReceiveTokenContent: ({ setCurrentContent }: Props$b) => react_jsx_runtime.JSX.Element;
1183
+ declare const SwapTokenContent: ({ setCurrentContent }: Props$e) => react_jsx_runtime.JSX.Element;
1184
+
1185
+ type Props$d = {
1186
+ setCurrentContent: (content: AccountModalContentTypes) => void;
1187
+ };
1188
+ declare const ChooseNameContent: ({ setCurrentContent }: Props$d) => react_jsx_runtime.JSX.Element;
1189
+
1190
+ type ChooseNameSearchContentProps = {
1191
+ name: string;
1192
+ setCurrentContent: (content: AccountModalContentTypes) => void;
1193
+ };
1194
+ declare const ChooseNameSearchContent: ({ name: initialName, setCurrentContent, }: ChooseNameSearchContentProps) => react_jsx_runtime.JSX.Element;
1195
+
1196
+ type Props$c = {
1197
+ setCurrentContent: (content: AccountModalContentTypes) => void;
1198
+ name: string;
1199
+ };
1200
+ declare const ChooseNameSummaryContent: ({ setCurrentContent, name, }: Props$c) => react_jsx_runtime.JSX.Element;
1158
1201
 
1159
1202
  interface AccountDetailsButtonProps {
1160
1203
  title: string;
@@ -1184,23 +1227,28 @@ interface ActionButtonProps {
1184
1227
  }
1185
1228
  declare const ActionButton: ({ leftIcon, rightIcon, title, description, onClick, leftImage, hide, showComingSoon, backgroundColor, _hover, }: ActionButtonProps) => react_jsx_runtime.JSX.Element;
1186
1229
 
1187
- type Props$a = {
1230
+ type Props$b = {
1188
1231
  wallet: Wallet;
1189
1232
  size?: string;
1190
1233
  onClick?: () => void;
1191
1234
  };
1192
- declare const AccountSelector: ({ wallet, size, onClick }: Props$a) => react_jsx_runtime.JSX.Element;
1235
+ declare const AccountSelector: ({ wallet, size, onClick }: Props$b) => react_jsx_runtime.JSX.Element;
1193
1236
 
1194
1237
  declare const BalanceSection: ({ mb }: {
1195
1238
  mb?: number;
1196
1239
  }) => react_jsx_runtime.JSX.Element;
1197
1240
 
1198
- declare const AssetsSection: () => react_jsx_runtime.JSX.Element;
1241
+ type Props$a = {
1242
+ mt?: number;
1243
+ setCurrentContent: (content: AccountModalContentTypes) => void;
1244
+ };
1245
+ declare const AssetsSection: ({ mt, setCurrentContent }: Props$a) => react_jsx_runtime.JSX.Element;
1199
1246
 
1200
1247
  type Props$9 = {
1248
+ mt?: number;
1201
1249
  setCurrentContent: React.Dispatch<React.SetStateAction<AccountModalContentTypes>>;
1202
1250
  };
1203
- declare const QuickActionsSection: ({ setCurrentContent }: Props$9) => react_jsx_runtime.JSX.Element;
1251
+ declare const QuickActionsSection: ({ mt, setCurrentContent }: Props$9) => react_jsx_runtime.JSX.Element;
1204
1252
 
1205
1253
  type Props$8 = {
1206
1254
  children: ReactNode;
@@ -1271,6 +1319,16 @@ type AssetButtonProps = ButtonProps & {
1271
1319
  };
1272
1320
  declare const AssetButton: ({ symbol, amount, usdValue, isDisabled, ...buttonProps }: AssetButtonProps) => react_jsx_runtime.JSX.Element;
1273
1321
 
1322
+ type AddressDisplayCardProps = {
1323
+ label: string;
1324
+ address: string;
1325
+ domain?: string;
1326
+ imageSrc: string;
1327
+ imageAlt?: string;
1328
+ hideAddress?: boolean;
1329
+ };
1330
+ declare const AddressDisplayCard: ({ label, address, domain, imageSrc, imageAlt, hideAddress, }: AddressDisplayCardProps) => react_jsx_runtime.JSX.Element;
1331
+
1274
1332
  type LoginLoadingModalProps = {
1275
1333
  isOpen: boolean;
1276
1334
  onClose: () => void;
@@ -1334,28 +1392,48 @@ declare const useFetchAppInfo: (appIds: string | string[]) => _tanstack_react_qu
1334
1392
  [k: string]: PrivyAppInfo;
1335
1393
  }, Error>;
1336
1394
 
1337
- interface VeChainDomainResult$1 {
1395
+ interface VeChainDomainResult$2 {
1338
1396
  address?: string;
1339
1397
  domain?: string;
1340
1398
  isValidAddressOrDomain: boolean;
1341
1399
  isLoading: boolean;
1342
1400
  }
1343
1401
  declare const getVetDomainQueryKey: (addressOrDomain: string) => string[];
1344
- declare const useGetVetDomain: (addressOrDomain: string) => _tanstack_react_query.UseQueryResult<VeChainDomainResult$1, Error>;
1402
+ declare const useGetVetDomain: (addressOrDomain: string) => _tanstack_react_query.UseQueryResult<VeChainDomainResult$2, Error>;
1345
1403
 
1346
- interface VeChainDomainResult {
1404
+ interface VeChainDomainResult$1 {
1347
1405
  address?: string;
1348
1406
  domain?: string;
1349
1407
  isValidAddressOrDomain: boolean;
1350
1408
  isLoading: boolean;
1351
1409
  }
1352
1410
  interface CachedVeChainDomainResult {
1353
- domainResult: VeChainDomainResult;
1411
+ domainResult: VeChainDomainResult$1;
1354
1412
  getCachedDomain: () => string | null;
1355
1413
  saveCachedDomain: (domain: string) => void;
1356
1414
  }
1357
1415
  declare const useCachedVeChainDomain: (address: string) => CachedVeChainDomainResult;
1358
1416
 
1417
+ interface VeChainDomainResult {
1418
+ address?: string;
1419
+ domain?: string;
1420
+ isValidAddressOrDomain: boolean;
1421
+ isLoading: boolean;
1422
+ }
1423
+ declare const getEnsRecordExistsQueryKey: (name: string, node: string) => string[];
1424
+ declare const useEnsRecordExists: (name: string, node: string) => _tanstack_react_query.UseQueryResult<VeChainDomainResult, Error>;
1425
+
1426
+ type useClaimVeWorldSubdomainProps = {
1427
+ subdomain: string;
1428
+ domain: string;
1429
+ onSuccess?: () => void;
1430
+ onSuccessMessageTitle?: number;
1431
+ };
1432
+ type useClaimVeWorldSubdomainReturnValue = {
1433
+ sendTransaction: () => Promise<void>;
1434
+ } & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
1435
+ declare const useClaimVeWorldSubdomain: ({ subdomain, domain, onSuccess, }: useClaimVeWorldSubdomainProps) => useClaimVeWorldSubdomainReturnValue;
1436
+
1359
1437
  interface SmartAccountReturnType {
1360
1438
  address: string | undefined;
1361
1439
  isDeployed: boolean;
@@ -1404,9 +1482,10 @@ type UseWalletReturnType = {
1404
1482
  connection: {
1405
1483
  isConnected: boolean;
1406
1484
  isConnecting: boolean;
1407
- isConnectedWithPrivy: boolean;
1485
+ isConnectedWithSocialLogin: boolean;
1408
1486
  isConnectedWithDappKit: boolean;
1409
1487
  isConnectedWithCrossApp: boolean;
1488
+ isConnectedWithPrivy: boolean;
1410
1489
  isLoadingPrivyConnection: boolean;
1411
1490
  source: ConnectionSource;
1412
1491
  isInAppBrowser: boolean;
@@ -1521,6 +1600,7 @@ type UseSendTransactionReturnValue = {
1521
1600
  status: TransactionStatus;
1522
1601
  resetStatus: () => void;
1523
1602
  error?: TransactionStatusErrorType;
1603
+ progress?: TransactionProgress;
1524
1604
  };
1525
1605
  /**
1526
1606
  * Generic hook to send a transaction using connex.
@@ -1564,6 +1644,11 @@ type useTransferVETReturnValue = {
1564
1644
  } & Omit<UseSendTransactionReturnValue, 'sendTransaction'>;
1565
1645
  declare const useTransferVET: ({ fromAddress, receiverAddress, amount, onSuccess, }: useTransferVETProps) => useTransferVETReturnValue;
1566
1646
 
1647
+ declare const useSmartAccountAlert: () => {
1648
+ isAlertVisible: boolean;
1649
+ hideAlert: () => void;
1650
+ };
1651
+
1567
1652
  declare const TOKEN_LOGOS: Record<string, string>;
1568
1653
  declare const VECHAIN_PRIVY_APP_ID = "cm4wxxujb022fyujl7g0thb21";
1569
1654
 
@@ -1615,6 +1700,10 @@ type AppConfig = {
1615
1700
  accountFactoryAddress: string;
1616
1701
  cleanifyCampaignsContractAddress: string;
1617
1702
  cleanifyChallengesContractAddress: string;
1703
+ veWorldSubdomainClaimerContractAddress: string;
1704
+ vetDomainsContractAddress: string;
1705
+ vetDomainsPublicResolverAddress: string;
1706
+ vetDomainsReverseRegistrarAddress: string;
1618
1707
  nodeUrl: string;
1619
1708
  indexerUrl?: string;
1620
1709
  network: Network;
@@ -1622,4 +1711,4 @@ type AppConfig = {
1622
1711
  };
1623
1712
  declare const getConfig: (env: NETWORK_TYPE) => AppConfig;
1624
1713
 
1625
- export { AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, AccountsListContent, ActionButton, AddressDisplay, type AppConfig, AssetButton, AssetsSection, BalanceSection, BaseModal, ConnectModal, type ConnectModalContents, ConnectModalProvider, ConnectionButton, type ConnectionSource, DappKitButton, EcosystemButton, EcosystemModal, EmailLoginButton, type EnhancedClause, type ExecuteWithAuthorizationSignData, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, GoogleLogo, LoginLoadingModal, MainContent, ModalBackButton, PRICE_FEED_IDS, PasskeyLoginButton, type PrivyAppInfo, PrivyButton, type PrivyLoginMethod, PrivyWalletProvider, type PrivyWalletProviderContextType, QuickActionsSection, ReceiveTokenContent, SelectTokenContent, SendTokenContent, SendTokenSummaryContent, SimpleAccountABI, SimpleAccountFactoryABI, type SmartAccount, SmartAccountContent, type SmartAccountReturnType, SocialLoginButtons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, TOKEN_LOGOS, TransactionModal, type TransactionModalProps, TransactionModalProvider, type TransactionStatus, type TransactionStatusErrorType, TransactionToast, TransactionToastProvider, TwitterLogo, type UseSendTransactionReturnValue, type UseWalletReturnType, VECHAIN_PRIVY_APP_ID, VeChainKit, VeChainKitContext, VeChainLoginButton, type VechainKitProps, VechainLogo, VechainLogoHorizontal, VersionFooter, type Wallet, WalletButton, WalletSettingsContent, compareAddresses, compareListOfAddresses, fetchPrivyAppInfo, getAccountBalance, getAccountBalanceQueryKey, getB3trBalance, getB3trBalanceQueryKey, getChainId, getChainIdQueryKey, getConfig, getPicassoImage, getPrivyAppInfoQueryKey, getSmartAccount, getSmartAccountQueryKey, getTokenUsdPrice, getTokenUsdPriceQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVetDomainQueryKey, getVot3Balance, getVot3BalanceQueryKey, humanAddress, humanDomain, isValidAddress, leftPadWithZeros, pollForReceipt, randomTransactionUser, regexPattern, useAccountBalance, useAccountModal, useBalances, useCachedVeChainDomain, useConnectModal, useFetchAppInfo, useGetB3trBalance, useGetChainId, useGetNodeUrl, useGetTokenUsdPrice, useGetVeDelegateBalance, useGetVetDomain, useGetVot3Balance, usePrivyWalletProvider, useRefreshBalances, useSendTransaction, useSmartAccount, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useVeChainKitConfig, useWallet };
1714
+ export { AccountDetailsButton, AccountMainContent, AccountModal, type AccountModalContentTypes, AccountModalProvider, AccountSelector, AccountsListContent, ActionButton, AddressDisplay, AddressDisplayCard, type AppConfig, AssetButton, AssetsSection, BalanceSection, BaseModal, ChooseNameContent, ChooseNameSearchContent, type ChooseNameSearchContentProps, ChooseNameSummaryContent, ConnectModal, type ConnectModalContents, ConnectModalProvider, ConnectionButton, type ConnectionSource, DappKitButton, EcosystemButton, EcosystemModal, EmailLoginButton, type EnhancedClause, type ExecuteWithAuthorizationSignData, FadeInView, FadeInViewFromBottom, FadeInViewFromLeft, FadeInViewFromRight, GoogleLogo, LoginLoadingModal, MainContent, ModalBackButton, PRICE_FEED_IDS, PasskeyLoginButton, type PrivyAppInfo, PrivyButton, type PrivyLoginMethod, PrivyLogo, PrivyWalletProvider, type PrivyWalletProviderContextType, QuickActionsSection, ReceiveTokenContent, SelectTokenContent, SendTokenContent, SendTokenSummaryContent, SimpleAccountABI, SimpleAccountFactoryABI, type SmartAccount, SmartAccountContent, type SmartAccountReturnType, SocialLoginButtons, StickyFooterContainer, StickyHeaderContainer, type SupportedToken, SwapTokenContent, TOKEN_LOGOS, TransactionModal, type TransactionModalProps, TransactionModalProvider, type TransactionProgress, type TransactionStatus, type TransactionStatusErrorType, TransactionToast, TransactionToastProvider, TwitterLogo, type UseSendTransactionReturnValue, type UseWalletReturnType, VECHAIN_PRIVY_APP_ID, VeChainKit, VeChainKitContext, VeChainLoginButton, type VechainKitProps, VechainLogo, VechainLogoHorizontal, VersionFooter, type Wallet, WalletButton, type WalletButtonProps, WalletSettingsContent, compareAddresses, compareListOfAddresses, fetchPrivyAppInfo, getAccountBalance, getAccountBalanceQueryKey, getB3trBalance, getB3trBalanceQueryKey, getChainId, getChainIdQueryKey, getConfig, getEnsRecordExistsQueryKey, getPicassoImage, getPrivyAppInfoQueryKey, getSmartAccount, getSmartAccountQueryKey, getTokenUsdPrice, getTokenUsdPriceQueryKey, getVeDelegateBalance, getVeDelegateBalanceQueryKey, getVetDomainQueryKey, getVot3Balance, getVot3BalanceQueryKey, humanAddress, humanDomain, isValidAddress, leftPadWithZeros, pollForReceipt, randomTransactionUser, regexPattern, useAccountBalance, useAccountModal, useBalances, useCachedVeChainDomain, useClaimVeWorldSubdomain, useConnectModal, useEnsRecordExists, useFetchAppInfo, useGetB3trBalance, useGetChainId, useGetNodeUrl, useGetTokenUsdPrice, useGetVeDelegateBalance, useGetVetDomain, useGetVot3Balance, usePrivyWalletProvider, useRefreshBalances, useSendTransaction, useSmartAccount, useSmartAccountAlert, useTransactionModal, useTransactionToast, useTransferERC20, useTransferVET, useTxReceipt, useVeChainKitConfig, useWallet };