@block-auth.io/angular 0.7.2 → 0.7.3
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.
|
@@ -1721,6 +1721,7 @@ class BtnMetamaskComponent {
|
|
|
1721
1721
|
this.textCls = styles$2.textClassNames;
|
|
1722
1722
|
this.loaderWidth = styles$2.loaderWidth;
|
|
1723
1723
|
this.loaderColor = styles$2.loaderColor;
|
|
1724
|
+
this.metamaskIconSrc = imgUrlByService('metamask-white');
|
|
1724
1725
|
this.btnText = computed(() => {
|
|
1725
1726
|
const short = (a) => (a ? `${a.slice(0, 6)}…${a.slice(-4)}` : '');
|
|
1726
1727
|
return this.isTextInsteadOfAccount() ? this.text() : short(this.wallet().address) || this.text();
|
|
@@ -1767,7 +1768,7 @@ class BtnMetamaskComponent {
|
|
|
1767
1768
|
>
|
|
1768
1769
|
<img
|
|
1769
1770
|
slot="icon"
|
|
1770
|
-
src="
|
|
1771
|
+
[src]="metamaskIconSrc"
|
|
1771
1772
|
height="24"
|
|
1772
1773
|
width="24"
|
|
1773
1774
|
alt="MetaMask"
|
|
@@ -1810,7 +1811,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
1810
1811
|
>
|
|
1811
1812
|
<img
|
|
1812
1813
|
slot="icon"
|
|
1813
|
-
src="
|
|
1814
|
+
[src]="metamaskIconSrc"
|
|
1814
1815
|
height="24"
|
|
1815
1816
|
width="24"
|
|
1816
1817
|
alt="MetaMask"
|