@matchain/matchid-sdk-react 0.1.53-alpha.1 → 0.1.53-alpha.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/assets/icon/index.d.mts +1 -1
- package/dist/assets/icon/index.d.ts +1 -1
- package/dist/{chunk-6QTW3KXN.mjs → chunk-4A2YPGO3.mjs} +2 -2
- package/dist/{chunk-HLUFAIFV.mjs → chunk-MX7N57AH.mjs} +1 -1
- package/dist/{chunk-HLUFAIFV.mjs.map → chunk-MX7N57AH.mjs.map} +1 -1
- package/dist/{chunk-2DVC6WCN.mjs → chunk-W5A6WY7Y.mjs} +228 -415
- package/dist/chunk-W5A6WY7Y.mjs.map +1 -0
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +222 -394
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -4
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +74 -121
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +3 -3
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +252 -312
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-DMUZQqNB.d.ts → index-B8cUP7cH.d.ts} +2 -2
- package/dist/{index-Bmir-Wor.d.mts → index-BCGJczpk.d.mts} +1 -1
- package/dist/{index-B-QfwtE5.d.mts → index-BS-NO8Y2.d.ts} +3 -3
- package/dist/{index-X_fw5wX_.d.ts → index-Bil_db2f.d.mts} +3 -3
- package/dist/{index-BUj9mOrS.d.ts → index-BsL6zo6a.d.ts} +1 -1
- package/dist/{index-CDqIk5k2.d.mts → index-CZqdmQu1.d.mts} +1 -1
- package/dist/{index-BDoEk1EK.d.ts → index-DNJuiNdz.d.mts} +4 -11
- package/dist/{index-XzSw1Bym.d.mts → index-Df-WlkXq.d.ts} +4 -11
- package/dist/{index-k2Uf0F94.d.ts → index-IwwXQ_QV.d.ts} +1 -1
- package/dist/{index-DvM6x6e6.d.ts → index-K5vXmiRX.d.ts} +1 -1
- package/dist/{index-B_o9HBS1.d.mts → index-iWHaT8HV.d.mts} +1 -1
- package/dist/{index-D5OzNRfu.d.mts → index-yy3VTdFU.d.mts} +2 -2
- package/dist/index.d.mts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +388 -537
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-Dd_ExpLx.d.mts → types-CZbR7ERa.d.mts} +0 -1
- package/dist/{types-Dd_ExpLx.d.ts → types-CZbR7ERa.d.ts} +0 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +1 -1
- package/package.json +1 -5
- package/dist/chunk-2DVC6WCN.mjs.map +0 -1
- /package/dist/{chunk-6QTW3KXN.mjs.map → chunk-4A2YPGO3.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
useTransaction,
|
|
13
13
|
useUserInfo,
|
|
14
14
|
useWallet
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-W5A6WY7Y.mjs";
|
|
16
16
|
import "../chunk-UA6XHZHX.mjs";
|
|
17
|
-
import "../chunk-HLUFAIFV.mjs";
|
|
18
17
|
import {
|
|
19
18
|
useLayout_exports
|
|
20
19
|
} from "../chunk-FB5MHLWX.mjs";
|
|
20
|
+
import "../chunk-MX7N57AH.mjs";
|
|
21
21
|
import "../chunk-LHNKZISB.mjs";
|
|
22
22
|
import "../chunk-J5LGTIGS.mjs";
|
|
23
23
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
1
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-BsL6zo6a.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-
|
|
3
|
+
import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-CZbR7ERa.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import { CSSProperties } from 'react';
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial, v as DrawerProps, E as EmailModalProps, w as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, x as IEnvName, y as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-
|
|
1
|
+
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial, v as DrawerProps, E as EmailModalProps, w as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, x as IEnvName, y as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-CZbR7ERa.mjs';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-
|
|
1
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-CZbR7ERa.js';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
4
4
|
import { Hash } from 'viem/types/misc';
|
|
@@ -85,10 +85,10 @@ declare function useUserInfo(): {
|
|
|
85
85
|
auth: () => Promise<any>;
|
|
86
86
|
login: (method: LoginMethodType | "wallet", extra?: {
|
|
87
87
|
[key: string]: any;
|
|
88
|
-
}) => Promise<void | Window | null>;
|
|
88
|
+
}) => Promise<string | void | Window | null>;
|
|
89
89
|
bind: (method: LoginMethodType | "wallet", extra?: {
|
|
90
90
|
[key: string]: any;
|
|
91
|
-
}) => Promise<void | Window | null>;
|
|
91
|
+
}) => Promise<string | void | Window | null>;
|
|
92
92
|
getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
|
|
93
93
|
};
|
|
94
94
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-
|
|
1
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-CZbR7ERa.mjs';
|
|
2
2
|
import * as viem from 'viem';
|
|
3
3
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
4
4
|
import { Hash } from 'viem/types/misc';
|
|
@@ -85,10 +85,10 @@ declare function useUserInfo(): {
|
|
|
85
85
|
auth: () => Promise<any>;
|
|
86
86
|
login: (method: LoginMethodType | "wallet", extra?: {
|
|
87
87
|
[key: string]: any;
|
|
88
|
-
}) => Promise<void | Window | null>;
|
|
88
|
+
}) => Promise<string | void | Window | null>;
|
|
89
89
|
bind: (method: LoginMethodType | "wallet", extra?: {
|
|
90
90
|
[key: string]: any;
|
|
91
|
-
}) => Promise<void | Window | null>;
|
|
91
|
+
}) => Promise<string | void | Window | null>;
|
|
92
92
|
getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
|
|
93
93
|
};
|
|
94
94
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-
|
|
3
|
+
import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-CZbR7ERa.js';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import { Q as PohZkpassParams, m as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-
|
|
3
|
+
import { Q as PohZkpassParams, m as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-CZbR7ERa.mjs';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-
|
|
3
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
2
|
+
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-CZbR7ERa.mjs';
|
|
3
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-iWHaT8HV.mjs';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -26,12 +26,6 @@ declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWith
|
|
|
26
26
|
onSuccess?: () => void;
|
|
27
27
|
}): react_jsx_runtime.JSX.Element;
|
|
28
28
|
|
|
29
|
-
type SOLModalProps = ModalWithHeaderProps & {
|
|
30
|
-
type?: 'login' | 'bind' | '';
|
|
31
|
-
onSuccess?: () => void;
|
|
32
|
-
};
|
|
33
|
-
declare function SOLModal(props: SOLModalProps): false | react_jsx_runtime.JSX.Element;
|
|
34
|
-
|
|
35
29
|
type TRONConnectModalProps = ModalWithHeaderProps & {
|
|
36
30
|
type?: 'login' | 'bind' | '';
|
|
37
31
|
onSuccess?: () => void;
|
|
@@ -94,7 +88,6 @@ declare const index_Modal: typeof Modal;
|
|
|
94
88
|
declare const index_ModalWithHeader: typeof ModalWithHeader;
|
|
95
89
|
declare const index_Overlay: typeof Overlay;
|
|
96
90
|
declare const index_Popover: typeof Popover;
|
|
97
|
-
declare const index_SOLModal: typeof SOLModal;
|
|
98
91
|
declare const index_TONModal: typeof TONModal;
|
|
99
92
|
declare const index_TRONModal: typeof TRONModal;
|
|
100
93
|
declare const index_TokenDetail: typeof TokenDetail;
|
|
@@ -105,7 +98,7 @@ declare const index_UsernameModal: typeof UsernameModal;
|
|
|
105
98
|
declare const index_WalletAsset: typeof WalletAsset;
|
|
106
99
|
declare const index_WalletModal: typeof WalletModal;
|
|
107
100
|
declare namespace index {
|
|
108
|
-
export { index_BTCModal as BTCModal, index_Button as Button, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover,
|
|
101
|
+
export { index_BTCModal as BTCModal, index_Button as Button, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
|
|
109
102
|
}
|
|
110
103
|
|
|
111
|
-
export { BTCModal as B, EmailModal as E, LoginBox as L,
|
|
104
|
+
export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, TONModal as d, WalletAsset as e, TokenDetail as f, TokenSend as g, TokenSendList as h, index as i, TransactionList as j };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-
|
|
3
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
2
|
+
import { E as EmailModalProps, b as LoginBoxProps, B as ButtonProps, O as OtherLoginMethodType, R as RecommendLoginMethodType, c as WalletType, P as PopoverPositionType, d as PopoverTypeType, e as LoginPanelProps, f as LoginModalProps, M as ModalWithHeaderProps, g as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-CZbR7ERa.js';
|
|
3
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-BsL6zo6a.js';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
@@ -26,12 +26,6 @@ declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWith
|
|
|
26
26
|
onSuccess?: () => void;
|
|
27
27
|
}): react_jsx_runtime.JSX.Element;
|
|
28
28
|
|
|
29
|
-
type SOLModalProps = ModalWithHeaderProps & {
|
|
30
|
-
type?: 'login' | 'bind' | '';
|
|
31
|
-
onSuccess?: () => void;
|
|
32
|
-
};
|
|
33
|
-
declare function SOLModal(props: SOLModalProps): false | react_jsx_runtime.JSX.Element;
|
|
34
|
-
|
|
35
29
|
type TRONConnectModalProps = ModalWithHeaderProps & {
|
|
36
30
|
type?: 'login' | 'bind' | '';
|
|
37
31
|
onSuccess?: () => void;
|
|
@@ -94,7 +88,6 @@ declare const index_Modal: typeof Modal;
|
|
|
94
88
|
declare const index_ModalWithHeader: typeof ModalWithHeader;
|
|
95
89
|
declare const index_Overlay: typeof Overlay;
|
|
96
90
|
declare const index_Popover: typeof Popover;
|
|
97
|
-
declare const index_SOLModal: typeof SOLModal;
|
|
98
91
|
declare const index_TONModal: typeof TONModal;
|
|
99
92
|
declare const index_TRONModal: typeof TRONModal;
|
|
100
93
|
declare const index_TokenDetail: typeof TokenDetail;
|
|
@@ -105,7 +98,7 @@ declare const index_UsernameModal: typeof UsernameModal;
|
|
|
105
98
|
declare const index_WalletAsset: typeof WalletAsset;
|
|
106
99
|
declare const index_WalletModal: typeof WalletModal;
|
|
107
100
|
declare namespace index {
|
|
108
|
-
export { index_BTCModal as BTCModal, index_Button as Button, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover,
|
|
101
|
+
export { index_BTCModal as BTCModal, index_Button as Button, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
|
|
109
102
|
}
|
|
110
103
|
|
|
111
|
-
export { BTCModal as B, EmailModal as E, LoginBox as L,
|
|
104
|
+
export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, TONModal as d, WalletAsset as e, TokenDetail as f, TokenSend as g, TokenSendList as h, index as i, TransactionList as j };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial, v as DrawerProps, E as EmailModalProps, w as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, x as IEnvName, y as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-
|
|
1
|
+
import { A as Address, l as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, k as ChainType, D as DeepPartial, v as DrawerProps, E as EmailModalProps, w as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, x as IEnvName, y as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, b as LoginBoxProps, j as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, o as UserAssetToken, U as UserChainType, n as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, m as UserTransactionType, g as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, c as WalletType, u as useMatchWalletAssetsProps } from './types-CZbR7ERa.js';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import { Q as PohZkpassParams, m as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-
|
|
3
|
+
import { Q as PohZkpassParams, m as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, o as UserAssetToken, n as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-CZbR7ERa.js';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-
|
|
3
|
+
import { F as InputProps, B as ButtonProps, K as ModalProps, M as ModalWithHeaderProps, S as PopoverProps } from './types-CZbR7ERa.mjs';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-
|
|
1
|
+
import { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-iWHaT8HV.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-
|
|
3
|
+
import { v as DrawerProps, a2 as WalletPanelProps, X as UIProps } from './types-CZbR7ERa.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import { CSSProperties } from 'react';
|
|
6
6
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
4
|
-
export { i as Components } from './index-
|
|
5
|
-
export { i as UI } from './index-
|
|
6
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-CZbR7ERa.mjs';
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-Bil_db2f.mjs';
|
|
4
|
+
export { i as Components } from './index-DNJuiNdz.mjs';
|
|
5
|
+
export { i as UI } from './index-yy3VTdFU.mjs';
|
|
6
|
+
export { i as Api } from './index-CZqdmQu1.mjs';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
8
|
-
export { i as Types } from './index-
|
|
8
|
+
export { i as Types } from './index-BCGJczpk.mjs';
|
|
9
9
|
import '@tanstack/react-query/src/types';
|
|
10
10
|
import 'viem';
|
|
11
11
|
import 'viem/types/misc';
|
|
@@ -13,13 +13,12 @@ import 'abitype';
|
|
|
13
13
|
import 'react/jsx-runtime';
|
|
14
14
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-iWHaT8HV.mjs';
|
|
17
17
|
|
|
18
18
|
type MatchContextType = {
|
|
19
19
|
appid: string;
|
|
20
20
|
events?: IMatchEvents;
|
|
21
21
|
login: (data: {
|
|
22
|
-
mid: string;
|
|
23
22
|
token: string;
|
|
24
23
|
}) => Promise<void>;
|
|
25
24
|
theme: "light" | "dark";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
3
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
4
|
-
export { i as Components } from './index-
|
|
5
|
-
export { i as UI } from './index-
|
|
6
|
-
export { i as Api } from './index-
|
|
2
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-CZbR7ERa.js';
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-BS-NO8Y2.js';
|
|
4
|
+
export { i as Components } from './index-Df-WlkXq.js';
|
|
5
|
+
export { i as UI } from './index-B8cUP7cH.js';
|
|
6
|
+
export { i as Api } from './index-K5vXmiRX.js';
|
|
7
7
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
8
|
-
export { i as Types } from './index-
|
|
8
|
+
export { i as Types } from './index-IwwXQ_QV.js';
|
|
9
9
|
import '@tanstack/react-query/src/types';
|
|
10
10
|
import 'viem';
|
|
11
11
|
import 'viem/types/misc';
|
|
@@ -13,13 +13,12 @@ import 'abitype';
|
|
|
13
13
|
import 'react/jsx-runtime';
|
|
14
14
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
15
15
|
import '@tanstack/react-query';
|
|
16
|
-
import './index-
|
|
16
|
+
import './index-BsL6zo6a.js';
|
|
17
17
|
|
|
18
18
|
type MatchContextType = {
|
|
19
19
|
appid: string;
|
|
20
20
|
events?: IMatchEvents;
|
|
21
21
|
login: (data: {
|
|
22
|
-
mid: string;
|
|
23
22
|
token: string;
|
|
24
23
|
}) => Promise<void>;
|
|
25
24
|
theme: "light" | "dark";
|