Socket
Socket
Sign inDemoInstall

@web3auth/base

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web3auth/base - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

dist/base.cjs.js

@@ -363,3 +363,3 @@ module.exports =

if (!customChainConfig.chainNamespace) throw WalletInitializationError.notReady("ChainNamespace is required while setting chainConfig");
const defaultChainConfig = getChainConfig(this.currentChainNamespace, customChainConfig.chainId);
const defaultChainConfig = getChainConfig(customChainConfig.chainNamespace, customChainConfig.chainId);
this.chainConfig = _objectSpread(_objectSpread({}, defaultChainConfig), customChainConfig);

@@ -366,0 +366,0 @@ }

@@ -202,3 +202,3 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';

if (!customChainConfig.chainNamespace) throw WalletInitializationError.notReady("ChainNamespace is required while setting chainConfig");
const defaultChainConfig = getChainConfig(this.currentChainNamespace, customChainConfig.chainId);
const defaultChainConfig = getChainConfig(customChainConfig.chainNamespace, customChainConfig.chainId);
this.chainConfig = _objectSpread$2(_objectSpread$2({}, defaultChainConfig), customChainConfig);

@@ -205,0 +205,0 @@ }

{
"name": "@web3auth/base",
"version": "0.1.0",
"version": "0.1.1",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",

@@ -54,3 +54,3 @@ "license": "ISC",

},
"gitHead": "39c2430248258f030cd9274154617c04e67f91e5"
"gitHead": "1c18c5c104a267ac263fd632c3d55b4639ca80f7"
}

@@ -107,3 +107,3 @@ import { SafeEventEmitter } from "@toruslabs/openlogin-jrpc";

if (!customChainConfig.chainNamespace) throw WalletInitializationError.notReady("ChainNamespace is required while setting chainConfig");
const defaultChainConfig = getChainConfig(this.currentChainNamespace, customChainConfig.chainId);
const defaultChainConfig = getChainConfig(customChainConfig.chainNamespace, customChainConfig.chainId);
this.chainConfig = { ...defaultChainConfig, ...customChainConfig };

@@ -110,0 +110,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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