@matchain/matchid-sdk-react 0.1.53-alpha.0 → 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-YQHI5BIZ.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-LRJDS2OK.mjs → chunk-W5A6WY7Y.mjs} +229 -416
- 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 +223 -395
- 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 +75 -122
- 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 +253 -313
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-CO1j3Cxc.d.ts → index-B8cUP7cH.d.ts} +2 -2
- package/dist/{index-C29kl7io.d.mts → index-BCGJczpk.d.mts} +1 -1
- package/dist/{index-Bsfb3Ysq.d.mts → index-BS-NO8Y2.d.ts} +3 -3
- package/dist/{index-C7InzeOC.d.ts → index-Bil_db2f.d.mts} +3 -3
- package/dist/{index-BlYHNOxm.d.ts → index-BsL6zo6a.d.ts} +1 -1
- package/dist/{index-CteYYAoN.d.mts → index-CZqdmQu1.d.mts} +1 -1
- package/dist/{index-Ce5JlNJv.d.ts → index-DNJuiNdz.d.mts} +4 -11
- package/dist/{index-0EM3dXJ4.d.mts → index-Df-WlkXq.d.ts} +4 -11
- package/dist/{index-BNNgBoTN.d.ts → index-IwwXQ_QV.d.ts} +1 -1
- package/dist/{index-BoIDCH41.d.ts → index-K5vXmiRX.d.ts} +1 -1
- package/dist/{index-CGx_yc95.d.mts → index-iWHaT8HV.d.mts} +1 -1
- package/dist/{index-CqO8nMTh.d.mts → index-yy3VTdFU.d.mts} +2 -2
- package/dist/index.css +18 -6
- package/dist/index.d.mts +7 -8
- package/dist/index.d.ts +7 -8
- package/dist/index.js +389 -538
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-Cv5UhCIP.d.mts → types-CZbR7ERa.d.mts} +1 -2
- package/dist/{types-Cv5UhCIP.d.ts → types-CZbR7ERa.d.ts} +1 -2
- 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/example/dist/assets/{TransportWebHID-BwG9Tbw2.js → TransportWebHID-BEu7tC0r.js} +1 -1
- package/example/dist/assets/{bignumber-FiRdtNkj.js → bignumber-iG7K-qxw.js} +1 -1
- package/example/dist/assets/{ccip-CJyR03AW.js → ccip-a6wQ1Vcb.js} +1 -1
- package/example/dist/assets/{draggabilly-1Sl0icBA.js → draggabilly-CRYR_S0q.js} +1 -1
- package/example/dist/assets/{index-RIWy1Hg7.js → index--dp9m9Ep.js} +1 -1
- package/example/dist/assets/{index-DATAk5xI.js → index-BDTHolFv.js} +1 -1
- package/example/dist/assets/{index-CcgesoWE.js → index-BZl59qLb.js} +20 -20
- package/example/dist/assets/{index-DxxLiL3_.js → index-BmMbYNHO.js} +3 -3
- package/example/dist/assets/{index-D8N4Z5B5.js → index-C7cxVRDF.js} +71 -71
- package/example/dist/assets/{index-BAfSBdWW.js → index-CJk171Yb.js} +1 -1
- package/example/dist/assets/{index-DN1wW-Mo.js → index-CQiBesAa.js} +1 -1
- package/example/dist/assets/{index-D5RU9xxK.js → index-D62loNA9.js} +1 -1
- package/example/dist/assets/{index-CYk2C9XJ.js → index-DqyX3FG6.js} +1 -1
- package/example/dist/assets/{solanaEmbed.esm-CNS-QKE2.js → solanaEmbed.esm-Djn-u4Vn.js} +1 -1
- package/example/dist/index.html +1 -1
- package/example/package.json +2 -1
- package/example/src/App.tsx +18 -5
- package/example/src/store/useLocalStore.ts +9 -0
- package/package.json +1 -5
- package/dist/chunk-LRJDS2OK.mjs.map +0 -1
- /package/dist/{chunk-YQHI5BIZ.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,
|
|
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 {
|
|
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 {
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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.css
CHANGED
|
@@ -54,6 +54,7 @@ body {
|
|
|
54
54
|
|
|
55
55
|
/**overlay component**/
|
|
56
56
|
--matchid-overlay-index: 9999;
|
|
57
|
+
--matchid-overlay-color: var(--matchid-black);
|
|
57
58
|
/**modal component**/
|
|
58
59
|
--matchid-modal-bg: var(--matchid-white);
|
|
59
60
|
--matchid-modal-shadow: var(--matchid-shadow-full);
|
|
@@ -133,6 +134,12 @@ body {
|
|
|
133
134
|
/**radio**/
|
|
134
135
|
--matchid-radio-line: var(--matchid-gray-300);
|
|
135
136
|
--matchid-radio-checked: var(--matchid-highlight-orange);
|
|
137
|
+
/**matchid-wallet-asset**/
|
|
138
|
+
--matchid-wallet-asset-bg: var(--matchid-white);
|
|
139
|
+
--matchid-wallet-asset-color: var(--matchid-black);
|
|
140
|
+
/**matchid-transaction-list**/
|
|
141
|
+
--matchid-wallet-transaction-bg: var(--matchid-white);
|
|
142
|
+
--matchid-wallet-transaction-color: var(--matchid-black);
|
|
136
143
|
|
|
137
144
|
|
|
138
145
|
}
|
|
@@ -393,7 +400,7 @@ body {
|
|
|
393
400
|
overflow: hidden;
|
|
394
401
|
backdrop-filter: blur(2px);
|
|
395
402
|
background: rgba(0, 0, 0, .3);
|
|
396
|
-
color
|
|
403
|
+
color:var(--matchid-overlay-color);
|
|
397
404
|
@media screen and (max-width: 768px) {
|
|
398
405
|
align-items: center;
|
|
399
406
|
}
|
|
@@ -449,8 +456,8 @@ body {
|
|
|
449
456
|
|
|
450
457
|
.matchid-modal-header-title {
|
|
451
458
|
color: var(--matchid-modal-header-color, #000);
|
|
452
|
-
font-size:
|
|
453
|
-
font-weight:
|
|
459
|
+
font-size: 20px;
|
|
460
|
+
font-weight: 500;
|
|
454
461
|
@media screen and (max-width: 768px) {
|
|
455
462
|
font-size: 16px;
|
|
456
463
|
font-weight: 500;
|
|
@@ -496,7 +503,7 @@ body {
|
|
|
496
503
|
outline: 0;
|
|
497
504
|
color: var(--matchid-input-color);
|
|
498
505
|
font-size: 18px;
|
|
499
|
-
font-weight:
|
|
506
|
+
font-weight: 500;
|
|
500
507
|
background: none;
|
|
501
508
|
min-width: 0;
|
|
502
509
|
@media screen and (max-width: 768px) {
|
|
@@ -553,7 +560,7 @@ body {
|
|
|
553
560
|
.matchid-field-label {
|
|
554
561
|
color: var(--matchid-field-color);
|
|
555
562
|
font-size: 18px;
|
|
556
|
-
font-weight:
|
|
563
|
+
font-weight: 500;
|
|
557
564
|
@media screen and (max-width: 768px) {
|
|
558
565
|
font-size: 14px;
|
|
559
566
|
font-weight: 500;
|
|
@@ -566,7 +573,7 @@ body {
|
|
|
566
573
|
|
|
567
574
|
.matchid-field-error {
|
|
568
575
|
font-size: 14px;
|
|
569
|
-
font-weight:
|
|
576
|
+
font-weight: 400;
|
|
570
577
|
color: var(--matchid-field-error-color);
|
|
571
578
|
}
|
|
572
579
|
}
|
|
@@ -1344,6 +1351,9 @@ body {
|
|
|
1344
1351
|
}
|
|
1345
1352
|
|
|
1346
1353
|
.matchid-wallet-asset-item {
|
|
1354
|
+
|
|
1355
|
+
background:var(--matchid-wallet-asset-bg);
|
|
1356
|
+
color: var(--matchid-wallet-asset-color);
|
|
1347
1357
|
display: flex;
|
|
1348
1358
|
cursor: pointer;
|
|
1349
1359
|
gap: 8px;
|
|
@@ -1830,6 +1840,8 @@ body {
|
|
|
1830
1840
|
border: 1px solid var(--matchid-line);
|
|
1831
1841
|
border-radius: 16px;
|
|
1832
1842
|
height: 78px;
|
|
1843
|
+
background:var(--matchid-wallet-transaction-bg);
|
|
1844
|
+
color: var(--matchid-wallet-transaction-color);
|
|
1833
1845
|
@media screen and (max-width: 768px) {
|
|
1834
1846
|
height: 64px;
|
|
1835
1847
|
}
|
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";
|