@rash2x/bridge-widget 0.5.5 → 0.5.6

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("./index-DxLEQnH4.cjs");
3
+ const index = require("./index-BXUBhn_o.cjs");
4
4
  exports.DEFAULT_SLIPPAGE_BPS = index.DEFAULT_SLIPPAGE_BPS;
5
5
  exports.EvaaBridge = index.EvaaBridge;
6
6
  exports.RoutePriority = index.RoutePriority;
@@ -1,4 +1,4 @@
1
- import { Q, d, f, e, G, A, D, V, K, y, Z, F, z, B, X, v, r, s, q, o, p, J, a0, a7, a2, a4, w, H, x, a3, a1, a5, a6, W, U, L, Y, $, a8, N, P, _, I, S, t, i, u, l, m, j, n, h, k } from "./index-DuPQ_srt.js";
1
+ import { Q, d, f, e, G, A, D, V, K, y, Z, F, z, B, X, v, r, s, q, o, p, J, a0, a7, a2, a4, w, H, x, a3, a1, a5, a6, W, U, L, Y, $, a8, N, P, _, I, S, t, i, u, l, m, j, n, h, k } from "./index-w-PXiL0q.js";
2
2
  export {
3
3
  Q as DEFAULT_SLIPPAGE_BPS,
4
4
  d as EvaaBridge,
@@ -3766,8 +3766,8 @@ function useSilentValidations(amountString) {
3766
3766
  function useTelegramRestriction() {
3767
3767
  const { fromChain, toChain } = useChainsStore();
3768
3768
  const restriction = react.useMemo(() => {
3769
- const isTelegramEnv = typeof window !== "undefined" && !!window.Telegram?.WebApp && window.Telegram?.WebApp?.platform !== "unknown";
3770
- console.log();
3769
+ const isTelegramEnv = typeof window !== "undefined" && /* eslint-disable-next-line @typescript-eslint/no-explicit-any */
3770
+ typeof window.TelegramWebviewProxy?.postEvent === "function";
3771
3771
  if (!isTelegramEnv) {
3772
3772
  return { isRestricted: false, isTelegramEnv: false };
3773
3773
  }
@@ -25809,7 +25809,7 @@ class WalletConnectModal {
25809
25809
  }
25810
25810
  async initUi() {
25811
25811
  if (typeof window !== "undefined") {
25812
- await Promise.resolve().then(() => require("./index-Du3Jvj8-.cjs"));
25812
+ await Promise.resolve().then(() => require("./index-CebGXD16.cjs"));
25813
25813
  const modal = document.createElement("wcm-modal");
25814
25814
  document.body.insertAdjacentElement("beforeend", modal);
25815
25815
  OptionsCtrl.setIsUiLoaded(true);
@@ -26564,4 +26564,4 @@ exports.useSettingsStore = useSettingsStore;
26564
26564
  exports.useSwapModel = useSwapModel;
26565
26565
  exports.useTokensStore = useTokensStore;
26566
26566
  exports.useTransactionStore = useTransactionStore;
26567
- //# sourceMappingURL=index-DxLEQnH4.cjs.map
26567
+ //# sourceMappingURL=index-BXUBhn_o.cjs.map