@web3modal/scaffold
Advanced tools
Comparing version 4.1.2-rer314x.0 to 4.1.2
@@ -58,3 +58,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
.isUnsupportedChain=${this.isUnsupportedChain} | ||
address=${ifDefined(this.profileName ?? this.address)} | ||
address=${ifDefined(this.address)} | ||
profileName=${ifDefined(this.profileName)} | ||
?isProfileName=${Boolean(this.profileName)} | ||
@@ -61,0 +62,0 @@ networkSrc=${ifDefined(networkImage)} |
@@ -33,3 +33,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
} | ||
else { | ||
else if (!this.disconnecting) { | ||
SnackController.showError('Account not found'); | ||
@@ -36,0 +36,0 @@ } |
@@ -57,3 +57,2 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
> | ||
${this.activateAccountTemplate()} | ||
<wui-profile-button | ||
@@ -116,5 +115,2 @@ @click=${this.onProfileButtonClick.bind(this)} | ||
} | ||
activateAccountTemplate() { | ||
return html ` <wui-promo text="Activate your account"></wui-promo>`; | ||
} | ||
onTabChange(index) { | ||
@@ -121,0 +117,0 @@ AccountController.setCurrentTab(index); |
@@ -26,2 +26,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
this.next = TransactionsController.state.next; | ||
TransactionsController.clearCursor(); | ||
this.unsubscribe.push(...[ | ||
@@ -28,0 +29,0 @@ AccountController.subscribe(val => { |
@@ -18,3 +18,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
this.connectors = ConnectorController.state.connectors; | ||
this.unsubscribe.push(ConnectorController.subscribeKey('connectors', val => (this.connectors = val))); | ||
this.count = ApiController.state.count; | ||
this.unsubscribe.push(ConnectorController.subscribeKey('connectors', val => (this.connectors = val)), ApiController.subscribeKey('count', val => (this.count = val))); | ||
} | ||
@@ -169,5 +170,4 @@ disconnectedCallback() { | ||
} | ||
const count = ApiController.state.count; | ||
const featuredCount = ApiController.state.featured.length; | ||
const rawCount = count + featuredCount; | ||
const rawCount = this.count + featuredCount; | ||
const roundedCount = rawCount < 10 ? rawCount : Math.floor(rawCount / 10) * 10; | ||
@@ -248,2 +248,5 @@ const tagLabel = roundedCount < rawCount ? `${roundedCount}+` : `${roundedCount}`; | ||
], W3mConnectView.prototype, "connectors", void 0); | ||
__decorate([ | ||
state() | ||
], W3mConnectView.prototype, "count", void 0); | ||
W3mConnectView = __decorate([ | ||
@@ -250,0 +253,0 @@ customElement('w3m-connect-view') |
@@ -87,2 +87,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
await this.emailConnector.provider.connectEmail({ email: this.email }); | ||
this.listenForDeviceApproval(); | ||
SnackController.showSuccess('Code email resent'); | ||
@@ -89,0 +90,0 @@ } |
@@ -36,2 +36,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
]); | ||
TransactionsController.clearCursor(); | ||
this.fetchTransactions(); | ||
@@ -38,0 +39,0 @@ } |
@@ -16,3 +16,2 @@ import { LitElement } from 'lit'; | ||
private tokenBalanceTemplate; | ||
private activateAccountTemplate; | ||
private onTabChange; | ||
@@ -19,0 +18,0 @@ private onProfileButtonClick; |
@@ -6,2 +6,3 @@ import { LitElement } from 'lit'; | ||
private connectors; | ||
private count; | ||
constructor(); | ||
@@ -8,0 +9,0 @@ disconnectedCallback(): void; |
{ | ||
"name": "@web3modal/scaffold", | ||
"version": "4.1.2-rer314x.0", | ||
"version": "4.1.2", | ||
"type": "module", | ||
@@ -19,10 +19,10 @@ "main": "./dist/esm/index.js", | ||
"dependencies": { | ||
"@web3modal/common": "4.1.2-rer314x.0", | ||
"@web3modal/core": "4.1.2-rer314x.0", | ||
"@web3modal/ui": "4.1.2-rer314x.0", | ||
"@web3modal/common": "4.1.2", | ||
"@web3modal/core": "4.1.2", | ||
"@web3modal/ui": "4.1.2", | ||
"lit": "3.1.0" | ||
}, | ||
"peerDependencies": { | ||
"@web3modal/siwe": "4.1.2-rer314x.0", | ||
"@web3modal/wallet": "4.1.2-rer314x.0" | ||
"@web3modal/siwe": "4.1.2", | ||
"@web3modal/wallet": "4.1.2" | ||
}, | ||
@@ -35,3 +35,3 @@ "peerDependenciesMeta": { | ||
"optionalDependencies": { | ||
"@web3modal/siwe": "4.1.2-rer314x.0" | ||
"@web3modal/siwe": "4.1.2" | ||
}, | ||
@@ -38,0 +38,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
550320
9455
0
+ Added@web3modal/common@4.1.2(transitive)
+ Added@web3modal/core@4.1.2(transitive)
+ Added@web3modal/polyfills@4.1.2(transitive)
+ Added@web3modal/scaffold-utils@4.1.2(transitive)
+ Added@web3modal/siwe@4.1.2(transitive)
+ Added@web3modal/ui@4.1.2(transitive)
+ Added@web3modal/wallet@4.1.2(transitive)
- Removed@web3modal/common@4.1.2-rer314x.0(transitive)
- Removed@web3modal/core@4.1.2-rer314x.0(transitive)
- Removed@web3modal/polyfills@4.1.2-rer314x.0(transitive)
- Removed@web3modal/scaffold-utils@4.1.2-rer314x.0(transitive)
- Removed@web3modal/siwe@4.1.2-rer314x.0(transitive)
- Removed@web3modal/ui@4.1.2-rer314x.0(transitive)
- Removed@web3modal/wallet@4.1.2-rer314x.0(transitive)
Updated@web3modal/common@4.1.2
Updated@web3modal/core@4.1.2
Updated@web3modal/ui@4.1.2