@vechain/vechain-kit 1.5.0 → 1.5.2
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/{Constants-k3w4-s6C.d.cts → Constants-CUrs_fy0.d.cts} +2 -1
- package/dist/{Constants-k3w4-s6C.d.ts → Constants-CUrs_fy0.d.ts} +2 -1
- package/dist/assets/index.cjs +59 -11
- package/dist/assets/index.d.cts +53 -13
- package/dist/assets/index.d.ts +53 -13
- package/dist/assets/index.js +1 -1
- package/dist/{chunk-RZI2FBKR.js → chunk-DYI6ON4O.js} +333 -21
- package/dist/chunk-DYI6ON4O.js.map +1 -0
- package/dist/{chunk-YKPB3KXP.js → chunk-EUQRNI5E.js} +33 -4
- package/dist/chunk-EUQRNI5E.js.map +1 -0
- package/dist/{chunk-AJYTKYSZ.cjs → chunk-FID67WC3.cjs} +344 -20
- package/dist/chunk-FID67WC3.cjs.map +1 -0
- package/dist/{chunk-CPG25VOQ.cjs → chunk-RUIC653T.cjs} +33 -3
- package/dist/chunk-RUIC653T.cjs.map +1 -0
- package/dist/index.cjs +665 -581
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +279 -195
- package/dist/index.js.map +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/utils/index.cjs +34 -29
- package/dist/utils/index.d.cts +2 -2
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-AJYTKYSZ.cjs.map +0 -1
- package/dist/chunk-CPG25VOQ.cjs.map +0 -1
- package/dist/chunk-RZI2FBKR.js.map +0 -1
- package/dist/chunk-YKPB3KXP.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { ReactNode, ReactElement, ElementType } from 'react';
|
|
4
4
|
import { WalletListEntry, SignTypedDataParams, User } from '@privy-io/react-auth';
|
|
5
5
|
export { useMfaEnrollment, usePrivy } from '@privy-io/react-auth';
|
|
6
|
-
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, C as ConnectionSource, e as ENSRecords, f as NFTMediaType, g as CrossAppConnectionCache } from './Constants-
|
|
7
|
-
export { i as ExecuteBatchWithAuthorizationSignData, h as ExecuteWithAuthorizationSignData } from './Constants-
|
|
6
|
+
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, C as ConnectionSource, e as ENSRecords, f as NFTMediaType, g as CrossAppConnectionCache } from './Constants-CUrs_fy0.cjs';
|
|
7
|
+
export { i as ExecuteBatchWithAuthorizationSignData, h as ExecuteWithAuthorizationSignData } from './Constants-CUrs_fy0.cjs';
|
|
8
8
|
import { WalletSource, LogLevel } from '@vechain/dapp-kit';
|
|
9
9
|
import { WalletConnectOptions } from '@vechain/dapp-kit-react';
|
|
10
10
|
export { WalletButton as DAppKitWalletButton, useConnex, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from '@vechain/dapp-kit-react';
|
|
@@ -652,6 +652,7 @@ type XAppMetadata = {
|
|
|
652
652
|
external_url: string;
|
|
653
653
|
logo: string;
|
|
654
654
|
banner: string;
|
|
655
|
+
logoComponent?: JSX.Element;
|
|
655
656
|
screenshots: string[];
|
|
656
657
|
social_urls: {
|
|
657
658
|
name: string;
|
|
@@ -3028,7 +3029,7 @@ type Token$1 = {
|
|
|
3028
3029
|
price: number;
|
|
3029
3030
|
};
|
|
3030
3031
|
type SendTokenContentProps = {
|
|
3031
|
-
setCurrentContent:
|
|
3032
|
+
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
3032
3033
|
isNavigatingFromMain?: boolean;
|
|
3033
3034
|
preselectedToken?: Token$1;
|
|
3034
3035
|
onBack?: () => void;
|
|
@@ -3158,6 +3159,7 @@ type AppOverviewContentProps = {
|
|
|
3158
3159
|
image: string;
|
|
3159
3160
|
url: string;
|
|
3160
3161
|
description?: string;
|
|
3162
|
+
logoComponent?: JSX.Element;
|
|
3161
3163
|
};
|
|
3162
3164
|
|
|
3163
3165
|
type SuccessfulOperationContentProps$1 = {
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import * as React$1 from 'react';
|
|
|
3
3
|
import React__default, { ReactNode, ReactElement, ElementType } from 'react';
|
|
4
4
|
import { WalletListEntry, SignTypedDataParams, User } from '@privy-io/react-auth';
|
|
5
5
|
export { useMfaEnrollment, usePrivy } from '@privy-io/react-auth';
|
|
6
|
-
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, C as ConnectionSource, e as ENSRecords, f as NFTMediaType, g as CrossAppConnectionCache } from './Constants-
|
|
7
|
-
export { i as ExecuteBatchWithAuthorizationSignData, h as ExecuteWithAuthorizationSignData } from './Constants-
|
|
6
|
+
import { P as PrivyLoginMethod, N as NETWORK_TYPE, a as Network, T as TogglePassportCheck, V as VePassportUserStatus, E as EnhancedClause, b as PrivyAppInfo, c as TransactionStatus, d as TransactionStatusErrorType, W as Wallet, S as SmartAccount, C as ConnectionSource, e as ENSRecords, f as NFTMediaType, g as CrossAppConnectionCache } from './Constants-CUrs_fy0.js';
|
|
7
|
+
export { i as ExecuteBatchWithAuthorizationSignData, h as ExecuteWithAuthorizationSignData } from './Constants-CUrs_fy0.js';
|
|
8
8
|
import { WalletSource, LogLevel } from '@vechain/dapp-kit';
|
|
9
9
|
import { WalletConnectOptions } from '@vechain/dapp-kit-react';
|
|
10
10
|
export { WalletButton as DAppKitWalletButton, useConnex, useWallet as useDAppKitWallet, useWalletModal as useDAppKitWalletModal } from '@vechain/dapp-kit-react';
|
|
@@ -652,6 +652,7 @@ type XAppMetadata = {
|
|
|
652
652
|
external_url: string;
|
|
653
653
|
logo: string;
|
|
654
654
|
banner: string;
|
|
655
|
+
logoComponent?: JSX.Element;
|
|
655
656
|
screenshots: string[];
|
|
656
657
|
social_urls: {
|
|
657
658
|
name: string;
|
|
@@ -3028,7 +3029,7 @@ type Token$1 = {
|
|
|
3028
3029
|
price: number;
|
|
3029
3030
|
};
|
|
3030
3031
|
type SendTokenContentProps = {
|
|
3031
|
-
setCurrentContent:
|
|
3032
|
+
setCurrentContent: React__default.Dispatch<React__default.SetStateAction<AccountModalContentTypes>>;
|
|
3032
3033
|
isNavigatingFromMain?: boolean;
|
|
3033
3034
|
preselectedToken?: Token$1;
|
|
3034
3035
|
onBack?: () => void;
|
|
@@ -3158,6 +3159,7 @@ type AppOverviewContentProps = {
|
|
|
3158
3159
|
image: string;
|
|
3159
3160
|
url: string;
|
|
3160
3161
|
description?: string;
|
|
3162
|
+
logoComponent?: JSX.Element;
|
|
3161
3163
|
};
|
|
3162
3164
|
|
|
3163
3165
|
type SuccessfulOperationContentProps$1 = {
|