@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.
- package/dist/evaa-bridge.cjs +1 -1
- package/dist/evaa-bridge.mjs +1 -1
- package/dist/{index-BDeKdIW1.js → index-3hA-1OJw.js} +3 -3
- package/dist/index-3hA-1OJw.js.map +1 -0
- package/dist/{index-BtPPZlsB.cjs → index-B1EjRSx4.cjs} +3 -3
- package/dist/index-B1EjRSx4.cjs.map +1 -0
- package/dist/{index-BpJB61tF.js → index-DdlydK6S.js} +2 -2
- package/dist/{index-BpJB61tF.js.map → index-DdlydK6S.js.map} +1 -1
- package/dist/{index-CdHojoQM.cjs → index-kI4_yoYE.cjs} +2 -2
- package/dist/{index-CdHojoQM.cjs.map → index-kI4_yoYE.cjs.map} +1 -1
- package/package.json +1 -1
- package/dist/index-BDeKdIW1.js.map +0 -1
- package/dist/index-BtPPZlsB.cjs.map +0 -1
package/dist/evaa-bridge.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index-
|
|
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;
|
package/dist/evaa-bridge.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
26727
|
+
//# sourceMappingURL=index-3hA-1OJw.js.map
|