@matchain/matchid-sdk-react 0.1.55-alpha.9 → 0.1.55

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 +11 -12
  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-GCIXXSIH.mjs → chunk-6PWLEXC3.mjs} +2 -2
  11. package/dist/{chunk-2T4RY5BM.mjs → chunk-PAXASLBR.mjs} +282 -274
  12. package/dist/chunk-PAXASLBR.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 +295 -287
  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 +103 -100
  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-Bx7ztInz.d.ts → index-4dZbgWG2.d.ts} +1 -1
  26. package/dist/{index-DXRGMAbv.d.mts → index-B50DU_xT.d.mts} +4 -4
  27. package/dist/{index-DXRGMAbv.d.ts → index-B50DU_xT.d.ts} +4 -4
  28. package/dist/{index-D6wTVWuu.d.mts → index-BKSGbw7b.d.mts} +3 -3
  29. package/dist/{index-DL0LMDQ0.d.mts → index-BXbfmVoU.d.mts} +2 -2
  30. package/dist/{index-BTO2pJRz.d.ts → index-BtjgRcNJ.d.ts} +3 -3
  31. package/dist/{index-DY5CjOq2.d.ts → index-C82WIWvx.d.ts} +5 -5
  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-BjdOd1te.d.mts → index-CHG4-0Z1.d.mts} +987 -981
  35. package/dist/{index-8h2kA48e.d.ts → index-CsUEaGtM.d.ts} +2 -2
  36. package/dist/{index-CopoHLm5.d.ts → index-CwHXzvvB.d.ts} +1 -1
  37. package/dist/{index-DueNjDv_.d.ts → index-D1Ep9UMx.d.ts} +987 -981
  38. package/dist/{index-HYPgwvkU.d.mts → index-D7E317WV.d.mts} +5 -5
  39. package/dist/{index-B-u8_Lcy.d.ts → index-DK7l3lsH.d.ts} +13 -11
  40. package/dist/{index-BW1GRpQ3.d.mts → index-FKxw4Vaa.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-YPRyEYt6.d.mts} +13 -11
  43. package/dist/index.d.mts +20 -20
  44. package/dist/index.d.ts +20 -20
  45. package/dist/index.js +99 -91
  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 -4
  53. package/dist/ui.d.ts +3 -4
  54. package/dist/ui.js +13 -10
  55. package/dist/ui.js.map +1 -1
  56. package/dist/ui.mjs +3 -3
  57. package/package.json +2 -3
  58. package/dist/chunk-2T4RY5BM.mjs.map +0 -1
  59. /package/dist/{chunk-GCIXXSIH.mjs.map → chunk-6PWLEXC3.mjs.map} +0 -0
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-HBOS3RBL.mjs";
7
7
  import {
8
8
  api_exports
9
- } from "./chunk-GCIXXSIH.mjs";
9
+ } from "./chunk-6PWLEXC3.mjs";
10
10
  import {
11
11
  MatchProvider,
12
12
  ModalProvider,
@@ -16,7 +16,7 @@ import {
16
16
  ui_exports,
17
17
  useMatch,
18
18
  wagmiConfig
19
- } from "./chunk-2T4RY5BM.mjs";
19
+ } from "./chunk-PAXASLBR.mjs";
20
20
  import "./chunk-JX73EY6V.mjs";
21
21
  import "./chunk-UA6XHZHX.mjs";
22
22
  import "./chunk-IZOOVZAD.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,7 @@
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-BKSGbw7b.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-YPRyEYt6.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
- import 'lottie-react';
package/dist/ui.d.ts CHANGED
@@ -1,8 +1,7 @@
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-BtjgRcNJ.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-DK7l3lsH.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
- import 'lottie-react';
package/dist/ui.js CHANGED
@@ -37,7 +37,7 @@ __export(ui_exports, {
37
37
  Field: () => Field,
38
38
  HashPanel: () => HashPanel_default,
39
39
  Input: () => Input,
40
- Lottie: () => Lottie,
40
+ Lottie: () => Lottie_default,
41
41
  Modal: () => Modal,
42
42
  ModalDrawer: () => ModalDrawer,
43
43
  ModalWithHeader: () => ModalWithHeader,
@@ -1437,7 +1437,7 @@ function HashPanel({
1437
1437
  /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: `matchid-hashpanel-status`, style: {
1438
1438
  color: statusValue.color
1439
1439
  }, children: statusValue.text }),
1440
- statusValue.lottie ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Lottie, { animationData: statusValue.lottie, style: {
1440
+ statusValue.lottie ? /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(Lottie_default, { animationData: statusValue.lottie, style: {
1441
1441
  width: "96px",
1442
1442
  height: "96px"
1443
1443
  } }) : /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("img", { src: statusValue.icon, alt: statusValue.text, className: `matchid-hashpanel-img` }),
@@ -1563,14 +1563,17 @@ function Tabs(props) {
1563
1563
  }
1564
1564
 
1565
1565
  // src/ui/Lottie/index.tsx
1566
- var import_lottie_react = __toESM(require("lottie-react"));
1567
- var import_jsx_runtime99 = require("react/jsx-runtime");
1568
- function Lottie(props) {
1569
- console.log("Lottie", props);
1570
- const result = /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(import_lottie_react.default, { loop: true, autoplay: true, ...props });
1571
- console.log("result", result);
1572
- return result;
1573
- }
1566
+ var import_lottie_react = require("lottie-react");
1567
+ var LazyLottie = (props) => {
1568
+ const options = {
1569
+ animationData: props.animationData,
1570
+ loop: true,
1571
+ autoplay: true
1572
+ };
1573
+ const { View } = (0, import_lottie_react.useLottie)(options, props.style);
1574
+ return View;
1575
+ };
1576
+ var Lottie_default = LazyLottie;
1574
1577
  // Annotate the CommonJS export names for ESM import in node:
1575
1578
  0 && (module.exports = {
1576
1579
  AlphaAvatar,