@matchain/matchid-sdk-react 0.1.55-alpha.1 → 0.1.55-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 +2 -2
- package/dist/assets/icon/index.d.ts +2 -2
- package/dist/{chunk-LTPXS5PV.mjs → chunk-E4FPSWA5.mjs} +2 -2
- package/dist/{chunk-SKA35IYC.mjs → chunk-FZHWSL7D.mjs} +16 -7
- package/dist/chunk-FZHWSL7D.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 +11 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +2 -2
- package/dist/hooks/api/index.d.mts +2 -2
- package/dist/hooks/api/index.d.ts +2 -2
- 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 +10 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +2 -2
- package/dist/{index-DbQn4z1l.d.ts → index--nlDB8VK.d.ts} +1 -1
- package/dist/{index-a_Qt7NXk.d.mts → index-8HIlfTvH.d.mts} +2 -2
- package/dist/{index-D0Psl8Ue.d.mts → index-B81tXGI5.d.mts} +1 -1
- package/dist/{index-CMH6Jesl.d.ts → index-BDljOvDd.d.ts} +1 -1
- package/dist/{index-Y5WRoqzn.d.ts → index-BST_yuES.d.ts} +1 -1
- package/dist/{index-6-oVBXRP.d.mts → index-BSgC4cJ0.d.mts} +1 -1
- package/dist/{index-agAVLGF5.d.ts → index-BXbyqSzw.d.ts} +1 -1
- package/dist/{index-CNH7a3bx.d.ts → index-C5SqtsGS.d.ts} +2 -2
- package/dist/{index-6kXyNEXB.d.ts → index-CYuesWgK.d.ts} +2 -2
- package/dist/{index-CBQXIlWu.d.mts → index-CpiO8xr3.d.mts} +1 -1
- package/dist/{index-G15A08DI.d.mts → index-D-dey6vu.d.mts} +1 -1
- package/dist/{index-CB6ZNvzn.d.mts → index-DHXT-zfU.d.mts} +2 -2
- package/dist/{index-CPPDmmz8.d.ts → index-J3gEuYby.d.ts} +2 -1
- package/dist/{index-CqKohtvj.d.mts → index-zIc7ghhJ.d.mts} +2 -1
- package/dist/index.css +5 -6
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-CXzZS0eM.d.mts → types-BKeVa_0l.d.mts} +1 -1
- package/dist/{types-CXzZS0eM.d.ts → types-BKeVa_0l.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.map +1 -1
- package/dist/ui/index.mjs +2 -2
- package/example/src/pages/Wallet/index.tsx +6 -1
- package/package.json +1 -1
- package/dist/chunk-SKA35IYC.mjs.map +0 -1
- /package/dist/{chunk-LTPXS5PV.mjs.map → chunk-E4FPSWA5.mjs.map} +0 -0
package/dist/hooks/index.mjs
CHANGED
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
useTransaction,
|
|
14
14
|
useUserInfo,
|
|
15
15
|
useWallet
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-FZHWSL7D.mjs";
|
|
17
|
+
import "../chunk-JX73EY6V.mjs";
|
|
17
18
|
import "../chunk-UA6XHZHX.mjs";
|
|
18
19
|
import "../chunk-IZOOVZAD.mjs";
|
|
19
20
|
import "../chunk-FKXS2XRG.mjs";
|
|
20
|
-
import "../chunk-JX73EY6V.mjs";
|
|
21
21
|
import "../chunk-J5LGTIGS.mjs";
|
|
22
22
|
export {
|
|
23
23
|
useCopyClipboard,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { CSSProperties } from 'react';
|
|
3
|
-
import { z as IconProps$1 } from './types-
|
|
3
|
+
import { z as IconProps$1 } from './types-BKeVa_0l.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
|
-
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-BKeVa_0l.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-CpiO8xr3.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
2
|
import React, { CSSProperties } from 'react';
|
|
3
|
-
import { z as IconProps$1 } from './types-
|
|
3
|
+
import { z as IconProps$1 } from './types-BKeVa_0l.mjs';
|
|
4
4
|
|
|
5
5
|
declare function BackIcon({ color, size, className, style }: {
|
|
6
6
|
color?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, e as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, d 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, b as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, h as UserAssetToken, U as UserChainType, g as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, f as UserTransactionType, i as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, l as WalletType, u as useMatchWalletAssetsProps } from './types-BKeVa_0l.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, f as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, h as UserAssetToken, g as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-BKeVa_0l.js';
|
|
4
4
|
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.js';
|
|
5
5
|
|
|
6
6
|
declare const bindCexApi: (data: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, e as AnyObject, p as AppConfigType, q as AuthParams, r as BindInfoType, s as BindItemType, t as BindWalletParam, B as ButtonProps, C as CEXType, d 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, b as ISocialLoginMethod, z as IconProps, F as InputProps, L as LocaleType, j as LoginBoxProps, c as LoginMethodType, o as LoginModalProps, n as LoginPanelProps, G as MessageType, J as MetaPageType, K as ModalProps, M as ModalWithHeaderProps, k as OtherLoginMethodType, O as OverviewInfo, N as PohItemType, Q as PohZkpassParams, P as PopoverPositionType, S as PopoverProps, m as PopoverTypeType, R as RecommendLoginMethodType, T as RecoveryType, V as ThemeType, X as UIProps, h as UserAssetToken, U as UserChainType, g as UserImportTokenType, Y as UserPopoverProps, Z as UserTransactionNextPageParams, _ as UserTransactionRecordType, f as UserTransactionType, i as WalletAssetMergeType, $ as WalletAssetType, a0 as WalletChainType, W as WalletConfigType, a1 as WalletNFTType, a2 as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, l as WalletType, u as useMatchWalletAssetsProps } from './types-BKeVa_0l.mjs';
|
|
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, { 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-BKeVa_0l.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
|
-
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-BKeVa_0l.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-BXbyqSzw.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,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-BXbyqSzw.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-BKeVa_0l.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import React, { CSSProperties } from 'react';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React, { 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-BKeVa_0l.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 { Q as PohZkpassParams,
|
|
3
|
+
import { Q as PohZkpassParams, f as UserTransactionType, Z as UserTransactionNextPageParams, $ as WalletAssetType, J as MetaPageType, s as BindItemType, r as BindInfoType, N as PohItemType, U as UserChainType, h as UserAssetToken, g as UserImportTokenType, a0 as WalletChainType, a1 as WalletNFTType } from './types-BKeVa_0l.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
|
-
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-CpiO8xr3.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-BKeVa_0l.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
5
|
import React, { CSSProperties } from 'react';
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.js';
|
|
2
|
-
import {
|
|
2
|
+
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-BKeVa_0l.js';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -140,6 +140,7 @@ interface UseWalletReturnType {
|
|
|
140
140
|
deployContract: DeployContractType;
|
|
141
141
|
writeContract: WriteContractType;
|
|
142
142
|
} | undefined;
|
|
143
|
+
exportWallet: () => Promise<void>;
|
|
143
144
|
}
|
|
144
145
|
declare function useWallet(): UseWalletReturnType;
|
|
145
146
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { M as MyResponseType } from './request-B0CyrGFT.mjs';
|
|
2
|
-
import {
|
|
2
|
+
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-BKeVa_0l.mjs';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
4
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
5
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -140,6 +140,7 @@ interface UseWalletReturnType {
|
|
|
140
140
|
deployContract: DeployContractType;
|
|
141
141
|
writeContract: WriteContractType;
|
|
142
142
|
} | undefined;
|
|
143
|
+
exportWallet: () => Promise<void>;
|
|
143
144
|
}
|
|
144
145
|
declare function useWallet(): UseWalletReturnType;
|
|
145
146
|
|
package/dist/index.css
CHANGED
|
@@ -753,11 +753,11 @@ body {
|
|
|
753
753
|
}
|
|
754
754
|
|
|
755
755
|
.matchid-password-header-content {
|
|
756
|
-
|
|
757
|
-
font-
|
|
756
|
+
flex:1;
|
|
757
|
+
font-size: 14px;
|
|
758
758
|
color: var(--matchid-password-header-color);
|
|
759
759
|
@media screen and (max-width: 768px) {
|
|
760
|
-
font-size:
|
|
760
|
+
font-size: 12px;
|
|
761
761
|
}
|
|
762
762
|
}
|
|
763
763
|
}
|
|
@@ -1260,10 +1260,9 @@ body {
|
|
|
1260
1260
|
display: flex;
|
|
1261
1261
|
align-items: center;
|
|
1262
1262
|
box-shadow: var(--matchid-shadow-small);
|
|
1263
|
-
|
|
1264
|
-
padding
|
|
1263
|
+
min-height: 40px;
|
|
1264
|
+
padding: 10px 12px;
|
|
1265
1265
|
gap: 4px;
|
|
1266
|
-
height: 40px;
|
|
1267
1266
|
color: black;
|
|
1268
1267
|
background-color: white;
|
|
1269
1268
|
font-size: 14px;
|
package/dist/index.d.mts
CHANGED
|
@@ -5,21 +5,21 @@ import * as abitype from 'abitype';
|
|
|
5
5
|
import * as wagmi_chains from 'wagmi/chains';
|
|
6
6
|
import * as viem from 'viem';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
9
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
10
|
-
export { i as Components } from './index-
|
|
11
|
-
export { i as UI } from './index-
|
|
12
|
-
export { i as Api } from './index-
|
|
8
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-BKeVa_0l.mjs';
|
|
9
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-zIc7ghhJ.mjs';
|
|
10
|
+
export { i as Components } from './index-8HIlfTvH.mjs';
|
|
11
|
+
export { i as UI } from './index-DHXT-zfU.mjs';
|
|
12
|
+
export { i as Api } from './index-D-dey6vu.mjs';
|
|
13
13
|
export { i as Chains } from './index-DXRGMAbv.mjs';
|
|
14
|
-
export { i as Types } from './index-
|
|
15
|
-
export { i as Icon } from './index-
|
|
14
|
+
export { i as Types } from './index-BSgC4cJ0.mjs';
|
|
15
|
+
export { i as Icon } from './index-B81tXGI5.mjs';
|
|
16
16
|
import '@tanstack/react-query/src/types';
|
|
17
17
|
import './request-B0CyrGFT.mjs';
|
|
18
18
|
import 'viem/types/misc';
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import '@tanstack/react-query';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-CpiO8xr3.mjs';
|
|
23
23
|
|
|
24
24
|
declare const wagmiConfig: wagmi.Config<[{
|
|
25
25
|
blockExplorers: {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,21 +5,21 @@ import * as abitype from 'abitype';
|
|
|
5
5
|
import * as wagmi_chains from 'wagmi/chains';
|
|
6
6
|
import * as viem from 'viem';
|
|
7
7
|
import React, { ReactNode } from 'react';
|
|
8
|
-
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-
|
|
9
|
-
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-
|
|
10
|
-
export { i as Components } from './index-
|
|
11
|
-
export { i as UI } from './index-
|
|
12
|
-
export { i as Api } from './index-
|
|
8
|
+
import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-BKeVa_0l.js';
|
|
9
|
+
export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-J3gEuYby.js';
|
|
10
|
+
export { i as Components } from './index-C5SqtsGS.js';
|
|
11
|
+
export { i as UI } from './index-CYuesWgK.js';
|
|
12
|
+
export { i as Api } from './index-BST_yuES.js';
|
|
13
13
|
export { i as Chains } from './index-DXRGMAbv.js';
|
|
14
|
-
export { i as Types } from './index-
|
|
15
|
-
export { i as Icon } from './index
|
|
14
|
+
export { i as Types } from './index-BDljOvDd.js';
|
|
15
|
+
export { i as Icon } from './index--nlDB8VK.js';
|
|
16
16
|
import '@tanstack/react-query/src/types';
|
|
17
17
|
import './request-B0CyrGFT.js';
|
|
18
18
|
import 'viem/types/misc';
|
|
19
19
|
import 'react/jsx-runtime';
|
|
20
20
|
import 'viem/_types/actions/siwe/verifySiweMessage';
|
|
21
21
|
import '@tanstack/react-query';
|
|
22
|
-
import './index-
|
|
22
|
+
import './index-BXbyqSzw.js';
|
|
23
23
|
|
|
24
24
|
declare const wagmiConfig: wagmi.Config<[{
|
|
25
25
|
blockExplorers: {
|
package/dist/index.js
CHANGED
|
@@ -2809,7 +2809,7 @@ function StepVerify(props) {
|
|
|
2809
2809
|
)
|
|
2810
2810
|
}
|
|
2811
2811
|
) }),
|
|
2812
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_intl2.FormattedMessage, { id: "continue" }) })
|
|
2812
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { disabled: !canContinue, loading: submitting, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_intl2.FormattedMessage, { id: "continue" }) })
|
|
2813
2813
|
] });
|
|
2814
2814
|
}
|
|
2815
2815
|
|
|
@@ -6112,6 +6112,14 @@ function useWallet() {
|
|
|
6112
6112
|
(0, import_react31.useEffect)(() => {
|
|
6113
6113
|
matchlog_default.log("qwe-evmAccount", evmAccount);
|
|
6114
6114
|
}, [evmAccount]);
|
|
6115
|
+
const exportWallet = async () => {
|
|
6116
|
+
await window.matchProvider.waitUntilWalletMessage({
|
|
6117
|
+
method: "exportWallet",
|
|
6118
|
+
data: {
|
|
6119
|
+
address
|
|
6120
|
+
}
|
|
6121
|
+
});
|
|
6122
|
+
};
|
|
6115
6123
|
const realCreateWalletClient = (parameters) => {
|
|
6116
6124
|
if (!evmAccount) {
|
|
6117
6125
|
return;
|
|
@@ -6245,7 +6253,8 @@ function useWallet() {
|
|
|
6245
6253
|
signMessage: signMessage2,
|
|
6246
6254
|
signTransaction,
|
|
6247
6255
|
isRecovered,
|
|
6248
|
-
createWalletClient: realCreateWalletClient
|
|
6256
|
+
createWalletClient: realCreateWalletClient,
|
|
6257
|
+
exportWallet
|
|
6249
6258
|
};
|
|
6250
6259
|
}
|
|
6251
6260
|
|