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.7 to 2.4.8-0f22fc8

dist/cdn/bundle-dedcb926.js

6

dist/_types/src/client.d.ts

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