@matchain/matchid-sdk-react 0.1.51 → 0.1.52

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.
@@ -11,7 +11,7 @@ import {
11
11
  useUserInfo,
12
12
  verifyPohApi,
13
13
  wallet_exports
14
- } from "./chunk-VIJ4FUT3.mjs";
14
+ } from "./chunk-OL4R4SZU.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-UXFJALFG.mjs.map
97
+ //# sourceMappingURL=chunk-KJQKG6RI.mjs.map
@@ -1,15 +1,3 @@
1
- import {
2
- NumberFormatter,
3
- encodeBase64,
4
- formatAddress,
5
- formatDate,
6
- getAppClientId,
7
- getVersion,
8
- isInTgApp,
9
- isValidEmail,
10
- isValidUsername,
11
- truncateAddress
12
- } from "./chunk-HLUFAIFV.mjs";
13
1
  import {
14
2
  AlphaAvatar,
15
3
  Button,
@@ -29,6 +17,18 @@ import {
29
17
  useHash,
30
18
  useLayout_exports
31
19
  } from "./chunk-FB5MHLWX.mjs";
20
+ import {
21
+ NumberFormatter,
22
+ encodeBase64,
23
+ formatAddress,
24
+ formatDate,
25
+ getAppClientId,
26
+ getVersion,
27
+ isInTgApp,
28
+ isValidEmail,
29
+ isValidUsername,
30
+ truncateAddress
31
+ } from "./chunk-HLUFAIFV.mjs";
32
32
  import {
33
33
  ArrowDownIcon,
34
34
  ArrowRightIcon,
@@ -603,7 +603,7 @@ var useLocalStore_default = useLocalStore;
603
603
  import { useMemo as useMemo7 } from "react";
604
604
 
605
605
  // src/MatchContext.tsx
606
- import { createContext as createContext3, useContext as useContext3, useEffect as useEffect13 } from "react";
606
+ import { createContext as createContext3, useContext as useContext3 } from "react";
607
607
 
608
608
  // src/hooks/index.tsx
609
609
  var hooks_exports = {};
@@ -3658,17 +3658,6 @@ var MatchProvider = ({
3658
3658
  useWalletInit({
3659
3659
  config: wallet
3660
3660
  });
3661
- useEffect13(() => {
3662
- if (!window.Telegram) {
3663
- const script = document.createElement("script");
3664
- script.src = "https://telegram.org/js/telegram-web-app.js?56";
3665
- script.async = true;
3666
- document.body.appendChild(script);
3667
- return () => {
3668
- document.body.removeChild(script);
3669
- };
3670
- }
3671
- }, []);
3672
3661
  return /* @__PURE__ */ jsx12(IntlProvider, { locale: realLocale, messages: messages[realLocale], children: /* @__PURE__ */ jsx12(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx12(
3673
3662
  MatchContext.Provider,
3674
3663
  {
@@ -6462,4 +6451,4 @@ export {
6462
6451
  MatchProvider,
6463
6452
  useMatch
6464
6453
  };
6465
- //# sourceMappingURL=chunk-VIJ4FUT3.mjs.map
6454
+ //# sourceMappingURL=chunk-OL4R4SZU.mjs.map