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

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 (59) hide show
  1. package/dist/api.d.mts +2 -2
  2. package/dist/api.d.ts +2 -2
  3. package/dist/api.js +20 -20
  4. package/dist/api.js.map +1 -1
  5. package/dist/api.mjs +2 -2
  6. package/dist/assets/lottie.d.mts +1 -1
  7. package/dist/assets/lottie.d.ts +1 -1
  8. package/dist/chains.d.mts +1 -1
  9. package/dist/chains.d.ts +1 -1
  10. package/dist/{chunk-JTNCYI5F.mjs → chunk-25VAJMUX.mjs} +2 -2
  11. package/dist/{chunk-5WFY6MWJ.mjs → chunk-BB4OTBUS.mjs} +165 -155
  12. package/dist/chunk-BB4OTBUS.mjs.map +1 -0
  13. package/dist/components.d.mts +3 -3
  14. package/dist/components.d.ts +3 -3
  15. package/dist/components.js +172 -162
  16. package/dist/components.js.map +1 -1
  17. package/dist/components.mjs +1 -1
  18. package/dist/hooks.d.mts +4 -2
  19. package/dist/hooks.d.ts +4 -2
  20. package/dist/hooks.js +109 -104
  21. package/dist/hooks.js.map +1 -1
  22. package/dist/hooks.mjs +1 -1
  23. package/dist/icon.d.mts +2 -2
  24. package/dist/icon.d.ts +2 -2
  25. package/dist/{index-De5vVOFw.d.mts → index--EI6w9pi.d.mts} +1008 -1002
  26. package/dist/{index-Bx7ztInz.d.ts → index-4dZbgWG2.d.ts} +1 -1
  27. package/dist/{index-DXRGMAbv.d.mts → index-B50DU_xT.d.mts} +4 -4
  28. package/dist/{index-DXRGMAbv.d.ts → index-B50DU_xT.d.ts} +4 -4
  29. package/dist/{index-BTO2pJRz.d.ts → index-B80rDuha.d.ts} +1 -1
  30. package/dist/{index-DY5CjOq2.d.ts → index-BBghnVDr.d.ts} +1 -1
  31. package/dist/{index-DL0LMDQ0.d.mts → index-C14uKUDG.d.mts} +2 -2
  32. package/dist/{index-DysgDUCb.d.mts → index-CDTTHSh0.d.mts} +14 -14
  33. package/dist/{index-DysgDUCb.d.ts → index-CDTTHSh0.d.ts} +14 -14
  34. package/dist/{index-HYPgwvkU.d.mts → index-CHtFnnZk.d.mts} +1 -1
  35. package/dist/{index-ChUeWRxV.d.ts → index-Cl0JpAc1.d.ts} +1008 -1002
  36. package/dist/{index-CopoHLm5.d.ts → index-CwHXzvvB.d.ts} +1 -1
  37. package/dist/{index-8h2kA48e.d.ts → index-DGbpUvkd.d.ts} +2 -2
  38. package/dist/{index-B-u8_Lcy.d.ts → index-Dx4OFZhG.d.mts} +5 -6
  39. package/dist/{index-BW1GRpQ3.d.mts → index-FKxw4Vaa.d.mts} +1 -1
  40. package/dist/{index-D6wTVWuu.d.mts → index-QPdWAVPk.d.mts} +1 -1
  41. package/dist/{index-D2hhRO2j.d.mts → index-TjbO7d74.d.mts} +1 -1
  42. package/dist/{index-Ba8t2zs6.d.mts → index-hiCo96Vc.d.ts} +5 -6
  43. package/dist/index.d.mts +18 -17
  44. package/dist/index.d.ts +18 -17
  45. package/dist/index.js +121 -111
  46. package/dist/index.js.map +1 -1
  47. package/dist/index.mjs +2 -2
  48. package/dist/{types-Ch54HuTY.d.mts → types-DEsY_CPH.d.mts} +1 -1
  49. package/dist/{types-Ch54HuTY.d.ts → types-DEsY_CPH.d.ts} +1 -1
  50. package/dist/types.d.mts +1 -1
  51. package/dist/types.d.ts +1 -1
  52. package/dist/ui.d.mts +3 -3
  53. package/dist/ui.d.ts +3 -3
  54. package/dist/ui.js +14 -9
  55. package/dist/ui.js.map +1 -1
  56. package/dist/ui.mjs +3 -3
  57. package/package.json +1 -1
  58. package/dist/chunk-5WFY6MWJ.mjs.map +0 -1
  59. /package/dist/{chunk-JTNCYI5F.mjs.map → chunk-25VAJMUX.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-X4IQIC5B.mjs";
8
8
  import {
9
9
  api_exports
10
- } from "./chunk-JTNCYI5F.mjs";
10
+ } from "./chunk-25VAJMUX.mjs";
11
11
  import {
12
12
  MatchProvider,
13
13
  ModalProvider,
@@ -17,7 +17,7 @@ import {
17
17
  ui_exports,
18
18
  useMatch,
19
19
  wagmiConfig
20
- } from "./chunk-5WFY6MWJ.mjs";
20
+ } from "./chunk-BB4OTBUS.mjs";
21
21
  import "./chunk-2E4Y2HA7.mjs";
22
22
  import "./chunk-K33FHUZM.mjs";
23
23
  import "./chunk-LA4YEM4O.mjs";
@@ -1,4 +1,4 @@
1
- import { CSSProperties, PropsWithChildren, ReactNode } from 'react';
1
+ import { PropsWithChildren, CSSProperties, ReactNode } from 'react';
2
2
  import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
3
 
4
4
  interface AuthParams {
@@ -1,4 +1,4 @@
1
- import { CSSProperties, PropsWithChildren, ReactNode } from 'react';
1
+ import { PropsWithChildren, CSSProperties, ReactNode } from 'react';
2
2
  import { UseQueryOptions } from '@tanstack/react-query/src/types';
3
3
 
4
4
  interface AuthParams {
package/dist/types.d.mts CHANGED
@@ -1,3 +1,3 @@
1
- export { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-Ch54HuTY.mjs';
1
+ export { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-DEsY_CPH.mjs';
2
2
  import 'react';
3
3
  import '@tanstack/react-query/src/types';
package/dist/types.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-Ch54HuTY.js';
1
+ export { A as Address, q as AnyObject, Q as AppConfigType, S as AuthParams, G as BindInfoType, F as BindItemType, T as BindWalletParam, B as ButtonProps, C as CEXType, o as ChainType, V as DeepPartial, D as DrawerProps, E as EmailModalProps, X as EmbeddedWalletsParams, H as Hash, a as IEnvConfigType, Y as IEnvName, Z as ILoginWalletReq, I as IMatchEvents, l as ISocialLoginMethod, v as IconProps, i as InputProps, L as LocaleType, b as LoginBoxProps, n as LoginMethodType, f as LoginModalProps, e as LoginPanelProps, _ as MessageType, z as MetaPageType, j as ModalProps, M as ModalWithHeaderProps, O as OtherLoginMethodType, m as OverviewInfo, J as PohItemType, w as PohZkpassParams, P as PopoverPositionType, k as PopoverProps, d as PopoverTypeType, R as RecommendLoginMethodType, $ as RecoveryType, a0 as ThemeType, U as UIProps, t as UserAssetToken, p as UserChainType, s as UserImportTokenType, a1 as UserPopoverProps, x as UserTransactionNextPageParams, a2 as UserTransactionRecordType, r as UserTransactionType, g as WalletAssetMergeType, y as WalletAssetType, K as WalletChainType, W as WalletConfigType, N as WalletNFTType, h as WalletPanelProps, a3 as WalletReceiveMessageType, a4 as WalletStatusType, c as WalletType, u as useMatchWalletAssetsProps } from './types-DEsY_CPH.js';
2
2
  import 'react';
3
3
  import '@tanstack/react-query/src/types';
package/dist/ui.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- export { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-D6wTVWuu.mjs';
2
- export { A as AlphaAvatar, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-Ba8t2zs6.mjs';
1
+ export { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-QPdWAVPk.mjs';
2
+ export { A as AlphaAvatar, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-Dx4OFZhG.mjs';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
- import './types-Ch54HuTY.mjs';
5
+ import './types-DEsY_CPH.mjs';
6
6
  import '@tanstack/react-query/src/types';
7
7
  import 'viem';
8
8
  import 'lottie-react';
package/dist/ui.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- export { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-BTO2pJRz.js';
2
- export { A as AlphaAvatar, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-B-u8_Lcy.js';
1
+ export { B as Button, C as ConfirmModal, F as Field, I as Input, M as Modal, a as ModalWithHeader, O as Overlay, P as Popover } from './index-B80rDuha.js';
2
+ export { A as AlphaAvatar, D as Drawer, e as HashPanel, L as Lottie, M as ModalDrawer, R as Radio, a as Skeleton, S as Switch, T as Tabs } from './index-hiCo96Vc.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
- import './types-Ch54HuTY.js';
5
+ import './types-DEsY_CPH.js';
6
6
  import '@tanstack/react-query/src/types';
7
7
  import 'viem';
8
8
  import 'lottie-react';
package/dist/ui.js CHANGED
@@ -38,7 +38,7 @@ __export(ui_exports, {
38
38
  Field: () => Field,
39
39
  HashPanel: () => HashPanel_default,
40
40
  Input: () => Input,
41
- Lottie: () => Lottie,
41
+ Lottie: () => Lottie_default,
42
42
  Modal: () => Modal,
43
43
  ModalDrawer: () => ModalDrawer,
44
44
  ModalWithHeader: () => ModalWithHeader,
@@ -1438,7 +1438,7 @@ function HashPanel({
1438
1438
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1439
1439
  color: statusValue.color
1440
1440
  }, children: statusValue.text }),
1441
- statusValue.lottie ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Lottie, { animationData: statusValue.lottie, style: {
1441
+ statusValue.lottie ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
1442
1442
  width: "96px",
1443
1443
  height: "96px"
1444
1444
  } }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
@@ -1564,14 +1564,19 @@ function Tabs(props) {
1564
1564
  }
1565
1565
 
1566
1566
  // src/ui/Lottie/index.tsx
1567
- var import_lottie_react = __toESM(require("lottie-react"));
1567
+ var import_react43 = require("react");
1568
1568
  var import_jsx_runtime99 = require("react/jsx-runtime");
1569
- function Lottie(props) {
1570
- console.log("Lottie", props);
1571
- const result = /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lottie_react.default, { loop: true, autoplay: true, ...props });
1572
- console.log("result", result);
1573
- return result;
1574
- }
1569
+ var LazyLottie = (props) => {
1570
+ const [LottieReact, setLottieReact] = (0, import_react43.useState)(null);
1571
+ (0, import_react43.useEffect)(() => {
1572
+ import("lottie-react").then((mod) => {
1573
+ setLottieReact(mod.default || mod);
1574
+ });
1575
+ }, []);
1576
+ if (!LottieReact) return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)("div", { children: "Loading..." });
1577
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(LottieReact, { loop: true, autoplay: true, ...props });
1578
+ };
1579
+ var Lottie_default = LazyLottie;
1575
1580
  // Annotate the CommonJS export names for ESM import in node:
1576
1581
  0 && (module.exports = {
1577
1582
  AlphaAvatar,