@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.
Files changed (189) hide show
  1. package/dist/assets/icon/index.d.mts +4 -144
  2. package/dist/assets/icon/index.d.ts +4 -144
  3. package/dist/assets/icon/index.js +54 -0
  4. package/dist/assets/icon/index.js.map +1 -1
  5. package/dist/assets/icon/index.mjs +5 -1
  6. package/dist/chunk-3CR66BEX.mjs +19 -0
  7. package/dist/chunk-3CR66BEX.mjs.map +1 -0
  8. package/dist/{chunk-W5A6WY7Y.mjs → chunk-CLMSEFOV.mjs} +5808 -4749
  9. package/dist/chunk-CLMSEFOV.mjs.map +1 -0
  10. package/dist/{chunk-LHNKZISB.mjs → chunk-FKXS2XRG.mjs} +114 -2
  11. package/dist/chunk-FKXS2XRG.mjs.map +1 -0
  12. package/dist/{chunk-MX7N57AH.mjs → chunk-IZOOVZAD.mjs} +11 -6
  13. package/dist/chunk-IZOOVZAD.mjs.map +1 -0
  14. package/dist/{chunk-HYQ3T6WW.mjs → chunk-JX73EY6V.mjs} +2 -14
  15. package/dist/chunk-JX73EY6V.mjs.map +1 -0
  16. package/dist/{chunk-FB5MHLWX.mjs → chunk-X5HGL3ZX.mjs} +45 -3
  17. package/dist/chunk-X5HGL3ZX.mjs.map +1 -0
  18. package/dist/components/index.d.mts +3 -3
  19. package/dist/components/index.d.ts +3 -3
  20. package/dist/components/index.js +1568 -504
  21. package/dist/components/index.js.map +1 -1
  22. package/dist/components/index.mjs +11 -4
  23. package/dist/config/chains/index.mjs +2 -1
  24. package/dist/hooks/api/index.d.mts +3 -2
  25. package/dist/hooks/api/index.d.ts +3 -2
  26. package/dist/hooks/api/index.js +393 -82
  27. package/dist/hooks/api/index.js.map +1 -1
  28. package/dist/hooks/api/index.mjs +9 -8
  29. package/dist/hooks/index.d.mts +3 -2
  30. package/dist/hooks/index.d.ts +3 -2
  31. package/dist/hooks/index.js +620 -463
  32. package/dist/hooks/index.js.map +1 -1
  33. package/dist/hooks/index.mjs +5 -4
  34. package/dist/index-B1T3lcwo.d.mts +203 -0
  35. package/dist/{index-Df-WlkXq.d.ts → index-B6Tmp2HR.d.ts} +25 -5
  36. package/dist/index-B6pp5UQe.d.ts +203 -0
  37. package/dist/{index-IwwXQ_QV.d.ts → index-BR3CyOOn.d.ts} +5 -2
  38. package/dist/{index-CZqdmQu1.d.mts → index-BeTS09HM.d.mts} +41 -17
  39. package/dist/{index-iWHaT8HV.d.mts → index-BxHKPC5n.d.mts} +1 -1
  40. package/dist/{index-B8cUP7cH.d.ts → index-CA7lhjpa.d.mts} +25 -5
  41. package/dist/{index-yy3VTdFU.d.mts → index-CRoZ0p2b.d.ts} +25 -5
  42. package/dist/{index-BCGJczpk.d.mts → index-CXPCmoIu.d.mts} +5 -2
  43. package/dist/{index-Bil_db2f.d.mts → index-Ce3oCu6-.d.mts} +19 -16
  44. package/dist/{index-DNJuiNdz.d.mts → index-Ci_ub_5y.d.mts} +25 -5
  45. package/dist/{index-BsL6zo6a.d.ts → index-DKV8v6s_.d.ts} +1 -1
  46. package/dist/{index-K5vXmiRX.d.ts → index-Dnjr-WPp.d.ts} +41 -17
  47. package/dist/{index-BS-NO8Y2.d.ts → index-IHigYscw.d.ts} +19 -16
  48. package/dist/index.css +132 -13
  49. package/dist/index.d.mts +9 -7
  50. package/dist/index.d.ts +9 -7
  51. package/dist/index.js +1956 -793
  52. package/dist/index.js.map +1 -1
  53. package/dist/index.mjs +10 -8
  54. package/dist/request-B0CyrGFT.d.mts +15 -0
  55. package/dist/request-B0CyrGFT.d.ts +15 -0
  56. package/dist/types/index.d.mts +1 -1
  57. package/dist/types/index.d.ts +1 -1
  58. package/dist/{types-CZbR7ERa.d.mts → types-mRkAnXBf.d.mts} +17 -1
  59. package/dist/{types-CZbR7ERa.d.ts → types-mRkAnXBf.d.ts} +17 -1
  60. package/dist/ui/index.d.mts +3 -3
  61. package/dist/ui/index.d.ts +3 -3
  62. package/dist/ui/index.js +109 -61
  63. package/dist/ui/index.js.map +1 -1
  64. package/dist/ui/index.mjs +8 -4
  65. package/dist/utils/index.d.mts +3 -2
  66. package/dist/utils/index.d.ts +3 -2
  67. package/dist/utils/index.js +10 -4
  68. package/dist/utils/index.js.map +1 -1
  69. package/dist/utils/index.mjs +3 -1
  70. package/example/dist/assets/Arc-R3PUWRPJ-CUdEQO8X.js +1 -0
  71. package/example/dist/assets/Brave-24BM36UM-C6C5mkTK.js +1 -0
  72. package/example/dist/assets/Browser-4R4QKTV2-D3ON1q-S.js +1 -0
  73. package/example/dist/assets/Chrome-TLI42HDP-BgiVz-ma.js +1 -0
  74. package/example/dist/assets/Edge-AZ34LAFM-EBh9cG_z.js +1 -0
  75. package/example/dist/assets/Firefox-ZDK7RHKK-5nyhB0sj.js +1 -0
  76. package/example/dist/assets/Linux-VYP66PDO--MOvpQUa.js +1 -0
  77. package/example/dist/assets/Macos-5QL4JBJE-DLNYPiln.js +1 -0
  78. package/example/dist/assets/Opera-BKMCKUXC-CCypmVaM.js +1 -0
  79. package/example/dist/assets/Safari-PXQIVS6N-B-Lfxb9r.js +1 -0
  80. package/example/dist/assets/Windows-GTAT3OTE-K9Pt3pUF.js +1 -0
  81. package/example/dist/assets/apechain-COEQ5RUI-0TDoXOYf.js +1 -0
  82. package/example/dist/assets/ar_AR-ZRPPM56D-d2WEfzQ_.js +1349 -0
  83. package/example/dist/assets/arbitrum-HW44W6XR-hPA5bMPt.js +1 -0
  84. package/example/dist/assets/assets-NU2OP443-COMs-Mo6.js +1 -0
  85. package/example/dist/assets/avalanche-MXEFEDSW-DcC5FNt3.js +1 -0
  86. package/example/dist/assets/base-Z4LFBE5D-DHfqMzJC.js +1 -0
  87. package/example/dist/assets/berachain-ZN3U5LDZ-CAvW_8ws.js +1 -0
  88. package/example/dist/assets/bitgetWallet-CLYTW54T-Wwn2QYd0.js +1 -0
  89. package/example/dist/assets/blast-46UQLYYY-BV_Xlsq4.js +1 -0
  90. package/example/dist/assets/bsc-RVE67I5L-DVYEF0vl.js +1 -0
  91. package/example/dist/assets/ccip-BhIcA6Sl.js +1 -0
  92. package/example/dist/assets/celo-E6XU57FO-C5IguUgF.js +1 -0
  93. package/example/dist/assets/coinbaseWallet-WWX6LF36-BMRj6mTC.js +1 -0
  94. package/example/dist/assets/connect-MR6XDLIE-BET5HMNk.js +1 -0
  95. package/example/dist/assets/create-X4WFHLCW-De9pC3ym.js +1 -0
  96. package/example/dist/assets/cronos-ROYR77VZ-Prn3LRPZ.js +1 -0
  97. package/example/dist/assets/de_DE-GYZFZXWH-CYZf24IR.js +1349 -0
  98. package/example/dist/assets/degen-7ROC3GCY-9HqAkHtZ.js +1 -0
  99. package/example/dist/assets/es_419-OGVOQEFZ-D6BJPTeQ.js +1349 -0
  100. package/example/dist/assets/ethereum-RFBAMUVK-WsW8NXqo.js +1 -0
  101. package/example/dist/assets/events-CkdpRqBF.js +1 -0
  102. package/example/dist/assets/flow-NBCRNYVF-D2XasjKk.js +1 -0
  103. package/example/dist/assets/fr_FR-Q5QBQBX2-lQoTmpTH.js +1349 -0
  104. package/example/dist/assets/gnosis-Y56LN66M-D4_J-ZQH.js +1 -0
  105. package/example/dist/assets/gravity-LMEBVSFN-DLxWpxhy.js +1 -0
  106. package/example/dist/assets/hardhat-NEEC6JX7-DzuWQYyS.js +1 -0
  107. package/example/dist/assets/hi_IN-7I7LRHGW-CTQjmeYe.js +1349 -0
  108. package/example/dist/assets/hooks.module-C5ONEBEq.js +1 -0
  109. package/example/dist/assets/hyperevm-J6CONVCX-C6oeYIAP.js +1 -0
  110. package/example/dist/assets/id_ID-ZMGZ2JFV-CgKQKAmU.js +1349 -0
  111. package/example/dist/assets/index-BG5XIZpE.js +3 -0
  112. package/example/dist/assets/index-BsarjAeg.js +1 -0
  113. package/example/dist/assets/index-DK7UFFe7.js +7 -0
  114. package/example/dist/assets/index-DPb8sz1C.js +54 -0
  115. package/example/dist/assets/index-JbpWt42F.js +1 -0
  116. package/example/dist/assets/index-YsGNa18R.css +1 -0
  117. package/example/dist/assets/index-kAjO6hfy.js +2 -0
  118. package/example/dist/assets/index-qgo91dsq.js +3942 -0
  119. package/example/dist/assets/index.es-D44wzsQe.js +71 -0
  120. package/example/dist/assets/injectedWallet-H7LYKTQS-CAHJNGc-.js +1 -0
  121. package/example/dist/assets/ink-4U4ZVNAB-AlM1MLfQ.js +1 -0
  122. package/example/dist/assets/ja_JP-NYBCHQTZ-CMaBl8Za.js +1349 -0
  123. package/example/dist/assets/kaia-A33DVQBT-Fgclbhio.js +1 -0
  124. package/example/dist/assets/ko_KR-67WE736M-DHWhIjcm.js +1349 -0
  125. package/example/dist/assets/linea-IALBSJQC-Cmyd7vgA.js +1 -0
  126. package/example/dist/assets/login-CWDTIDNK-DhDUYE4b.js +1 -0
  127. package/example/dist/assets/manta-5V6W5D7G-BnjsGzeJ.js +1 -0
  128. package/example/dist/assets/mantle-KBL3OIYT-DIpe0poV.js +1 -0
  129. package/example/dist/assets/metaMaskWallet-YFHEHW7V-BggUDXad.js +1 -0
  130. package/example/dist/assets/metaMaskWallet-YFHEHW7V-DBxkXEyI.js +1 -0
  131. package/example/dist/assets/ms_MY-65AJIBUS-BLlUrxe6.js +1349 -0
  132. package/example/dist/assets/okxWallet-GJMKZIND-Ctk5JsJ6.js +1 -0
  133. package/example/dist/assets/optimism-YWJ3IQHA-DYER-OR5.js +1 -0
  134. package/example/dist/assets/polygon-WWEUOMKW-CNBYSB1T.js +1 -0
  135. package/example/dist/assets/pt_BR-DMJANC65-DMs4DrlC.js +1349 -0
  136. package/example/dist/assets/rainbowWallet-2SR6TVBF-kimcGeuf.js +1 -0
  137. package/example/dist/assets/refresh-HJGJRASX-D0rkc63_.js +1 -0
  138. package/example/dist/assets/ronin-PNHX5V6H-BS-WPXjQ.js +1 -0
  139. package/example/dist/assets/ru_RU-WER7RQ6A-DsJK55uv.js +1349 -0
  140. package/example/dist/assets/safeWallet-VUYZPLY4-CXnodgMs.js +1 -0
  141. package/example/dist/assets/sanko-RHQYXGM5-OX010CbN.js +1 -0
  142. package/example/dist/assets/scan-DEOT2M37-1-mJ5OyF.js +1 -0
  143. package/example/dist/assets/scroll-MCKFTBRS-C2gqZSab.js +1 -0
  144. package/example/dist/assets/sign-A7IJEUT5-CGsRnPrd.js +1 -0
  145. package/example/dist/assets/th_TH-JOSHEZ6D-Cp87mIRZ.js +1349 -0
  146. package/example/dist/assets/tr_TR-EAMG2YPO-C52_xfsf.js +1349 -0
  147. package/example/dist/assets/uk_UA-GO2TRVWA-C1C1400t.js +1349 -0
  148. package/example/dist/assets/unichain-OQ3BZUDH-CyMLDmFg.js +1 -0
  149. package/example/dist/assets/vi_VN-5HLLSOJA-Dj7ferOp.js +1349 -0
  150. package/example/dist/assets/walletConnectWallet-FNSU4KNU-B0ci71fU.js +1 -0
  151. package/example/dist/assets/walletConnectWallet-FNSU4KNU-CBpCuHbd.js +1 -0
  152. package/example/dist/assets/xdc-X7V4QFNF-CSGs0o6M.js +1 -0
  153. package/example/dist/assets/zetachain-BMJKVYBN-IK2CZBr3.js +1 -0
  154. package/example/dist/assets/zh_CN-THPIFVWJ-Cbp71xMR.js +1349 -0
  155. package/example/dist/assets/zh_HK-R7XP4TGF-CyJtfKGw.js +1349 -0
  156. package/example/dist/assets/zh_TW-F5LD752V-AHFgsYw-.js +1349 -0
  157. package/example/dist/assets/zksync-UWUXFL74-Bt0brpXu.js +1 -0
  158. package/example/dist/assets/zora-YZH32HP3-CY3tp3EJ.js +1 -0
  159. package/example/dist/index.html +2 -2
  160. package/example/package.json +3 -1
  161. package/example/src/App.tsx +30 -7
  162. package/example/src/pages/Contact/index.tsx +90 -0
  163. package/example/src/pages/UI/components/Tabs.tsx +18 -0
  164. package/example/src/pages/UI/index.tsx +2 -0
  165. package/example/src/pages/User/index.tsx +7 -1
  166. package/package.json +5 -1
  167. package/dist/chunk-4A2YPGO3.mjs +0 -97
  168. package/dist/chunk-4A2YPGO3.mjs.map +0 -1
  169. package/dist/chunk-FB5MHLWX.mjs.map +0 -1
  170. package/dist/chunk-HYQ3T6WW.mjs.map +0 -1
  171. package/dist/chunk-LHNKZISB.mjs.map +0 -1
  172. package/dist/chunk-MX7N57AH.mjs.map +0 -1
  173. package/dist/chunk-W5A6WY7Y.mjs.map +0 -1
  174. package/example/dist/assets/TransportWebHID-BEu7tC0r.js +0 -1
  175. package/example/dist/assets/bignumber-iG7K-qxw.js +0 -10
  176. package/example/dist/assets/ccip-a6wQ1Vcb.js +0 -1
  177. package/example/dist/assets/draggabilly-CRYR_S0q.js +0 -14
  178. package/example/dist/assets/index--dp9m9Ep.js +0 -1
  179. package/example/dist/assets/index-BDTHolFv.js +0 -569
  180. package/example/dist/assets/index-BZl59qLb.js +0 -179
  181. package/example/dist/assets/index-BmMbYNHO.js +0 -303
  182. package/example/dist/assets/index-C7cxVRDF.js +0 -1677
  183. package/example/dist/assets/index-CJk171Yb.js +0 -1
  184. package/example/dist/assets/index-CQiBesAa.js +0 -3
  185. package/example/dist/assets/index-D62loNA9.js +0 -3
  186. package/example/dist/assets/index-DqyX3FG6.js +0 -1
  187. package/example/dist/assets/index-Gy3FXGhr.css +0 -1
  188. package/example/dist/assets/inherits_browser-BlmhoU4v.js +0 -1
  189. package/example/dist/assets/solanaEmbed.esm-Djn-u4Vn.js +0 -38
@@ -1,4 +1,5 @@
1
- import { h as ISocialLoginMethod, i as OverviewInfo, C as CEXType, j as LoginMethodType, I as IMatchEvents, k as ChainType, U as UserChainType, A as Address, H as Hash$1, l as AnyObject, m as UserTransactionType, u as useMatchWalletAssetsProps, n as UserImportTokenType, o as UserAssetToken, g as WalletAssetMergeType } from './types-CZbR7ERa.js';
1
+ import { M as MyResponseType } from './request-B0CyrGFT.js';
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.js';
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: (props: {
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" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "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 ? {
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" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") extends infer T_7 ? T_7 extends (request["parameters"] extends readonly viem.PrepareTransactionRequestParameterType[] ? request["parameters"][number] : "type" | "chainId" | "gas" | "nonce" | "blobVersionedHashes" | "fees") ? T_7 extends "fees" ? "gasPrice" | "maxFeePerGas" | "maxPriorityFeePerGas" : T_7 : never : never> & (unknown extends request["kzg"] ? {} : Pick<request, "kzg">))[K]; } : never>;
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>>;
package/dist/index.css CHANGED
@@ -140,6 +140,9 @@ body {
140
140
  /**matchid-transaction-list**/
141
141
  --matchid-wallet-transaction-bg: var(--matchid-white);
142
142
  --matchid-wallet-transaction-color: var(--matchid-black);
143
+ /**tab**/
144
+ --matchid-tab-color:var(--matchid-secondary-grey);
145
+ --matchid-tab-active-color: var(--matchid-highlight-orange);
143
146
 
144
147
 
145
148
  }
@@ -400,7 +403,7 @@ body {
400
403
  overflow: hidden;
401
404
  backdrop-filter: blur(2px);
402
405
  background: rgba(0, 0, 0, .3);
403
- color:var(--matchid-overlay-color);
406
+ color: var(--matchid-overlay-color);
404
407
  @media screen and (max-width: 768px) {
405
408
  align-items: center;
406
409
  }
@@ -1183,7 +1186,7 @@ body {
1183
1186
  flex-direction: column;
1184
1187
  gap: 48px;
1185
1188
  @media screen and (max-width: 768px) {
1186
- gap:36px;
1189
+ gap: 36px;
1187
1190
  }
1188
1191
 
1189
1192
  .matchid-change-network-list {
@@ -1218,7 +1221,7 @@ body {
1218
1221
  align-items: center;
1219
1222
  gap: 16px;
1220
1223
  @media screen and (max-width: 768px) {
1221
- gap:8px;
1224
+ gap: 8px;
1222
1225
  }
1223
1226
 
1224
1227
  .matchid-change-network-item-icon {
@@ -1288,6 +1291,7 @@ body {
1288
1291
  @media screen and (max-width: 768px) {
1289
1292
  gap: 24px;
1290
1293
  }
1294
+
1291
1295
  .matchid-receive-text {
1292
1296
  font-size: 14px;
1293
1297
  font-weight: 500;
@@ -1304,6 +1308,7 @@ body {
1304
1308
  @media screen and (max-width: 768px) {
1305
1309
  padding: 10px;
1306
1310
  }
1311
+
1307
1312
  .matchid-qr-code {
1308
1313
  width: 148px;
1309
1314
  height: 148px;
@@ -1352,7 +1357,7 @@ body {
1352
1357
 
1353
1358
  .matchid-wallet-asset-item {
1354
1359
 
1355
- background:var(--matchid-wallet-asset-bg);
1360
+ background: var(--matchid-wallet-asset-bg);
1356
1361
  color: var(--matchid-wallet-asset-color);
1357
1362
  display: flex;
1358
1363
  cursor: pointer;
@@ -1379,6 +1384,7 @@ body {
1379
1384
  width: 36px;
1380
1385
  height: 36px;
1381
1386
  }
1387
+
1382
1388
  .matchid-wallet-asset-icon {
1383
1389
  width: 40px;
1384
1390
  height: 40px;
@@ -1397,8 +1403,8 @@ body {
1397
1403
  right: 0px;
1398
1404
  bottom: 1px;
1399
1405
  @media screen and (max-width: 768px) {
1400
- wdth:10px;
1401
- height:10px;
1406
+ width: 10px;
1407
+ height: 10px;
1402
1408
  }
1403
1409
  }
1404
1410
  }
@@ -1414,6 +1420,7 @@ body {
1414
1420
  @media screen and (max-width: 768px) {
1415
1421
  height: 44px;
1416
1422
  }
1423
+
1417
1424
  .matchid-wallet-asset-name {
1418
1425
  font-size: 16px;
1419
1426
  font-weight: 500;
@@ -1495,7 +1502,7 @@ body {
1495
1502
 
1496
1503
  @media (max-width: 768px) {
1497
1504
  padding-bottom: 0px;
1498
- gap:36px;
1505
+ gap: 36px;
1499
1506
  }
1500
1507
 
1501
1508
  .matchid-token-main {
@@ -1549,7 +1556,7 @@ body {
1549
1556
  background: var(--matchid-gray-100);
1550
1557
  border-radius: 12px;
1551
1558
  @media (max-width: 768px) {
1552
- gap:8px;
1559
+ gap: 8px;
1553
1560
  }
1554
1561
 
1555
1562
  .matchid-token-contract-title {
@@ -1583,7 +1590,7 @@ body {
1583
1590
  gap: 40px;
1584
1591
  @media (max-width: 768px) {
1585
1592
  padding-bottom: 0px;
1586
- gap:68px;
1593
+ gap: 68px;
1587
1594
  }
1588
1595
 
1589
1596
  .matchid-token-send-content {
@@ -1743,7 +1750,7 @@ body {
1743
1750
 
1744
1751
  @media (max-width: 768px) {
1745
1752
  padding-bottom: 0px;
1746
- gap:36px;
1753
+ gap: 36px;
1747
1754
  }
1748
1755
 
1749
1756
  .matchid-token-send-list {
@@ -1840,7 +1847,7 @@ body {
1840
1847
  border: 1px solid var(--matchid-line);
1841
1848
  border-radius: 16px;
1842
1849
  height: 78px;
1843
- background:var(--matchid-wallet-transaction-bg);
1850
+ background: var(--matchid-wallet-transaction-bg);
1844
1851
  color: var(--matchid-wallet-transaction-color);
1845
1852
  @media screen and (max-width: 768px) {
1846
1853
  height: 64px;
@@ -1907,7 +1914,8 @@ body {
1907
1914
  gap: 8px;
1908
1915
  font-size: 16px;
1909
1916
  font-weight: 500;
1910
- span{
1917
+
1918
+ span {
1911
1919
  text-align: right;
1912
1920
  }
1913
1921
 
@@ -1966,7 +1974,7 @@ body {
1966
1974
  justify-content: space-between;
1967
1975
  @media screen and (max-width: 768px) {
1968
1976
  padding-bottom: 0;
1969
- gap:115px;
1977
+ gap: 115px;
1970
1978
  }
1971
1979
 
1972
1980
  .matchid-import-token-result-box {
@@ -1997,4 +2005,115 @@ body {
1997
2005
  }
1998
2006
  }
1999
2007
 
2008
+ }
2009
+
2010
+ .matchid-error {
2011
+ color: var(--matchid-red-600);
2012
+ }
2013
+
2014
+ .matchid-skeleton {
2015
+ background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
2016
+ background-size: 200% 100%;
2017
+ animation: matchid-loading 1.5s infinite;
2018
+ }
2019
+
2020
+ @keyframes matchid-loading {
2021
+ 0% {
2022
+ background-position: 200% 0;
2023
+ }
2024
+ 100% {
2025
+ background-position: -200% 0;
2026
+ }
2027
+ }
2028
+
2029
+ .matchid-contact-item{
2030
+ justify-content: space-between;
2031
+ align-items: center;
2032
+ padding:8px 16px;
2033
+ @media screen and (max-width: 768px) {
2034
+ padding:6px 12px;
2035
+ }
2036
+ .matchid-contact-item-content{
2037
+ height:48px;
2038
+ display: flex;
2039
+ gap:16px;
2040
+ align-items: center;
2041
+ @media screen and (max-width: 768px) {
2042
+ height:36px;
2043
+ }
2044
+ .matchid-contact-item-avatar{
2045
+ width:48px;
2046
+ height:48px;
2047
+ border-radius: 50%;
2048
+ @media screen and (max-width: 768px) {
2049
+ height:36px;
2050
+ width:36px;
2051
+ }
2052
+ }
2053
+ .matchid-contact-item-info{
2054
+ display: flex;
2055
+ flex-direction: column;
2056
+ justify-content: space-between;
2057
+ height:100%;
2058
+ .matchid-contact-item-name{
2059
+ font-size: 18px;
2060
+ font-weight: 500;
2061
+ color: var(--matchid-black);
2062
+ @media screen and (max-width: 768px) {
2063
+ font-size:14px;
2064
+ }
2065
+ }
2066
+ .matchid-contact-item-address{
2067
+ font-size: 14px;
2068
+ color: var(--matchid-secondary-grey);
2069
+ @media screen and (max-width: 768px) {
2070
+ font-size:12px;
2071
+ }
2072
+ }
2073
+ }
2074
+ }
2075
+
2076
+ }
2077
+
2078
+ .matchid-nomore{
2079
+ display: flex;
2080
+ justify-content: center;
2081
+ align-items: center;
2082
+ font-weight: 500;
2083
+ font-size: 16px;
2084
+ color: var(--matchid-secondary-grey);
2085
+ padding:20px 0;
2086
+ @media screen and (max-width: 768px) {
2087
+ font-size: 14px;
2088
+ }
2089
+ }
2090
+
2091
+ .matchid-tabs{
2092
+ gap:36px;
2093
+ align-items: start;
2094
+ display: flex;
2095
+ }
2096
+
2097
+ .matchid-tab{
2098
+ color:var(--matchid-tab-color);
2099
+ font-weight:500;
2100
+ font-size: 20px;
2101
+ cursor: pointer;
2102
+
2103
+ @media screen and (max-width: 768px) {
2104
+ font-size: 14px;
2105
+ padding:10px 0;
2106
+ }
2107
+ &.matchid-tab-active{
2108
+ color:var(--matchid-tab-active-color);
2109
+ border-bottom: 2px solid var(--matchid-tab-active-color);
2110
+ }
2111
+ }
2112
+
2113
+ .matchid-cursor-pointer{
2114
+ cursor: pointer;
2115
+ }
2116
+
2117
+ .matchid-remove-box{
2118
+ padding:0px 20px;
2000
2119
  }
package/dist/index.d.mts CHANGED
@@ -1,19 +1,21 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-CZbR7ERa.mjs';
3
- export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-Bil_db2f.mjs';
4
- export { i as Components } from './index-DNJuiNdz.mjs';
5
- export { i as UI } from './index-yy3VTdFU.mjs';
6
- export { i as Api } from './index-CZqdmQu1.mjs';
2
+ import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-mRkAnXBf.mjs';
3
+ export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-Ce3oCu6-.mjs';
4
+ export { i as Components } from './index-Ci_ub_5y.mjs';
5
+ export { i as UI } from './index-CA7lhjpa.mjs';
6
+ export { i as Api } from './index-BeTS09HM.mjs';
7
7
  export { i as Chains } from './index-DXRGMAbv.mjs';
8
- export { i as Types } from './index-BCGJczpk.mjs';
8
+ export { i as Types } from './index-CXPCmoIu.mjs';
9
+ export { i as Icon } from './index-B1T3lcwo.mjs';
9
10
  import '@tanstack/react-query/src/types';
11
+ import './request-B0CyrGFT.mjs';
10
12
  import 'viem';
11
13
  import 'viem/types/misc';
12
14
  import 'abitype';
13
15
  import 'react/jsx-runtime';
14
16
  import 'viem/_types/actions/siwe/verifySiweMessage';
15
17
  import '@tanstack/react-query';
16
- import './index-iWHaT8HV.mjs';
18
+ import './index-BxHKPC5n.mjs';
17
19
 
18
20
  type MatchContextType = {
19
21
  appid: string;
package/dist/index.d.ts CHANGED
@@ -1,19 +1,21 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-CZbR7ERa.js';
3
- export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-BS-NO8Y2.js';
4
- export { i as Components } from './index-Df-WlkXq.js';
5
- export { i as UI } from './index-B8cUP7cH.js';
6
- export { i as Api } from './index-K5vXmiRX.js';
2
+ import { I as IMatchEvents, a as IEnvConfigType, L as LocaleType, W as WalletConfigType } from './types-mRkAnXBf.js';
3
+ export { i as Hooks, M as ModalProvider, T as ToastProvider } from './index-IHigYscw.js';
4
+ export { i as Components } from './index-B6Tmp2HR.js';
5
+ export { i as UI } from './index-CRoZ0p2b.js';
6
+ export { i as Api } from './index-Dnjr-WPp.js';
7
7
  export { i as Chains } from './index-DXRGMAbv.js';
8
- export { i as Types } from './index-IwwXQ_QV.js';
8
+ export { i as Types } from './index-BR3CyOOn.js';
9
+ export { i as Icon } from './index-B6pp5UQe.js';
9
10
  import '@tanstack/react-query/src/types';
11
+ import './request-B0CyrGFT.js';
10
12
  import 'viem';
11
13
  import 'viem/types/misc';
12
14
  import 'abitype';
13
15
  import 'react/jsx-runtime';
14
16
  import 'viem/_types/actions/siwe/verifySiweMessage';
15
17
  import '@tanstack/react-query';
16
- import './index-BsL6zo6a.js';
18
+ import './index-DKV8v6s_.js';
17
19
 
18
20
  type MatchContextType = {
19
21
  appid: string;