@rash2x/bridge-widget 0.6.47 → 0.6.48

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-BtPPZlsB.cjs");
3
+ const index = require("./index-B1EjRSx4.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 { U, d, f, e, H, B, F, X, N, z, $, G, A, D, Z, w, s, v, r, p, q, L, a2, aa, a4, a7, x, I, y, a5, J, a3, a8, a9, Y, a6, W, P, _, a1, ab, Q, S, a0, K, V, t, o, i, u, l, m, j, n, h, k } from "./index-BDeKdIW1.js";
1
+ import { U, d, f, e, H, B, F, X, N, z, $, G, A, D, Z, w, s, v, r, p, q, L, a2, aa, a4, a7, x, I, y, a5, J, a3, a8, a9, Y, a6, W, P, _, a1, ab, Q, S, a0, K, V, t, o, i, u, l, m, j, n, h, k } from "./index-3hA-1OJw.js";
2
2
  export {
3
3
  U as DEFAULT_SLIPPAGE_BPS,
4
4
  d as EvaaBridge,
@@ -968,7 +968,7 @@ const formatUsd = (value) => {
968
968
  return `$${value.toFixed(6).replace(/0+$/, "").replace(/\.$/, "")}`;
969
969
  };
970
970
  const formatPercentage = (bps, decimals = 2) => {
971
- return `${(bps / 100).toFixed(decimals)}%`;
971
+ return `${(bps / 100).toFixed(decimals).replace(/0+$/, "").replace(/\.$/, "")}%`;
972
972
  };
973
973
  const formatBalance = (amount, decimals = 2) => {
974
974
  if (!isFinite(amount) || isNaN(amount) || amount <= 0) {
@@ -25965,7 +25965,7 @@ class WalletConnectModal {
25965
25965
  }
25966
25966
  async initUi() {
25967
25967
  if (typeof window !== "undefined") {
25968
- await import("./index-BpJB61tF.js");
25968
+ await import("./index-DdlydK6S.js");
25969
25969
  const modal = document.createElement("wcm-modal");
25970
25970
  document.body.insertAdjacentElement("beforeend", modal);
25971
25971
  OptionsCtrl.setIsUiLoaded(true);
@@ -26724,4 +26724,4 @@ export {
26724
26724
  getQuoteFees as y,
26725
26725
  calculateMinReceived as z
26726
26726
  };
26727
- //# sourceMappingURL=index-BDeKdIW1.js.map
26727
+ //# sourceMappingURL=index-3hA-1OJw.js.map