@matchain/matchid-sdk-react 0.1.55-alpha.1 → 0.1.55-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 (51) hide show
  1. package/dist/assets/icon/index.d.mts +2 -2
  2. package/dist/assets/icon/index.d.ts +2 -2
  3. package/dist/{chunk-LTPXS5PV.mjs → chunk-E4FPSWA5.mjs} +2 -2
  4. package/dist/{chunk-SKA35IYC.mjs → chunk-FZHWSL7D.mjs} +16 -7
  5. package/dist/chunk-FZHWSL7D.mjs.map +1 -0
  6. package/dist/components/index.d.mts +3 -3
  7. package/dist/components/index.d.ts +3 -3
  8. package/dist/components/index.js +11 -2
  9. package/dist/components/index.js.map +1 -1
  10. package/dist/components/index.mjs +2 -2
  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.map +1 -1
  14. package/dist/hooks/api/index.mjs +3 -3
  15. package/dist/hooks/index.d.mts +2 -2
  16. package/dist/hooks/index.d.ts +2 -2
  17. package/dist/hooks/index.js +10 -1
  18. package/dist/hooks/index.js.map +1 -1
  19. package/dist/hooks/index.mjs +2 -2
  20. package/dist/{index-DbQn4z1l.d.ts → index--nlDB8VK.d.ts} +1 -1
  21. package/dist/{index-a_Qt7NXk.d.mts → index-8HIlfTvH.d.mts} +2 -2
  22. package/dist/{index-D0Psl8Ue.d.mts → index-B81tXGI5.d.mts} +1 -1
  23. package/dist/{index-CMH6Jesl.d.ts → index-BDljOvDd.d.ts} +1 -1
  24. package/dist/{index-Y5WRoqzn.d.ts → index-BST_yuES.d.ts} +1 -1
  25. package/dist/{index-6-oVBXRP.d.mts → index-BSgC4cJ0.d.mts} +1 -1
  26. package/dist/{index-agAVLGF5.d.ts → index-BXbyqSzw.d.ts} +1 -1
  27. package/dist/{index-CNH7a3bx.d.ts → index-C5SqtsGS.d.ts} +2 -2
  28. package/dist/{index-6kXyNEXB.d.ts → index-CYuesWgK.d.ts} +2 -2
  29. package/dist/{index-CBQXIlWu.d.mts → index-CpiO8xr3.d.mts} +1 -1
  30. package/dist/{index-G15A08DI.d.mts → index-D-dey6vu.d.mts} +1 -1
  31. package/dist/{index-CB6ZNvzn.d.mts → index-DHXT-zfU.d.mts} +2 -2
  32. package/dist/{index-CPPDmmz8.d.ts → index-J3gEuYby.d.ts} +2 -1
  33. package/dist/{index-CqKohtvj.d.mts → index-zIc7ghhJ.d.mts} +2 -1
  34. package/dist/index.css +5 -6
  35. package/dist/index.d.mts +8 -8
  36. package/dist/index.d.ts +8 -8
  37. package/dist/index.js +11 -2
  38. package/dist/index.js.map +1 -1
  39. package/dist/index.mjs +7 -7
  40. package/dist/types/index.d.mts +1 -1
  41. package/dist/types/index.d.ts +1 -1
  42. package/dist/{types-CXzZS0eM.d.mts → types-BKeVa_0l.d.mts} +1 -1
  43. package/dist/{types-CXzZS0eM.d.ts → types-BKeVa_0l.d.ts} +1 -1
  44. package/dist/ui/index.d.mts +3 -3
  45. package/dist/ui/index.d.ts +3 -3
  46. package/dist/ui/index.js.map +1 -1
  47. package/dist/ui/index.mjs +2 -2
  48. package/example/src/pages/Wallet/index.tsx +6 -1
  49. package/package.json +1 -1
  50. package/dist/chunk-SKA35IYC.mjs.map +0 -1
  51. /package/dist/{chunk-LTPXS5PV.mjs.map → chunk-E4FPSWA5.mjs.map} +0 -0
@@ -1,5 +1,5 @@
1
- export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from '../../index-D0Psl8Ue.mjs';
1
+ export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from '../../index-B81tXGI5.mjs';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
- import '../../types-CXzZS0eM.mjs';
4
+ import '../../types-BKeVa_0l.mjs';
5
5
  import '@tanstack/react-query/src/types';
@@ -1,5 +1,5 @@
1
- export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from '../../index-DbQn4z1l.js';
1
+ export { t as ArrowDownIcon, f as ArrowLeftIcon, A as ArrowRightIcon, Q as ArrowSendIcon, m as BTCDarkIcon, n as BTCLightIcon, B as BackIcon, z as BitgetIcon, j as CheckIcon, d as CheckRoundIcon, e as CloseEyeIcon, C as CloseIcon, a as CloseRoundIcon, k as CopyIcon, D as DeleteRoundIcon, h as DiscordIcon, o as EVMDarkIcon, p as EVMLightIcon, E as EmailIcon, b as EmailLineIcon, J as ErrorRoundIcon, F as FacebookIcon, g as GithubIcon, G as GoogleIcon, K as InfoLineIcon, M as InfoRoundIcon, u as LeatherIcon, l as LinkedinIcon, L as LoadingIcon, c as LoginIcon, V as MoreIcon, y as OKXIcon, O as OpenEyeIcon, P as PasswordRoundIcon, R as PhantomIcon, S as SOLDarkIcon, q as SOLLightIcon, r as TRXDarkIcon, s as TRXLightIcon, T as TelegramIcon, H as TonDarkIcon, I as TonLightIcon, N as TransferIcon, x as TronLinkIcon, U as UnLoginIcon, v as UnisatIcon, W as WalletIcon, X as XIcon, w as XverseIcon, Y as YoutubeIcon } from '../../index--nlDB8VK.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
- import '../../types-CXzZS0eM.js';
4
+ import '../../types-BKeVa_0l.js';
5
5
  import '@tanstack/react-query/src/types';
@@ -11,7 +11,7 @@ import {
11
11
  useUserInfo,
12
12
  verifyPohApi,
13
13
  wallet_exports
14
- } from "./chunk-SKA35IYC.mjs";
14
+ } from "./chunk-FZHWSL7D.mjs";
15
15
  import {
16
16
  __export
17
17
  } from "./chunk-J5LGTIGS.mjs";
@@ -94,4 +94,4 @@ export {
94
94
  user_exports,
95
95
  api_exports
96
96
  };
97
- //# sourceMappingURL=chunk-LTPXS5PV.mjs.map
97
+ //# sourceMappingURL=chunk-E4FPSWA5.mjs.map
@@ -1,3 +1,7 @@
1
+ import {
2
+ matchMain,
3
+ matchTest
4
+ } from "./chunk-JX73EY6V.mjs";
1
5
  import {
2
6
  NumberFormatter,
3
7
  bytesToBase64,
@@ -60,10 +64,6 @@ import {
60
64
  XverseIcon,
61
65
  YoutubeIcon
62
66
  } from "./chunk-FKXS2XRG.mjs";
63
- import {
64
- matchMain,
65
- matchTest
66
- } from "./chunk-JX73EY6V.mjs";
67
67
  import {
68
68
  __export
69
69
  } from "./chunk-J5LGTIGS.mjs";
@@ -1484,6 +1484,14 @@ function useWallet() {
1484
1484
  useEffect7(() => {
1485
1485
  matchlog_default.log("qwe-evmAccount", evmAccount);
1486
1486
  }, [evmAccount]);
1487
+ const exportWallet = async () => {
1488
+ await window.matchProvider.waitUntilWalletMessage({
1489
+ method: "exportWallet",
1490
+ data: {
1491
+ address
1492
+ }
1493
+ });
1494
+ };
1487
1495
  const realCreateWalletClient = (parameters) => {
1488
1496
  if (!evmAccount) {
1489
1497
  return;
@@ -1617,7 +1625,8 @@ function useWallet() {
1617
1625
  signMessage: signMessage2,
1618
1626
  signTransaction,
1619
1627
  isRecovered,
1620
- createWalletClient: realCreateWalletClient
1628
+ createWalletClient: realCreateWalletClient,
1629
+ exportWallet
1621
1630
  };
1622
1631
  }
1623
1632
 
@@ -4832,7 +4841,7 @@ function StepVerify(props) {
4832
4841
  )
4833
4842
  }
4834
4843
  ) }),
4835
- /* @__PURE__ */ jsx27(Button, { disabled: !canContinue, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ jsx27(FormattedMessage6, { id: "continue" }) })
4844
+ /* @__PURE__ */ jsx27(Button, { disabled: !canContinue, loading: submitting, highlight: true, block: true, size: "lg", onClick: onContinue, children: /* @__PURE__ */ jsx27(FormattedMessage6, { id: "continue" }) })
4836
4845
  ] });
4837
4846
  }
4838
4847
 
@@ -7585,4 +7594,4 @@ export {
7585
7594
  MatchProvider,
7586
7595
  useMatch
7587
7596
  };
7588
- //# sourceMappingURL=chunk-SKA35IYC.mjs.map
7597
+ //# sourceMappingURL=chunk-FZHWSL7D.mjs.map