@web3modal/scaffold
Advanced tools
Comparing version 3.4.0-0c7ed050 to 3.4.0-330d1560
@@ -17,2 +17,3 @@ export * from './src/modal/w3m-account-button/index.js'; | ||
export * from './src/views/w3m-networks-view/index.js'; | ||
export * from './src/views/w3m-transactions-view/index.js'; | ||
export * from './src/views/w3m-what-is-a-network-view/index.js'; | ||
@@ -19,0 +20,0 @@ export * from './src/views/w3m-what-is-a-wallet-view/index.js'; |
@@ -76,2 +76,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
return html `<w3m-approve-transaction-view></w3m-approve-transaction-view>`; | ||
case 'Transactions': | ||
return html `<w3m-transactions-view></w3m-transactions-view>`; | ||
default: | ||
@@ -78,0 +80,0 @@ return html `<w3m-connect-view></w3m-connect-view>`; |
@@ -41,4 +41,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
size="lg" | ||
iconcolor="fg-200" | ||
backgroundcolor="fg-300" | ||
iconColor="fg-200" | ||
backgroundColor="fg-300" | ||
icon="wallet" | ||
@@ -45,0 +45,0 @@ background="transparent" |
@@ -32,3 +32,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
EmailVerifyDevice: '', | ||
ApproveTransaction: 'Approve Transaction' | ||
ApproveTransaction: 'Approve Transaction', | ||
Transactions: 'Activity' | ||
}; | ||
@@ -35,0 +36,0 @@ } |
@@ -113,2 +113,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
<wui-list-item | ||
iconVariant="blue" | ||
icon="swapHorizontalBold" | ||
iconSize="sm" | ||
?chevron=${true} | ||
@click=${this.onTransactions.bind(this)} | ||
> | ||
<wui-text variant="paragraph-500" color="fg-100">Activity</wui-text> | ||
</wui-list-item> | ||
<wui-list-item | ||
variant="icon" | ||
@@ -161,2 +170,6 @@ iconVariant="overlay" | ||
} | ||
onTransactions() { | ||
EventsController.sendEvent({ type: 'track', event: 'CLICK_TRANSACTIONS' }); | ||
RouterController.push('Transactions'); | ||
} | ||
async onDisconnect() { | ||
@@ -163,0 +176,0 @@ try { |
@@ -39,4 +39,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
size="lg" | ||
iconcolor="accent-100" | ||
backgroundcolor="accent-100" | ||
iconSize="xl" | ||
iconColor="accent-100" | ||
backgroundColor="accent-100" | ||
icon="qrCode" | ||
@@ -43,0 +44,0 @@ background="transparent" |
@@ -17,2 +17,3 @@ export * from './src/modal/w3m-account-button/index.js'; | ||
export * from './src/views/w3m-networks-view/index.js'; | ||
export * from './src/views/w3m-transactions-view/index.js'; | ||
export * from './src/views/w3m-what-is-a-network-view/index.js'; | ||
@@ -19,0 +20,0 @@ export * from './src/views/w3m-what-is-a-wallet-view/index.js'; |
@@ -20,2 +20,3 @@ import { LitElement } from 'lit'; | ||
private onNetworks; | ||
private onTransactions; | ||
private onDisconnect; | ||
@@ -22,0 +23,0 @@ private onExplorer; |
{ | ||
"name": "@web3modal/scaffold", | ||
"version": "3.4.0-0c7ed050", | ||
"version": "3.4.0-330d1560", | ||
"type": "module", | ||
@@ -19,8 +19,8 @@ "main": "./dist/esm/index.js", | ||
"dependencies": { | ||
"@web3modal/core": "3.4.0-0c7ed050", | ||
"@web3modal/ui": "3.4.0-0c7ed050", | ||
"@web3modal/core": "3.4.0-330d1560", | ||
"@web3modal/ui": "3.4.0-330d1560", | ||
"lit": "3.0.2" | ||
}, | ||
"devDependencies": { | ||
"@web3modal/smart-account": "3.4.0-0c7ed050" | ||
"@web3modal/smart-account": "3.4.0-330d1560" | ||
}, | ||
@@ -27,0 +27,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
301077
182
5068
+ Added@web3modal/common@3.4.0-330d1560(transitive)
+ Added@web3modal/core@3.4.0-330d1560(transitive)
+ Added@web3modal/ui@3.4.0-330d1560(transitive)
+ Addeddayjs@1.11.10(transitive)
- Removed@web3modal/core@3.4.0-0c7ed050(transitive)
- Removed@web3modal/ui@3.4.0-0c7ed050(transitive)
Updated@web3modal/ui@3.4.0-330d1560