New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More โ†’
Socket
Sign inDemoInstall
Socket

@web3modal/ui

Package Overview
Dependencies
Maintainers
4
Versions
374
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web3modal/ui - npm Package Compare versions

Comparing version 2.2.2 to 2.3.0-6a0bdcf

dist/_types/src/components/w3m-info-footer/index.d.ts

1

dist/_types/src/components/index.d.ts
import './w3m-box-button';
import './w3m-button';
import './w3m-button-big';
import './w3m-info-footer';
import './w3m-modal-backcard';

@@ -5,0 +6,0 @@ import './w3m-modal-content';

@@ -9,2 +9,3 @@ import type { TemplateResult } from 'lit';

onClick: () => void;
variant: 'default' | 'ghost' | 'outline';
protected render(): TemplateResult<1>;

@@ -11,0 +12,0 @@ }

2

dist/_types/src/components/w3m-qrcode/index.d.ts

@@ -6,3 +6,3 @@ import { LitElement } from 'lit';

size: number;
logoSrc?: string | undefined;
imageId?: string | undefined;
walletId?: string | undefined;

@@ -9,0 +9,0 @@ private svgTemplate;

@@ -8,3 +8,3 @@ import { LitElement } from 'lit';

label?: string;
src?: string;
imageId?: string;
installed?: boolean | undefined;

@@ -11,0 +11,0 @@ recent?: boolean | undefined;

import { LitElement } from 'lit';
export declare class W3mWalletImage extends LitElement {
static styles: any[];
walletId?: string;
src?: string;
walletId: string;
imageId?: string;
protected render(): import("lit-html").TemplateResult<1>;

@@ -7,0 +7,0 @@ }

@@ -5,1 +5,2 @@ import './w3m-account-context';

import './w3m-theme-context';
import './w3m-wc-connection-context';

@@ -8,3 +8,2 @@ import { LitElement } from 'lit';

private preloadCustomImages;
private preloadConnectorImages;
private preloadData;

@@ -11,0 +10,0 @@ }

@@ -8,2 +8,3 @@ import './w3m-account-button';

import './w3m-connect-button';
import './w3m-connector-waiting';
import './w3m-core-button';

@@ -15,3 +16,5 @@ import './w3m-desktop-wallet-selection';

import './w3m-network-switch';
import './w3m-network-waiting';
import './w3m-platform-selection';
import './w3m-view-all-wallets-button';
import './w3m-walletconnect-qr';
import { LitElement } from 'lit';
export declare class W3mDesktopWalletSelection extends LitElement {
static styles: any[];
private onDesktopWallet;
private onInjectedWallet;
private onInstallConnector;
private onConnectorWallet;
private desktopWalletsTemplate;
private previewWalletsTemplate;
private connectorWalletsTemplate;
private onConnecting;
private onExternal;
private manualWalletsTemplate;
private recomendedWalletsTemplate;
private externalWalletsTemplate;
private recentWalletTemplate;
private injectedWalletsTemplate;
protected render(): import("lit-html").TemplateResult<1>;

@@ -13,0 +12,0 @@ }

import { LitElement } from 'lit';
export declare class W3mMobileWalletSelection extends LitElement {
static styles: any[];
private onGoToQrcode;
private onConnectorWallet;
private mobileWalletsTemplate;
private previewWalletsTemplate;
private connectorWalletsTemplate;
private onQrcode;
private onConnecting;
private onExternal;
private manualWalletsTemplate;
private recomendedWalletsTemplate;
private externalWalletsTemplate;
private recentWalletTemplate;

@@ -10,0 +11,0 @@ protected render(): import("lit-html").TemplateResult<1>;

@@ -5,2 +5,3 @@ import { LitElement } from 'lit';

private open;
private active;
constructor();

@@ -7,0 +8,0 @@ disconnectedCallback(): void;

import { LitElement } from 'lit';
export declare class W3mWalletConnectQr extends LitElement {
static styles: any[];
private uri;
walletId?: string | undefined;
imageId?: string | undefined;
private uri?;
constructor();
disconnectedCallback(): void;
private readonly unwatchWcConnection?;
private get overlayEl();
private createConnectionAndWait;
protected render(): import("lit-html").TemplateResult<1>;

@@ -9,0 +12,0 @@ }

@@ -34,2 +34,3 @@ export declare const SvgUtil: {

ACCOUNT_DISCONNECT: import("lit-html").TemplateResult<2>;
GLOBE_ICON: import("lit-html").TemplateResult<2>;
};
export declare const ThemeUtil: {
getPreset(key: string): never;
setTheme(): void;
globalCss: import("lit").CSSResult;
};

@@ -0,11 +1,13 @@

import type { WalletData } from '@web3modal/core';
import type { LitElement } from 'lit';
import type { RecentWallet } from './TypesUtil';
export declare const UiUtil: {
MOBILE_BREAKPOINT: number;
W3M_RECENT_WALLET: string;
W3M_RECENT_WALLET_DATA: string;
EXPLORER_WALLET_URL: string;
rejectStandaloneButtonComponent(): void;
getShadowRootElement(root: LitElement, selector: string): HTMLElement;
getWalletId(id: string): string;
getWalletIcon(id: string): string;
getWalletIcon({ id, image_id }: {
id: string;
image_id?: string | undefined;
}): string;
getWalletName(name: string, short?: boolean): string;

@@ -18,4 +20,4 @@ getChainIcon(chainId: number | string): string;

debounce(func: (...args: any[]) => unknown, timeout?: number): (...args: unknown[]) => void;
handleMobileLinking(wallet: RecentWallet): Promise<void>;
handleAndroidLinking(): Promise<void>;
handleMobileLinking(wallet: WalletData): void;
handleAndroidLinking(): void;
handleUriCopy(): Promise<void>;

@@ -25,18 +27,16 @@ handleConnectorConnection(id: string, onError?: () => void): Promise<void>;

getCustomImageUrls(): string[];
getConnectorImageUrls(): string[];
truncate(value: string, strLen?: number): string;
generateAvatarColors(address: string): void;
setRecentWallet(wallet: RecentWallet): void;
getRecentWallet(): RecentWallet | undefined;
getExtensionWallets(): {
name: string;
icon: string;
url: string;
isMobile?: boolean | undefined;
isDesktop?: boolean | undefined;
isInjected?: boolean | undefined;
id: string;
}[];
setRecentWallet(wallet: WalletData): void;
getRecentWallet(): WalletData | undefined;
caseSafeIncludes(str1: string, str2: string): boolean;
openWalletExplorerUrl(): void;
getCachedRouterWalletPlatforms(): {
isInjectedInstalled: boolean;
isInjected: boolean;
isDesktop: boolean;
isMobile: boolean;
isWeb: boolean;
};
goToConnectingView(wallet: WalletData): void;
};
import './w3m-account-view';
import './w3m-connect-wallet-view';
import './w3m-connectors-view';
import './w3m-desktop-connector-view';
import './w3m-desktop-connecting-view';
import './w3m-get-wallet-view';
import './w3m-help-view';
import './w3m-injected-connector-view';
import './w3m-install-connector-view';
import './w3m-injected-connecting-view';
import './w3m-install-wallet-view';
import './w3m-mobile-connecting-view';
import './w3m-mobile-qr-connecting-view';
import './w3m-qrcode-view';

@@ -13,1 +15,2 @@ import './w3m-select-network-view';

import './w3m-wallet-explorer-view';
import './w3m-web-connecting-view';
import { LitElement } from 'lit';
export declare class W3mConnectorsView extends LitElement {
static styles: any[];
private onConnectorWallet;
private connectorWalletsTemplate;
private onExternal;
private externalWalletsTemplate;
protected render(): import("lit-html").TemplateResult<1>;

@@ -7,0 +7,0 @@ }

import { LitElement } from 'lit';
export declare class W3mSwitchNetworkView extends LitElement {
static styles: any[];
private error;
private isError;
constructor();
private getRouterData;
private onSwitchNetwork;

@@ -8,0 +7,0 @@ protected render(): import("lit-html").TemplateResult<1>;

@@ -16,4 +16,3 @@ import { LitElement } from 'lit';

private onConnectCustom;
private onConnectListing;
private onConnectExtension;
private onConnect;
private onSearchChange;

@@ -20,0 +19,0 @@ private readonly searchDebounce;

{
"name": "@web3modal/ui",
"version": "2.2.2",
"version": "2.3.0-6a0bdcf",
"main": "dist/index.js",

@@ -19,4 +19,4 @@ "type": "module",

"dependencies": {
"@web3modal/core": "2.2.2",
"lit": "2.6.1",
"@web3modal/core": "2.3.0-6a0bdcf",
"lit": "2.7.2",
"motion": "10.15.5",

@@ -23,0 +23,0 @@ "qrcode": "1.5.1"

@@ -1,5 +0,9 @@

### ๐Ÿ“š [Documentation](https://docs.walletconnect.com/2.0/introduction/web3modal/about)
> Looking for v1.x readme? It is available on [V1 Branch](https://github.com/WalletConnect/web3modal/tree/V1)
### ๐Ÿ–ฅ๏ธ [Minimal Example](https://web3modal-dev.pages.dev/)
### ๐Ÿ“š [Documentation](https://docs.walletconnect.com/2.0/web3modal/about)
### ๐Ÿ”Ž [Examples](https://github.com/WalletConnect/web3modal-examples)
### ๐Ÿงช [Laboratory](https://lab.web3modal.com)
### ๐Ÿ”— [Website](https://web3modal.com)

@@ -15,7 +19,4 @@

## Getting Started
## Development
- [React Docs](https://docs.walletconnect.com/2.0/introduction/web3modal/react/installation) / [React Example](./examples/react/)
- [Vanilla JS Docs](https://docs.walletconnect.com/2.0/web3modal/html-js/installation) / [Vanila JS Example](./examples/html/)
- Vue Docs / Vue Example (coming soon)
- Angular Docs / Angular Example (coming soon)
Please follow [developer docs](./.github/docs/development.md) to set up web3modal locally.

Sorry, the diff of this file is too big to display

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