@walletconnect/modal
Advanced tools
Comparing version 2.4.3 to 2.4.4
@@ -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"> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3596
25
+ Added@web3modal/core@2.4.4(transitive)
+ Added@web3modal/ui@2.4.4(transitive)
- Removed@web3modal/core@2.4.3(transitive)
- Removed@web3modal/ui@2.4.3(transitive)
Updated@web3modal/core@2.4.4
Updated@web3modal/ui@2.4.4