@rash2x/bridge-widget 0.7.1 → 0.7.2
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-DMIMGpk_.js → index-B3dEgmKB.js} +2 -22
- package/dist/index-B3dEgmKB.js.map +1 -0
- package/dist/{index-C7NE-Dmd.cjs → index-Cm_DEiyS.cjs} +2 -2
- package/dist/{index-C7NE-Dmd.cjs.map → index-Cm_DEiyS.cjs.map} +1 -1
- package/dist/{index-CCfRExBc.cjs → index-CxHwwPJD.cjs} +2 -22
- package/dist/index-CxHwwPJD.cjs.map +1 -0
- package/dist/{index-Fzl5CHpO.js → index-VeESBfRg.js} +2 -2
- package/dist/{index-Fzl5CHpO.js.map → index-VeESBfRg.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-CCfRExBc.cjs.map +0 -1
- package/dist/index-DMIMGpk_.js.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-CxHwwPJD.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 { L, d, f, e, D, Q, H, y, B, U, w, s, v, r, p, q, G, X, a3, Z, a0, x, z, _, A, Y, a1, a2, S, $, P, I, V, W, a4, a5, J, K, F, N, t, o, i, u, l, m, j, n, h, k } from "./index-
|
|
1
|
+
import { L, d, f, e, D, Q, H, y, B, U, w, s, v, r, p, q, G, X, a3, Z, a0, x, z, _, A, Y, a1, a2, S, $, P, I, V, W, a4, a5, J, K, F, N, t, o, i, u, l, m, j, n, h, k } from "./index-B3dEgmKB.js";
|
|
2
2
|
export {
|
|
3
3
|
L as DEFAULT_SLIPPAGE_BPS,
|
|
4
4
|
d as EvaaBridge,
|
|
@@ -3104,8 +3104,6 @@ const Details = () => {
|
|
|
3104
3104
|
1,
|
|
3105
3105
|
Math.round(bridgeData.quoteDetails?.etaSeconds / 60)
|
|
3106
3106
|
)}m` : "—";
|
|
3107
|
-
const messageFeeDisplay = !quote ? "—" : fees.messageFeeAmount > 0 ? `${truncateToDecimals(fees.messageFeeAmount, 6)} ${fees.messageFeeSymbol}` : "—";
|
|
3108
|
-
const bridgeFeeDisplay = !quote ? "—" : fees.bridgeFeeAmount > 0 ? `${truncateToDecimals(fees.bridgeFeeAmount, 6)} ${fees.bridgeFeeSymbol}` : "—";
|
|
3109
3107
|
const totalFeeDisplay = !quote ? "—" : formatUsd(fees.totalFeeUsd);
|
|
3110
3108
|
const currentSlippageText = !quote ? "—" : formatPercentage(slippageBps);
|
|
3111
3109
|
const routeText = getRouteDisplayName(quote?.route);
|
|
@@ -3147,24 +3145,6 @@ const Details = () => {
|
|
|
3147
3145
|
value: currentSlippageText
|
|
3148
3146
|
}
|
|
3149
3147
|
),
|
|
3150
|
-
/* @__PURE__ */ jsx(
|
|
3151
|
-
DetailsRow,
|
|
3152
|
-
{
|
|
3153
|
-
label: t2("transaction.messageFee"),
|
|
3154
|
-
tooltip: t2("transaction.messageFeeTooltip"),
|
|
3155
|
-
value: messageFeeDisplay,
|
|
3156
|
-
isLoading
|
|
3157
|
-
}
|
|
3158
|
-
),
|
|
3159
|
-
/* @__PURE__ */ jsx(
|
|
3160
|
-
DetailsRow,
|
|
3161
|
-
{
|
|
3162
|
-
label: t2("transaction.bridgeFee"),
|
|
3163
|
-
tooltip: t2("transaction.bridgeFeeTooltip"),
|
|
3164
|
-
value: bridgeFeeDisplay,
|
|
3165
|
-
isLoading
|
|
3166
|
-
}
|
|
3167
|
-
),
|
|
3168
3148
|
/* @__PURE__ */ jsx(
|
|
3169
3149
|
DetailsRow,
|
|
3170
3150
|
{
|
|
@@ -25835,7 +25815,7 @@ class WalletConnectModal {
|
|
|
25835
25815
|
}
|
|
25836
25816
|
async initUi() {
|
|
25837
25817
|
if (typeof window !== "undefined") {
|
|
25838
|
-
await import("./index-
|
|
25818
|
+
await import("./index-VeESBfRg.js");
|
|
25839
25819
|
const modal = document.createElement("wcm-modal");
|
|
25840
25820
|
document.body.insertAdjacentElement("beforeend", modal);
|
|
25841
25821
|
OptionsCtrl.setIsUiLoaded(true);
|
|
@@ -26683,4 +26663,4 @@ export {
|
|
|
26683
26663
|
calculateMinReceived as y,
|
|
26684
26664
|
getQuoteDetails as z
|
|
26685
26665
|
};
|
|
26686
|
-
//# sourceMappingURL=index-
|
|
26666
|
+
//# sourceMappingURL=index-B3dEgmKB.js.map
|