@matchain/matchid-sdk-react 0.1.56-alpha.12 → 0.1.56-alpha.13
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 +83 -44
- package/dist/api.js.map +1 -1
- package/dist/api.mjs +2 -2
- package/dist/{chunk-44JQQ34F.mjs → chunk-7K4E64WH.mjs} +2 -2
- package/dist/{chunk-DUSDBXBT.mjs → chunk-RPATABCS.mjs} +164 -124
- package/dist/chunk-RPATABCS.mjs.map +1 -0
- package/dist/components.d.mts +3 -3
- package/dist/components.d.ts +3 -3
- package/dist/components.js +151 -122
- package/dist/components.js.map +1 -1
- package/dist/components.mjs +1 -1
- package/dist/hooks.d.mts +2 -2
- package/dist/hooks.d.ts +2 -2
- package/dist/hooks.js +39 -0
- package/dist/hooks.js.map +1 -1
- package/dist/hooks.mjs +1 -1
- package/dist/icon.d.mts +2 -2
- package/dist/icon.d.ts +2 -2
- package/dist/{index-DxHhOW24.d.mts → index-BLjGmf9p.d.mts} +2 -2
- package/dist/{index-BNqdFiOo.d.ts → index-BXhXRggh.d.ts} +1 -1
- package/dist/{index-uB9jBjgs.d.mts → index-Bjb30oE3.d.mts} +35 -31
- package/dist/{index-hz9v-CNJ.d.ts → index-CPnKc6o4.d.ts} +35 -31
- package/dist/{index-CcVHENNv.d.ts → index-CpJtux-G.d.ts} +1 -1
- package/dist/{index-DVlulZhE.d.mts → index-CqHlL6ue.d.mts} +3 -3
- package/dist/{index-DkijpM5Q.d.mts → index-CzCkxwOm.d.mts} +1 -1
- package/dist/{index-84CqVi2I.d.mts → index-DCyE39bg.d.mts} +1 -1
- package/dist/{index-BctnHnJp.d.ts → index-DGsB7f2H.d.ts} +1 -1
- package/dist/{index-Cqdz_5bE.d.ts → index-DQYg6bEA.d.ts} +2 -2
- package/dist/{index-qmC4zt6V.d.ts → index-DZpXCByF.d.ts} +3 -3
- package/dist/{index-Car1jFyN.d.mts → index-De8efmdb.d.mts} +1 -1
- package/dist/{index-BqI0PEIi.d.mts → index-DuCefmJ0.d.mts} +1 -1
- package/dist/{index-CvzpMw3N.d.ts → index-m2bn_W3Y.d.ts} +1 -1
- package/dist/index.d.mts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +163 -123
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/{types-BrVeC0c8.d.mts → types-C8FLH1yn.d.mts} +1 -0
- package/dist/{types-BrVeC0c8.d.ts → types-C8FLH1yn.d.ts} +1 -0
- 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 +6 -0
- package/dist/ui.js.map +1 -1
- package/dist/ui.mjs +1 -1
- package/example/src/App.tsx +61 -61
- package/example/src/config/index.ts +8 -6
- package/example/src/pages/Home.tsx +15 -15
- package/example/src/store/useLocalStore.ts +19 -19
- package/example/yarn.lock +1384 -0
- package/package.json +1 -1
- package/dist/chunk-DUSDBXBT.mjs.map +0 -1
- /package/dist/{chunk-44JQQ34F.mjs.map → chunk-7K4E64WH.mjs.map} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-HBOS3RBL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
api_exports
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7K4E64WH.mjs";
|
|
10
10
|
import {
|
|
11
11
|
MatchProvider,
|
|
12
12
|
ModalProvider,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
ui_exports,
|
|
17
17
|
useMatch,
|
|
18
18
|
wagmiConfig
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RPATABCS.mjs";
|
|
20
20
|
import "./chunk-UA6XHZHX.mjs";
|
|
21
21
|
import "./chunk-IZOOVZAD.mjs";
|
|
22
22
|
import {
|
package/dist/types.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { 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
|
+
export { 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-C8FLH1yn.mjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@tanstack/react-query/src/types';
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { 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
|
+
export { 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-C8FLH1yn.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '@tanstack/react-query/src/types';
|
package/dist/ui.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { 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-
|
|
2
|
-
export { A as AlphaAvatar, C as Checkbox, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-
|
|
1
|
+
export { 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-DuCefmJ0.mjs';
|
|
2
|
+
export { A as AlphaAvatar, C as Checkbox, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-BLjGmf9p.mjs';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-C8FLH1yn.mjs';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
|
7
7
|
import 'viem';
|
package/dist/ui.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { 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-
|
|
2
|
-
export { A as AlphaAvatar, C as Checkbox, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-
|
|
1
|
+
export { 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-m2bn_W3Y.js';
|
|
2
|
+
export { A as AlphaAvatar, C as Checkbox, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-DQYg6bEA.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
|
-
import './types-
|
|
5
|
+
import './types-C8FLH1yn.js';
|
|
6
6
|
import '@tanstack/react-query/src/types';
|
|
7
7
|
import 'viem';
|
package/dist/ui.js
CHANGED
|
@@ -1064,6 +1064,12 @@ var useWalletModalStore = (0, import_zustand5.create)((set) => ({
|
|
|
1064
1064
|
open: (type, methods = DEFAULT_WALLET_METHODS) => set({ isOpen: true, type, methods }),
|
|
1065
1065
|
close: () => set({ isOpen: false })
|
|
1066
1066
|
}));
|
|
1067
|
+
var useEmailModalStore = (0, import_zustand5.create)((set) => ({
|
|
1068
|
+
isOpen: false,
|
|
1069
|
+
type: "login",
|
|
1070
|
+
open: (type) => set({ isOpen: true, type }),
|
|
1071
|
+
close: () => set({ isOpen: false })
|
|
1072
|
+
}));
|
|
1067
1073
|
|
|
1068
1074
|
// src/components/CEXBindModal/index.tsx
|
|
1069
1075
|
var import_react15 = require("react");
|