@lukso/transaction-view-core 0.6.9 → 0.6.10-dev.2df3eae
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/.turbo/turbo-build.log +18 -18
- package/.turbo/turbo-typecheck.log +1 -1
- package/CHANGELOG.md +9 -0
- package/dist/index.cjs +10 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -5
- package/dist/index.js.map +1 -1
- package/dist/shared/index.cjs +2 -0
- package/dist/shared/index.cjs.map +1 -1
- package/dist/shared/index.d.cts +29 -1
- package/dist/shared/index.d.ts +29 -1
- package/dist/shared/index.js +1 -0
- package/dist/shared/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/asset-card.ts +8 -5
- package/src/shared/address-view.ts +1 -1
- package/src/shared/index.ts +1 -0
- package/src/shared/safe-custom-element.ts +1 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AddressData, AddressDisplay, AddressView, CustomOption, CustomSelect, FunctionNameView, GasProviderView, IconView, ImageLoadState, ImageLoaderController, MultiSignalController, NotificationView, ProgressSegment, ProgressView, ScrollToBottomButton, SelectOption, SignalController, TransactionSignalController, TransactionViewController, TransactionViewState, UrlView, ValueView, useImageLoader, useSignal, useSignals, useTransactionSignal, useTransactionView } from './shared/index.cjs';
|
|
1
|
+
export { AddressData, AddressDisplay, AddressView, CustomOption, CustomSelect, FunctionNameView, GasProviderView, IconView, ImageLoadState, ImageLoaderController, MultiSignalController, NotificationView, ProgressSegment, ProgressView, ScrollToBottomButton, SelectOption, SignalController, TransactionSignalController, TransactionViewController, TransactionViewState, UrlView, ValueView, safeCustomElement, useImageLoader, useSignal, useSignals, useTransactionSignal, useTransactionView } from './shared/index.cjs';
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement, PropertyValues } from 'lit';
|
|
4
4
|
import { CoreLitElement } from './styles/index.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AddressData, AddressDisplay, AddressView, CustomOption, CustomSelect, FunctionNameView, GasProviderView, IconView, ImageLoadState, ImageLoaderController, MultiSignalController, NotificationView, ProgressSegment, ProgressView, ScrollToBottomButton, SelectOption, SignalController, TransactionSignalController, TransactionViewController, TransactionViewState, UrlView, ValueView, useImageLoader, useSignal, useSignals, useTransactionSignal, useTransactionView } from './shared/index.js';
|
|
1
|
+
export { AddressData, AddressDisplay, AddressView, CustomOption, CustomSelect, FunctionNameView, GasProviderView, IconView, ImageLoadState, ImageLoaderController, MultiSignalController, NotificationView, ProgressSegment, ProgressView, ScrollToBottomButton, SelectOption, SignalController, TransactionSignalController, TransactionViewController, TransactionViewState, UrlView, ValueView, safeCustomElement, useImageLoader, useSignal, useSignals, useTransactionSignal, useTransactionView } from './shared/index.js';
|
|
2
2
|
import * as lit from 'lit';
|
|
3
3
|
import { LitElement, PropertyValues } from 'lit';
|
|
4
4
|
import { CoreLitElement } from './styles/index.js';
|
package/dist/index.js
CHANGED
|
@@ -3049,6 +3049,7 @@ var AssetCard = class extends CoreLitElement {
|
|
|
3049
3049
|
}
|
|
3050
3050
|
_renderContractAddress() {
|
|
3051
3051
|
const data = this._resolutionTask.value;
|
|
3052
|
+
if (!data?.address) return "";
|
|
3052
3053
|
return html14`
|
|
3053
3054
|
<div class="section">
|
|
3054
3055
|
${when3(
|
|
@@ -3057,7 +3058,7 @@ var AssetCard = class extends CoreLitElement {
|
|
|
3057
3058
|
<address-view
|
|
3058
3059
|
address=${data.address}
|
|
3059
3060
|
size="medium"
|
|
3060
|
-
label=${data.lsp4TokenName}
|
|
3061
|
+
label=${data.lsp4TokenName ?? ""}
|
|
3061
3062
|
max-width=${100}
|
|
3062
3063
|
.showIdenticon=${false}
|
|
3063
3064
|
?is-card-view=${true}
|
|
@@ -3071,14 +3072,15 @@ var AssetCard = class extends CoreLitElement {
|
|
|
3071
3072
|
}
|
|
3072
3073
|
_renderAssetLongName() {
|
|
3073
3074
|
const data = this._resolutionTask.value;
|
|
3075
|
+
if (!data) return "";
|
|
3074
3076
|
return html14`
|
|
3075
3077
|
${when3(
|
|
3076
|
-
data
|
|
3078
|
+
data.lsp4TokenName,
|
|
3077
3079
|
() => html14`
|
|
3078
3080
|
<value-view
|
|
3079
3081
|
?is-card-view=${true}
|
|
3080
3082
|
?show-copy-button=${true}
|
|
3081
|
-
value=${data.lsp4TokenName}
|
|
3083
|
+
value=${data.lsp4TokenName ?? ""}
|
|
3082
3084
|
label="Token Name"
|
|
3083
3085
|
></value-view>
|
|
3084
3086
|
`
|
|
@@ -3087,14 +3089,15 @@ var AssetCard = class extends CoreLitElement {
|
|
|
3087
3089
|
}
|
|
3088
3090
|
_renderAssetSymbol() {
|
|
3089
3091
|
const data = this._resolutionTask.value;
|
|
3092
|
+
if (!data) return "";
|
|
3090
3093
|
return html14`
|
|
3091
3094
|
${when3(
|
|
3092
|
-
data
|
|
3095
|
+
data.lsp4TokenSymbol,
|
|
3093
3096
|
() => html14`
|
|
3094
3097
|
<value-view
|
|
3095
3098
|
?is-card-view=${true}
|
|
3096
3099
|
?show-copy-button=${true}
|
|
3097
|
-
value=${data.lsp4TokenSymbol}
|
|
3100
|
+
value=${data.lsp4TokenSymbol ?? ""}
|
|
3098
3101
|
label="Symbol"
|
|
3099
3102
|
></value-view>
|
|
3100
3103
|
`
|
|
@@ -4801,6 +4804,7 @@ export {
|
|
|
4801
4804
|
getGlobalRegistry,
|
|
4802
4805
|
resetGlobalLitLoader,
|
|
4803
4806
|
resetGlobalRegistry,
|
|
4807
|
+
safeCustomElement,
|
|
4804
4808
|
setGlobalLitLoader,
|
|
4805
4809
|
setGlobalRegistry,
|
|
4806
4810
|
useImageLoader3 as useImageLoader,
|