@matchain/matchid-sdk-react 0.1.56-alpha.16 → 0.1.56-alpha.17
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/api.d.mts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +152 -87
- package/dist/api.js.map +1 -1
- package/dist/api.mjs +4 -3
- package/dist/chains.mjs +2 -1
- package/dist/chunk-3CR66BEX.mjs +19 -0
- package/dist/chunk-3CR66BEX.mjs.map +1 -0
- package/dist/{chunk-FQ6PYZPD.mjs → chunk-7SUDHG7S.mjs} +1 -1
- package/dist/chunk-7SUDHG7S.mjs.map +1 -0
- package/dist/{chunk-HYQ3T6WW.mjs → chunk-JX73EY6V.mjs} +2 -14
- package/dist/chunk-JX73EY6V.mjs.map +1 -0
- package/dist/{chunk-LADAY3IL.mjs → chunk-ZLTIMO57.mjs} +374 -352
- package/dist/chunk-ZLTIMO57.mjs.map +1 -0
- package/dist/{chunk-O2D3TKRD.mjs → chunk-ZY7EVYXA.mjs} +2 -2
- package/dist/components.d.mts +3 -3
- package/dist/components.d.ts +3 -3
- package/dist/components.js +473 -401
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +3 -2
- package/dist/hooks.d.mts +2 -2
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +172 -109
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +3 -2
- package/dist/icon.d.mts +2 -2
- package/dist/icon.d.ts +2 -2
- package/dist/icon.js.map +1 -1
- package/dist/icon.mjs +1 -1
- package/dist/{index-DCyE39bg.d.mts → index-84CqVi2I.d.mts} +1 -1
- package/dist/{index-BINNnZNA.d.ts → index-B70k4Jpk.d.ts} +1 -2
- package/dist/{index-BIVGhRja.d.mts → index-BJJ0Gb6v.d.mts} +1 -2
- package/dist/{index-BXhXRggh.d.ts → index-BNqdFiOo.d.ts} +1 -1
- package/dist/{index-DGsB7f2H.d.ts → index-BctnHnJp.d.ts} +1 -1
- package/dist/{index-DuCefmJ0.d.mts → index-BqI0PEIi.d.mts} +1 -1
- package/dist/{index-DZpXCByF.d.ts → index-C2hr7zlN.d.ts} +5 -3
- package/dist/{index-CqHlL6ue.d.mts → index-CTHpnEoB.d.mts} +5 -3
- package/dist/{index-De8efmdb.d.mts → index-Car1jFyN.d.mts} +1 -1
- package/dist/{index-CpJtux-G.d.ts → index-CcVHENNv.d.ts} +1 -1
- package/dist/{index-DQYg6bEA.d.ts → index-Cqdz_5bE.d.ts} +2 -2
- package/dist/{index-m2bn_W3Y.d.ts → index-CvzpMw3N.d.ts} +1 -1
- package/dist/{index-CzCkxwOm.d.mts → index-DkijpM5Q.d.mts} +1 -1
- package/dist/{index-BLjGmf9p.d.mts → index-DxHhOW24.d.mts} +2 -2
- package/dist/index.css +1 -1
- package/dist/index.d.mts +42 -38
- package/dist/index.d.ts +42 -38
- package/dist/index.js +255 -235
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -4
- package/dist/{types-C8FLH1yn.d.mts → types-BrVeC0c8.d.mts} +0 -1
- package/dist/{types-C8FLH1yn.d.ts → types-BrVeC0c8.d.ts} +0 -1
- package/dist/types.d.mts +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/ui.d.mts +3 -3
- package/dist/ui.d.ts +3 -3
- package/dist/ui.js +144 -75
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +3 -2
- package/example/package-lock.json +2965 -0
- package/example/package.json +2 -1
- package/example/src/App.tsx +2 -2
- package/example/src/config/index.ts +2 -2
- package/example/src/pages/Home.tsx +15 -15
- package/example/src/pages/Wallet/index.tsx +2 -4
- package/example/src/store/useLocalStore.ts +19 -19
- package/example/yarn.lock +559 -548
- package/package.json +4 -9
- package/dist/chunk-FQ6PYZPD.mjs.map +0 -1
- package/dist/chunk-HYQ3T6WW.mjs.map +0 -1
- package/dist/chunk-LADAY3IL.mjs.map +0 -1
- /package/dist/{chunk-O2D3TKRD.mjs.map → chunk-ZY7EVYXA.mjs.map} +0 -0
package/dist/icon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-
|
|
1
|
+
import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-BrVeC0c8.mjs';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.js';
|
|
2
|
-
import { l as ISocialLoginMethod, m as OverviewInfo, C as CEXType, n as LoginMethodType, I as IMatchEvents, o as ChainType, p as UserChainType, A as Address, H as Hash$1, q as AnyObject, r as UserTransactionType, u as useMatchWalletAssetsProps, s as UserImportTokenType, t as UserAssetToken, g as WalletAssetMergeType } from './types-
|
|
2
|
+
import { l as ISocialLoginMethod, m as OverviewInfo, C as CEXType, n as LoginMethodType, I as IMatchEvents, o as ChainType, p as UserChainType, A as Address, H as Hash$1, q as AnyObject, r as UserTransactionType, u as useMatchWalletAssetsProps, s as UserImportTokenType, t as UserAssetToken, g as WalletAssetMergeType } from './types-BrVeC0c8.js';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { SignableMessage, Hex, TransactionSerializable, Account, WalletClientConfig, createWalletClient, SendTransactionParameters, DeployContractParameters, WriteContractParameters, Chain } from 'viem';
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -92,7 +92,6 @@ declare function useUserInfo(): {
|
|
|
92
92
|
bind: (method: LoginMethodType | "wallet", extra?: {
|
|
93
93
|
[key: string]: any;
|
|
94
94
|
}) => Promise<string | void | Window | null>;
|
|
95
|
-
getBindEmailCode: (email: string) => Promise<string>;
|
|
96
95
|
bindByEmail: ({ email, code }: {
|
|
97
96
|
email: string;
|
|
98
97
|
code: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.mjs';
|
|
2
|
-
import { l as ISocialLoginMethod, m as OverviewInfo, C as CEXType, n as LoginMethodType, I as IMatchEvents, o as ChainType, p as UserChainType, A as Address, H as Hash$1, q as AnyObject, r as UserTransactionType, u as useMatchWalletAssetsProps, s as UserImportTokenType, t as UserAssetToken, g as WalletAssetMergeType } from './types-
|
|
2
|
+
import { l as ISocialLoginMethod, m as OverviewInfo, C as CEXType, n as LoginMethodType, I as IMatchEvents, o as ChainType, p as UserChainType, A as Address, H as Hash$1, q as AnyObject, r as UserTransactionType, u as useMatchWalletAssetsProps, s as UserImportTokenType, t as UserAssetToken, g as WalletAssetMergeType } from './types-BrVeC0c8.mjs';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { SignableMessage, Hex, TransactionSerializable, Account, WalletClientConfig, createWalletClient, SendTransactionParameters, DeployContractParameters, WriteContractParameters, Chain } from 'viem';
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -92,7 +92,6 @@ declare function useUserInfo(): {
|
|
|
92
92
|
bind: (method: LoginMethodType | "wallet", extra?: {
|
|
93
93
|
[key: string]: any;
|
|
94
94
|
}) => Promise<string | void | Window | null>;
|
|
95
|
-
getBindEmailCode: (email: string) => Promise<string>;
|
|
96
95
|
bindByEmail: ({ email, code }: {
|
|
97
96
|
email: string;
|
|
98
97
|
code: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-
|
|
1
|
+
import { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-BrVeC0c8.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 react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { CSSProperties } from 'react';
|
|
3
|
-
import { v as IconProps$1 } from './types-
|
|
3
|
+
import { v as IconProps$1 } from './types-BrVeC0c8.js';
|
|
4
4
|
|
|
5
5
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
6
|
color?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-
|
|
3
|
+
import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-BrVeC0c8.mjs';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,9 +1,11 @@
|
|
|
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-BrVeC0c8.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-CvzpMw3N.js';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
|
-
declare function EmailModal({ isOpen,
|
|
6
|
+
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin, type, }: EmailModalProps & {
|
|
7
|
+
type?: "login" | "bind";
|
|
8
|
+
}): react_jsx_runtime.JSX.Element;
|
|
7
9
|
|
|
8
10
|
declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
|
|
9
11
|
|
|
@@ -1,9 +1,11 @@
|
|
|
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-BrVeC0c8.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-BqI0PEIi.mjs';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
|
|
6
|
-
declare function EmailModal({ isOpen,
|
|
6
|
+
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin, type, }: EmailModalProps & {
|
|
7
|
+
type?: "login" | "bind";
|
|
8
|
+
}): react_jsx_runtime.JSX.Element;
|
|
7
9
|
|
|
8
10
|
declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
|
|
9
11
|
|
|
@@ -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 { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-
|
|
3
|
+
import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-BrVeC0c8.mjs';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.mjs';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -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 { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-
|
|
3
|
+
import { w as PohZkpassParams, r as UserTransactionType, x as UserTransactionNextPageParams, y as WalletAssetType, z as MetaPageType, F as BindItemType, G as BindInfoType, J as PohItemType, p as UserChainType, t as UserAssetToken, s as UserImportTokenType, K as WalletChainType, N as WalletNFTType } from './types-BrVeC0c8.js';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.js';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Button, C as ConfirmModal, 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, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-CvzpMw3N.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-
|
|
3
|
+
import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-BrVeC0c8.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import React__default, { CSSProperties } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-
|
|
3
|
+
import { i as InputProps, B as ButtonProps, j as ModalProps, M as ModalWithHeaderProps, k as PopoverProps } from './types-BrVeC0c8.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 react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default, { CSSProperties } from 'react';
|
|
3
|
-
import { v as IconProps$1 } from './types-
|
|
3
|
+
import { v as IconProps$1 } from './types-BrVeC0c8.mjs';
|
|
4
4
|
|
|
5
5
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
6
|
color?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Button, C as ConfirmModal, 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, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-BqI0PEIi.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-
|
|
3
|
+
import { D as DrawerProps, h as WalletPanelProps, U as UIProps } from './types-BrVeC0c8.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import * as React$1 from 'react';
|
|
6
6
|
import React__default, { CSSProperties } from 'react';
|
package/dist/index.css
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -4,14 +4,14 @@ import * as abitype from 'abitype';
|
|
|
4
4
|
import * as wagmi_chains from 'wagmi/chains';
|
|
5
5
|
import * as viem from 'viem';
|
|
6
6
|
import React__default, { ReactNode } from 'react';
|
|
7
|
-
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-
|
|
8
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
9
|
-
export { i as Components } from './index-
|
|
10
|
-
export { i as UI } from './index-
|
|
11
|
-
export { i as Api } from './index-
|
|
7
|
+
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-BrVeC0c8.mjs';
|
|
8
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-BJJ0Gb6v.mjs';
|
|
9
|
+
export { i as Components } from './index-CTHpnEoB.mjs';
|
|
10
|
+
export { i as UI } from './index-DxHhOW24.mjs';
|
|
11
|
+
export { i as Api } from './index-Car1jFyN.mjs';
|
|
12
12
|
export { i as Chains } from './index-CboftuIp.mjs';
|
|
13
|
-
export { i as Types } from './index-
|
|
14
|
-
export { i as Icon } from './index-
|
|
13
|
+
export { i as Types } from './index-84CqVi2I.mjs';
|
|
14
|
+
export { i as Icon } from './index-DkijpM5Q.mjs';
|
|
15
15
|
export { i as Lottie } from './index-CHgaOUiW.mjs';
|
|
16
16
|
import '@tanstack/react-query/src/types';
|
|
17
17
|
import './request-B0CyrGFT.mjs';
|
|
@@ -20,7 +20,7 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import 'viem/_types/utils/ccip';
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
|
-
import './index-
|
|
23
|
+
import './index-BqI0PEIi.mjs';
|
|
24
24
|
|
|
25
25
|
declare const wagmiConfig: wagmi.Config<[{
|
|
26
26
|
blockExplorers: {
|
|
@@ -739,24 +739,21 @@ declare const wagmiConfig: wagmi.Config<[{
|
|
|
739
739
|
}, {
|
|
740
740
|
blockExplorers: {
|
|
741
741
|
readonly default: {
|
|
742
|
-
readonly name: "
|
|
743
|
-
readonly url: "https://matchscan.io";
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
multicall3?: viem.ChainContract | undefined;
|
|
753
|
-
universalSignatureVerifier?: viem.ChainContract | undefined;
|
|
754
|
-
} | undefined;
|
|
742
|
+
readonly name: "Matchscan";
|
|
743
|
+
readonly url: "https://matchscan.io/";
|
|
744
|
+
readonly apiUrl: "https://matchscan.io/api";
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
contracts: {
|
|
748
|
+
readonly multicall3: {
|
|
749
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
750
|
+
};
|
|
751
|
+
};
|
|
755
752
|
ensTlds?: readonly string[] | undefined;
|
|
756
753
|
id: 698;
|
|
757
754
|
name: "Matchain";
|
|
758
755
|
nativeCurrency: {
|
|
759
|
-
readonly name: "
|
|
756
|
+
readonly name: "Match Coin";
|
|
760
757
|
readonly symbol: "BNB";
|
|
761
758
|
readonly decimals: 18;
|
|
762
759
|
};
|
|
@@ -771,27 +768,33 @@ declare const wagmiConfig: wagmi.Config<[{
|
|
|
771
768
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
772
769
|
formatters?: undefined;
|
|
773
770
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
771
|
+
readonly iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png";
|
|
774
772
|
}, {
|
|
775
773
|
blockExplorers: {
|
|
776
774
|
readonly default: {
|
|
777
|
-
readonly name: "
|
|
778
|
-
readonly url: "https://testnet.matchscan.io";
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
775
|
+
readonly name: "Matchscan";
|
|
776
|
+
readonly url: "https://testnet.matchscan.io/";
|
|
777
|
+
readonly apiUrl: "https://testnet.matchscan.io/api";
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
contracts: {
|
|
781
|
+
readonly multicall3: {
|
|
782
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
783
|
+
readonly blockCreated: 751532;
|
|
784
|
+
};
|
|
785
|
+
readonly ensRegistry: {
|
|
786
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
787
|
+
};
|
|
788
|
+
readonly ensUniversalResolver: {
|
|
789
|
+
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
|
|
790
|
+
readonly blockCreated: 5317080;
|
|
791
|
+
};
|
|
792
|
+
};
|
|
790
793
|
ensTlds?: readonly string[] | undefined;
|
|
791
794
|
id: 699;
|
|
792
|
-
name: "
|
|
795
|
+
name: "MatchTest";
|
|
793
796
|
nativeCurrency: {
|
|
794
|
-
readonly name: "
|
|
797
|
+
readonly name: "Match Coin";
|
|
795
798
|
readonly symbol: "BNB";
|
|
796
799
|
readonly decimals: 18;
|
|
797
800
|
};
|
|
@@ -801,11 +804,12 @@ declare const wagmiConfig: wagmi.Config<[{
|
|
|
801
804
|
};
|
|
802
805
|
};
|
|
803
806
|
sourceId?: number | undefined | undefined;
|
|
804
|
-
testnet
|
|
807
|
+
testnet?: boolean | undefined | undefined;
|
|
805
808
|
custom?: Record<string, unknown> | undefined;
|
|
806
809
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
807
810
|
formatters?: undefined;
|
|
808
811
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
812
|
+
readonly iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png";
|
|
809
813
|
}, {
|
|
810
814
|
blockExplorers: {
|
|
811
815
|
readonly default: {
|
package/dist/index.d.ts
CHANGED
|
@@ -4,14 +4,14 @@ import * as abitype from 'abitype';
|
|
|
4
4
|
import * as wagmi_chains from 'wagmi/chains';
|
|
5
5
|
import * as viem from 'viem';
|
|
6
6
|
import React__default, { ReactNode } from 'react';
|
|
7
|
-
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-
|
|
8
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
9
|
-
export { i as Components } from './index-
|
|
10
|
-
export { i as UI } from './index-
|
|
11
|
-
export { i as Api } from './index-
|
|
7
|
+
import { I as IMatchEvents, L as LocaleType, a as IEnvConfigType, W as WalletConfigType } from './types-BrVeC0c8.js';
|
|
8
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-B70k4Jpk.js';
|
|
9
|
+
export { i as Components } from './index-C2hr7zlN.js';
|
|
10
|
+
export { i as UI } from './index-Cqdz_5bE.js';
|
|
11
|
+
export { i as Api } from './index-CcVHENNv.js';
|
|
12
12
|
export { i as Chains } from './index-CboftuIp.js';
|
|
13
|
-
export { i as Types } from './index-
|
|
14
|
-
export { i as Icon } from './index-
|
|
13
|
+
export { i as Types } from './index-BNqdFiOo.js';
|
|
14
|
+
export { i as Icon } from './index-BctnHnJp.js';
|
|
15
15
|
export { i as Lottie } from './index-CHgaOUiW.js';
|
|
16
16
|
import '@tanstack/react-query/src/types';
|
|
17
17
|
import './request-B0CyrGFT.js';
|
|
@@ -20,7 +20,7 @@ import 'react/jsx-runtime';
|
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import 'viem/_types/utils/ccip';
|
|
22
22
|
import '@tanstack/react-query';
|
|
23
|
-
import './index-
|
|
23
|
+
import './index-CvzpMw3N.js';
|
|
24
24
|
|
|
25
25
|
declare const wagmiConfig: wagmi.Config<[{
|
|
26
26
|
blockExplorers: {
|
|
@@ -739,24 +739,21 @@ declare const wagmiConfig: wagmi.Config<[{
|
|
|
739
739
|
}, {
|
|
740
740
|
blockExplorers: {
|
|
741
741
|
readonly default: {
|
|
742
|
-
readonly name: "
|
|
743
|
-
readonly url: "https://matchscan.io";
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
multicall3?: viem.ChainContract | undefined;
|
|
753
|
-
universalSignatureVerifier?: viem.ChainContract | undefined;
|
|
754
|
-
} | undefined;
|
|
742
|
+
readonly name: "Matchscan";
|
|
743
|
+
readonly url: "https://matchscan.io/";
|
|
744
|
+
readonly apiUrl: "https://matchscan.io/api";
|
|
745
|
+
};
|
|
746
|
+
};
|
|
747
|
+
contracts: {
|
|
748
|
+
readonly multicall3: {
|
|
749
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
750
|
+
};
|
|
751
|
+
};
|
|
755
752
|
ensTlds?: readonly string[] | undefined;
|
|
756
753
|
id: 698;
|
|
757
754
|
name: "Matchain";
|
|
758
755
|
nativeCurrency: {
|
|
759
|
-
readonly name: "
|
|
756
|
+
readonly name: "Match Coin";
|
|
760
757
|
readonly symbol: "BNB";
|
|
761
758
|
readonly decimals: 18;
|
|
762
759
|
};
|
|
@@ -771,27 +768,33 @@ declare const wagmiConfig: wagmi.Config<[{
|
|
|
771
768
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
772
769
|
formatters?: undefined;
|
|
773
770
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
771
|
+
readonly iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png";
|
|
774
772
|
}, {
|
|
775
773
|
blockExplorers: {
|
|
776
774
|
readonly default: {
|
|
777
|
-
readonly name: "
|
|
778
|
-
readonly url: "https://testnet.matchscan.io";
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
775
|
+
readonly name: "Matchscan";
|
|
776
|
+
readonly url: "https://testnet.matchscan.io/";
|
|
777
|
+
readonly apiUrl: "https://testnet.matchscan.io/api";
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
contracts: {
|
|
781
|
+
readonly multicall3: {
|
|
782
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
|
783
|
+
readonly blockCreated: 751532;
|
|
784
|
+
};
|
|
785
|
+
readonly ensRegistry: {
|
|
786
|
+
readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
|
|
787
|
+
};
|
|
788
|
+
readonly ensUniversalResolver: {
|
|
789
|
+
readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
|
|
790
|
+
readonly blockCreated: 5317080;
|
|
791
|
+
};
|
|
792
|
+
};
|
|
790
793
|
ensTlds?: readonly string[] | undefined;
|
|
791
794
|
id: 699;
|
|
792
|
-
name: "
|
|
795
|
+
name: "MatchTest";
|
|
793
796
|
nativeCurrency: {
|
|
794
|
-
readonly name: "
|
|
797
|
+
readonly name: "Match Coin";
|
|
795
798
|
readonly symbol: "BNB";
|
|
796
799
|
readonly decimals: 18;
|
|
797
800
|
};
|
|
@@ -801,11 +804,12 @@ declare const wagmiConfig: wagmi.Config<[{
|
|
|
801
804
|
};
|
|
802
805
|
};
|
|
803
806
|
sourceId?: number | undefined | undefined;
|
|
804
|
-
testnet
|
|
807
|
+
testnet?: boolean | undefined | undefined;
|
|
805
808
|
custom?: Record<string, unknown> | undefined;
|
|
806
809
|
fees?: viem.ChainFees<undefined> | undefined;
|
|
807
810
|
formatters?: undefined;
|
|
808
811
|
serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
|
|
812
|
+
readonly iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png";
|
|
809
813
|
}, {
|
|
810
814
|
blockExplorers: {
|
|
811
815
|
readonly default: {
|