Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@web3modal/scaffold

Package Overview
Dependencies
Maintainers
7
Versions
245
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web3modal/scaffold - npm Package Compare versions

Comparing version 3.3.0-e39005b to 3.3.1

dist/esm/src/views/w3m-transactions-view/index.js

5

dist/esm/index.js

@@ -17,7 +17,5 @@ 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';
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';

@@ -38,5 +36,4 @@ 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

8

dist/esm/src/modal/w3m-router/index.js

@@ -70,8 +70,4 @@ 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':
return html `<w3m-transactions-view></w3m-transactions-view>`;
default:

@@ -78,0 +74,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"

@@ -30,5 +30,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

Downloads: name ? `Get ${name}` : 'Downloads',
EmailVerifyOtp: 'Confirm Email',
EmailVerifyDevice: 'Confirm Device',
ApproveTransaction: 'Approve Transaction'
Transactions: 'Activity'
};

@@ -74,4 +72,3 @@ }

const isConnectHelp = view === 'Connect';
const isApproveTransaction = view === 'ApproveTransaction';
if (this.showBack && !isApproveTransaction) {
if (this.showBack) {
return html `<wui-icon-link

@@ -78,0 +75,0 @@ id="dynamic"

@@ -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"

@@ -26,4 +26,2 @@ 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()}

@@ -139,3 +137,3 @@ ${this.announcedTemplate()} ${this.injectedTemplate()} ${this.featuredTemplate()}

return this.connectors.map(connector => {
if (['WALLET_CONNECT', 'INJECTED', 'ANNOUNCED', 'EMAIL'].includes(connector.type)) {
if (['WALLET_CONNECT', 'INJECTED', 'ANNOUNCED'].includes(connector.type)) {
return null;

@@ -142,0 +140,0 @@ }

@@ -101,2 +101,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

await NetworkController.switchActiveNetwork(this.network);
RouterController.goBack();
}

@@ -103,0 +104,0 @@ }

@@ -17,7 +17,5 @@ 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';
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';

@@ -38,3 +36,2 @@ 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';

@@ -41,0 +38,0 @@ export type { LibraryOptions, ScaffoldOptions } from './src/client.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.3.0-e39005b",
"version": "3.3.1",
"type": "module",

@@ -19,9 +19,6 @@ "main": "./dist/esm/index.js",

"dependencies": {
"@web3modal/core": "3.3.0-e39005b",
"@web3modal/ui": "3.3.0-e39005b",
"lit": "3.0.2"
"@web3modal/core": "3.3.1",
"@web3modal/ui": "3.3.1",
"lit": "3.0.0"
},
"devDependencies": {
"@web3modal/smart-account": "3.3.0-e39005b"
},
"keywords": [

@@ -28,0 +25,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

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc