@rash2x/bridge-widget 0.6.70 → 0.6.71
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-D_aPs_yi.cjs → index-ChKe-Jqg.cjs} +2 -2
- package/dist/{index-D_aPs_yi.cjs.map → index-ChKe-Jqg.cjs.map} +1 -1
- package/dist/{index-naQPb65y.js → index-DJPi6UIt.js} +11 -11
- package/dist/index-DJPi6UIt.js.map +1 -0
- package/dist/{index-CyohvJ7p.cjs → index-VG-885LU.cjs} +11 -11
- package/dist/index-VG-885LU.cjs.map +1 -0
- package/dist/{index-L-wapa5t.js → index-alIlFn4D.js} +2 -2
- package/dist/{index-L-wapa5t.js.map → index-alIlFn4D.js.map} +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/index-CyohvJ7p.cjs.map +0 -1
- package/dist/index-naQPb65y.js.map +0 -1
|
@@ -4331,14 +4331,14 @@ const ProgressStep = ({
|
|
|
4331
4331
|
return /* @__PURE__ */ jsxs(DialogContent, { showCloseButton: false, className, children: [
|
|
4332
4332
|
icon,
|
|
4333
4333
|
/* @__PURE__ */ jsxs(DialogHeader, { className: "relative z-10 p-0", children: [
|
|
4334
|
-
/* @__PURE__ */ jsx(DialogTitle, { children: t2("transaction.inProgress") }),
|
|
4334
|
+
/* @__PURE__ */ jsx(DialogTitle, { className: "text-center", children: t2("transaction.inProgress") }),
|
|
4335
4335
|
srcTxHash && /* @__PURE__ */ jsxs(
|
|
4336
4336
|
"a",
|
|
4337
4337
|
{
|
|
4338
4338
|
href: `https://layerzeroscan.com/tx/${srcTxHash}`,
|
|
4339
4339
|
target: "_blank",
|
|
4340
4340
|
rel: "noopener noreferrer",
|
|
4341
|
-
className: "text-xs text-muted-foreground hover:text-foreground cursor-pointer underline hover:no-underline px-4 mt-1",
|
|
4341
|
+
className: "text-xs text-center text-muted-foreground hover:text-foreground cursor-pointer underline hover:no-underline px-4 mt-1",
|
|
4342
4342
|
children: [
|
|
4343
4343
|
t2("transaction.hash"),
|
|
4344
4344
|
": ",
|
|
@@ -4373,8 +4373,8 @@ const FailedStep = ({
|
|
|
4373
4373
|
return /* @__PURE__ */ jsxs(DialogContent, { closeButtonClassName: "!absolute", showCloseButton: true, className, children: [
|
|
4374
4374
|
icon,
|
|
4375
4375
|
/* @__PURE__ */ jsxs(DialogHeader, { className: "relative z-10 p-0", children: [
|
|
4376
|
-
/* @__PURE__ */ jsx(DialogTitle, { children: t2("transaction.failed") }),
|
|
4377
|
-
current?.errorCode && /* @__PURE__ */ jsx(DialogDescription$1, { children: t2(
|
|
4376
|
+
/* @__PURE__ */ jsx(DialogTitle, { className: "text-center", children: t2("transaction.failed") }),
|
|
4377
|
+
current?.errorCode && /* @__PURE__ */ jsx(DialogDescription$1, { className: "text-center", children: t2(
|
|
4378
4378
|
`errors.${current.errorCode}`,
|
|
4379
4379
|
current.errorParams || {}
|
|
4380
4380
|
) }),
|
|
@@ -4384,7 +4384,7 @@ const FailedStep = ({
|
|
|
4384
4384
|
href: getLayerZeroScanUrl(srcTxHash),
|
|
4385
4385
|
target: "_blank",
|
|
4386
4386
|
rel: "noopener noreferrer",
|
|
4387
|
-
className: "text-xs text-muted-foreground hover:text-foreground cursor-pointer underline hover:no-underline px-4 mt-2",
|
|
4387
|
+
className: "text-xs text-muted-foreground hover:text-foreground cursor-pointer underline hover:no-underline px-4 mt-2 text-center",
|
|
4388
4388
|
children: [
|
|
4389
4389
|
t2("transaction.hash"),
|
|
4390
4390
|
": ",
|
|
@@ -4464,7 +4464,7 @@ const SuccessStep = ({
|
|
|
4464
4464
|
]);
|
|
4465
4465
|
return /* @__PURE__ */ jsxs(DialogContent, { closeButtonClassName: "!absolute", showCloseButton: true, className, children: [
|
|
4466
4466
|
icon,
|
|
4467
|
-
/* @__PURE__ */ jsx(DialogHeader, { className: "z-10 relative p-0", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-[28px]", children: t2("transaction.success") }) }),
|
|
4467
|
+
/* @__PURE__ */ jsx(DialogHeader, { className: "z-10 relative p-0", children: /* @__PURE__ */ jsx(DialogTitle, { className: "text-[28px] text-center", children: t2("transaction.success") }) }),
|
|
4468
4468
|
/* @__PURE__ */ jsxs("div", { className: "w-full space-y-2 mt-5 relative z-10 pb-14", children: [
|
|
4469
4469
|
metadata?.srcAmountHuman && /* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center", children: [
|
|
4470
4470
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: t2("transaction.bridged") }),
|
|
@@ -4527,7 +4527,7 @@ const SuccessStep = ({
|
|
|
4527
4527
|
/* @__PURE__ */ jsx("span", { className: "font-medium", children: totalFee.display })
|
|
4528
4528
|
] })
|
|
4529
4529
|
] }),
|
|
4530
|
-
/* @__PURE__ */ jsx(DialogFooter, { className: "w-full", children: /* @__PURE__ */ jsx(Button, { onClick: reset, className: "w-full", children: t2("transaction.done") }) }),
|
|
4530
|
+
/* @__PURE__ */ jsx(DialogFooter, { className: "w-full pt-10", children: /* @__PURE__ */ jsx(Button, { onClick: reset, className: "w-full", children: t2("transaction.done") }) }),
|
|
4531
4531
|
/* @__PURE__ */ jsx(DevStatusControls, {})
|
|
4532
4532
|
] });
|
|
4533
4533
|
};
|
|
@@ -4557,8 +4557,8 @@ const ConfirmStep = ({
|
|
|
4557
4557
|
return /* @__PURE__ */ jsxs(DialogContent, { className, children: [
|
|
4558
4558
|
icon,
|
|
4559
4559
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 pt-4 pb-2 text-center relative z-10", children: [
|
|
4560
|
-
/* @__PURE__ */ jsx(DialogTitle, { children: t2("transaction.confirm") }),
|
|
4561
|
-
/* @__PURE__ */ jsx(DialogDescription, { children: t2("transaction.signTransaction") })
|
|
4560
|
+
/* @__PURE__ */ jsx(DialogTitle, { className: "text-center", children: t2("transaction.confirm") }),
|
|
4561
|
+
/* @__PURE__ */ jsx(DialogDescription, { className: "text-center", children: t2("transaction.signTransaction") })
|
|
4562
4562
|
] }),
|
|
4563
4563
|
/* @__PURE__ */ jsx("div", { className: "text-3xl font-black relative z-10", children: formatTime }),
|
|
4564
4564
|
/* @__PURE__ */ jsx(DevStatusControls, {})
|
|
@@ -25850,7 +25850,7 @@ class WalletConnectModal {
|
|
|
25850
25850
|
}
|
|
25851
25851
|
async initUi() {
|
|
25852
25852
|
if (typeof window !== "undefined") {
|
|
25853
|
-
await import("./index-
|
|
25853
|
+
await import("./index-alIlFn4D.js");
|
|
25854
25854
|
const modal = document.createElement("wcm-modal");
|
|
25855
25855
|
document.body.insertAdjacentElement("beforeend", modal);
|
|
25856
25856
|
OptionsCtrl.setIsUiLoaded(true);
|
|
@@ -26619,4 +26619,4 @@ export {
|
|
|
26619
26619
|
getQuoteFees as y,
|
|
26620
26620
|
calculateMinReceived as z
|
|
26621
26621
|
};
|
|
26622
|
-
//# sourceMappingURL=index-
|
|
26622
|
+
//# sourceMappingURL=index-DJPi6UIt.js.map
|