@web3auth/base
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -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
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
632139