@deframe-sdk/components 0.1.46 → 0.1.47
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1756,7 +1756,7 @@ type HistoryListItemType = 'SAMECHAIN_SWAP' | 'CROSSCHAIN_SWAP' | 'TRANSFER_IN'
|
|
|
1756
1756
|
interface HistoryListItemAsset {
|
|
1757
1757
|
symbol: string;
|
|
1758
1758
|
amountHumanized: string;
|
|
1759
|
-
|
|
1759
|
+
amountInFiat?: string | null;
|
|
1760
1760
|
chain?: {
|
|
1761
1761
|
name: string;
|
|
1762
1762
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1756,7 +1756,7 @@ type HistoryListItemType = 'SAMECHAIN_SWAP' | 'CROSSCHAIN_SWAP' | 'TRANSFER_IN'
|
|
|
1756
1756
|
interface HistoryListItemAsset {
|
|
1757
1757
|
symbol: string;
|
|
1758
1758
|
amountHumanized: string;
|
|
1759
|
-
|
|
1759
|
+
amountInFiat?: string | null;
|
|
1760
1760
|
chain?: {
|
|
1761
1761
|
name: string;
|
|
1762
1762
|
};
|
package/dist/index.js
CHANGED
|
@@ -8768,7 +8768,7 @@ function historyResolveAmounts(item) {
|
|
|
8768
8768
|
if (!displayAsset) return { primary: "\u2014", secondary: "" };
|
|
8769
8769
|
if (isAssetAmount(displayAsset)) {
|
|
8770
8770
|
const primary = `${displayAsset.amountHumanized} ${displayAsset.symbol}`;
|
|
8771
|
-
const secondary = displayAsset.
|
|
8771
|
+
const secondary = displayAsset.amountInFiat ? `~${displayAsset.amountInFiat}` : "";
|
|
8772
8772
|
return { primary, secondary };
|
|
8773
8773
|
}
|
|
8774
8774
|
if (isFiatAmount(displayAsset)) {
|
|
@@ -18203,7 +18203,7 @@ var DashboardPortfolioViewSimple = ({
|
|
|
18203
18203
|
},
|
|
18204
18204
|
"value"
|
|
18205
18205
|
) }),
|
|
18206
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { "data-test-id": "stat-card-description", className: descriptionClasses, children: "Soma do saldo por token (em
|
|
18206
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { "data-test-id": "stat-card-description", className: descriptionClasses, children: "Soma do saldo por token (em BRL)." })
|
|
18207
18207
|
] }),
|
|
18208
18208
|
assetCount != null && /* @__PURE__ */ jsxRuntime.jsxs("article", { className: tailwindMerge.twMerge(cardClasses2, "self-stretch min-w-[160px]"), children: [
|
|
18209
18209
|
/* @__PURE__ */ jsxRuntime.jsx("p", { "data-test-id": "stat-card-label", className: labelClasses, children: "Ativos" }),
|