@matchain/matchid-sdk-react 0.1.53-alpha.2 → 0.1.53-alpha.20
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 -144
- package/dist/assets/icon/index.d.ts +4 -144
- package/dist/assets/icon/index.js +54 -0
- package/dist/assets/icon/index.js.map +1 -1
- package/dist/assets/icon/index.mjs +5 -1
- package/dist/chunk-3CR66BEX.mjs +19 -0
- package/dist/chunk-3CR66BEX.mjs.map +1 -0
- package/dist/{chunk-W5A6WY7Y.mjs → chunk-CLMSEFOV.mjs} +5808 -4749
- package/dist/chunk-CLMSEFOV.mjs.map +1 -0
- package/dist/{chunk-LHNKZISB.mjs → chunk-FKXS2XRG.mjs} +114 -2
- package/dist/chunk-FKXS2XRG.mjs.map +1 -0
- package/dist/{chunk-MX7N57AH.mjs → chunk-IZOOVZAD.mjs} +11 -6
- package/dist/chunk-IZOOVZAD.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-FB5MHLWX.mjs → chunk-X5HGL3ZX.mjs} +45 -3
- package/dist/chunk-X5HGL3ZX.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 +1568 -504
- package/dist/components/index.js.map +1 -1
- package/dist/components/index.mjs +11 -4
- package/dist/config/chains/index.mjs +2 -1
- package/dist/hooks/api/index.d.mts +3 -2
- package/dist/hooks/api/index.d.ts +3 -2
- package/dist/hooks/api/index.js +393 -82
- package/dist/hooks/api/index.js.map +1 -1
- package/dist/hooks/api/index.mjs +9 -8
- package/dist/hooks/index.d.mts +3 -2
- package/dist/hooks/index.d.ts +3 -2
- package/dist/hooks/index.js +620 -463
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/index.mjs +5 -4
- package/dist/index-B1T3lcwo.d.mts +203 -0
- package/dist/{index-Df-WlkXq.d.ts → index-B6Tmp2HR.d.ts} +25 -5
- package/dist/index-B6pp5UQe.d.ts +203 -0
- package/dist/{index-IwwXQ_QV.d.ts → index-BR3CyOOn.d.ts} +5 -2
- package/dist/{index-CZqdmQu1.d.mts → index-BeTS09HM.d.mts} +41 -17
- package/dist/{index-iWHaT8HV.d.mts → index-BxHKPC5n.d.mts} +1 -1
- package/dist/{index-B8cUP7cH.d.ts → index-CA7lhjpa.d.mts} +25 -5
- package/dist/{index-yy3VTdFU.d.mts → index-CRoZ0p2b.d.ts} +25 -5
- package/dist/{index-BCGJczpk.d.mts → index-CXPCmoIu.d.mts} +5 -2
- package/dist/{index-Bil_db2f.d.mts → index-Ce3oCu6-.d.mts} +19 -16
- package/dist/{index-DNJuiNdz.d.mts → index-Ci_ub_5y.d.mts} +25 -5
- package/dist/{index-BsL6zo6a.d.ts → index-DKV8v6s_.d.ts} +1 -1
- package/dist/{index-K5vXmiRX.d.ts → index-Dnjr-WPp.d.ts} +41 -17
- package/dist/{index-BS-NO8Y2.d.ts → index-IHigYscw.d.ts} +19 -16
- package/dist/index.css +132 -13
- package/dist/index.d.mts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +1956 -793
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +10 -8
- package/dist/request-B0CyrGFT.d.mts +15 -0
- package/dist/request-B0CyrGFT.d.ts +15 -0
- package/dist/types/index.d.mts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/{types-CZbR7ERa.d.mts → types-mRkAnXBf.d.mts} +17 -1
- package/dist/{types-CZbR7ERa.d.ts → types-mRkAnXBf.d.ts} +17 -1
- package/dist/ui/index.d.mts +3 -3
- package/dist/ui/index.d.ts +3 -3
- package/dist/ui/index.js +109 -61
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/index.mjs +8 -4
- package/dist/utils/index.d.mts +3 -2
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/index.js +10 -4
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +3 -1
- package/example/dist/assets/Arc-R3PUWRPJ-CUdEQO8X.js +1 -0
- package/example/dist/assets/Brave-24BM36UM-C6C5mkTK.js +1 -0
- package/example/dist/assets/Browser-4R4QKTV2-D3ON1q-S.js +1 -0
- package/example/dist/assets/Chrome-TLI42HDP-BgiVz-ma.js +1 -0
- package/example/dist/assets/Edge-AZ34LAFM-EBh9cG_z.js +1 -0
- package/example/dist/assets/Firefox-ZDK7RHKK-5nyhB0sj.js +1 -0
- package/example/dist/assets/Linux-VYP66PDO--MOvpQUa.js +1 -0
- package/example/dist/assets/Macos-5QL4JBJE-DLNYPiln.js +1 -0
- package/example/dist/assets/Opera-BKMCKUXC-CCypmVaM.js +1 -0
- package/example/dist/assets/Safari-PXQIVS6N-B-Lfxb9r.js +1 -0
- package/example/dist/assets/Windows-GTAT3OTE-K9Pt3pUF.js +1 -0
- package/example/dist/assets/apechain-COEQ5RUI-0TDoXOYf.js +1 -0
- package/example/dist/assets/ar_AR-ZRPPM56D-d2WEfzQ_.js +1349 -0
- package/example/dist/assets/arbitrum-HW44W6XR-hPA5bMPt.js +1 -0
- package/example/dist/assets/assets-NU2OP443-COMs-Mo6.js +1 -0
- package/example/dist/assets/avalanche-MXEFEDSW-DcC5FNt3.js +1 -0
- package/example/dist/assets/base-Z4LFBE5D-DHfqMzJC.js +1 -0
- package/example/dist/assets/berachain-ZN3U5LDZ-CAvW_8ws.js +1 -0
- package/example/dist/assets/bitgetWallet-CLYTW54T-Wwn2QYd0.js +1 -0
- package/example/dist/assets/blast-46UQLYYY-BV_Xlsq4.js +1 -0
- package/example/dist/assets/bsc-RVE67I5L-DVYEF0vl.js +1 -0
- package/example/dist/assets/ccip-BhIcA6Sl.js +1 -0
- package/example/dist/assets/celo-E6XU57FO-C5IguUgF.js +1 -0
- package/example/dist/assets/coinbaseWallet-WWX6LF36-BMRj6mTC.js +1 -0
- package/example/dist/assets/connect-MR6XDLIE-BET5HMNk.js +1 -0
- package/example/dist/assets/create-X4WFHLCW-De9pC3ym.js +1 -0
- package/example/dist/assets/cronos-ROYR77VZ-Prn3LRPZ.js +1 -0
- package/example/dist/assets/de_DE-GYZFZXWH-CYZf24IR.js +1349 -0
- package/example/dist/assets/degen-7ROC3GCY-9HqAkHtZ.js +1 -0
- package/example/dist/assets/es_419-OGVOQEFZ-D6BJPTeQ.js +1349 -0
- package/example/dist/assets/ethereum-RFBAMUVK-WsW8NXqo.js +1 -0
- package/example/dist/assets/events-CkdpRqBF.js +1 -0
- package/example/dist/assets/flow-NBCRNYVF-D2XasjKk.js +1 -0
- package/example/dist/assets/fr_FR-Q5QBQBX2-lQoTmpTH.js +1349 -0
- package/example/dist/assets/gnosis-Y56LN66M-D4_J-ZQH.js +1 -0
- package/example/dist/assets/gravity-LMEBVSFN-DLxWpxhy.js +1 -0
- package/example/dist/assets/hardhat-NEEC6JX7-DzuWQYyS.js +1 -0
- package/example/dist/assets/hi_IN-7I7LRHGW-CTQjmeYe.js +1349 -0
- package/example/dist/assets/hooks.module-C5ONEBEq.js +1 -0
- package/example/dist/assets/hyperevm-J6CONVCX-C6oeYIAP.js +1 -0
- package/example/dist/assets/id_ID-ZMGZ2JFV-CgKQKAmU.js +1349 -0
- package/example/dist/assets/index-BG5XIZpE.js +3 -0
- package/example/dist/assets/index-BsarjAeg.js +1 -0
- package/example/dist/assets/index-DK7UFFe7.js +7 -0
- package/example/dist/assets/index-DPb8sz1C.js +54 -0
- package/example/dist/assets/index-JbpWt42F.js +1 -0
- package/example/dist/assets/index-YsGNa18R.css +1 -0
- package/example/dist/assets/index-kAjO6hfy.js +2 -0
- package/example/dist/assets/index-qgo91dsq.js +3942 -0
- package/example/dist/assets/index.es-D44wzsQe.js +71 -0
- package/example/dist/assets/injectedWallet-H7LYKTQS-CAHJNGc-.js +1 -0
- package/example/dist/assets/ink-4U4ZVNAB-AlM1MLfQ.js +1 -0
- package/example/dist/assets/ja_JP-NYBCHQTZ-CMaBl8Za.js +1349 -0
- package/example/dist/assets/kaia-A33DVQBT-Fgclbhio.js +1 -0
- package/example/dist/assets/ko_KR-67WE736M-DHWhIjcm.js +1349 -0
- package/example/dist/assets/linea-IALBSJQC-Cmyd7vgA.js +1 -0
- package/example/dist/assets/login-CWDTIDNK-DhDUYE4b.js +1 -0
- package/example/dist/assets/manta-5V6W5D7G-BnjsGzeJ.js +1 -0
- package/example/dist/assets/mantle-KBL3OIYT-DIpe0poV.js +1 -0
- package/example/dist/assets/metaMaskWallet-YFHEHW7V-BggUDXad.js +1 -0
- package/example/dist/assets/metaMaskWallet-YFHEHW7V-DBxkXEyI.js +1 -0
- package/example/dist/assets/ms_MY-65AJIBUS-BLlUrxe6.js +1349 -0
- package/example/dist/assets/okxWallet-GJMKZIND-Ctk5JsJ6.js +1 -0
- package/example/dist/assets/optimism-YWJ3IQHA-DYER-OR5.js +1 -0
- package/example/dist/assets/polygon-WWEUOMKW-CNBYSB1T.js +1 -0
- package/example/dist/assets/pt_BR-DMJANC65-DMs4DrlC.js +1349 -0
- package/example/dist/assets/rainbowWallet-2SR6TVBF-kimcGeuf.js +1 -0
- package/example/dist/assets/refresh-HJGJRASX-D0rkc63_.js +1 -0
- package/example/dist/assets/ronin-PNHX5V6H-BS-WPXjQ.js +1 -0
- package/example/dist/assets/ru_RU-WER7RQ6A-DsJK55uv.js +1349 -0
- package/example/dist/assets/safeWallet-VUYZPLY4-CXnodgMs.js +1 -0
- package/example/dist/assets/sanko-RHQYXGM5-OX010CbN.js +1 -0
- package/example/dist/assets/scan-DEOT2M37-1-mJ5OyF.js +1 -0
- package/example/dist/assets/scroll-MCKFTBRS-C2gqZSab.js +1 -0
- package/example/dist/assets/sign-A7IJEUT5-CGsRnPrd.js +1 -0
- package/example/dist/assets/th_TH-JOSHEZ6D-Cp87mIRZ.js +1349 -0
- package/example/dist/assets/tr_TR-EAMG2YPO-C52_xfsf.js +1349 -0
- package/example/dist/assets/uk_UA-GO2TRVWA-C1C1400t.js +1349 -0
- package/example/dist/assets/unichain-OQ3BZUDH-CyMLDmFg.js +1 -0
- package/example/dist/assets/vi_VN-5HLLSOJA-Dj7ferOp.js +1349 -0
- package/example/dist/assets/walletConnectWallet-FNSU4KNU-B0ci71fU.js +1 -0
- package/example/dist/assets/walletConnectWallet-FNSU4KNU-CBpCuHbd.js +1 -0
- package/example/dist/assets/xdc-X7V4QFNF-CSGs0o6M.js +1 -0
- package/example/dist/assets/zetachain-BMJKVYBN-IK2CZBr3.js +1 -0
- package/example/dist/assets/zh_CN-THPIFVWJ-Cbp71xMR.js +1349 -0
- package/example/dist/assets/zh_HK-R7XP4TGF-CyJtfKGw.js +1349 -0
- package/example/dist/assets/zh_TW-F5LD752V-AHFgsYw-.js +1349 -0
- package/example/dist/assets/zksync-UWUXFL74-Bt0brpXu.js +1 -0
- package/example/dist/assets/zora-YZH32HP3-CY3tp3EJ.js +1 -0
- package/example/dist/index.html +2 -2
- package/example/package.json +3 -1
- package/example/src/App.tsx +30 -7
- package/example/src/pages/Contact/index.tsx +90 -0
- package/example/src/pages/UI/components/Tabs.tsx +18 -0
- package/example/src/pages/UI/index.tsx +2 -0
- package/example/src/pages/User/index.tsx +7 -1
- package/package.json +5 -1
- package/dist/chunk-4A2YPGO3.mjs +0 -97
- package/dist/chunk-4A2YPGO3.mjs.map +0 -1
- package/dist/chunk-FB5MHLWX.mjs.map +0 -1
- package/dist/chunk-HYQ3T6WW.mjs.map +0 -1
- package/dist/chunk-LHNKZISB.mjs.map +0 -1
- package/dist/chunk-MX7N57AH.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
|
@@ -1,8 +1,8 @@
|
|
|
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-BxHKPC5n.mjs';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { w as DrawerProps, a4 as WalletPanelProps, Y as UIProps } from './types-mRkAnXBf.mjs';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
|
-
import { CSSProperties } from 'react';
|
|
5
|
+
import React, { CSSProperties } from 'react';
|
|
6
6
|
|
|
7
7
|
declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
8
8
|
|
|
@@ -39,6 +39,24 @@ declare function Radio({ checked, onChange, size, color, className, style }: {
|
|
|
39
39
|
style?: CSSProperties;
|
|
40
40
|
}): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
+
interface SkeletonProps {
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
className?: string;
|
|
45
|
+
width?: string | number;
|
|
46
|
+
height?: string | number;
|
|
47
|
+
radius?: string | number;
|
|
48
|
+
loading?: boolean;
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
52
|
+
|
|
53
|
+
type TabsProps = {
|
|
54
|
+
tabs: string[];
|
|
55
|
+
activeTab: number;
|
|
56
|
+
setActiveTab: (tab: number) => void;
|
|
57
|
+
};
|
|
58
|
+
declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
|
|
59
|
+
|
|
42
60
|
declare const index_AlphaAvatar: typeof AlphaAvatar;
|
|
43
61
|
declare const index_Button: typeof Button;
|
|
44
62
|
declare const index_Drawer: typeof Drawer;
|
|
@@ -50,9 +68,11 @@ declare const index_ModalWithHeader: typeof ModalWithHeader;
|
|
|
50
68
|
declare const index_Overlay: typeof Overlay;
|
|
51
69
|
declare const index_Popover: typeof Popover;
|
|
52
70
|
declare const index_Radio: typeof Radio;
|
|
71
|
+
declare const index_Skeleton: typeof Skeleton;
|
|
53
72
|
declare const index_Switch: typeof Switch;
|
|
73
|
+
declare const index_Tabs: typeof Tabs;
|
|
54
74
|
declare namespace index {
|
|
55
|
-
export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Switch as Switch };
|
|
75
|
+
export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
|
|
56
76
|
}
|
|
57
77
|
|
|
58
|
-
export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, export_default as e, index as i };
|
|
78
|
+
export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
|
|
@@ -1,8 +1,8 @@
|
|
|
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-DKV8v6s_.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
-
import {
|
|
3
|
+
import { w as DrawerProps, a4 as WalletPanelProps, Y as UIProps } from './types-mRkAnXBf.js';
|
|
4
4
|
import { Hash, Chain } from 'viem';
|
|
5
|
-
import { CSSProperties } from 'react';
|
|
5
|
+
import React, { CSSProperties } from 'react';
|
|
6
6
|
|
|
7
7
|
declare function Drawer({ children, showClose, onClose, isOpen, title, zIndex, onBack }: DrawerProps): react_jsx_runtime.JSX.Element;
|
|
8
8
|
|
|
@@ -39,6 +39,24 @@ declare function Radio({ checked, onChange, size, color, className, style }: {
|
|
|
39
39
|
style?: CSSProperties;
|
|
40
40
|
}): react_jsx_runtime.JSX.Element;
|
|
41
41
|
|
|
42
|
+
interface SkeletonProps {
|
|
43
|
+
style?: React.CSSProperties;
|
|
44
|
+
className?: string;
|
|
45
|
+
width?: string | number;
|
|
46
|
+
height?: string | number;
|
|
47
|
+
radius?: string | number;
|
|
48
|
+
loading?: boolean;
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
declare const Skeleton: React.FC<SkeletonProps>;
|
|
52
|
+
|
|
53
|
+
type TabsProps = {
|
|
54
|
+
tabs: string[];
|
|
55
|
+
activeTab: number;
|
|
56
|
+
setActiveTab: (tab: number) => void;
|
|
57
|
+
};
|
|
58
|
+
declare function Tabs(props: TabsProps): react_jsx_runtime.JSX.Element;
|
|
59
|
+
|
|
42
60
|
declare const index_AlphaAvatar: typeof AlphaAvatar;
|
|
43
61
|
declare const index_Button: typeof Button;
|
|
44
62
|
declare const index_Drawer: typeof Drawer;
|
|
@@ -50,9 +68,11 @@ declare const index_ModalWithHeader: typeof ModalWithHeader;
|
|
|
50
68
|
declare const index_Overlay: typeof Overlay;
|
|
51
69
|
declare const index_Popover: typeof Popover;
|
|
52
70
|
declare const index_Radio: typeof Radio;
|
|
71
|
+
declare const index_Skeleton: typeof Skeleton;
|
|
53
72
|
declare const index_Switch: typeof Switch;
|
|
73
|
+
declare const index_Tabs: typeof Tabs;
|
|
54
74
|
declare namespace index {
|
|
55
|
-
export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Switch as Switch };
|
|
75
|
+
export { index_AlphaAvatar as AlphaAvatar, index_Button as Button, index_Drawer as Drawer, index_Field as Field, export_default as HashPanel, index_Input as Input, index_Modal as Modal, index_ModalDrawer as ModalDrawer, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_Radio as Radio, index_Skeleton as Skeleton, index_Switch as Switch, index_Tabs as Tabs };
|
|
56
76
|
}
|
|
57
77
|
|
|
58
|
-
export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, export_default as e, index as i };
|
|
78
|
+
export { AlphaAvatar as A, Drawer as D, ModalDrawer as M, Radio as R, Switch as S, Tabs as T, Skeleton as a, export_default as e, index as i };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Address,
|
|
1
|
+
import { A as Address, m as AnyObject, q as AppConfigType, r as AuthParams, s as BindInfoType, t as BindItemType, v as BindWalletParam, B as ButtonProps, j as CEXType, l as ChainType, C as ContactType, D as DeepPartial, w as DrawerProps, E as EmailModalProps, x as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, y as IEnvName, z as ILoginWalletReq, I as IMatchEvents, h as ISocialLoginMethod, F as IconProps, G as InputProps, L as LocaleType, b as LoginBoxProps, k as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, J as MessageType, K as MetaPageType, N as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, i as OverviewInfo, Q as PohItemType, S as PohZkpassParams, P as PopoverPositionType, T as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, V as RecoveryType, X as ThemeType, Y as UIProps, p as UserAssetToken, U as UserChainType, o as UserImportTokenType, Z as UserMessageType, _ as UserPopoverProps, $ as UserTransactionNextPageParams, a0 as UserTransactionRecordType, n as UserTransactionType, g as WalletAssetMergeType, a1 as WalletAssetType, a2 as WalletChainType, W as WalletConfigType, a3 as WalletNFTType, a4 as WalletPanelProps, a5 as WalletReceiveMessageType, a6 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-mRkAnXBf.mjs';
|
|
2
2
|
|
|
3
3
|
declare const index_Address: typeof Address;
|
|
4
4
|
declare const index_AnyObject: typeof AnyObject;
|
|
@@ -10,6 +10,7 @@ declare const index_BindWalletParam: typeof BindWalletParam;
|
|
|
10
10
|
declare const index_ButtonProps: typeof ButtonProps;
|
|
11
11
|
declare const index_CEXType: typeof CEXType;
|
|
12
12
|
declare const index_ChainType: typeof ChainType;
|
|
13
|
+
declare const index_ContactType: typeof ContactType;
|
|
13
14
|
declare const index_DeepPartial: typeof DeepPartial;
|
|
14
15
|
declare const index_DrawerProps: typeof DrawerProps;
|
|
15
16
|
declare const index_EmailModalProps: typeof EmailModalProps;
|
|
@@ -45,6 +46,7 @@ declare const index_UIProps: typeof UIProps;
|
|
|
45
46
|
declare const index_UserAssetToken: typeof UserAssetToken;
|
|
46
47
|
declare const index_UserChainType: typeof UserChainType;
|
|
47
48
|
declare const index_UserImportTokenType: typeof UserImportTokenType;
|
|
49
|
+
declare const index_UserMessageType: typeof UserMessageType;
|
|
48
50
|
declare const index_UserPopoverProps: typeof UserPopoverProps;
|
|
49
51
|
declare const index_UserTransactionNextPageParams: typeof UserTransactionNextPageParams;
|
|
50
52
|
declare const index_UserTransactionRecordType: typeof UserTransactionRecordType;
|
|
@@ -56,10 +58,11 @@ declare const index_WalletConfigType: typeof WalletConfigType;
|
|
|
56
58
|
declare const index_WalletNFTType: typeof WalletNFTType;
|
|
57
59
|
declare const index_WalletPanelProps: typeof WalletPanelProps;
|
|
58
60
|
declare const index_WalletReceiveMessageType: typeof WalletReceiveMessageType;
|
|
61
|
+
declare const index_WalletStatusType: typeof WalletStatusType;
|
|
59
62
|
declare const index_WalletType: typeof WalletType;
|
|
60
63
|
declare const index_useMatchWalletAssetsProps: typeof useMatchWalletAssetsProps;
|
|
61
64
|
declare namespace index {
|
|
62
|
-
export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
|
|
65
|
+
export { index_Address as Address, index_AnyObject as AnyObject, index_AppConfigType as AppConfigType, index_AuthParams as AuthParams, index_BindInfoType as BindInfoType, index_BindItemType as BindItemType, index_BindWalletParam as BindWalletParam, index_ButtonProps as ButtonProps, index_CEXType as CEXType, index_ChainType as ChainType, index_ContactType as ContactType, index_DeepPartial as DeepPartial, index_DrawerProps as DrawerProps, index_EmailModalProps as EmailModalProps, index_EmbeddedWalletsParams as EmbeddedWalletsParams, index_Hash as Hash, index_IEnvConfigType as IEnvConfigType, index_IEnvName as IEnvName, index_ILoginWalletReq as ILoginWalletReq, index_IMatchEvents as IMatchEvents, index_ISocialLoginMethod as ISocialLoginMethod, index_IconProps as IconProps, index_InputProps as InputProps, index_LocaleType as LocaleType, index_LoginBoxProps as LoginBoxProps, index_LoginMethodType as LoginMethodType, index_LoginModalProps as LoginModalProps, index_LoginPanelProps as LoginPanelProps, index_MessageType as MessageType, index_MetaPageType as MetaPageType, index_ModalProps as ModalProps, index_ModalWithHeaderProps as ModalWithHeaderProps, index_OtherLoginMethodType as OtherLoginMethodType, index_OverviewInfo as OverviewInfo, index_PohItemType as PohItemType, index_PohZkpassParams as PohZkpassParams, index_PopoverPositionType as PopoverPositionType, index_PopoverProps as PopoverProps, index_PopoverTypeType as PopoverTypeType, index_RecommendLoginMethodType as RecommendLoginMethodType, index_RecoveryType as RecoveryType, index_ThemeType as ThemeType, index_UIProps as UIProps, index_UserAssetToken as UserAssetToken, index_UserChainType as UserChainType, index_UserImportTokenType as UserImportTokenType, index_UserMessageType as UserMessageType, index_UserPopoverProps as UserPopoverProps, index_UserTransactionNextPageParams as UserTransactionNextPageParams, index_UserTransactionRecordType as UserTransactionRecordType, index_UserTransactionType as UserTransactionType, index_WalletAssetMergeType as WalletAssetMergeType, index_WalletAssetType as WalletAssetType, index_WalletChainType as WalletChainType, index_WalletConfigType as WalletConfigType, index_WalletNFTType as WalletNFTType, index_WalletPanelProps as WalletPanelProps, index_WalletReceiveMessageType as WalletReceiveMessageType, index_WalletStatusType as WalletStatusType, index_WalletType as WalletType, index_useMatchWalletAssetsProps as useMatchWalletAssetsProps };
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
export { index as i };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as MyResponseType } from './request-B0CyrGFT.mjs';
|
|
2
|
+
import { h as ISocialLoginMethod, i as OverviewInfo, j as CEXType, k as LoginMethodType, I as IMatchEvents, l as ChainType, U as UserChainType, A as Address, H as Hash$1, m as AnyObject, n as UserTransactionType, u as useMatchWalletAssetsProps, o as UserImportTokenType, p as UserAssetToken, g as WalletAssetMergeType } from './types-mRkAnXBf.mjs';
|
|
2
3
|
import * as viem from 'viem';
|
|
3
4
|
import { Account, WalletClientConfig, createWalletClient, SignableMessage, Hex, TransactionSerializable, DeployContractParameters, SendTransactionParameters, WriteContractParameters, Chain } from 'viem';
|
|
4
5
|
import { Hash } from 'viem/types/misc';
|
|
@@ -8,11 +9,12 @@ import React, { ReactNode } from 'react';
|
|
|
8
9
|
import * as viem__types_actions_siwe_verifySiweMessage from 'viem/_types/actions/siwe/verifySiweMessage';
|
|
9
10
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
10
11
|
|
|
12
|
+
interface ModalProps {
|
|
13
|
+
close: () => void;
|
|
14
|
+
zIndex: number;
|
|
15
|
+
}
|
|
11
16
|
interface ModalContextType {
|
|
12
|
-
show: (content:
|
|
13
|
-
close: () => void;
|
|
14
|
-
zIndex: number;
|
|
15
|
-
}) => ReactNode, index?: number) => void;
|
|
17
|
+
show: (content: React.FC<ModalProps>, index?: number) => void;
|
|
16
18
|
open: (props: {
|
|
17
19
|
title: ReactNode;
|
|
18
20
|
content: React.ComponentType<{
|
|
@@ -90,6 +92,7 @@ declare function useUserInfo(): {
|
|
|
90
92
|
[key: string]: any;
|
|
91
93
|
}) => Promise<string | void | Window | null>;
|
|
92
94
|
getAuthInfo: (method: keyof typeof LOGIN_METHOD_MAP) => Promise<unknown>;
|
|
95
|
+
invite: (invite_code: string) => Promise<MyResponseType<any>>;
|
|
93
96
|
};
|
|
94
97
|
|
|
95
98
|
declare function useMatchEvents(handlers: IMatchEvents): void;
|
|
@@ -176,9 +179,9 @@ declare function useMatchChain(): {
|
|
|
176
179
|
getBlobBaseFee: () => Promise<viem.GetBlobBaseFeeReturnType>;
|
|
177
180
|
getBlock: <includeTransactions extends boolean = false, blockTag extends viem.BlockTag = "latest">(args?: viem.GetBlockParameters<includeTransactions, blockTag> | undefined) => Promise<{
|
|
178
181
|
number: blockTag extends "pending" ? null : bigint;
|
|
182
|
+
nonce: blockTag extends "pending" ? null : `0x${string}`;
|
|
179
183
|
size: bigint;
|
|
180
184
|
hash: blockTag extends "pending" ? null : `0x${string}`;
|
|
181
|
-
nonce: blockTag extends "pending" ? null : `0x${string}`;
|
|
182
185
|
logsBloom: blockTag extends "pending" ? null : `0x${string}`;
|
|
183
186
|
baseFeePerGas: bigint | null;
|
|
184
187
|
blobGasUsed: bigint;
|
|
@@ -202,6 +205,7 @@ declare function useMatchChain(): {
|
|
|
202
205
|
withdrawalsRoot?: viem.Hex | undefined;
|
|
203
206
|
transactions: includeTransactions extends true ? ({
|
|
204
207
|
type: "legacy";
|
|
208
|
+
nonce: number;
|
|
205
209
|
chainId?: number | undefined;
|
|
206
210
|
value: bigint;
|
|
207
211
|
input: viem.Hex;
|
|
@@ -212,7 +216,6 @@ declare function useMatchChain(): {
|
|
|
212
216
|
hash: viem.Hash;
|
|
213
217
|
from: viem.Address;
|
|
214
218
|
gas: bigint;
|
|
215
|
-
nonce: number;
|
|
216
219
|
to: viem.Address | null;
|
|
217
220
|
blobVersionedHashes?: undefined;
|
|
218
221
|
gasPrice: bigint;
|
|
@@ -226,6 +229,7 @@ declare function useMatchChain(): {
|
|
|
226
229
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
227
230
|
} | {
|
|
228
231
|
type: "eip2930";
|
|
232
|
+
nonce: number;
|
|
229
233
|
chainId: number;
|
|
230
234
|
value: bigint;
|
|
231
235
|
input: viem.Hex;
|
|
@@ -236,7 +240,6 @@ declare function useMatchChain(): {
|
|
|
236
240
|
hash: viem.Hash;
|
|
237
241
|
from: viem.Address;
|
|
238
242
|
gas: bigint;
|
|
239
|
-
nonce: number;
|
|
240
243
|
to: viem.Address | null;
|
|
241
244
|
blobVersionedHashes?: undefined;
|
|
242
245
|
gasPrice: bigint;
|
|
@@ -250,6 +253,7 @@ declare function useMatchChain(): {
|
|
|
250
253
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
251
254
|
} | {
|
|
252
255
|
type: "eip1559";
|
|
256
|
+
nonce: number;
|
|
253
257
|
chainId: number;
|
|
254
258
|
value: bigint;
|
|
255
259
|
input: viem.Hex;
|
|
@@ -260,7 +264,6 @@ declare function useMatchChain(): {
|
|
|
260
264
|
hash: viem.Hash;
|
|
261
265
|
from: viem.Address;
|
|
262
266
|
gas: bigint;
|
|
263
|
-
nonce: number;
|
|
264
267
|
to: viem.Address | null;
|
|
265
268
|
blobVersionedHashes?: undefined;
|
|
266
269
|
gasPrice?: undefined;
|
|
@@ -274,6 +277,7 @@ declare function useMatchChain(): {
|
|
|
274
277
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
275
278
|
} | {
|
|
276
279
|
type: "eip4844";
|
|
280
|
+
nonce: number;
|
|
277
281
|
chainId: number;
|
|
278
282
|
value: bigint;
|
|
279
283
|
input: viem.Hex;
|
|
@@ -284,7 +288,6 @@ declare function useMatchChain(): {
|
|
|
284
288
|
hash: viem.Hash;
|
|
285
289
|
from: viem.Address;
|
|
286
290
|
gas: bigint;
|
|
287
|
-
nonce: number;
|
|
288
291
|
to: viem.Address | null;
|
|
289
292
|
blobVersionedHashes: readonly viem.Hex[];
|
|
290
293
|
gasPrice?: undefined;
|
|
@@ -323,6 +326,7 @@ declare function useMatchChain(): {
|
|
|
323
326
|
getStorageAt: (args: viem.GetStorageAtParameters) => Promise<viem.GetStorageAtReturnType>;
|
|
324
327
|
getTransaction: <blockTag extends viem.BlockTag = "latest">(args: viem.GetTransactionParameters<blockTag>) => Promise<{
|
|
325
328
|
type: "legacy";
|
|
329
|
+
nonce: number;
|
|
326
330
|
chainId?: number | undefined;
|
|
327
331
|
value: bigint;
|
|
328
332
|
input: viem.Hex;
|
|
@@ -333,7 +337,6 @@ declare function useMatchChain(): {
|
|
|
333
337
|
hash: viem.Hash;
|
|
334
338
|
from: viem.Address;
|
|
335
339
|
gas: bigint;
|
|
336
|
-
nonce: number;
|
|
337
340
|
to: viem.Address | null;
|
|
338
341
|
blobVersionedHashes?: undefined;
|
|
339
342
|
gasPrice: bigint;
|
|
@@ -347,6 +350,7 @@ declare function useMatchChain(): {
|
|
|
347
350
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
348
351
|
} | {
|
|
349
352
|
type: "eip2930";
|
|
353
|
+
nonce: number;
|
|
350
354
|
chainId: number;
|
|
351
355
|
value: bigint;
|
|
352
356
|
input: viem.Hex;
|
|
@@ -357,7 +361,6 @@ declare function useMatchChain(): {
|
|
|
357
361
|
hash: viem.Hash;
|
|
358
362
|
from: viem.Address;
|
|
359
363
|
gas: bigint;
|
|
360
|
-
nonce: number;
|
|
361
364
|
to: viem.Address | null;
|
|
362
365
|
blobVersionedHashes?: undefined;
|
|
363
366
|
gasPrice: bigint;
|
|
@@ -371,6 +374,7 @@ declare function useMatchChain(): {
|
|
|
371
374
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
372
375
|
} | {
|
|
373
376
|
type: "eip1559";
|
|
377
|
+
nonce: number;
|
|
374
378
|
chainId: number;
|
|
375
379
|
value: bigint;
|
|
376
380
|
input: viem.Hex;
|
|
@@ -381,7 +385,6 @@ declare function useMatchChain(): {
|
|
|
381
385
|
hash: viem.Hash;
|
|
382
386
|
from: viem.Address;
|
|
383
387
|
gas: bigint;
|
|
384
|
-
nonce: number;
|
|
385
388
|
to: viem.Address | null;
|
|
386
389
|
blobVersionedHashes?: undefined;
|
|
387
390
|
gasPrice?: undefined;
|
|
@@ -395,6 +398,7 @@ declare function useMatchChain(): {
|
|
|
395
398
|
transactionIndex: (blockTag extends "pending" ? true : false) extends infer T_2 ? T_2 extends (blockTag extends "pending" ? true : false) ? T_2 extends true ? null : number : never : never;
|
|
396
399
|
} | {
|
|
397
400
|
type: "eip4844";
|
|
401
|
+
nonce: number;
|
|
398
402
|
chainId: number;
|
|
399
403
|
value: bigint;
|
|
400
404
|
input: viem.Hex;
|
|
@@ -405,7 +409,6 @@ declare function useMatchChain(): {
|
|
|
405
409
|
hash: viem.Hash;
|
|
406
410
|
from: viem.Address;
|
|
407
411
|
gas: bigint;
|
|
408
|
-
nonce: number;
|
|
409
412
|
to: viem.Address | null;
|
|
410
413
|
blobVersionedHashes: readonly viem.Hex[];
|
|
411
414
|
gasPrice?: undefined;
|
|
@@ -1810,7 +1813,7 @@ declare function useMatchChain(): {
|
|
|
1810
1813
|
sidecars: viem.TransactionSerializableEIP4844["sidecars"];
|
|
1811
1814
|
}, viem.TransactionSerializableEIP4844>)) | viem.Opaque<viem.TransactionSerializableEIP4844, request> | viem.Opaque<viem.TransactionRequestEIP4844, request> ? "eip4844" : never) | (request["type"] extends string ? request["type"] : never)>) ? T_6 extends "eip4844" ? viem.TransactionRequestEIP4844 : never : never : never)>> & {
|
|
1812
1815
|
chainId?: number | undefined;
|
|
1813
|
-
}, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "
|
|
1816
|
+
}, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">) extends infer T ? { [K in keyof T]: (viem.UnionRequiredBy<Extract<viem.UnionOmit<viem.ExtractChainFormatterParameters<viem.DeriveChain<UserChainType, chainOverride>, "transactionRequest", viem.TransactionRequest>, "from"> & (viem.DeriveChain<UserChainType, chainOverride> extends infer T_1 ? T_1 extends viem.DeriveChain<UserChainType, chainOverride> ? T_1 extends viem.Chain ? {
|
|
1814
1817
|
chain: T_1;
|
|
1815
1818
|
} : {
|
|
1816
1819
|
chain?: undefined;
|
|
@@ -3198,7 +3201,7 @@ declare function useMatchChain(): {
|
|
|
3198
3201
|
sidecars: viem.TransactionSerializableEIP4844["sidecars"];
|
|
3199
3202
|
}, viem.TransactionSerializableEIP4844>)) | viem.Opaque<viem.TransactionSerializableEIP4844, request> | viem.Opaque<viem.TransactionRequestEIP4844, request> ? "eip4844" : never) | (request["type"] extends string ? request["type"] : never)>) ? T_6 extends "eip4844" ? viem.TransactionRequestEIP4844 : never : never : never)>> & {
|
|
3200
3203
|
chainId?: number | undefined;
|
|
3201
|
-
}, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "
|
|
3204
|
+
}, (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "nonce" | "chainId" | "gas" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
|
|
3202
3205
|
readContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "pure" | "view">, args extends viem.ContractFunctionArgs<abi, "pure" | "view", functionName>>(args: viem.ReadContractParameters<abi, functionName, args>) => Promise<viem.ReadContractReturnType<abi, functionName, args>>;
|
|
3203
3206
|
sendRawTransaction: (args: viem.SendRawTransactionParameters) => Promise<viem.SendRawTransactionReturnType>;
|
|
3204
3207
|
simulateContract: <const abi extends viem.Abi | readonly unknown[], functionName extends viem.ContractFunctionName<abi, "nonpayable" | "payable">, args_1 extends viem.ContractFunctionArgs<abi, "nonpayable" | "payable", functionName>, chainOverride extends viem.Chain | undefined, accountOverride extends viem.Account | viem.Address | undefined = undefined>(args: viem.SimulateContractParameters<abi, functionName, args_1, UserChainType, chainOverride, accountOverride>) => Promise<viem.SimulateContractReturnType<abi, functionName, args_1, UserChainType, viem.Account | undefined, chainOverride, accountOverride>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { ReactNode } from 'react';
|
|
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, C as ContactType } from './types-mRkAnXBf.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-BxHKPC5n.mjs';
|
|
4
|
+
import React, { ReactNode } from 'react';
|
|
5
5
|
|
|
6
6
|
declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
|
|
7
7
|
|
|
@@ -26,6 +26,12 @@ declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWith
|
|
|
26
26
|
onSuccess?: () => void;
|
|
27
27
|
}): react_jsx_runtime.JSX.Element;
|
|
28
28
|
|
|
29
|
+
type EVMModalProps = ModalWithHeaderProps & {
|
|
30
|
+
type?: 'login' | 'bind' | '';
|
|
31
|
+
onSuccess?: () => void;
|
|
32
|
+
};
|
|
33
|
+
declare function EVMModal(props: EVMModalProps): false | react_jsx_runtime.JSX.Element;
|
|
34
|
+
|
|
29
35
|
type TRONConnectModalProps = ModalWithHeaderProps & {
|
|
30
36
|
type?: 'login' | 'bind' | '';
|
|
31
37
|
onSuccess?: () => void;
|
|
@@ -75,8 +81,22 @@ declare function TransactionList({ scrollableTarget }: {
|
|
|
75
81
|
scrollableTarget?: ReactNode;
|
|
76
82
|
}): react_jsx_runtime.JSX.Element;
|
|
77
83
|
|
|
84
|
+
declare function ContactCard({ loading, data, action }: {
|
|
85
|
+
loading?: boolean;
|
|
86
|
+
data?: ContactType;
|
|
87
|
+
action?: () => React.ReactNode;
|
|
88
|
+
}): react_jsx_runtime.JSX.Element;
|
|
89
|
+
declare function ContactList({ limit, height, type }: {
|
|
90
|
+
limit?: number;
|
|
91
|
+
height?: number | string;
|
|
92
|
+
type?: "Friend" | "Requests";
|
|
93
|
+
}): react_jsx_runtime.JSX.Element;
|
|
94
|
+
|
|
78
95
|
declare const index_BTCModal: typeof BTCModal;
|
|
79
96
|
declare const index_Button: typeof Button;
|
|
97
|
+
declare const index_ContactCard: typeof ContactCard;
|
|
98
|
+
declare const index_ContactList: typeof ContactList;
|
|
99
|
+
declare const index_EVMModal: typeof EVMModal;
|
|
80
100
|
declare const index_EmailModal: typeof EmailModal;
|
|
81
101
|
declare const index_Field: typeof Field;
|
|
82
102
|
declare const index_Input: typeof Input;
|
|
@@ -98,7 +118,7 @@ declare const index_UsernameModal: typeof UsernameModal;
|
|
|
98
118
|
declare const index_WalletAsset: typeof WalletAsset;
|
|
99
119
|
declare const index_WalletModal: typeof WalletModal;
|
|
100
120
|
declare namespace index {
|
|
101
|
-
export { index_BTCModal as BTCModal, index_Button as Button, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
|
|
121
|
+
export { index_BTCModal as BTCModal, index_Button as Button, index_ContactCard as ContactCard, index_ContactList as ContactList, index_EVMModal as EVMModal, index_EmailModal as EmailModal, index_Field as Field, index_Input as Input, index_LoginBox as LoginBox, index_LoginButton as LoginButton, index_LoginModal as LoginModal, index_LoginPanel as LoginPanel, index_Modal as Modal, index_ModalWithHeader as ModalWithHeader, index_Overlay as Overlay, index_Popover as Popover, index_TONModal as TONModal, index_TRONModal as TRONModal, index_TokenDetail as TokenDetail, index_TokenSend as TokenSend, index_TokenSendList as TokenSendList, index_TransactionList as TransactionList, index_UsernameModal as UsernameModal, index_WalletAsset as WalletAsset, index_WalletModal as WalletModal };
|
|
102
122
|
}
|
|
103
123
|
|
|
104
|
-
export { BTCModal as B, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c,
|
|
124
|
+
export { BTCModal as B, ContactList as C, EmailModal as E, LoginBox as L, TRONModal as T, UsernameModal as U, WalletModal as W, LoginButton as a, LoginPanel as b, LoginModal as c, EVMModal as d, TONModal as e, WalletAsset as f, TokenDetail as g, TokenSend as h, index as i, TokenSendList as j, TransactionList as k, ContactCard as l };
|
|
@@ -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 { G as InputProps, B as ButtonProps, N as ModalProps, M as ModalWithHeaderProps, T as PopoverProps } from './types-mRkAnXBf.js';
|
|
4
4
|
|
|
5
5
|
declare function Field({ label, children, error, required, className }: {
|
|
6
6
|
label: ReactNode;
|
|
@@ -1,20 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseQueryOptions } from '@tanstack/react-query/src/types';
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
declare const isSuccess: (res: {
|
|
6
|
-
code: number;
|
|
7
|
-
message: string;
|
|
8
|
-
data?: any;
|
|
9
|
-
}) => boolean;
|
|
10
|
-
interface MyResponseType<T> {
|
|
11
|
-
code: number;
|
|
12
|
-
data: T;
|
|
13
|
-
message: string;
|
|
14
|
-
success: boolean;
|
|
15
|
-
fail: boolean;
|
|
16
|
-
result: T;
|
|
17
|
-
}
|
|
3
|
+
import { S as PohZkpassParams, n as UserTransactionType, $ as UserTransactionNextPageParams, a1 as WalletAssetType, K as MetaPageType, t as BindItemType, s as BindInfoType, Q as PohItemType, U as UserChainType, p as UserAssetToken, o as UserImportTokenType, a2 as WalletChainType, a3 as WalletNFTType, C as ContactType } from './types-mRkAnXBf.js';
|
|
4
|
+
import { M as MyResponseType, i as isSuccess } from './request-B0CyrGFT.js';
|
|
18
5
|
|
|
19
6
|
declare const bindCexApi: (data: {
|
|
20
7
|
cex: string;
|
|
@@ -133,13 +120,50 @@ declare namespace wallet {
|
|
|
133
120
|
export { wallet_USER_IMPORT_TOKEN_LIST_KEY as USER_IMPORT_TOKEN_LIST_KEY, wallet_getUserWalletTransactionsApi as getUserWalletTransactionsApi, wallet_getWalletAssetListApi as getWalletAssetListApi, wallet_getWalletListApi as getWalletListApi, wallet_useAssetListQuery as useAssetListQuery, wallet_useChainListQuery as useChainListQuery, wallet_useImportTokenListQuery as useImportTokenListQuery, wallet_useWalletAssetListQuery as useWalletAssetListQuery, wallet_useWalletChainListQuery as useWalletChainListQuery, wallet_useWalletNftListQuery as useWalletNftListQuery, wallet_userImportTokenApi as userImportTokenApi };
|
|
134
121
|
}
|
|
135
122
|
|
|
123
|
+
declare function useContactList(page_size?: number, type?: "Friend" | "Requests"): {
|
|
124
|
+
data: ContactType[];
|
|
125
|
+
totalCount: number;
|
|
126
|
+
loading: boolean;
|
|
127
|
+
loadingNextPage: boolean;
|
|
128
|
+
hasNextPage: boolean;
|
|
129
|
+
onLoadMore: (options?: _tanstack_react_query.FetchNextPageOptions) => Promise<_tanstack_react_query.InfiniteQueryObserverResult<_tanstack_react_query.InfiniteData<MetaPageType<ContactType[]>, unknown>, Error>>;
|
|
130
|
+
};
|
|
131
|
+
declare function useContactSearch(keyword: string, options?: Partial<UseQueryOptions<ContactType | null>>): _tanstack_react_query.UseQueryResult<ContactType | null, Error>;
|
|
132
|
+
declare function useContactInfo(options?: Partial<UseQueryOptions<{
|
|
133
|
+
fried_total: number;
|
|
134
|
+
request_total: number;
|
|
135
|
+
referral_total: number;
|
|
136
|
+
poh_total: number;
|
|
137
|
+
referral_link: string;
|
|
138
|
+
}>>): _tanstack_react_query.UseQueryResult<{
|
|
139
|
+
fried_total: number;
|
|
140
|
+
request_total: number;
|
|
141
|
+
referral_total: number;
|
|
142
|
+
poh_total: number;
|
|
143
|
+
referral_link: string;
|
|
144
|
+
}, Error>;
|
|
145
|
+
declare const addContact: (friend_id: string | ContactType) => Promise<boolean>;
|
|
146
|
+
declare const acceptContact: (friend_id: string | ContactType) => Promise<boolean>;
|
|
147
|
+
declare const delContact: (friend_id: string | ContactType) => Promise<boolean>;
|
|
148
|
+
|
|
149
|
+
declare const contact_acceptContact: typeof acceptContact;
|
|
150
|
+
declare const contact_addContact: typeof addContact;
|
|
151
|
+
declare const contact_delContact: typeof delContact;
|
|
152
|
+
declare const contact_useContactInfo: typeof useContactInfo;
|
|
153
|
+
declare const contact_useContactList: typeof useContactList;
|
|
154
|
+
declare const contact_useContactSearch: typeof useContactSearch;
|
|
155
|
+
declare namespace contact {
|
|
156
|
+
export { contact_acceptContact as acceptContact, contact_addContact as addContact, contact_delContact as delContact, contact_useContactInfo as useContactInfo, contact_useContactList as useContactList, contact_useContactSearch as useContactSearch };
|
|
157
|
+
}
|
|
158
|
+
|
|
136
159
|
declare const index_bind: typeof bind;
|
|
160
|
+
declare const index_contact: typeof contact;
|
|
137
161
|
declare const index_isSuccess: typeof isSuccess;
|
|
138
162
|
declare const index_poh: typeof poh;
|
|
139
163
|
declare const index_user: typeof user;
|
|
140
164
|
declare const index_wallet: typeof wallet;
|
|
141
165
|
declare namespace index {
|
|
142
|
-
export { index_bind as bind, index_isSuccess as isSuccess, index_poh as poh, index_user as user, index_wallet as wallet };
|
|
166
|
+
export { index_bind as bind, index_contact as contact, index_isSuccess as isSuccess, index_poh as poh, index_user as user, index_wallet as wallet };
|
|
143
167
|
}
|
|
144
168
|
|
|
145
|
-
export {
|
|
169
|
+
export { bind as b, contact as c, index as i, poh as p, user as u, wallet as w };
|