@matchain/matchid-sdk-react 0.1.48-alpha.7 → 0.1.48-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 (50) hide show
  1. package/dist/assets/icon/index.d.mts +1 -1
  2. package/dist/assets/icon/index.d.ts +1 -1
  3. package/dist/{chunk-2CK7JQWH.mjs → chunk-CI63DTB6.mjs} +240 -41
  4. package/dist/chunk-CI63DTB6.mjs.map +1 -0
  5. package/dist/{chunk-YXPWZXPT.mjs → chunk-T72FT5NB.mjs} +2 -2
  6. package/dist/components/index.d.mts +3 -3
  7. package/dist/components/index.d.ts +3 -3
  8. package/dist/components/index.js +3 -2
  9. package/dist/components/index.js.map +1 -1
  10. package/dist/components/index.mjs +1 -1
  11. package/dist/hooks/api/index.d.mts +2 -2
  12. package/dist/hooks/api/index.d.ts +2 -2
  13. package/dist/hooks/api/index.js +33 -2
  14. package/dist/hooks/api/index.js.map +1 -1
  15. package/dist/hooks/api/index.mjs +2 -2
  16. package/dist/hooks/index.d.mts +3 -2
  17. package/dist/hooks/index.d.ts +3 -2
  18. package/dist/hooks/index.js +299 -41
  19. package/dist/hooks/index.js.map +1 -1
  20. package/dist/hooks/index.mjs +1 -1
  21. package/dist/{index-B8DYrhSW.d.mts → index-B7A0lN0C.d.mts} +12 -4
  22. package/dist/{index-DCeOyAw8.d.ts → index-Bbn2Stvu.d.ts} +2 -2
  23. package/dist/index-Bz53bbI_.d.ts +3268 -0
  24. package/dist/{index-DbG5IjhP.d.mts → index-CB4j_ONH.d.mts} +1 -1
  25. package/dist/{index-B-s1k4Da.d.mts → index-CKyWWkzU.d.mts} +3 -2
  26. package/dist/{index-BZrddrq-.d.mts → index-C_S7k6z2.d.mts} +2 -2
  27. package/dist/{index-BHvCA7F9.d.ts → index-D-uNr-JV.d.ts} +2 -2
  28. package/dist/index-DDV4F9ka.d.mts +3268 -0
  29. package/dist/{index-DG_gyw1q.d.ts → index-DV_mRu4y.d.ts} +3 -2
  30. package/dist/{index-Bzcc-y8m.d.ts → index-DcxdJ0m2.d.ts} +1 -1
  31. package/dist/{index-BvLpvebq.d.mts → index-Dzvj-uGt.d.mts} +2 -2
  32. package/dist/{index-Cwx2p8th.d.ts → index-dhPbMbvL.d.ts} +12 -4
  33. package/dist/index.css +11 -0
  34. package/dist/index.d.mts +8 -7
  35. package/dist/index.d.ts +8 -7
  36. package/dist/index.js +244 -45
  37. package/dist/index.js.map +1 -1
  38. package/dist/index.mjs +2 -2
  39. package/dist/types/index.d.mts +1 -1
  40. package/dist/types/index.d.ts +1 -1
  41. package/dist/{types-CHkU0WHZ.d.mts → types-B4BYNw8B.d.mts} +13 -2
  42. package/dist/{types-CHkU0WHZ.d.ts → types-B4BYNw8B.d.ts} +13 -2
  43. package/dist/ui/index.d.mts +3 -3
  44. package/dist/ui/index.d.ts +3 -3
  45. package/example/src/pages/Wallet/components/MatchWallet.tsx +2 -1
  46. package/package.json +1 -1
  47. package/dist/chunk-2CK7JQWH.mjs.map +0 -1
  48. package/dist/index-DaEFoDv_.d.ts +0 -187
  49. package/dist/index-DktvxNJc.d.mts +0 -187
  50. /package/dist/{chunk-YXPWZXPT.mjs.map → chunk-T72FT5NB.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk-HYQ3T6WW.mjs";
7
7
  import {
8
8
  api_exports
9
- } from "./chunk-YXPWZXPT.mjs";
9
+ } from "./chunk-T72FT5NB.mjs";
10
10
  import {
11
11
  MatchProvider,
12
12
  components_exports,
13
13
  hooks_exports,
14
14
  useMatch
15
- } from "./chunk-2CK7JQWH.mjs";
15
+ } from "./chunk-CI63DTB6.mjs";
16
16
  import "./chunk-UA6XHZHX.mjs";
17
17
  import {
18
18
  ui_exports
@@ -1,3 +1,3 @@
1
1
  export { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from '../mpc-CTbBWHld.mjs';
2
- export { A as AnyObject, k as AppConfigType, l as BindInfoType, m as BindItemType, n as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, o as DrawerProps, E as EmailModalProps, a as IEnvConfigType, p as IEnvName, q as ILoginWalletReq, I as IMatchEvents, g as ISocialLoginMethod, r as IconProps, s as InputProps, L as LocaleType, b as LoginBoxProps, i as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, t as MessageType, u as MetaPageType, v as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, h as OverviewInfo, w as PohItemType, x as PohZkpassParams, P as PopoverPositionType, y as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, z as UIProps, F as UserAssetToken, U as UserChainType, G as UserImportTokenType, H as UserPopoverProps, j as UserTransactionType, J as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletPanelProps, Q as WalletReceiveMessageType, c as WalletType } from '../types-CHkU0WHZ.mjs';
2
+ export { A as AnyObject, k as AppConfigType, l as BindInfoType, m as BindItemType, n as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, o as DrawerProps, E as EmailModalProps, a as IEnvConfigType, p as IEnvName, q as ILoginWalletReq, I as IMatchEvents, g as ISocialLoginMethod, r as IconProps, s as InputProps, L as LocaleType, b as LoginBoxProps, i as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, t as MessageType, u as MetaPageType, v as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, h as OverviewInfo, w as PohItemType, x as PohZkpassParams, P as PopoverPositionType, y as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, z as UIProps, F as UserAssetToken, U as UserChainType, G as UserImportTokenType, H as UserPopoverProps, j as UserTransactionType, J as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, Q as WalletPanelProps, S as WalletReceiveMessageType, c as WalletType } from '../types-B4BYNw8B.mjs';
3
3
  import 'react';
@@ -1,3 +1,3 @@
1
1
  export { A as AuthParams, C as ChainType, E as EmbeddedWalletsParams, R as RecoveryType } from '../mpc-CTbBWHld.js';
2
- export { A as AnyObject, k as AppConfigType, l as BindInfoType, m as BindItemType, n as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, o as DrawerProps, E as EmailModalProps, a as IEnvConfigType, p as IEnvName, q as ILoginWalletReq, I as IMatchEvents, g as ISocialLoginMethod, r as IconProps, s as InputProps, L as LocaleType, b as LoginBoxProps, i as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, t as MessageType, u as MetaPageType, v as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, h as OverviewInfo, w as PohItemType, x as PohZkpassParams, P as PopoverPositionType, y as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, z as UIProps, F as UserAssetToken, U as UserChainType, G as UserImportTokenType, H as UserPopoverProps, j as UserTransactionType, J as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletPanelProps, Q as WalletReceiveMessageType, c as WalletType } from '../types-CHkU0WHZ.js';
2
+ export { A as AnyObject, k as AppConfigType, l as BindInfoType, m as BindItemType, n as BindWalletParam, B as ButtonProps, C as CEXType, D as DeepPartial, o as DrawerProps, E as EmailModalProps, a as IEnvConfigType, p as IEnvName, q as ILoginWalletReq, I as IMatchEvents, g as ISocialLoginMethod, r as IconProps, s as InputProps, L as LocaleType, b as LoginBoxProps, i as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, t as MessageType, u as MetaPageType, v as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, h as OverviewInfo, w as PohItemType, x as PohZkpassParams, P as PopoverPositionType, y as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, T as ThemeType, z as UIProps, F as UserAssetToken, U as UserChainType, G as UserImportTokenType, H as UserPopoverProps, j as UserTransactionType, J as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, Q as WalletPanelProps, S as WalletReceiveMessageType, c as WalletType } from '../types-B4BYNw8B.js';
3
3
  import 'react';
@@ -278,7 +278,7 @@ type UserChainType = {
278
278
  iconUrl: string;
279
279
  contracts: {
280
280
  multicall3: {
281
- address: string;
281
+ address: `0x${string}`;
282
282
  };
283
283
  };
284
284
  };
@@ -361,5 +361,16 @@ type WalletChainType = {
361
361
  chain_full_name: string;
362
362
  chain_type: string;
363
363
  };
364
+ type WalletNFTType = {
365
+ token_address: string;
366
+ token_id: string;
367
+ token_uri: string;
368
+ amount: string;
369
+ owner_of: string;
370
+ name: string;
371
+ symbol: string;
372
+ blockchain: string;
373
+ chain_id: string;
374
+ };
364
375
 
365
- export type { AnyObject as A, ButtonProps as B, CEXType as C, DeepPartial as D, EmailModalProps as E, UserAssetToken as F, UserImportTokenType as G, UserPopoverProps as H, IMatchEvents as I, WalletAssetType as J, WalletChainType as K, LocaleType as L, ModalWithHeaderProps as M, WalletPanelProps as N, OtherLoginMethodType as O, PopoverPositionType as P, WalletReceiveMessageType as Q, RecommendLoginMethodType as R, ThemeType as T, UserChainType as U, WalletConfigType as W, IEnvConfigType as a, LoginBoxProps as b, WalletType as c, PopoverTypeType as d, LoginPanelProps as e, LoginModalProps as f, ISocialLoginMethod as g, OverviewInfo as h, LoginMethodType as i, UserTransactionType as j, AppConfigType as k, BindInfoType as l, BindItemType as m, BindWalletParam as n, DrawerProps as o, IEnvName as p, ILoginWalletReq as q, IconProps as r, InputProps as s, MessageType as t, MetaPageType as u, ModalProps as v, PohItemType as w, PohZkpassParams as x, PopoverProps as y, UIProps as z };
376
+ export type { AnyObject as A, ButtonProps as B, CEXType as C, DeepPartial as D, EmailModalProps as E, UserAssetToken as F, UserImportTokenType as G, UserPopoverProps as H, IMatchEvents as I, WalletAssetType as J, WalletChainType as K, LocaleType as L, ModalWithHeaderProps as M, WalletNFTType as N, OtherLoginMethodType as O, PopoverPositionType as P, WalletPanelProps as Q, RecommendLoginMethodType as R, WalletReceiveMessageType as S, ThemeType as T, UserChainType as U, WalletConfigType as W, IEnvConfigType as a, LoginBoxProps as b, WalletType as c, PopoverTypeType as d, LoginPanelProps as e, LoginModalProps as f, ISocialLoginMethod as g, OverviewInfo as h, LoginMethodType as i, UserTransactionType as j, AppConfigType as k, BindInfoType as l, BindItemType as m, BindWalletParam as n, DrawerProps as o, IEnvName as p, ILoginWalletReq as q, IconProps as r, InputProps as s, MessageType as t, MetaPageType as u, ModalProps as v, PohItemType as w, PohZkpassParams as x, PopoverProps as y, UIProps as z };
@@ -278,7 +278,7 @@ type UserChainType = {
278
278
  iconUrl: string;
279
279
  contracts: {
280
280
  multicall3: {
281
- address: string;
281
+ address: `0x${string}`;
282
282
  };
283
283
  };
284
284
  };
@@ -361,5 +361,16 @@ type WalletChainType = {
361
361
  chain_full_name: string;
362
362
  chain_type: string;
363
363
  };
364
+ type WalletNFTType = {
365
+ token_address: string;
366
+ token_id: string;
367
+ token_uri: string;
368
+ amount: string;
369
+ owner_of: string;
370
+ name: string;
371
+ symbol: string;
372
+ blockchain: string;
373
+ chain_id: string;
374
+ };
364
375
 
365
- export type { AnyObject as A, ButtonProps as B, CEXType as C, DeepPartial as D, EmailModalProps as E, UserAssetToken as F, UserImportTokenType as G, UserPopoverProps as H, IMatchEvents as I, WalletAssetType as J, WalletChainType as K, LocaleType as L, ModalWithHeaderProps as M, WalletPanelProps as N, OtherLoginMethodType as O, PopoverPositionType as P, WalletReceiveMessageType as Q, RecommendLoginMethodType as R, ThemeType as T, UserChainType as U, WalletConfigType as W, IEnvConfigType as a, LoginBoxProps as b, WalletType as c, PopoverTypeType as d, LoginPanelProps as e, LoginModalProps as f, ISocialLoginMethod as g, OverviewInfo as h, LoginMethodType as i, UserTransactionType as j, AppConfigType as k, BindInfoType as l, BindItemType as m, BindWalletParam as n, DrawerProps as o, IEnvName as p, ILoginWalletReq as q, IconProps as r, InputProps as s, MessageType as t, MetaPageType as u, ModalProps as v, PohItemType as w, PohZkpassParams as x, PopoverProps as y, UIProps as z };
376
+ export type { AnyObject as A, ButtonProps as B, CEXType as C, DeepPartial as D, EmailModalProps as E, UserAssetToken as F, UserImportTokenType as G, UserPopoverProps as H, IMatchEvents as I, WalletAssetType as J, WalletChainType as K, LocaleType as L, ModalWithHeaderProps as M, WalletNFTType as N, OtherLoginMethodType as O, PopoverPositionType as P, WalletPanelProps as Q, RecommendLoginMethodType as R, WalletReceiveMessageType as S, ThemeType as T, UserChainType as U, WalletConfigType as W, IEnvConfigType as a, LoginBoxProps as b, WalletType as c, PopoverTypeType as d, LoginPanelProps as e, LoginModalProps as f, ISocialLoginMethod as g, OverviewInfo as h, LoginMethodType as i, UserTransactionType as j, AppConfigType as k, BindInfoType as l, BindItemType as m, BindWalletParam as n, DrawerProps as o, IEnvName as p, ILoginWalletReq as q, IconProps as r, InputProps as s, MessageType as t, MetaPageType as u, ModalProps as v, PohItemType as w, PohZkpassParams as x, PopoverProps as y, UIProps as z };
@@ -1,6 +1,6 @@
1
- export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-DbG5IjhP.mjs';
2
- export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, S as Switch } from '../index-BvLpvebq.mjs';
1
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-CB4j_ONH.mjs';
2
+ export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, S as Switch } from '../index-Dzvj-uGt.mjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
- import '../types-CHkU0WHZ.mjs';
5
+ import '../types-B4BYNw8B.mjs';
6
6
  import 'viem';
@@ -1,6 +1,6 @@
1
- export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-Bzcc-y8m.js';
2
- export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, S as Switch } from '../index-DCeOyAw8.js';
1
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-DcxdJ0m2.js';
2
+ export { A as AlphaAvatar, D as Drawer, e as HashPanel, M as ModalDrawer, R as Radio, S as Switch } from '../index-Bbn2Stvu.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
- import '../types-CHkU0WHZ.js';
5
+ import '../types-B4BYNw8B.js';
6
6
  import 'viem';
@@ -11,8 +11,9 @@ export default function MatchWallet(){
11
11
  {chain.chain?.id}:{chain.chain?.name}
12
12
  <Button size={"sm"} onClick={chain.showChangeNetwork}>ChangeNetwork</Button>
13
13
  </div>
14
- <div>
14
+ <div className={`flex gap-[16px] items-center`}>
15
15
  <Button size={"sm"} onClick={wallet.showReceiveModal}>ShowReceive</Button>
16
+ <Button size={"sm"} onClick={wallet.showImportTokenModal}>showImportToken</Button>
16
17
 
17
18
  </div>
18
19
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matchain/matchid-sdk-react",
3
- "version": "0.1.48-alpha.7",
3
+ "version": "0.1.48-alpha.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {