@lukso/transaction-view-core 0.6.6-dev.4a582bd → 0.6.6

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukso/transaction-view-core",
3
- "version": "0.6.6-dev.4a582bd",
3
+ "version": "0.6.6",
4
4
  "description": "Core components and hooks for LUKSO transaction display",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -30,16 +30,16 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@lukso/web-components": "^1.172.20",
33
+ "@lukso/web-components": "^1.172.19",
34
34
  "@preact/signals-core": "^1.12.1",
35
35
  "ethereum-blockies-base64": "^1.0.2",
36
36
  "viem": "^2.43.5",
37
- "@lukso/transaction-decoder": "1.3.6-dev.4a582bd",
38
- "@lukso/transaction-view-headless": "0.4.6-dev.4a582bd"
37
+ "@lukso/transaction-decoder": "1.3.6",
38
+ "@lukso/transaction-view-headless": "0.4.6"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "@lit/task": "^1.0.3",
42
- "lit": "3.3.1"
42
+ "lit": "^3.3.0"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@lit/task": "^1.0.3",
@@ -377,6 +377,17 @@ export class AssetCard extends CoreLitElement {
377
377
  () => html`${this._resolvedData?.lsp4TokenSymbol || ''}`
378
378
  )}
379
379
  </div>
380
+
381
+ ${when(
382
+ this.amount,
383
+ () => html`
384
+ <span class="">${formatUnits(BigInt(this.amount || 0), this._resolvedData?.decimals)}</span>
385
+ <span class="ml-1 text-neutral-60 max-w-[60px] whitespace-nowrap overflow-hidden text-ellipsis text-[14px] font-semibold">${
386
+ this._resolvedData?.lsp4TokenSymbol || ''
387
+ }</span>
388
+ `,
389
+ () => html`${this._resolvedData?.lsp4TokenSymbol || ''}`
390
+ )}
380
391
  <div class="mt-4">
381
392
  ${when(this.showCreator, () => this._renderCreatorSection())}
382
393
  </div>