Socket
Socket
Sign inDemoInstall

@walletconnect/modal

Package Overview
Dependencies
Maintainers
9
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@walletconnect/modal - npm Package Compare versions

Comparing version 2.4.3 to 2.4.4

2

dist/_types/src/client.d.ts

@@ -5,3 +5,3 @@ import type { ConfigCtrlState, ThemeCtrlState } from '@web3modal/core';

*/
export type WalletConnectModalConfig = Omit<ConfigCtrlState, 'enableStandaloneMode'> & ThemeCtrlState & {
export type WalletConnectModalConfig = Pick<ConfigCtrlState, 'desktopWallets' | 'enableAuthMode' | 'enableExplorer' | 'explorerExcludedWalletIds' | 'explorerRecommendedWalletIds' | 'mobileWallets' | 'privacyPolicyUrl' | 'projectId' | 'standaloneChains' | 'termsOfServiceUrl' | 'tokenImages' | 'walletImages'> & ThemeCtrlState & {
walletConnectVersion: 1 | 2;

@@ -8,0 +8,0 @@ };

@@ -1,1 +0,1 @@

import{ModalCtrl as r,ThemeCtrl as n,ConfigCtrl as l,OptionsCtrl as s}from"@web3modal/core";var c=Object.defineProperty,i=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,a=(o,e,t)=>e in o?c(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,m=(o,e)=>{for(var t in e||(e={}))d.call(e,t)&&a(o,t,e[t]);if(i)for(var t of i(e))b.call(e,t)&&a(o,t,e[t]);return o};class f{constructor(e){this.openModal=r.open,this.closeModal=r.close,this.subscribeModal=r.subscribe,this.setTheme=n.setThemeConfig,n.setThemeConfig(e),l.setConfig(m({enableStandaloneMode:!0},e)),this.initUi()}async initUi(){if(typeof window<"u"){await import("@web3modal/ui");const e=document.createElement("w3m-modal");document.body.insertAdjacentElement("beforeend",e),s.setIsUiLoaded(!0)}}}export{f as WalletConnectModal};
import{ModalCtrl as r,ThemeCtrl as n,ConfigCtrl as s,OptionsCtrl as l}from"@web3modal/core";var c=Object.defineProperty,i=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,a=(o,e,t)=>e in o?c(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,m=(o,e)=>{for(var t in e||(e={}))d.call(e,t)&&a(o,t,e[t]);if(i)for(var t of i(e))b.call(e,t)&&a(o,t,e[t]);return o};class f{constructor(e){this.openModal=r.open,this.closeModal=r.close,this.subscribeModal=r.subscribe,this.setTheme=n.setThemeConfig,n.setThemeConfig(e),s.setConfig(m({enableStandaloneMode:!0},e)),this.initUi()}async initUi(){if(typeof window<"u"){await import("@web3modal/ui");const e=document.createElement("w3m-modal");document.body.insertAdjacentElement("beforeend",e),l.setIsUiLoaded(!0)}}}export{f as WalletConnectModal};
{
"name": "@walletconnect/modal",
"version": "2.4.3",
"version": "2.4.4",
"main": "dist/index.es.js",

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

"dependencies": {
"@web3modal/core": "2.4.3",
"@web3modal/ui": "2.4.3"
"@web3modal/core": "2.4.4",
"@web3modal/ui": "2.4.4"
},

@@ -24,0 +24,0 @@ "keywords": [

@@ -9,5 +9,5 @@ #### 📚 [Documentation](https://docs.walletconnect.com/2.0/web3modal/about)

# Web3Modal
# WalletConnectModal
Your on-ramp to web3 multichain. Web3Modal is a versatile library that makes it super easy to connect users with your Dapp and start interacting with the blockchain.
Your on-ramp to web3 multichain. WalletConnectModal is a versatile library that makes it super easy to connect users with your Dapp and start interacting with the blockchain.

@@ -14,0 +14,0 @@ <p align="center">

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