@web3modal/scaffold
Advanced tools
Comparing version 3.3.1 to 3.4.0-87282324
@@ -20,2 +20,5 @@ export * from './src/modal/w3m-account-button/index.js'; | ||
export * from './src/views/w3m-what-is-a-wallet-view/index.js'; | ||
export * from './src/views/w3m-email-verify-otp-view/index.js'; | ||
export * from './src/views/w3m-email-verify-device-view/index.js'; | ||
export * from './src/views/w3m-approve-transaction-view/index.js'; | ||
export * from './src/partials/w3m-all-wallets-list/index.js'; | ||
@@ -36,4 +39,5 @@ export * from './src/partials/w3m-all-wallets-search/index.js'; | ||
export * from './src/partials/w3m-snackbar/index.js'; | ||
export * from './src/partials/w3m-email-login-widget/index.js'; | ||
export { Web3ModalScaffold } from './src/client.js'; | ||
export { CoreHelperUtil } from '@web3modal/core'; | ||
//# sourceMappingURL=index.js.map |
@@ -70,2 +70,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
return html `<w3m-downloads-view></w3m-downloads-view>`; | ||
case 'EmailVerifyOtp': | ||
return html `<w3m-email-verify-otp-view></w3m-email-verify-otp-view>`; | ||
case 'EmailVerifyDevice': | ||
return html `<w3m-email-verify-device-view></w3m-email-verify-device-view>`; | ||
case 'ApproveTransaction': | ||
return html `<w3m-approve-transaction-view></w3m-approve-transaction-view>`; | ||
case 'Transactions': | ||
@@ -72,0 +78,0 @@ return html `<w3m-transactions-view></w3m-transactions-view>`; |
@@ -41,4 +41,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
<wui-link @click=${this.onCopyUri} color="fg-200"> | ||
<wui-icon size="sm" color="fg-200" slot="iconLeft" name="copy"></wui-icon> | ||
Copy Link | ||
<wui-icon size="xs" color="fg-200" slot="iconLeft" name="copy"></wui-icon> | ||
Copy link | ||
</wui-link> | ||
@@ -45,0 +45,0 @@ </wui-flex> |
@@ -30,2 +30,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
Downloads: name ? `Get ${name}` : 'Downloads', | ||
EmailVerifyOtp: 'Confirm Email', | ||
EmailVerifyDevice: '', | ||
ApproveTransaction: 'Approve Transaction', | ||
Transactions: 'Activity' | ||
@@ -72,3 +75,4 @@ }; | ||
const isConnectHelp = view === 'Connect'; | ||
if (this.showBack) { | ||
const isApproveTransaction = view === 'ApproveTransaction'; | ||
if (this.showBack && !isApproveTransaction) { | ||
return html `<wui-icon-link | ||
@@ -89,3 +93,3 @@ id="dynamic" | ||
separatorTemplate() { | ||
if (!this.heading) { | ||
if (!this.heading || RouterController.state.view === 'EmailVerifyDevice') { | ||
return null; | ||
@@ -92,0 +96,0 @@ } |
@@ -115,4 +115,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
<wui-link @click=${this.onCopyUri} color="fg-200"> | ||
<wui-icon size="sm" color="fg-200" slot="iconLeft" name="copy"></wui-icon> | ||
Copy Link | ||
<wui-icon size="xs" color="fg-200" slot="iconLeft" name="copy"></wui-icon> | ||
Copy link | ||
</wui-link> | ||
@@ -119,0 +119,0 @@ </wui-flex> |
@@ -26,2 +26,4 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
<wui-flex flexDirection="column" padding="s" gap="xs"> | ||
<w3m-email-login-widget></w3m-email-login-widget> | ||
${this.walletConnectConnectorTemplate()} ${this.recentTemplate()} | ||
@@ -137,3 +139,3 @@ ${this.announcedTemplate()} ${this.injectedTemplate()} ${this.featuredTemplate()} | ||
return this.connectors.map(connector => { | ||
if (['WALLET_CONNECT', 'INJECTED', 'ANNOUNCED'].includes(connector.type)) { | ||
if (['WALLET_CONNECT', 'INJECTED', 'ANNOUNCED', 'EMAIL'].includes(connector.type)) { | ||
return null; | ||
@@ -140,0 +142,0 @@ } |
@@ -101,3 +101,2 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
await NetworkController.switchActiveNetwork(this.network); | ||
RouterController.goBack(); | ||
} | ||
@@ -104,0 +103,0 @@ } |
@@ -20,2 +20,5 @@ export * from './src/modal/w3m-account-button/index.js'; | ||
export * from './src/views/w3m-what-is-a-wallet-view/index.js'; | ||
export * from './src/views/w3m-email-verify-otp-view/index.js'; | ||
export * from './src/views/w3m-email-verify-device-view/index.js'; | ||
export * from './src/views/w3m-approve-transaction-view/index.js'; | ||
export * from './src/partials/w3m-all-wallets-list/index.js'; | ||
@@ -36,2 +39,3 @@ export * from './src/partials/w3m-all-wallets-search/index.js'; | ||
export * from './src/partials/w3m-snackbar/index.js'; | ||
export * from './src/partials/w3m-email-login-widget/index.js'; | ||
export { Web3ModalScaffold } from './src/client.js'; | ||
@@ -38,0 +42,0 @@ export type { LibraryOptions, ScaffoldOptions } from './src/client.js'; |
@@ -25,3 +25,3 @@ import type { ConnectionControllerClient, SIWEControllerClient, EventsControllerState, NetworkControllerClient, NetworkControllerState, OptionsControllerState, PublicStateControllerState, ThemeControllerState, ThemeMode, ThemeVariables, SIWEControllerClientState } from '@web3modal/core'; | ||
export interface OpenOptions { | ||
view: 'Account' | 'Connect' | 'Networks'; | ||
view: 'Account' | 'Connect' | 'Networks' | 'ApproveTransaction'; | ||
} | ||
@@ -28,0 +28,0 @@ export declare class Web3ModalScaffold { |
{ | ||
"name": "@web3modal/scaffold", | ||
"version": "3.3.1", | ||
"version": "3.4.0-87282324", | ||
"type": "module", | ||
@@ -19,6 +19,9 @@ "main": "./dist/esm/index.js", | ||
"dependencies": { | ||
"@web3modal/core": "3.3.1", | ||
"@web3modal/ui": "3.3.1", | ||
"lit": "3.0.0" | ||
"@web3modal/core": "3.4.0-87282324", | ||
"@web3modal/ui": "3.4.0-87282324", | ||
"lit": "3.0.2" | ||
}, | ||
"devDependencies": { | ||
"@web3modal/smart-account": "3.4.0-87282324" | ||
}, | ||
"keywords": [ | ||
@@ -25,0 +28,0 @@ "web3", |
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
301077
182
5068
1
1
+ Added@web3modal/common@3.4.0-87282324(transitive)
+ Added@web3modal/core@3.4.0-87282324(transitive)
+ Added@web3modal/ui@3.4.0-87282324(transitive)
+ Addedderive-valtio@0.1.0(transitive)
+ Addedlit@3.0.2(transitive)
+ Addedvaltio@1.12.0(transitive)
- Removed@web3modal/common@3.3.1(transitive)
- Removed@web3modal/core@3.3.1(transitive)
- Removed@web3modal/ui@3.3.1(transitive)
- Removedlit@3.0.0(transitive)
- Removedvaltio@1.11.2(transitive)
Updated@web3modal/ui@3.4.0-87282324
Updatedlit@3.0.2