@matchain/matchid-sdk-react 0.1.53-alpha.8 → 0.1.53-alpha.9

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 (49) hide show
  1. package/dist/{chunk-QTUR37B2.mjs → chunk-NCVBLRAJ.mjs} +1 -1
  2. package/dist/{chunk-QTUR37B2.mjs.map → chunk-NCVBLRAJ.mjs.map} +1 -1
  3. package/dist/components/index.js.map +1 -1
  4. package/dist/components/index.mjs +1 -1
  5. package/dist/hooks/api/index.js.map +1 -1
  6. package/dist/hooks/api/index.mjs +1 -1
  7. package/dist/hooks/index.js.map +1 -1
  8. package/dist/hooks/index.mjs +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/index.mjs +1 -1
  11. package/package.json +1 -1
  12. package/dist/assets/icon/index.d.mts +0 -5
  13. package/dist/assets/icon/index.d.ts +0 -5
  14. package/dist/components/index.d.mts +0 -6
  15. package/dist/components/index.d.ts +0 -6
  16. package/dist/config/chains/index.d.mts +0 -2
  17. package/dist/config/chains/index.d.ts +0 -2
  18. package/dist/hooks/api/index.d.mts +0 -6
  19. package/dist/hooks/api/index.d.ts +0 -6
  20. package/dist/hooks/index.d.mts +0 -11
  21. package/dist/hooks/index.d.ts +0 -11
  22. package/dist/index-BDffLLM_.d.mts +0 -157
  23. package/dist/index-BVfCh4l-.d.mts +0 -203
  24. package/dist/index-BaFmUVw-.d.mts +0 -26
  25. package/dist/index-BsX-ovIl.d.ts +0 -157
  26. package/dist/index-C0UKUm0h.d.ts +0 -78
  27. package/dist/index-CQmN0dN4.d.ts +0 -26
  28. package/dist/index-D3Kp05kW.d.ts +0 -203
  29. package/dist/index-D5WIVIkc.d.ts +0 -67
  30. package/dist/index-D7S5DMUy.d.mts +0 -124
  31. package/dist/index-DC4F1u-w.d.mts +0 -78
  32. package/dist/index-DQFQ39D9.d.ts +0 -124
  33. package/dist/index-DXRGMAbv.d.mts +0 -83
  34. package/dist/index-DXRGMAbv.d.ts +0 -83
  35. package/dist/index-DjbH13zc.d.mts +0 -3326
  36. package/dist/index-SOVt-ADK.d.mts +0 -67
  37. package/dist/index-zc2GEzJ9.d.ts +0 -3326
  38. package/dist/index.d.mts +0 -40
  39. package/dist/index.d.ts +0 -40
  40. package/dist/request-B0CyrGFT.d.mts +0 -15
  41. package/dist/request-B0CyrGFT.d.ts +0 -15
  42. package/dist/types/index.d.mts +0 -3
  43. package/dist/types/index.d.ts +0 -3
  44. package/dist/types-VrV1kYga.d.mts +0 -431
  45. package/dist/types-VrV1kYga.d.ts +0 -431
  46. package/dist/ui/index.d.mts +0 -7
  47. package/dist/ui/index.d.ts +0 -7
  48. package/dist/utils/index.d.mts +0 -28
  49. package/dist/utils/index.d.ts +0 -28
@@ -1,124 +0,0 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
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, p as ContactType } from './types-VrV1kYga.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-CQmN0dN4.js';
4
- import React, { ReactNode } from 'react';
5
-
6
- declare function EmailModal({ isOpen, width, onClose, onBack, onLogin }: EmailModalProps): react_jsx_runtime.JSX.Element;
7
-
8
- declare function LoginBox({ recommendMethods, methods, walletMethods, inModal }: LoginBoxProps): react_jsx_runtime.JSX.Element;
9
-
10
- declare function LoginButton({ loginRender, methods, recommendMethods, onLoginClick, popoverPosition, popoverType, popoverGap, walletMethods, ...props }: Omit<ButtonProps, 'onClick' | 'highlight'> & {
11
- loginRender?: ReactNode;
12
- methods?: OtherLoginMethodType[];
13
- recommendMethods?: RecommendLoginMethodType[];
14
- walletMethods?: WalletType[];
15
- onLoginClick?: () => void;
16
- popoverPosition?: PopoverPositionType;
17
- popoverType?: PopoverTypeType;
18
- popoverGap?: number | string;
19
- }): react_jsx_runtime.JSX.Element;
20
-
21
- declare function LoginPanel({ header, onClose, ...props }: LoginPanelProps): react_jsx_runtime.JSX.Element;
22
-
23
- declare function LoginModal({ isOpen, width, ...props }: LoginModalProps): react_jsx_runtime.JSX.Element;
24
-
25
- declare function UsernameModal({ title, isOpen, onSuccess, ...props }: ModalWithHeaderProps & {
26
- onSuccess?: () => void;
27
- }): react_jsx_runtime.JSX.Element;
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
-
35
- type TRONConnectModalProps = ModalWithHeaderProps & {
36
- type?: 'login' | 'bind' | '';
37
- onSuccess?: () => void;
38
- };
39
- declare function TRONModal(props: TRONConnectModalProps): false | react_jsx_runtime.JSX.Element;
40
-
41
- type TonModalProps = ModalWithHeaderProps & {
42
- type?: 'login' | 'bind' | '';
43
- onSuccess?: () => void;
44
- };
45
- declare function TONModal(props: TonModalProps): false | react_jsx_runtime.JSX.Element;
46
-
47
- type BTCConnectModalProps = ModalWithHeaderProps & {
48
- type?: 'login' | 'bind' | '';
49
- onSuccess?: () => void;
50
- };
51
- declare function BTCModal(props: BTCConnectModalProps): false | react_jsx_runtime.JSX.Element;
52
-
53
- type WalletModalProps = ModalWithHeaderProps & {
54
- type?: 'login' | 'bind' | '';
55
- methods?: WalletType[];
56
- };
57
- declare function WalletModal(props: WalletModalProps): false | react_jsx_runtime.JSX.Element;
58
-
59
- declare function WalletAsset({ onAssetClick, matchWalletAssetsOptions }: {
60
- onAssetClick?: (asset: WalletAssetMergeType) => () => void;
61
- matchWalletAssetsOptions?: useMatchWalletAssetsProps;
62
- }): react_jsx_runtime.JSX.Element;
63
-
64
- declare function TokenDetail({ onClose, token }: {
65
- onClose: () => void;
66
- token: WalletAssetMergeType;
67
- }): react_jsx_runtime.JSX.Element;
68
-
69
- declare function TokenSend({ onClose, zIndex, token, onBack }: {
70
- onBack: () => void;
71
- onClose: () => void;
72
- zIndex: number;
73
- token: WalletAssetMergeType;
74
- }): react_jsx_runtime.JSX.Element;
75
-
76
- declare function TokenSendList({ close }: {
77
- close: () => void;
78
- }): react_jsx_runtime.JSX.Element;
79
-
80
- declare function TransactionList({ scrollableTarget }: {
81
- scrollableTarget?: ReactNode;
82
- }): react_jsx_runtime.JSX.Element;
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;
92
- type?: "Friend" | "Requests";
93
- }): react_jsx_runtime.JSX.Element;
94
-
95
- declare const index_BTCModal: typeof BTCModal;
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;
100
- declare const index_EmailModal: typeof EmailModal;
101
- declare const index_Field: typeof Field;
102
- declare const index_Input: typeof Input;
103
- declare const index_LoginBox: typeof LoginBox;
104
- declare const index_LoginButton: typeof LoginButton;
105
- declare const index_LoginModal: typeof LoginModal;
106
- declare const index_LoginPanel: typeof LoginPanel;
107
- declare const index_Modal: typeof Modal;
108
- declare const index_ModalWithHeader: typeof ModalWithHeader;
109
- declare const index_Overlay: typeof Overlay;
110
- declare const index_Popover: typeof Popover;
111
- declare const index_TONModal: typeof TONModal;
112
- declare const index_TRONModal: typeof TRONModal;
113
- declare const index_TokenDetail: typeof TokenDetail;
114
- declare const index_TokenSend: typeof TokenSend;
115
- declare const index_TokenSendList: typeof TokenSendList;
116
- declare const index_TransactionList: typeof TransactionList;
117
- declare const index_UsernameModal: typeof UsernameModal;
118
- declare const index_WalletAsset: typeof WalletAsset;
119
- declare const index_WalletModal: typeof WalletModal;
120
- declare namespace index {
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 };
122
- }
123
-
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,83 +0,0 @@
1
- import * as viem from 'viem';
2
-
3
- declare const matchMain: {
4
- blockExplorers: {
5
- readonly default: {
6
- readonly name: "Matchscan";
7
- readonly url: "https://matchscan.io/";
8
- readonly apiUrl: "https://matchscan.io/api";
9
- };
10
- };
11
- contracts: {
12
- readonly multicall3: {
13
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
14
- };
15
- };
16
- id: 698;
17
- name: "Matchain";
18
- nativeCurrency: {
19
- readonly name: "Match Coin";
20
- readonly symbol: "BNB";
21
- readonly decimals: 18;
22
- };
23
- rpcUrls: {
24
- readonly default: {
25
- readonly http: readonly ["https://rpc.matchain.io"];
26
- };
27
- };
28
- sourceId?: number | undefined;
29
- testnet?: boolean | undefined;
30
- custom?: Record<string, unknown> | undefined;
31
- fees?: viem.ChainFees<undefined> | undefined;
32
- formatters?: undefined;
33
- serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
34
- readonly iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png";
35
- };
36
-
37
- declare const matchTest: {
38
- blockExplorers: {
39
- readonly default: {
40
- readonly name: "Matchscan";
41
- readonly url: "https://testnet.matchscan.io/";
42
- readonly apiUrl: "https://testnet.matchscan.io/api";
43
- };
44
- };
45
- contracts: {
46
- readonly multicall3: {
47
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
48
- readonly blockCreated: 751532;
49
- };
50
- readonly ensRegistry: {
51
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
52
- };
53
- readonly ensUniversalResolver: {
54
- readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
55
- readonly blockCreated: 5317080;
56
- };
57
- };
58
- id: 699;
59
- name: "MatchTest";
60
- nativeCurrency: {
61
- readonly name: "Match Coin";
62
- readonly symbol: "BNB";
63
- readonly decimals: 18;
64
- };
65
- rpcUrls: {
66
- readonly default: {
67
- readonly http: readonly ["https://testnet-rpc.matchain.io"];
68
- };
69
- };
70
- sourceId?: number | undefined;
71
- testnet?: boolean | undefined;
72
- custom?: Record<string, unknown> | undefined;
73
- fees?: viem.ChainFees<undefined> | undefined;
74
- formatters?: undefined;
75
- serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
76
- readonly iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png";
77
- };
78
-
79
- declare namespace index {
80
- export { matchMain as MatchMain, matchTest as MatchTest };
81
- }
82
-
83
- export { matchTest as a, index as i, matchMain as m };
@@ -1,83 +0,0 @@
1
- import * as viem from 'viem';
2
-
3
- declare const matchMain: {
4
- blockExplorers: {
5
- readonly default: {
6
- readonly name: "Matchscan";
7
- readonly url: "https://matchscan.io/";
8
- readonly apiUrl: "https://matchscan.io/api";
9
- };
10
- };
11
- contracts: {
12
- readonly multicall3: {
13
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
14
- };
15
- };
16
- id: 698;
17
- name: "Matchain";
18
- nativeCurrency: {
19
- readonly name: "Match Coin";
20
- readonly symbol: "BNB";
21
- readonly decimals: 18;
22
- };
23
- rpcUrls: {
24
- readonly default: {
25
- readonly http: readonly ["https://rpc.matchain.io"];
26
- };
27
- };
28
- sourceId?: number | undefined;
29
- testnet?: boolean | undefined;
30
- custom?: Record<string, unknown> | undefined;
31
- fees?: viem.ChainFees<undefined> | undefined;
32
- formatters?: undefined;
33
- serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
34
- readonly iconUrl: "https://matchscan.io/static/identicon_logos/blockies.png";
35
- };
36
-
37
- declare const matchTest: {
38
- blockExplorers: {
39
- readonly default: {
40
- readonly name: "Matchscan";
41
- readonly url: "https://testnet.matchscan.io/";
42
- readonly apiUrl: "https://testnet.matchscan.io/api";
43
- };
44
- };
45
- contracts: {
46
- readonly multicall3: {
47
- readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
48
- readonly blockCreated: 751532;
49
- };
50
- readonly ensRegistry: {
51
- readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
52
- };
53
- readonly ensUniversalResolver: {
54
- readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
55
- readonly blockCreated: 5317080;
56
- };
57
- };
58
- id: 699;
59
- name: "MatchTest";
60
- nativeCurrency: {
61
- readonly name: "Match Coin";
62
- readonly symbol: "BNB";
63
- readonly decimals: 18;
64
- };
65
- rpcUrls: {
66
- readonly default: {
67
- readonly http: readonly ["https://testnet-rpc.matchain.io"];
68
- };
69
- };
70
- sourceId?: number | undefined;
71
- testnet?: boolean | undefined;
72
- custom?: Record<string, unknown> | undefined;
73
- fees?: viem.ChainFees<undefined> | undefined;
74
- formatters?: undefined;
75
- serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
76
- readonly iconUrl: "https://testnet.matchscan.io/static/identicon_logos/blockies.png";
77
- };
78
-
79
- declare namespace index {
80
- export { matchMain as MatchMain, matchTest as MatchTest };
81
- }
82
-
83
- export { matchTest as a, index as i, matchMain as m };