@matchain/matchid-sdk-react 0.1.48-alpha.21 → 0.1.48-alpha.23
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-WXPVHKGJ.mjs → chunk-FB5MHLWX.mjs} +3 -1
- package/dist/{chunk-CHWBALAC.mjs → chunk-FYW4P7HS.mjs} +607 -577
- package/dist/chunk-FYW4P7HS.mjs.map +1 -0
- package/dist/{chunk-IV4F5SHJ.mjs → chunk-SB54XHCJ.mjs} +2 -2
- package/dist/components/index.d.mts +3 -3
- package/dist/components/index.d.ts +3 -3
- package/dist/components/index.js +450 -461
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +3 -3
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- package/dist/hooks/api/index.js +38 -29
- 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 +130 -147
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +3 -3
- package/dist/{index-C9qYyRgt.d.mts → index-B4gKj0ro.d.mts} +2 -2
- package/dist/{index-Bpmrd7mh.d.ts → index-BFSCCmlU.d.ts} +1 -1
- package/dist/{index-Cy3K-Yao.d.ts → index-BHXlpUg5.d.ts} +1 -1
- package/dist/{index-Dhtyz0pT.d.mts → index-BObJQar4.d.mts} +2 -1
- package/dist/{index-BcEreCxd.d.ts → index-BOsoQSmx.d.ts} +1 -1
- package/dist/{index-C9F6f2iz.d.mts → index-Bk_dqXKp.d.mts} +2 -2
- package/dist/{index-BMsj8hJv.d.ts → index-CN2jy6bb.d.ts} +2 -2
- package/dist/{index-CFKZWJVt.d.ts → index-CSTyna62.d.ts} +2 -1
- package/dist/{index-BMfaixEx.d.mts → index-Ca30Hgn7.d.mts} +1 -1
- package/dist/{index-Cou96DpL.d.mts → index-CdM22eod.d.mts} +1 -1
- package/dist/{index-D4ju2J_e.d.mts → index-D3GBq1P1.d.mts} +1 -1
- package/dist/{index-Bvc8cjpN.d.ts → index-DTYp8DRd.d.ts} +2 -2
- package/dist/index.css +33 -0
- package/dist/index.d.mts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +261 -233
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -10
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-DzVVzMYU.d.mts → types-Dc15ure7.d.mts} +1 -1
- package/dist/{types-DzVVzMYU.d.ts → types-Dc15ure7.d.ts} +1 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/dist/ui/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-CHWBALAC.mjs.map +0 -1
- /package/dist/{chunk-WXPVHKGJ.mjs.map → chunk-FB5MHLWX.mjs.map} +0 -0
- /package/dist/{chunk-IV4F5SHJ.mjs.map → chunk-SB54XHCJ.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-FYW4P7HS.mjs";
|
|
16
16
|
import "../chunk-UA6XHZHX.mjs";
|
|
17
|
+
import "../chunk-5JHHHLG4.mjs";
|
|
17
18
|
import {
|
|
18
19
|
useLayout_exports
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-5JHHHLG4.mjs";
|
|
20
|
+
} from "../chunk-FB5MHLWX.mjs";
|
|
21
21
|
import "../chunk-LHNKZISB.mjs";
|
|
22
22
|
import "../chunk-J5LGTIGS.mjs";
|
|
23
23
|
export {
|
|
@@ -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, i as LoginBoxProps, B as ButtonProps, j as OtherLoginMethodType, R as RecommendLoginMethodType, k as WalletType, P as PopoverPositionType, l as PopoverTypeType, m as LoginPanelProps, n as LoginModalProps, M as ModalWithHeaderProps, h as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-Dc15ure7.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-CdM22eod.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,5 +1,5 @@
|
|
|
1
1
|
import { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from './mpc-CTbBWHld.js';
|
|
2
|
-
import { A as Address,
|
|
2
|
+
import { A as Address, d as AnyObject, o as AppConfigType, p as BindInfoType, q as BindItemType, r as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, s as DrawerProps, E as EmailModalProps, H as Hash, a as IEnvConfigType, t as IEnvName, v as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, w as IconProps, x as InputProps, L as LocaleType, i as LoginBoxProps, c as LoginMethodType, n as LoginModalProps, m as LoginPanelProps, y as MessageType, z as MetaPageType, F as ModalProps, M as ModalWithHeaderProps, j as OtherLoginMethodType, O as OverviewInfo, G as PohItemType, J as PohZkpassParams, P as PopoverPositionType, K as PopoverProps, l as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, N as UIProps, g as UserAssetToken, U as UserChainType, f as UserImportTokenType, Q as UserPopoverProps, S as UserTransactionNextPageParams, V as UserTransactionRecordType, e as UserTransactionType, h as WalletAssetMergeType, X as WalletAssetType, Y as WalletChainType, W as WalletConfigType, Z as WalletNFTType, _ as WalletPanelProps, $ as WalletReceiveMessageType, k as WalletType, u as useMatchWalletAssetsProps } from './types-Dc15ure7.js';
|
|
3
3
|
|
|
4
4
|
declare const index_Address: typeof Address;
|
|
5
5
|
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 { J as PohZkpassParams,
|
|
3
|
+
import { J as PohZkpassParams, e as UserTransactionType, S as UserTransactionNextPageParams, X as WalletAssetType, z as MetaPageType, q as BindItemType, p as BindInfoType, G as PohItemType, U as UserChainType, g as UserAssetToken, f as UserImportTokenType, Y as WalletChainType, Z as WalletNFTType } from './types-Dc15ure7.js';
|
|
4
4
|
|
|
5
5
|
declare const isSuccess: (res: {
|
|
6
6
|
code: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, U as UserChainType, A as Address, H as Hash$1, d as AnyObject, e as UserTransactionType, u as useMatchWalletAssetsProps, f as UserImportTokenType, g as UserAssetToken, h as WalletAssetMergeType } from './types-Dc15ure7.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 { C as ChainType } from './mpc-CTbBWHld.mjs';
|
|
@@ -3256,6 +3256,7 @@ declare function useMatchWalletAssetList({ list }: {
|
|
|
3256
3256
|
}): {
|
|
3257
3257
|
list: WalletAssetMergeType[];
|
|
3258
3258
|
isLoading: boolean;
|
|
3259
|
+
isFetched: boolean;
|
|
3259
3260
|
nativeBalance: bigint | null | undefined;
|
|
3260
3261
|
erc20Balances: ({
|
|
3261
3262
|
error?: undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
3
|
-
import { x as InputProps, B as ButtonProps, F as ModalProps, M as ModalWithHeaderProps, K as PopoverProps } from './types-
|
|
3
|
+
import { x as InputProps, B as ButtonProps, F as ModalProps, M as ModalWithHeaderProps, K as PopoverProps } from './types-Dc15ure7.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-CdM22eod.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { s as DrawerProps, _ as WalletPanelProps, N as UIProps } from './types-
|
|
3
|
+
import { s as DrawerProps, _ as WalletPanelProps, N as UIProps } from './types-Dc15ure7.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import { CSSProperties } from 'react';
|
|
6
6
|
|
|
@@ -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-BOsoQSmx.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import { s as DrawerProps, _ as WalletPanelProps, N as UIProps } from './types-
|
|
3
|
+
import { s as DrawerProps, _ as WalletPanelProps, N as UIProps } from './types-Dc15ure7.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import { CSSProperties } from 'react';
|
|
6
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as ISocialLoginMethod, O as OverviewInfo, C as CEXType, c as LoginMethodType, I as IMatchEvents, U as UserChainType, A as Address, H as Hash$1, d as AnyObject, e as UserTransactionType, u as useMatchWalletAssetsProps, f as UserImportTokenType, g as UserAssetToken, h as WalletAssetMergeType } from './types-Dc15ure7.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 { C as ChainType } from './mpc-CTbBWHld.js';
|
|
@@ -3256,6 +3256,7 @@ declare function useMatchWalletAssetList({ list }: {
|
|
|
3256
3256
|
}): {
|
|
3257
3257
|
list: WalletAssetMergeType[];
|
|
3258
3258
|
isLoading: boolean;
|
|
3259
|
+
isFetched: boolean;
|
|
3259
3260
|
nativeBalance: bigint | null | undefined;
|
|
3260
3261
|
erc20Balances: ({
|
|
3261
3262
|
error?: undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from './mpc-CTbBWHld.mjs';
|
|
2
|
-
import { A as Address,
|
|
2
|
+
import { A as Address, d as AnyObject, o as AppConfigType, p as BindInfoType, q as BindItemType, r as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, s as DrawerProps, E as EmailModalProps, H as Hash, a as IEnvConfigType, t as IEnvName, v as ILoginWalletReq, I as IMatchEvents, b as ISocialLoginMethod, w as IconProps, x as InputProps, L as LocaleType, i as LoginBoxProps, c as LoginMethodType, n as LoginModalProps, m as LoginPanelProps, y as MessageType, z as MetaPageType, F as ModalProps, M as ModalWithHeaderProps, j as OtherLoginMethodType, O as OverviewInfo, G as PohItemType, J as PohZkpassParams, P as PopoverPositionType, K as PopoverProps, l as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, N as UIProps, g as UserAssetToken, U as UserChainType, f as UserImportTokenType, Q as UserPopoverProps, S as UserTransactionNextPageParams, V as UserTransactionRecordType, e as UserTransactionType, h as WalletAssetMergeType, X as WalletAssetType, Y as WalletChainType, W as WalletConfigType, Z as WalletNFTType, _ as WalletPanelProps, $ as WalletReceiveMessageType, k as WalletType, u as useMatchWalletAssetsProps } from './types-Dc15ure7.mjs';
|
|
3
3
|
|
|
4
4
|
declare const index_Address: typeof Address;
|
|
5
5
|
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 { x as InputProps, B as ButtonProps, F as ModalProps, M as ModalWithHeaderProps, K as PopoverProps } from './types-
|
|
3
|
+
import { x as InputProps, B as ButtonProps, F as ModalProps, M as ModalWithHeaderProps, K as PopoverProps } from './types-Dc15ure7.mjs';
|
|
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 { J as PohZkpassParams,
|
|
3
|
+
import { J as PohZkpassParams, e as UserTransactionType, S as UserTransactionNextPageParams, X as WalletAssetType, z as MetaPageType, q as BindItemType, p as BindInfoType, G as PohItemType, U as UserChainType, g as UserAssetToken, f as UserImportTokenType, Y as WalletChainType, Z as WalletNFTType } from './types-Dc15ure7.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, i as LoginBoxProps, B as ButtonProps, j as OtherLoginMethodType, R as RecommendLoginMethodType, k as WalletType, P as PopoverPositionType, l as PopoverTypeType, m as LoginPanelProps, n as LoginModalProps, M as ModalWithHeaderProps, h as WalletAssetMergeType, u as useMatchWalletAssetsProps } from './types-Dc15ure7.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-BOsoQSmx.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;
|
package/dist/index.css
CHANGED
|
@@ -1858,4 +1858,37 @@ body {
|
|
|
1858
1858
|
}
|
|
1859
1859
|
.matchid-flex{
|
|
1860
1860
|
display: flex;
|
|
1861
|
+
}
|
|
1862
|
+
.matchid-import-token-result{
|
|
1863
|
+
display: flex;
|
|
1864
|
+
flex:1;
|
|
1865
|
+
flex-direction: column;
|
|
1866
|
+
padding-bottom: 100px;
|
|
1867
|
+
gap: 24px;
|
|
1868
|
+
justify-content: space-between;
|
|
1869
|
+
@media screen and (max-width: 768px){
|
|
1870
|
+
padding-bottom: 0;
|
|
1871
|
+
}
|
|
1872
|
+
.matchid-import-token-result-box{
|
|
1873
|
+
display: flex;
|
|
1874
|
+
flex-direction: column;
|
|
1875
|
+
gap: 48px;
|
|
1876
|
+
align-items: center;
|
|
1877
|
+
.matchid-import-token-result-img{
|
|
1878
|
+
width:96px;
|
|
1879
|
+
height:96px;
|
|
1880
|
+
}
|
|
1881
|
+
.matchid-import-token-result-text{
|
|
1882
|
+
font-size: 24px;
|
|
1883
|
+
font-weight: 500;
|
|
1884
|
+
color: var(--matchid-success);
|
|
1885
|
+
@media screen and (max-width: 768px){
|
|
1886
|
+
font-size: 20px;
|
|
1887
|
+
}
|
|
1888
|
+
}
|
|
1889
|
+
.matchid-import-token-result-text-fail{
|
|
1890
|
+
color: var(--matchid-error);
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1861
1894
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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 Components } from './index-
|
|
4
|
-
export { i as UI } from './index-
|
|
5
|
-
export { i as Hooks } 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-Dc15ure7.mjs';
|
|
3
|
+
export { i as Components } from './index-B4gKj0ro.mjs';
|
|
4
|
+
export { i as UI } from './index-Bk_dqXKp.mjs';
|
|
5
|
+
export { i as Hooks } from './index-BObJQar4.mjs';
|
|
6
|
+
export { i as Api } from './index-D3GBq1P1.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-Ca30Hgn7.mjs';
|
|
9
9
|
import '@tanstack/react-query/src/types';
|
|
10
10
|
import 'react/jsx-runtime';
|
|
11
|
-
import './index-
|
|
11
|
+
import './index-CdM22eod.mjs';
|
|
12
12
|
import 'viem';
|
|
13
13
|
import './mpc-CTbBWHld.mjs';
|
|
14
14
|
import 'viem/types/misc';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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 Components } from './index-
|
|
4
|
-
export { i as UI } from './index-
|
|
5
|
-
export { i as Hooks } 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-Dc15ure7.js';
|
|
3
|
+
export { i as Components } from './index-DTYp8DRd.js';
|
|
4
|
+
export { i as UI } from './index-CN2jy6bb.js';
|
|
5
|
+
export { i as Hooks } from './index-CSTyna62.js';
|
|
6
|
+
export { i as Api } from './index-BHXlpUg5.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-BFSCCmlU.js';
|
|
9
9
|
import '@tanstack/react-query/src/types';
|
|
10
10
|
import 'react/jsx-runtime';
|
|
11
|
-
import './index-
|
|
11
|
+
import './index-BOsoQSmx.js';
|
|
12
12
|
import 'viem';
|
|
13
13
|
import './mpc-CTbBWHld.js';
|
|
14
14
|
import 'viem/types/misc';
|