@matchain/matchid-sdk-react 0.1.53-alpha.2 → 0.1.53-alpha.3
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 +4 -2
- package/dist/assets/icon/index.d.ts +4 -2
- package/dist/assets/icon/index.js +19 -0
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +3 -1
- package/dist/{chunk-LHNKZISB.mjs → chunk-3USZ4ZZY.mjs} +20 -2
- package/dist/chunk-3USZ4ZZY.mjs.map +1 -0
- package/dist/{chunk-W5A6WY7Y.mjs → chunk-3YF3P77J.mjs} +46 -8
- package/dist/chunk-3YF3P77J.mjs.map +1 -0
- package/dist/{chunk-4A2YPGO3.mjs → chunk-4EVF2PXX.mjs} +2 -2
- package/dist/{chunk-MX7N57AH.mjs → chunk-OCQ2AIM3.mjs} +7 -2
- package/dist/{chunk-MX7N57AH.mjs.map → chunk-OCQ2AIM3.mjs.map} +1 -1
- package/dist/{chunk-FB5MHLWX.mjs → chunk-V2S54LGG.mjs} +2 -2
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +403 -346
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +5 -5
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +47 -44
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +5 -5
- package/dist/hooks/index.d.mts +2 -2
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/index.js +175 -172
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +5 -5
- package/dist/{index-K5vXmiRX.d.ts → index-BKHtf1Tu.d.ts} +1 -1
- package/dist/{index-DNJuiNdz.d.mts → index-BSUoL5Jo.d.mts} +2 -2
- package/dist/{index-Df-WlkXq.d.ts → index-BVO4Bt59.d.ts} +2 -2
- package/dist/{index-IwwXQ_QV.d.ts → index-CcN5ls1U.d.ts} +1 -1
- package/dist/{index-BsL6zo6a.d.ts → index-Cul4qlZl.d.ts} +1 -1
- package/dist/{index-yy3VTdFU.d.mts → index-CvVl_Xw1.d.mts} +2 -2
- package/dist/{index-BCGJczpk.d.mts → index-DXRsJY9h.d.mts} +1 -1
- package/dist/{index-Bil_db2f.d.mts → index-DgwlV4ve.d.ts} +1 -1
- package/dist/{index-iWHaT8HV.d.mts → index-DrEKzXYX.d.mts} +1 -1
- package/dist/{index-BS-NO8Y2.d.ts → index-EPwrSSOz.d.mts} +1 -1
- package/dist/{index-CZqdmQu1.d.mts → index-ba3VTkaV.d.mts} +1 -1
- package/dist/{index-B8cUP7cH.d.ts → index-lKJjj0w4.d.ts} +2 -2
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +442 -385
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -12
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-CZbR7ERa.d.mts → types-Bgd3Ac92.d.mts} +1 -1
- package/dist/{types-CZbR7ERa.d.ts → types-Bgd3Ac92.d.ts} +1 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/dist/ui/index.js +62 -59
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/dist/utils/index.d.mts +2 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +6 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +3 -1
- package/example/dist/assets/ccip-nxE3Zma4.js +1 -0
- package/example/dist/assets/index-BFAv3rdU.css +1 -0
- package/example/dist/assets/index-DMWWRDPI.js +1658 -0
- package/example/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/chunk-LHNKZISB.mjs.map +0 -1
- package/dist/chunk-W5A6WY7Y.mjs.map +0 -1
- package/example/dist/assets/TransportWebHID-BEu7tC0r.js +0 -1
- package/example/dist/assets/bignumber-iG7K-qxw.js +0 -10
- package/example/dist/assets/ccip-a6wQ1Vcb.js +0 -1
- package/example/dist/assets/draggabilly-CRYR_S0q.js +0 -14
- package/example/dist/assets/index--dp9m9Ep.js +0 -1
- package/example/dist/assets/index-BDTHolFv.js +0 -569
- package/example/dist/assets/index-BZl59qLb.js +0 -179
- package/example/dist/assets/index-BmMbYNHO.js +0 -303
- package/example/dist/assets/index-C7cxVRDF.js +0 -1677
- package/example/dist/assets/index-CJk171Yb.js +0 -1
- package/example/dist/assets/index-CQiBesAa.js +0 -3
- package/example/dist/assets/index-D62loNA9.js +0 -3
- package/example/dist/assets/index-DqyX3FG6.js +0 -1
- package/example/dist/assets/index-Gy3FXGhr.css +0 -1
- package/example/dist/assets/inherits_browser-BlmhoU4v.js +0 -1
- package/example/dist/assets/solanaEmbed.esm-Djn-u4Vn.js +0 -38
- /package/dist/{chunk-4A2YPGO3.mjs.map → chunk-4EVF2PXX.mjs.map} +0 -0
- /package/dist/{chunk-FB5MHLWX.mjs.map → chunk-V2S54LGG.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
useTransaction,
|
|
13
13
|
useUserInfo,
|
|
14
14
|
useWallet
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-UA6XHZHX.mjs";
|
|
15
|
+
} from "../chunk-3YF3P77J.mjs";
|
|
17
16
|
import {
|
|
18
17
|
useLayout_exports
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-V2S54LGG.mjs";
|
|
19
|
+
import "../chunk-OCQ2AIM3.mjs";
|
|
20
|
+
import "../chunk-3USZ4ZZY.mjs";
|
|
21
|
+
import "../chunk-UA6XHZHX.mjs";
|
|
22
22
|
import "../chunk-J5LGTIGS.mjs";
|
|
23
23
|
export {
|
|
24
24
|
useCopyClipboard,
|
|
@@ -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 {
|
|
3
|
+
import { V as PohZkpassParams, f as UserTransactionType, _ as UserTransactionNextPageParams, a0 as WalletAssetType, S as MetaPageType, z as BindItemType, y as BindInfoType, T as PohItemType, U as UserChainType, h as UserAssetToken, g as UserImportTokenType, a1 as WalletChainType, a2 as WalletNFTType } from './types-Bgd3Ac92.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
|
-
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, j as LoginBoxProps, B as ButtonProps, k as OtherLoginMethodType, R as RecommendLoginMethodType, l as WalletType, P as PopoverPositionType, m as PopoverTypeType, n as LoginPanelProps, o as LoginModalProps, M as ModalWithHeaderProps, i as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-Bgd3Ac92.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-DrEKzXYX.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;
|
|
@@ -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, j as LoginBoxProps, B as ButtonProps, k as OtherLoginMethodType, R as RecommendLoginMethodType, l as WalletType, P as PopoverPositionType, m as PopoverTypeType, n as LoginPanelProps, o as LoginModalProps, M as ModalWithHeaderProps, i as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-Bgd3Ac92.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-Cul4qlZl.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, e as AnyObject, w as AppConfigType, x as AuthParams, y as BindInfoType, z as BindItemType, F as BindWalletParam, B as ButtonProps, C as CEXType, d as ChainType, G as DeepPartial, D as DrawerProps, E as EmailModalProps, J as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, K as IEnvName, N as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, v as IconProps, r as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, Q as MessageType, S as MetaPageType, s as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, T as PohItemType, V as PohZkpassParams, P as PopoverPositionType, t as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, X as RecoveryType, Y as ThemeType, q as UIProps, h as UserAssetToken, U as UserChainType, g as UserImportTokenType, Z as UserPopoverProps, _ as UserTransactionNextPageParams, $ as UserTransactionRecordType, f as UserTransactionType, i as WalletAssetMergeType, a0 as WalletAssetType, a1 as WalletChainType, W as WalletConfigType, a2 as WalletNFTType, p as WalletPanelProps, a3 as WalletReceiveMessageType, l as WalletType, u as useMatchWalletAssetsProps } from './types-Bgd3Ac92.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 { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { r as InputProps, B as ButtonProps, s as ModalProps, M as ModalWithHeaderProps, t as PopoverProps } from './types-Bgd3Ac92.js';
|
|
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-DrEKzXYX.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { D as DrawerProps, p as WalletPanelProps, q as UIProps } from './types-Bgd3Ac92.mjs';
|
|
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, e as AnyObject, w as AppConfigType, x as AuthParams, y as BindInfoType, z as BindItemType, F as BindWalletParam, B as ButtonProps, C as CEXType, d as ChainType, G as DeepPartial, D as DrawerProps, E as EmailModalProps, J as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, K as IEnvName, N as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, v as IconProps, r as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, Q as MessageType, S as MetaPageType, s as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, T as PohItemType, V as PohZkpassParams, P as PopoverPositionType, t as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, X as RecoveryType, Y as ThemeType, q as UIProps, h as UserAssetToken, U as UserChainType, g as UserImportTokenType, Z as UserPopoverProps, _ as UserTransactionNextPageParams, $ as UserTransactionRecordType, f as UserTransactionType, i as WalletAssetMergeType, a0 as WalletAssetType, a1 as WalletChainType, W as WalletConfigType, a2 as WalletNFTType, p as WalletPanelProps, a3 as WalletReceiveMessageType, l as WalletType, u as useMatchWalletAssetsProps } from './types-Bgd3Ac92.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 { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, d as ChainType, U as UserChainType, A as Address, H as Hash$1, e as AnyObject, f as UserTransactionType, u as useMatchWalletAssetsProps, g as UserImportTokenType, h as UserAssetToken, i as WalletAssetMergeType } from './types-Bgd3Ac92.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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { r as InputProps, B as ButtonProps, s as ModalProps, M as ModalWithHeaderProps, t as PopoverProps } from './types-Bgd3Ac92.mjs';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, d as ChainType, U as UserChainType, A as Address, H as Hash$1, e as AnyObject, f as UserTransactionType, u as useMatchWalletAssetsProps, g as UserImportTokenType, h as UserAssetToken, i as WalletAssetMergeType } from './types-Bgd3Ac92.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';
|
|
@@ -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 {
|
|
3
|
+
import { V as PohZkpassParams, f as UserTransactionType, _ as UserTransactionNextPageParams, a0 as WalletAssetType, S as MetaPageType, z as BindItemType, y as BindInfoType, T as PohItemType, U as UserChainType, h as UserAssetToken, g as UserImportTokenType, a1 as WalletChainType, a2 as WalletNFTType } from './types-Bgd3Ac92.mjs';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -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-Cul4qlZl.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { D as DrawerProps, p as WalletPanelProps, q as UIProps } from './types-Bgd3Ac92.js';
|
|
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-Bgd3Ac92.mjs';
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-EPwrSSOz.mjs';
|
|
4
|
+
export { i as Components } from './index-BSUoL5Jo.mjs';
|
|
5
|
+
export { i as UI } from './index-CvVl_Xw1.mjs';
|
|
6
|
+
export { i as Api } from './index-ba3VTkaV.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-DXRsJY9h.mjs';
|
|
9
9
|
import '@tanstack/react-query/src/types';
|
|
10
10
|
import 'viem';
|
|
11
11
|
import 'viem/types/misc';
|
|
@@ -13,7 +13,7 @@ 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-DrEKzXYX.mjs';
|
|
17
17
|
|
|
18
18
|
type MatchContextType = {
|
|
19
19
|
appid: string;
|
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-Bgd3Ac92.js';
|
|
3
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-DgwlV4ve.js';
|
|
4
|
+
export { i as Components } from './index-BVO4Bt59.js';
|
|
5
|
+
export { i as UI } from './index-lKJjj0w4.js';
|
|
6
|
+
export { i as Api } from './index-BKHtf1Tu.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-CcN5ls1U.js';
|
|
9
9
|
import '@tanstack/react-query/src/types';
|
|
10
10
|
import 'viem';
|
|
11
11
|
import 'viem/types/misc';
|
|
@@ -13,7 +13,7 @@ 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-Cul4qlZl.js';
|
|
17
17
|
|
|
18
18
|
type MatchContextType = {
|
|
19
19
|
appid: string;
|