@matchain/matchid-sdk-react 0.1.55-alpha.2 → 0.1.55-alpha.4

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-BQERJULN.mjs → chunk-E4FPSWA5.mjs} +2 -2
  4. package/dist/{chunk-WZQ56L5F.mjs → chunk-FZHWSL7D.mjs} +11 -2
  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 +10 -1
  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.map +1 -1
  14. package/dist/hooks/api/index.mjs +2 -2
  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 +1 -1
  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 +2 -2
  35. package/dist/index.d.mts +8 -8
  36. package/dist/index.d.ts +8 -8
  37. package/dist/index.js +10 -1
  38. package/dist/index.js.map +1 -1
  39. package/dist/index.mjs +2 -2
  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 +1 -1
  48. package/example/src/pages/Wallet/index.tsx +6 -1
  49. package/package.json +1 -1
  50. package/dist/chunk-WZQ56L5F.mjs.map +0 -1
  51. /package/dist/{chunk-BQERJULN.mjs.map → chunk-E4FPSWA5.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
- export { B as BTCModal, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-a_Qt7NXk.mjs';
2
- export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-CBQXIlWu.mjs';
1
+ export { B as BTCModal, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-8HIlfTvH.mjs';
2
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-CpiO8xr3.mjs';
3
3
  import 'react/jsx-runtime';
4
- import '../types-CXzZS0eM.mjs';
4
+ import '../types-BKeVa_0l.mjs';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -1,6 +1,6 @@
1
- export { B as BTCModal, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-CNH7a3bx.js';
2
- export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-agAVLGF5.js';
1
+ export { B as BTCModal, d as EVMModal, E as EmailModal, L as LoginBox, a as LoginButton, c as LoginModal, b as LoginPanel, e as TONModal, T as TRONModal, g as TokenDetail, h as TokenSend, j as TokenSendList, k as TransactionList, U as UsernameModal, f as WalletAsset, W as WalletModal } from '../index-C5SqtsGS.js';
2
+ export { B as Button, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from '../index-BXbyqSzw.js';
3
3
  import 'react/jsx-runtime';
4
- import '../types-CXzZS0eM.js';
4
+ import '../types-BKeVa_0l.js';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -2374,6 +2374,14 @@ function useWallet() {
2374
2374
  (0, import_react11.useEffect)(() => {
2375
2375
  matchlog_default.log("qwe-evmAccount", evmAccount);
2376
2376
  }, [evmAccount]);
2377
+ const exportWallet = async () => {
2378
+ await window.matchProvider.waitUntilWalletMessage({
2379
+ method: "exportWallet",
2380
+ data: {
2381
+ address
2382
+ }
2383
+ });
2384
+ };
2377
2385
  const realCreateWalletClient = (parameters) => {
2378
2386
  if (!evmAccount) {
2379
2387
  return;
@@ -2507,7 +2515,8 @@ function useWallet() {
2507
2515
  signMessage: signMessage2,
2508
2516
  signTransaction,
2509
2517
  isRecovered,
2510
- createWalletClient: realCreateWalletClient
2518
+ createWalletClient: realCreateWalletClient,
2519
+ exportWallet
2511
2520
  };
2512
2521
  }
2513
2522