@rash2x/bridge-widget 0.6.45 → 0.6.46
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-HW3pzGO_.js → index-C-Rv5dlA.js} +8 -8
- package/dist/index-C-Rv5dlA.js.map +1 -0
- package/dist/{index-CIai7CQu.cjs → index-D87zq9PV.cjs} +2 -2
- package/dist/{index-CIai7CQu.cjs.map → index-D87zq9PV.cjs.map} +1 -1
- package/dist/{index-B5httmag.js → index-DlXh95vJ.js} +2 -2
- package/dist/{index-B5httmag.js.map → index-DlXh95vJ.js.map} +1 -1
- package/dist/{index-D4qTzY3O.cjs → index-dS_Zjwua.cjs} +8 -8
- package/dist/index-dS_Zjwua.cjs.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-D4qTzY3O.cjs.map +0 -1
- package/dist/index-HW3pzGO_.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-dS_Zjwua.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-C-Rv5dlA.js";
|
|
2
2
|
export {
|
|
3
3
|
U as DEFAULT_SLIPPAGE_BPS,
|
|
4
4
|
d as EvaaBridge,
|
|
@@ -4420,7 +4420,7 @@ const ProgressStep = ({
|
|
|
4420
4420
|
];
|
|
4421
4421
|
return /* @__PURE__ */ jsx(DialogContent, { showCloseButton: false, className: "overflow-hidden md:max-w-[420px] p-0", children: /* @__PURE__ */ jsxs("div", { className: "flex relative flex-col gap-6 flex-1 items-center justify-start text-center bg-background noise p-10", children: [
|
|
4422
4422
|
icon,
|
|
4423
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 pb-2 text-center", children: /* @__PURE__ */ jsx(DialogTitle, { children: t2("transaction.inProgress") }) }),
|
|
4423
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 pt-4 pb-2 text-center", children: /* @__PURE__ */ jsx(DialogTitle, { children: t2("transaction.inProgress") }) }),
|
|
4424
4424
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
4425
4425
|
/* @__PURE__ */ jsx("div", { className: "absolute left-5 top-5 bottom-5 border-l border-dashed border-foreground/50" }),
|
|
4426
4426
|
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-6 relative z-10", children: steps.map((step) => /* @__PURE__ */ jsxs(
|
|
@@ -4448,7 +4448,7 @@ const FailedStep = ({
|
|
|
4448
4448
|
return /* @__PURE__ */ jsxs(DialogContent, { showCloseButton: true, className: "overflow-hidden md:max-w-[420px] p-0", children: [
|
|
4449
4449
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col relative gap-4 flex-1 items-center justify-start text-center noise p-10 pb-0", children: [
|
|
4450
4450
|
icon,
|
|
4451
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 pb-2 text-center", children: [
|
|
4451
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 pt-4 pb-2 text-center", children: [
|
|
4452
4452
|
/* @__PURE__ */ jsx(DialogTitle, { children: t2("transaction.failed") }),
|
|
4453
4453
|
current?.errorCode && /* @__PURE__ */ jsx(DialogDescription$1, { children: t2(
|
|
4454
4454
|
`errors.${current.errorCode}`,
|
|
@@ -4456,7 +4456,7 @@ const FailedStep = ({
|
|
|
4456
4456
|
) })
|
|
4457
4457
|
] })
|
|
4458
4458
|
] }),
|
|
4459
|
-
/* @__PURE__ */ jsx(DialogFooter, { className: "px-10 pb-10", children: /* @__PURE__ */ jsx(Button, { variant: "outline", className: "w-full min-w-40", onClick: reset, children: t2("common.close") }) })
|
|
4459
|
+
/* @__PURE__ */ jsx(DialogFooter, { className: "px-10 pb-10 ", children: /* @__PURE__ */ jsx(Button, { variant: "outline", className: "w-full min-w-40", onClick: reset, children: t2("common.close") }) })
|
|
4460
4460
|
] });
|
|
4461
4461
|
};
|
|
4462
4462
|
const EXPLORER_CONFIGS = {
|
|
@@ -4596,7 +4596,7 @@ const SuccessStep = ({
|
|
|
4596
4596
|
children: [
|
|
4597
4597
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 flex-1 justify-start items-center text-center bg-background noise p-10 pb-0", children: [
|
|
4598
4598
|
icon,
|
|
4599
|
-
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 text-center", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-[28px]", children: t2("transaction.success") }) }),
|
|
4599
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2 pt-4 text-center", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-[28px]", children: t2("transaction.success") }) }),
|
|
4600
4600
|
/* @__PURE__ */ jsxs("div", { className: "w-full space-y-2 mt-3 relative z-10 pb-14", children: [
|
|
4601
4601
|
metadata?.srcAmountHuman && /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center", children: [
|
|
4602
4602
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t2("transaction.bridged") }),
|
|
@@ -4656,7 +4656,7 @@ const SuccessStep = ({
|
|
|
4656
4656
|
] })
|
|
4657
4657
|
] })
|
|
4658
4658
|
] }),
|
|
4659
|
-
/* @__PURE__ */ jsx(DialogFooter, { className: "px-10 pb-10", children: /* @__PURE__ */ jsx(Button, { onClick: reset, className: "w-full", children: t2("transaction.done") }) })
|
|
4659
|
+
/* @__PURE__ */ jsx(DialogFooter, { className: "px-10 pb-10 pt-12", children: /* @__PURE__ */ jsx(Button, { onClick: reset, className: "w-full", children: t2("transaction.done") }) })
|
|
4660
4660
|
]
|
|
4661
4661
|
}
|
|
4662
4662
|
);
|
|
@@ -4685,7 +4685,7 @@ const ConfirmStep = ({
|
|
|
4685
4685
|
const { formatTime } = useCountdown(90);
|
|
4686
4686
|
return /* @__PURE__ */ jsx(DialogContent, { showCloseButton: false, className: "overflow-hidden md:max-w-[420px] p-0", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col relative gap-4 flex-1 items-center justify-start text-center noise p-10", children: [
|
|
4687
4687
|
icon,
|
|
4688
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 pb-2 text-center", children: [
|
|
4688
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 pt-4 pb-2 text-center", children: [
|
|
4689
4689
|
/* @__PURE__ */ jsx(DialogTitle, { children: t2("transaction.confirm") }),
|
|
4690
4690
|
/* @__PURE__ */ jsx(DialogDescription, { children: t2("transaction.signTransaction") })
|
|
4691
4691
|
] }),
|
|
@@ -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-DlXh95vJ.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-C-Rv5dlA.js.map
|