@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
|
@@ -969,7 +969,7 @@ const formatUsd = (value) => {
|
|
|
969
969
|
return `$${value.toFixed(6).replace(/0+$/, "").replace(/\.$/, "")}`;
|
|
970
970
|
};
|
|
971
971
|
const formatPercentage = (bps, decimals = 2) => {
|
|
972
|
-
return `${(bps / 100).toFixed(decimals)}%`;
|
|
972
|
+
return `${(bps / 100).toFixed(decimals).replace(/0+$/, "").replace(/\.$/, "")}%`;
|
|
973
973
|
};
|
|
974
974
|
const formatBalance = (amount, decimals = 2) => {
|
|
975
975
|
if (!isFinite(amount) || isNaN(amount) || amount <= 0) {
|
|
@@ -25966,7 +25966,7 @@ class WalletConnectModal {
|
|
|
25966
25966
|
}
|
|
25967
25967
|
async initUi() {
|
|
25968
25968
|
if (typeof window !== "undefined") {
|
|
25969
|
-
await Promise.resolve().then(() => require("./index-
|
|
25969
|
+
await Promise.resolve().then(() => require("./index-kI4_yoYE.cjs"));
|
|
25970
25970
|
const modal = document.createElement("wcm-modal");
|
|
25971
25971
|
document.body.insertAdjacentElement("beforeend", modal);
|
|
25972
25972
|
OptionsCtrl.setIsUiLoaded(true);
|
|
@@ -26723,4 +26723,4 @@ exports.useSettingsStore = useSettingsStore;
|
|
|
26723
26723
|
exports.useSwapModel = useSwapModel;
|
|
26724
26724
|
exports.useTokensStore = useTokensStore;
|
|
26725
26725
|
exports.useTransactionStore = useTransactionStore;
|
|
26726
|
-
//# sourceMappingURL=index-
|
|
26726
|
+
//# sourceMappingURL=index-B1EjRSx4.cjs.map
|