@walletconnect/modal
Advanced tools
Comparing version 2.4.7 to 2.4.8-0f22fc8
@@ -1,8 +0,6 @@ | ||
import type { ConfigCtrlState, ThemeCtrlState } from '@web3modal/core'; | ||
import type { ConfigCtrlState, ThemeCtrlState } from '@walletconnect/modal-core'; | ||
/** | ||
* Types | ||
*/ | ||
export type WalletConnectModalConfig = Pick<ConfigCtrlState, 'desktopWallets' | 'enableAuthMode' | 'enableExplorer' | 'explorerExcludedWalletIds' | 'explorerRecommendedWalletIds' | 'mobileWallets' | 'privacyPolicyUrl' | 'projectId' | 'standaloneChains' | 'termsOfServiceUrl' | 'tokenImages' | 'walletImages'> & ThemeCtrlState & { | ||
walletConnectVersion: 1 | 2; | ||
}; | ||
export type WalletConnectModalConfig = ConfigCtrlState & ThemeCtrlState; | ||
/** | ||
@@ -9,0 +7,0 @@ * Client |
@@ -1,1 +0,1 @@ | ||
import{W as e}from"./bundle-3f779725.js";export{e as WalletConnectModal}; | ||
import{a as e}from"./bundle-dedcb926.js";export{e as WalletConnectModal}; |
@@ -1,1 +0,1 @@ | ||
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}; | ||
import{ModalCtrl as t,ThemeCtrl as o,ConfigCtrl as i,OptionsCtrl as n}from"@walletconnect/modal-core";class d{constructor(e){this.openModal=t.open,this.closeModal=t.close,this.subscribeModal=t.subscribe,this.setTheme=o.setThemeConfig,o.setThemeConfig(e),i.setConfig(e),this.initUi()}async initUi(){if(typeof window<"u"){await import("@walletconnect/modal-ui");const e=document.createElement("wcm-modal");document.body.insertAdjacentElement("beforeend",e),n.setIsUiLoaded(!0)}}}export{d as WalletConnectModal}; |
{ | ||
"name": "@walletconnect/modal", | ||
"version": "2.4.7", | ||
"version": "2.4.8-0f22fc8", | ||
"main": "dist/index.js", | ||
@@ -21,4 +21,4 @@ "unpkg": "dist/cdn/bundle.js", | ||
"dependencies": { | ||
"@web3modal/core": "2.4.7", | ||
"@web3modal/ui": "2.4.7" | ||
"@walletconnect/modal-core": "2.4.8-0f22fc8", | ||
"@walletconnect/modal-ui": "2.4.8-0f22fc8" | ||
}, | ||
@@ -36,10 +36,10 @@ "keywords": [ | ||
"license": "Apache-2.0", | ||
"homepage": "https://github.com/web3modal/web3modal", | ||
"homepage": "https://github.com/walletconnect/modal", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/web3modal/web3modal.git" | ||
"url": "git+https://github.com/walletconnect/modal.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/web3modal/web3modal/issues" | ||
"url": "https://github.com/walletconnect/modal/issues" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
205956
827
1
+ Added@walletconnect/modal-core@2.4.8-0f22fc8(transitive)
+ Added@walletconnect/modal-ui@2.4.8-0f22fc8(transitive)
- Removed@web3modal/core@2.4.7
- Removed@web3modal/ui@2.4.7
- Removed@web3modal/core@2.4.7(transitive)
- Removed@web3modal/ui@2.4.7(transitive)