@lukso/transaction-view-core 0.6.9 → 0.6.10-dev.30530d6

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.
@@ -1,6 +1,6 @@
1
1
   WARN  Issue while reading "/home/runner/work/service-auth-simple/service-auth-simple/.npmrc". Failed to replace env in config: ${LUKSO_NPM_TOKEN}
2
2
 
3
- > @lukso/transaction-view-core@0.6.9 build /home/runner/work/service-auth-simple/service-auth-simple/packages/transaction-view-core
3
+ > @lukso/transaction-view-core@0.6.10 build /home/runner/work/service-auth-simple/service-auth-simple/packages/transaction-view-core
4
4
  > tsup
5
5
 
6
6
  CLI Building entry: src/index.ts, src/shared/index.ts, src/styles/index.ts
@@ -11,24 +11,24 @@
11
11
  ESM Build start
12
12
  CJS Build start
13
13
  DTS Build start
14
- ESM dist/index.js 274.88 KB
14
+ ESM dist/index.js 275.00 KB
15
+ ESM dist/shared/index.js 208.84 KB
15
16
  ESM dist/styles/index.js 136.47 KB
16
- ESM dist/shared/index.js 208.82 KB
17
- ESM dist/index.js.map 390.96 KB
18
- ESM dist/shared/index.js.map 275.60 KB
17
+ ESM dist/index.js.map 391.18 KB
18
+ ESM dist/shared/index.js.map 275.61 KB
19
19
  ESM dist/styles/index.js.map 145.70 KB
20
- ESM ⚡️ Build success in 7652ms
21
- CJS dist/index.cjs 283.75 KB
22
- CJS dist/shared/index.cjs 214.23 KB
20
+ ESM ⚡️ Build success in 7477ms
21
+ CJS dist/index.cjs 283.92 KB
22
+ CJS dist/shared/index.cjs 214.30 KB
23
23
  CJS dist/styles/index.cjs 137.51 KB
24
- CJS dist/index.cjs.map 391.73 KB
25
- CJS dist/shared/index.cjs.map 276.47 KB
24
+ CJS dist/index.cjs.map 391.94 KB
25
+ CJS dist/shared/index.cjs.map 276.53 KB
26
26
  CJS dist/styles/index.cjs.map 145.76 KB
27
- CJS ⚡️ Build success in 7683ms
28
- DTS ⚡️ Build success in 13305ms
27
+ CJS ⚡️ Build success in 7518ms
28
+ DTS ⚡️ Build success in 13492ms
29
29
  DTS dist/styles/index.d.ts 233.00 B
30
- DTS dist/index.d.ts 17.84 KB
31
- DTS dist/shared/index.d.ts 23.60 KB
30
+ DTS dist/index.d.ts 17.86 KB
31
+ DTS dist/shared/index.d.ts 24.56 KB
32
32
  DTS dist/styles/index.d.cts 233.00 B
33
- DTS dist/index.d.cts 17.85 KB
34
- DTS dist/shared/index.d.cts 23.60 KB
33
+ DTS dist/index.d.cts 17.87 KB
34
+ DTS dist/shared/index.d.cts 24.56 KB
@@ -1,5 +1,5 @@
1
1
   WARN  Issue while reading "/home/runner/work/service-auth-simple/service-auth-simple/.npmrc". Failed to replace env in config: ${LUKSO_NPM_TOKEN}
2
2
 
3
- > @lukso/transaction-view-core@0.6.9 typecheck /home/runner/work/service-auth-simple/service-auth-simple/packages/transaction-view-core
3
+ > @lukso/transaction-view-core@0.6.10 typecheck /home/runner/work/service-auth-simple/service-auth-simple/packages/transaction-view-core
4
4
  > tsc --noEmit
5
5
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.10](https://github.com/lukso-network/service-auth-simple/compare/transaction-view-core-v0.6.9...transaction-view-core-v0.6.10) (2026-02-19)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * Improve type safety and null handling in asset and address components ([#107](https://github.com/lukso-network/service-auth-simple/issues/107)) ([a3ba37d](https://github.com/lukso-network/service-auth-simple/commit/a3ba37d202d09c84e95a3f12865067e427f6c5c5))
9
+ * Repair ([#118](https://github.com/lukso-network/service-auth-simple/issues/118)) ([91caef2](https://github.com/lukso-network/service-auth-simple/commit/91caef2fbff68c30b724bae0265620edb05a9c94))
10
+ * Repair safe custom element crashing ([#119](https://github.com/lukso-network/service-auth-simple/issues/119)) ([2b99781](https://github.com/lukso-network/service-auth-simple/commit/2b997813bbe0e8af30c9491a7335e8f86b4448f2))
11
+
3
12
  ## [0.6.9](https://github.com/lukso-network/service-auth-simple/compare/transaction-view-core-v0.6.8...transaction-view-core-v0.6.9) (2026-02-19)
4
13
 
5
14
 
package/dist/index.cjs CHANGED
@@ -61,6 +61,7 @@ __export(index_exports, {
61
61
  getGlobalRegistry: () => import_transaction_view_headless11.getGlobalRegistry,
62
62
  resetGlobalLitLoader: () => resetGlobalLitLoader,
63
63
  resetGlobalRegistry: () => import_transaction_view_headless11.resetGlobalRegistry,
64
+ safeCustomElement: () => safeCustomElement,
64
65
  setGlobalLitLoader: () => setGlobalLitLoader,
65
66
  setGlobalRegistry: () => import_transaction_view_headless11.setGlobalRegistry,
66
67
  useImageLoader: () => useImageLoader3,
@@ -3097,6 +3098,7 @@ var AssetCard = class extends CoreLitElement {
3097
3098
  }
3098
3099
  _renderContractAddress() {
3099
3100
  const data = this._resolutionTask.value;
3101
+ if (!data?.address) return "";
3100
3102
  return import_lit15.html`
3101
3103
  <div class="section">
3102
3104
  ${(0, import_when3.when)(
@@ -3105,7 +3107,7 @@ var AssetCard = class extends CoreLitElement {
3105
3107
  <address-view
3106
3108
  address=${data.address}
3107
3109
  size="medium"
3108
- label=${data.lsp4TokenName}
3110
+ label=${data.lsp4TokenName ?? ""}
3109
3111
  max-width=${100}
3110
3112
  .showIdenticon=${false}
3111
3113
  ?is-card-view=${true}
@@ -3119,14 +3121,15 @@ var AssetCard = class extends CoreLitElement {
3119
3121
  }
3120
3122
  _renderAssetLongName() {
3121
3123
  const data = this._resolutionTask.value;
3124
+ if (!data) return "";
3122
3125
  return import_lit15.html`
3123
3126
  ${(0, import_when3.when)(
3124
- data?.lsp4TokenName,
3127
+ data.lsp4TokenName,
3125
3128
  () => import_lit15.html`
3126
3129
  <value-view
3127
3130
  ?is-card-view=${true}
3128
3131
  ?show-copy-button=${true}
3129
- value=${data.lsp4TokenName}
3132
+ value=${data.lsp4TokenName ?? ""}
3130
3133
  label="Token Name"
3131
3134
  ></value-view>
3132
3135
  `
@@ -3135,14 +3138,15 @@ var AssetCard = class extends CoreLitElement {
3135
3138
  }
3136
3139
  _renderAssetSymbol() {
3137
3140
  const data = this._resolutionTask.value;
3141
+ if (!data) return "";
3138
3142
  return import_lit15.html`
3139
3143
  ${(0, import_when3.when)(
3140
- data?.lsp4TokenSymbol,
3144
+ data.lsp4TokenSymbol,
3141
3145
  () => import_lit15.html`
3142
3146
  <value-view
3143
3147
  ?is-card-view=${true}
3144
3148
  ?show-copy-button=${true}
3145
- value=${data.lsp4TokenSymbol}
3149
+ value=${data.lsp4TokenSymbol ?? ""}
3146
3150
  label="Symbol"
3147
3151
  ></value-view>
3148
3152
  `
@@ -4838,6 +4842,7 @@ var import_transaction_view_headless11 = require("@lukso/transaction-view-headle
4838
4842
  getGlobalRegistry,
4839
4843
  resetGlobalLitLoader,
4840
4844
  resetGlobalRegistry,
4845
+ safeCustomElement,
4841
4846
  setGlobalLitLoader,
4842
4847
  setGlobalRegistry,
4843
4848
  useImageLoader,