@multiversx/sdk-dapp-liquidity 1.1.1-alpha.4 → 1.1.1-alpha.5
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/package.json
CHANGED
|
@@ -19,7 +19,7 @@ const reactjs_utils_formatAmount = require("../../utils/formatAmount.js");
|
|
|
19
19
|
const reactjs_utils_mxClsx = require("../../utils/mxClsx.js");
|
|
20
20
|
const reactjs_components_base_MxButton_MxButton = require("../base/MxButton/MxButton.js");
|
|
21
21
|
const reactjs_components_base_MxCard_MxCard = require("../base/MxCard/MxCard.js");
|
|
22
|
-
|
|
22
|
+
require("../base/MxLink/MxLink.js");
|
|
23
23
|
require("../base/MxSearch/MxSearch.js");
|
|
24
24
|
require("@headlessui/react");
|
|
25
25
|
const reactjs_components_base_MxTooltip_MxTooltip = require("../base/MxTooltip/MxTooltip.js");
|
|
@@ -155,8 +155,8 @@ const BridgeHistory = ({
|
|
|
155
155
|
}
|
|
156
156
|
) }),
|
|
157
157
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: reactjs_utils_mxClsx.mxClsx("liq-flex liq-flex-col liq-items-center"), children: [
|
|
158
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liq-text-xl", children: "No
|
|
159
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liq-text-neutral-400", children: "Your
|
|
158
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liq-text-xl", children: "No transactions" }),
|
|
159
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "liq-text-neutral-400", children: "Your transactions history will appear here" })
|
|
160
160
|
] })
|
|
161
161
|
] })
|
|
162
162
|
}
|
|
@@ -254,7 +254,6 @@ const BridgeHistory = ({
|
|
|
254
254
|
reactFontawesome.FontAwesomeIcon,
|
|
255
255
|
{
|
|
256
256
|
icon: faArrowUpShortWide.faArrowUpShortWide,
|
|
257
|
-
spin: true,
|
|
258
257
|
className: "liq-mx-1 liq-flex liq-items-center"
|
|
259
258
|
}
|
|
260
259
|
),
|
|
@@ -306,14 +305,13 @@ const BridgeHistory = ({
|
|
|
306
305
|
]
|
|
307
306
|
}
|
|
308
307
|
),
|
|
309
|
-
transaction.provider === types_providerType.ProviderType.MultiversxBridge && /* @__PURE__ */ jsxRuntime.jsx(
|
|
310
|
-
|
|
308
|
+
transaction.provider === types_providerType.ProviderType.MultiversxBridge && /* @__PURE__ */ jsxRuntime.jsx(
|
|
309
|
+
"a",
|
|
311
310
|
{
|
|
312
|
-
|
|
311
|
+
href: `${options.bridgeURL}/status/${transaction.txHash}`,
|
|
313
312
|
target: "_blank",
|
|
314
|
-
showExternalIcon: false,
|
|
315
313
|
className: "liq-flex",
|
|
316
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
314
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "liq-ml-auto liq-mr-0 liq-flex liq-items-center liq-gap-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
317
315
|
reactjs_components_base_MxTooltip_MxTooltip.MxTooltip,
|
|
318
316
|
{
|
|
319
317
|
placement: "top",
|
|
@@ -325,11 +323,12 @@ const BridgeHistory = ({
|
|
|
325
323
|
className: "liq-flex liq-items-center liq-justify-center liq-rounded-full liq-text-neutral-200"
|
|
326
324
|
}
|
|
327
325
|
),
|
|
326
|
+
shouldStopPropagation: false,
|
|
328
327
|
children: "View"
|
|
329
328
|
}
|
|
330
|
-
)
|
|
329
|
+
) })
|
|
331
330
|
}
|
|
332
|
-
)
|
|
331
|
+
)
|
|
333
332
|
] })
|
|
334
333
|
},
|
|
335
334
|
`${transaction.txHash}-${index}`
|
|
@@ -16,7 +16,7 @@ import { formatAmount } from "../../utils/formatAmount.mjs";
|
|
|
16
16
|
import { mxClsx } from "../../utils/mxClsx.mjs";
|
|
17
17
|
import { MxButton } from "../base/MxButton/MxButton.mjs";
|
|
18
18
|
import { MxCard } from "../base/MxCard/MxCard.mjs";
|
|
19
|
-
import
|
|
19
|
+
import "../base/MxLink/MxLink.mjs";
|
|
20
20
|
import "../base/MxSearch/MxSearch.mjs";
|
|
21
21
|
import "@headlessui/react";
|
|
22
22
|
import { MxTooltip } from "../base/MxTooltip/MxTooltip.mjs";
|
|
@@ -152,8 +152,8 @@ const BridgeHistory = ({
|
|
|
152
152
|
}
|
|
153
153
|
) }),
|
|
154
154
|
/* @__PURE__ */ jsxs("div", { className: mxClsx("liq-flex liq-flex-col liq-items-center"), children: [
|
|
155
|
-
/* @__PURE__ */ jsx("div", { className: "liq-text-xl", children: "No
|
|
156
|
-
/* @__PURE__ */ jsx("div", { className: "liq-text-neutral-400", children: "Your
|
|
155
|
+
/* @__PURE__ */ jsx("div", { className: "liq-text-xl", children: "No transactions" }),
|
|
156
|
+
/* @__PURE__ */ jsx("div", { className: "liq-text-neutral-400", children: "Your transactions history will appear here" })
|
|
157
157
|
] })
|
|
158
158
|
] })
|
|
159
159
|
}
|
|
@@ -251,7 +251,6 @@ const BridgeHistory = ({
|
|
|
251
251
|
FontAwesomeIcon,
|
|
252
252
|
{
|
|
253
253
|
icon: faArrowUpShortWide,
|
|
254
|
-
spin: true,
|
|
255
254
|
className: "liq-mx-1 liq-flex liq-items-center"
|
|
256
255
|
}
|
|
257
256
|
),
|
|
@@ -303,14 +302,13 @@ const BridgeHistory = ({
|
|
|
303
302
|
]
|
|
304
303
|
}
|
|
305
304
|
),
|
|
306
|
-
transaction.provider === ProviderType.MultiversxBridge && /* @__PURE__ */ jsx(
|
|
307
|
-
|
|
305
|
+
transaction.provider === ProviderType.MultiversxBridge && /* @__PURE__ */ jsx(
|
|
306
|
+
"a",
|
|
308
307
|
{
|
|
309
|
-
|
|
308
|
+
href: `${options.bridgeURL}/status/${transaction.txHash}`,
|
|
310
309
|
target: "_blank",
|
|
311
|
-
showExternalIcon: false,
|
|
312
310
|
className: "liq-flex",
|
|
313
|
-
children: /* @__PURE__ */ jsx(
|
|
311
|
+
children: /* @__PURE__ */ jsx("div", { className: "liq-ml-auto liq-mr-0 liq-flex liq-items-center liq-gap-1", children: /* @__PURE__ */ jsx(
|
|
314
312
|
MxTooltip,
|
|
315
313
|
{
|
|
316
314
|
placement: "top",
|
|
@@ -322,11 +320,12 @@ const BridgeHistory = ({
|
|
|
322
320
|
className: "liq-flex liq-items-center liq-justify-center liq-rounded-full liq-text-neutral-200"
|
|
323
321
|
}
|
|
324
322
|
),
|
|
323
|
+
shouldStopPropagation: false,
|
|
325
324
|
children: "View"
|
|
326
325
|
}
|
|
327
|
-
)
|
|
326
|
+
) })
|
|
328
327
|
}
|
|
329
|
-
)
|
|
328
|
+
)
|
|
330
329
|
] })
|
|
331
330
|
},
|
|
332
331
|
`${transaction.txHash}-${index}`
|