@matchain/matchid-sdk-react 0.1.55-alpha.11 → 0.1.55-alpha.12

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 (54) hide show
  1. package/dist/api.d.mts +2 -2
  2. package/dist/api.d.ts +2 -2
  3. package/dist/api.mjs +2 -2
  4. package/dist/assets/lottie.d.mts +1 -1
  5. package/dist/assets/lottie.d.ts +1 -1
  6. package/dist/chains.d.mts +1 -1
  7. package/dist/chains.d.ts +1 -1
  8. package/dist/{chunk-5WFY6MWJ.mjs → chunk-BZ2PI27T.mjs} +9 -4
  9. package/dist/{chunk-5WFY6MWJ.mjs.map → chunk-BZ2PI27T.mjs.map} +1 -1
  10. package/dist/{chunk-JTNCYI5F.mjs → chunk-LEFO352N.mjs} +2 -2
  11. package/dist/components.d.mts +3 -3
  12. package/dist/components.d.ts +3 -3
  13. package/dist/components.js +8 -3
  14. package/dist/components.js.map +1 -1
  15. package/dist/components.mjs +1 -1
  16. package/dist/hooks.d.mts +4 -2
  17. package/dist/hooks.d.ts +4 -2
  18. package/dist/hooks.js.map +1 -1
  19. package/dist/hooks.mjs +1 -1
  20. package/dist/icon.d.mts +2 -2
  21. package/dist/icon.d.ts +2 -2
  22. package/dist/{index-De5vVOFw.d.mts → index--EI6w9pi.d.mts} +1008 -1002
  23. package/dist/{index-Bx7ztInz.d.ts → index-4dZbgWG2.d.ts} +1 -1
  24. package/dist/{index-Ba8t2zs6.d.mts → index-B4lczvhL.d.mts} +2 -2
  25. package/dist/{index-DXRGMAbv.d.mts → index-B50DU_xT.d.mts} +4 -4
  26. package/dist/{index-DXRGMAbv.d.ts → index-B50DU_xT.d.ts} +4 -4
  27. package/dist/{index-BTO2pJRz.d.ts → index-B80rDuha.d.ts} +1 -1
  28. package/dist/{index-DY5CjOq2.d.ts → index-BBghnVDr.d.ts} +1 -1
  29. package/dist/{index-DL0LMDQ0.d.mts → index-C14uKUDG.d.mts} +2 -2
  30. package/dist/{index-DysgDUCb.d.mts → index-CDTTHSh0.d.mts} +14 -14
  31. package/dist/{index-DysgDUCb.d.ts → index-CDTTHSh0.d.ts} +14 -14
  32. package/dist/{index-HYPgwvkU.d.mts → index-CHtFnnZk.d.mts} +1 -1
  33. package/dist/{index-ChUeWRxV.d.ts → index-Cl0JpAc1.d.ts} +1008 -1002
  34. package/dist/{index-CopoHLm5.d.ts → index-CwHXzvvB.d.ts} +1 -1
  35. package/dist/{index-8h2kA48e.d.ts → index-DGbpUvkd.d.ts} +2 -2
  36. package/dist/{index-BW1GRpQ3.d.mts → index-FKxw4Vaa.d.mts} +1 -1
  37. package/dist/{index-D6wTVWuu.d.mts → index-QPdWAVPk.d.mts} +1 -1
  38. package/dist/{index-D2hhRO2j.d.mts → index-TjbO7d74.d.mts} +1 -1
  39. package/dist/{index-B-u8_Lcy.d.ts → index-UJfUO0uH.d.ts} +2 -2
  40. package/dist/index.d.mts +18 -17
  41. package/dist/index.d.ts +18 -17
  42. package/dist/index.js +8 -3
  43. package/dist/index.js.map +1 -1
  44. package/dist/index.mjs +2 -2
  45. package/dist/{types-Ch54HuTY.d.mts → types-DEsY_CPH.d.mts} +1 -1
  46. package/dist/{types-Ch54HuTY.d.ts → types-DEsY_CPH.d.ts} +1 -1
  47. package/dist/types.d.mts +1 -1
  48. package/dist/types.d.ts +1 -1
  49. package/dist/ui.d.mts +3 -3
  50. package/dist/ui.d.ts +3 -3
  51. package/dist/ui.js.map +1 -1
  52. package/dist/ui.mjs +1 -1
  53. package/package.json +1 -1
  54. /package/dist/{chunk-JTNCYI5F.mjs.map → chunk-LEFO352N.mjs.map} +0 -0
@@ -12,7 +12,7 @@ import {
12
12
  useUserInfo,
13
13
  verifyPohApi,
14
14
  wallet_exports
15
- } from "./chunk-5WFY6MWJ.mjs";
15
+ } from "./chunk-BZ2PI27T.mjs";
16
16
  import {
17
17
  __export
18
18
  } from "./chunk-BJPOCE4O.mjs";
@@ -95,4 +95,4 @@ export {
95
95
  user_exports,
96
96
  api_exports
97
97
  };
98
- //# sourceMappingURL=chunk-JTNCYI5F.mjs.map
98
+ //# sourceMappingURL=chunk-LEFO352N.mjs.map
@@ -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-DL0LMDQ0.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-D6wTVWuu.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-C14uKUDG.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-QPdWAVPk.mjs';
3
3
  import 'react/jsx-runtime';
4
- import './types-Ch54HuTY.mjs';
4
+ import './types-DEsY_CPH.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-8h2kA48e.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-BTO2pJRz.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-DGbpUvkd.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-B80rDuha.js';
3
3
  import 'react/jsx-runtime';
4
- import './types-Ch54HuTY.js';
4
+ import './types-DEsY_CPH.js';
5
5
  import 'react';
6
6
  import '@tanstack/react-query/src/types';
@@ -4546,7 +4546,7 @@ var import_wagmi2 = require("wagmi");
4546
4546
  var import_ethers = require("ethers");
4547
4547
 
4548
4548
  // node_modules/@wagmi/core/dist/esm/version.js
4549
- var version = "2.16.3";
4549
+ var version = "2.16.5";
4550
4550
 
4551
4551
  // node_modules/@wagmi/core/dist/esm/utils/getVersion.js
4552
4552
  var getVersion2 = () => `@wagmi/core@${version}`;
@@ -4697,7 +4697,11 @@ async function getConnectorClient(config, parameters = {}) {
4697
4697
  if (config.state.status === "reconnecting" && !connector2.getAccounts && !connector2.getChainId)
4698
4698
  throw new ConnectorUnavailableReconnectingError({ connector: connector2 });
4699
4699
  const [accounts, chainId2] = await Promise.all([
4700
- connector2.getAccounts(),
4700
+ connector2.getAccounts().catch((e) => {
4701
+ if (parameters.account === null)
4702
+ return [];
4703
+ throw e;
4704
+ }),
4701
4705
  connector2.getChainId()
4702
4706
  ]);
4703
4707
  connection = {
@@ -4720,7 +4724,8 @@ async function getConnectorClient(config, parameters = {}) {
4720
4724
  if (connector.getClient)
4721
4725
  return connector.getClient({ chainId });
4722
4726
  const account = (0, import_utils9.parseAccount)(parameters.account ?? connection.accounts[0]);
4723
- account.address = (0, import_utils9.getAddress)(account.address);
4727
+ if (account)
4728
+ account.address = (0, import_utils9.getAddress)(account.address);
4724
4729
  if (parameters.account && !connection.accounts.some((x) => x.toLowerCase() === account.address.toLowerCase()))
4725
4730
  throw new ConnectorAccountNotFoundError({
4726
4731
  address: account.address,