@matchain/matchid-sdk-react 0.1.37-alpha.12 → 0.1.37-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.
Files changed (40) hide show
  1. package/dist/assets/icon/index.d.mts +1 -7
  2. package/dist/assets/icon/index.d.ts +1 -7
  3. package/dist/assets/icon/index.js +0 -78
  4. package/dist/assets/icon/index.js.map +1 -1
  5. package/dist/assets/icon/index.mjs +1 -7
  6. package/dist/chunk-J6EA7OSJ.mjs +992 -0
  7. package/dist/chunk-J6EA7OSJ.mjs.map +1 -0
  8. package/dist/{chunk-IHRQKSSO.mjs → chunk-MZB76VOE.mjs} +2 -2
  9. package/dist/chunk-MZB76VOE.mjs.map +1 -0
  10. package/dist/{chunk-F5CJROWH.mjs → chunk-YCRZLAOS.mjs} +173 -358
  11. package/dist/chunk-YCRZLAOS.mjs.map +1 -0
  12. package/dist/components/index.d.mts +1 -1
  13. package/dist/components/index.d.ts +1 -1
  14. package/dist/components/index.js +300 -663
  15. package/dist/components/index.js.map +1 -1
  16. package/dist/components/index.mjs +4 -4
  17. package/dist/hooks/api/index.d.mts +1 -1
  18. package/dist/hooks/api/index.d.ts +1 -1
  19. package/dist/hooks/api/index.js +42 -56
  20. package/dist/hooks/api/index.js.map +1 -1
  21. package/dist/hooks/api/index.mjs +3 -3
  22. package/dist/hooks/index.js +48 -62
  23. package/dist/hooks/index.js.map +1 -1
  24. package/dist/hooks/index.mjs +2 -2
  25. package/dist/{index-BICt0DjJ.d.ts → index-BFn-HCRJ.d.ts} +3 -3
  26. package/dist/{index-CzAaZV-2.d.mts → index-BdeWio3u.d.mts} +3 -3
  27. package/dist/{index-B89X65ox.d.ts → index-CfipOX1C.d.ts} +5 -5
  28. package/dist/{index-CAvsdgJw.d.mts → index-Dq1vYJ0E.d.mts} +5 -5
  29. package/dist/index.d.mts +2 -2
  30. package/dist/index.d.ts +2 -2
  31. package/dist/index.js +377 -752
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.mjs +3 -3
  34. package/example/src/components/Login/index.tsx +1 -1
  35. package/example/src/pages/User.tsx +1 -1
  36. package/package.json +1 -1
  37. package/dist/chunk-6PWH7WZI.mjs +0 -1067
  38. package/dist/chunk-6PWH7WZI.mjs.map +0 -1
  39. package/dist/chunk-F5CJROWH.mjs.map +0 -1
  40. package/dist/chunk-IHRQKSSO.mjs.map +0 -1
@@ -4,8 +4,8 @@ import {
4
4
  useMatchEvents,
5
5
  useUserInfo,
6
6
  useWallet
7
- } from "../chunk-F5CJROWH.mjs";
8
- import "../chunk-6PWH7WZI.mjs";
7
+ } from "../chunk-YCRZLAOS.mjs";
8
+ import "../chunk-J6EA7OSJ.mjs";
9
9
  import "../chunk-J5LGTIGS.mjs";
10
10
  export {
11
11
  useCopyClipboard,
@@ -28,8 +28,8 @@ declare const chooseIdentityApi: ({ identity }: {
28
28
  }) => Promise<MyResponseType<any>>;
29
29
  declare const mintPassportNftApi: () => Promise<MyResponseType<any>>;
30
30
 
31
- declare function useBindList(options?: Partial<Omit<UseQueryOptions<BindItemType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<BindItemType[], Error>;
32
- declare function useBindInfo(options?: Partial<Omit<UseQueryOptions<BindInfoType>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<BindInfoType, Error>;
31
+ declare function useBindList(options?: Omit<UseQueryOptions<BindItemType[]>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<BindItemType[], Error>;
32
+ declare function useBindInfo(options?: Omit<UseQueryOptions<BindInfoType>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<BindInfoType, Error>;
33
33
 
34
34
  declare const bind_bindCexApi: typeof bindCexApi;
35
35
  declare const bind_unBindApi: typeof unBindApi;
@@ -40,7 +40,7 @@ declare namespace bind {
40
40
  export { bind_bindCexApi as bindCexApi, bind_unBindApi as unBindApi, bind_unBindWalletApi as unBindWalletApi, bind_useBindInfo as useBindInfo, bind_useBindList as useBindList };
41
41
  }
42
42
 
43
- declare function usePohList(options?: Partial<Omit<UseQueryOptions<PohItemType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<PohItemType[], Error>;
43
+ declare function usePohList(options?: Omit<UseQueryOptions<PohItemType[]>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<PohItemType[], Error>;
44
44
 
45
45
  declare const poh_usePohList: typeof usePohList;
46
46
  declare const poh_verifyPohApi: typeof verifyPohApi;
@@ -28,8 +28,8 @@ declare const chooseIdentityApi: ({ identity }: {
28
28
  }) => Promise<MyResponseType<any>>;
29
29
  declare const mintPassportNftApi: () => Promise<MyResponseType<any>>;
30
30
 
31
- declare function useBindList(options?: Partial<Omit<UseQueryOptions<BindItemType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<BindItemType[], Error>;
32
- declare function useBindInfo(options?: Partial<Omit<UseQueryOptions<BindInfoType>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<BindInfoType, Error>;
31
+ declare function useBindList(options?: Omit<UseQueryOptions<BindItemType[]>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<BindItemType[], Error>;
32
+ declare function useBindInfo(options?: Omit<UseQueryOptions<BindInfoType>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<BindInfoType, Error>;
33
33
 
34
34
  declare const bind_bindCexApi: typeof bindCexApi;
35
35
  declare const bind_unBindApi: typeof unBindApi;
@@ -40,7 +40,7 @@ declare namespace bind {
40
40
  export { bind_bindCexApi as bindCexApi, bind_unBindApi as unBindApi, bind_unBindWalletApi as unBindWalletApi, bind_useBindInfo as useBindInfo, bind_useBindList as useBindList };
41
41
  }
42
42
 
43
- declare function usePohList(options?: Partial<Omit<UseQueryOptions<PohItemType[]>, 'queryKey' | 'queryFn'>>): _tanstack_react_query.UseQueryResult<PohItemType[], Error>;
43
+ declare function usePohList(options?: Omit<UseQueryOptions<PohItemType[]>, 'queryKey' | 'queryFn'>): _tanstack_react_query.UseQueryResult<PohItemType[], Error>;
44
44
 
45
45
  declare const poh_usePohList: typeof usePohList;
46
46
  declare const poh_verifyPohApi: typeof verifyPohApi;
@@ -18,7 +18,7 @@ declare function Button({ size, disabled, loading, children, onClick, highlight,
18
18
  declare function Modal({ children, isOpen, width, zIndex, className }: ModalProps): react_jsx_runtime.JSX.Element;
19
19
  declare function ModalWithHeader({ children, onBack, onClose, title, showBorder, showClose, ...props }: ModalWithHeaderProps): react_jsx_runtime.JSX.Element;
20
20
 
21
- declare function Popover({ children, content, position, type, className, gap }: PopoverProps): false | "" | 0 | react_jsx_runtime.JSX.Element | null | undefined;
21
+ declare function Popover({ children, content, position, type, className, gap }: PopoverProps): react_jsx_runtime.JSX.Element;
22
22
 
23
23
  declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
24
24
 
@@ -50,7 +50,7 @@ declare function SOLModal({ type, onSuccess, ...props }: ModalWithHeaderProps &
50
50
  onSuccess?: () => void;
51
51
  }): react_jsx_runtime.JSX.Element;
52
52
 
53
- declare function TRONModal({ type, onSuccess, ...props }: ModalWithHeaderProps & {
53
+ declare function TronModal({ type, onSuccess, ...props }: ModalWithHeaderProps & {
54
54
  type?: 'login' | 'bind' | '';
55
55
  onSuccess?: () => void;
56
56
  }): react_jsx_runtime.JSX.Element;
@@ -74,10 +74,10 @@ declare const index_ModalWithHeader: typeof ModalWithHeader;
74
74
  declare const index_PasswordModal: typeof PasswordModal;
75
75
  declare const index_Popover: typeof Popover;
76
76
  declare const index_SOLModal: typeof SOLModal;
77
- declare const index_TRONModal: typeof TRONModal;
77
+ declare const index_TronModal: typeof TronModal;
78
78
  declare const index_UsernameModal: typeof UsernameModal;
79
79
  declare namespace index {
80
- 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_PasswordModal as PasswordModal, index_Popover as Popover, index_SOLModal as SOLModal, index_TRONModal as TRONModal, index_UsernameModal as UsernameModal };
80
+ 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_PasswordModal as PasswordModal, index_Popover as Popover, index_SOLModal as SOLModal, index_TronModal as TronModal, index_UsernameModal as UsernameModal };
81
81
  }
82
82
 
83
- export { Button as B, EmailModal as E, Field as F, Input as I, LoginBox as L, Modal as M, Popover as P, SOLModal as S, TRONModal as T, UsernameModal as U, ModalWithHeader as a, LoginButton as b, LoginPanel as c, LoginModal as d, PasswordModal as e, BTCModal as f, index as i };
83
+ export { Button as B, EmailModal as E, Field as F, Input as I, LoginBox as L, Modal as M, Popover as P, SOLModal as S, TronModal as T, UsernameModal as U, ModalWithHeader as a, LoginButton as b, LoginPanel as c, LoginModal as d, PasswordModal as e, BTCModal as f, index as i };
@@ -18,7 +18,7 @@ declare function Button({ size, disabled, loading, children, onClick, highlight,
18
18
  declare function Modal({ children, isOpen, width, zIndex, className }: ModalProps): react_jsx_runtime.JSX.Element;
19
19
  declare function ModalWithHeader({ children, onBack, onClose, title, showBorder, showClose, ...props }: ModalWithHeaderProps): react_jsx_runtime.JSX.Element;
20
20
 
21
- declare function Popover({ children, content, position, type, className, gap }: PopoverProps): false | "" | 0 | react_jsx_runtime.JSX.Element | null | undefined;
21
+ declare function Popover({ children, content, position, type, className, gap }: PopoverProps): react_jsx_runtime.JSX.Element;
22
22
 
23
23
  declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
24
24
 
@@ -50,7 +50,7 @@ declare function SOLModal({ type, onSuccess, ...props }: ModalWithHeaderProps &
50
50
  onSuccess?: () => void;
51
51
  }): react_jsx_runtime.JSX.Element;
52
52
 
53
- declare function TRONModal({ type, onSuccess, ...props }: ModalWithHeaderProps & {
53
+ declare function TronModal({ type, onSuccess, ...props }: ModalWithHeaderProps & {
54
54
  type?: 'login' | 'bind' | '';
55
55
  onSuccess?: () => void;
56
56
  }): react_jsx_runtime.JSX.Element;
@@ -74,10 +74,10 @@ declare const index_ModalWithHeader: typeof ModalWithHeader;
74
74
  declare const index_PasswordModal: typeof PasswordModal;
75
75
  declare const index_Popover: typeof Popover;
76
76
  declare const index_SOLModal: typeof SOLModal;
77
- declare const index_TRONModal: typeof TRONModal;
77
+ declare const index_TronModal: typeof TronModal;
78
78
  declare const index_UsernameModal: typeof UsernameModal;
79
79
  declare namespace index {
80
- 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_PasswordModal as PasswordModal, index_Popover as Popover, index_SOLModal as SOLModal, index_TRONModal as TRONModal, index_UsernameModal as UsernameModal };
80
+ 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_PasswordModal as PasswordModal, index_Popover as Popover, index_SOLModal as SOLModal, index_TronModal as TronModal, index_UsernameModal as UsernameModal };
81
81
  }
82
82
 
83
- export { Button as B, EmailModal as E, Field as F, Input as I, LoginBox as L, Modal as M, Popover as P, SOLModal as S, TRONModal as T, UsernameModal as U, ModalWithHeader as a, LoginButton as b, LoginPanel as c, LoginModal as d, PasswordModal as e, BTCModal as f, index as i };
83
+ export { Button as B, EmailModal as E, Field as F, Input as I, LoginBox as L, Modal as M, Popover as P, SOLModal as S, TronModal as T, UsernameModal as U, ModalWithHeader as a, LoginButton as b, LoginPanel as c, LoginModal as d, PasswordModal as e, BTCModal as f, index as i };
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType } from './types.d-Cqt8ifXa.mjs';
3
- export { i as Components } from './index-CAvsdgJw.mjs';
3
+ export { i as Components } from './index-Dq1vYJ0E.mjs';
4
4
  export { i as Hooks } from './index-BTTka3Uo.mjs';
5
- export { i as Api } from './index-CzAaZV-2.mjs';
5
+ export { i as Api } from './index-BdeWio3u.mjs';
6
6
  export { i as Chains } from './index-DXRGMAbv.mjs';
7
7
  import 'react/jsx-runtime';
8
8
  import 'viem';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType } from './types.d-Cqt8ifXa.js';
3
- export { i as Components } from './index-B89X65ox.js';
3
+ export { i as Components } from './index-CfipOX1C.js';
4
4
  export { i as Hooks } from './index-DUCRzr-P.js';
5
- export { i as Api } from './index-BICt0DjJ.js';
5
+ export { i as Api } from './index-BFn-HCRJ.js';
6
6
  export { i as Chains } from './index-DXRGMAbv.js';
7
7
  import 'react/jsx-runtime';
8
8
  import 'viem';