@web3-react/url
Advanced tools
Comparing version 8.0.13-beta.0 to 8.0.14-beta.0
@@ -33,2 +33,5 @@ "use strict"; | ||
const types_1 = require("@web3-react/types"); | ||
function parseChainId(chainId) { | ||
return Number.parseInt(chainId, 16); | ||
} | ||
class Url extends types_1.Connector { | ||
@@ -70,3 +73,3 @@ /** | ||
.then((chainId) => { | ||
this.actions.update({ chainId, accounts: [] }); | ||
this.actions.update({ chainId: parseChainId(chainId), accounts: [] }); | ||
}) | ||
@@ -73,0 +76,0 @@ .catch((error) => { |
@@ -12,3 +12,3 @@ { | ||
}, | ||
"version": "8.0.13-beta.0", | ||
"version": "8.0.14-beta.0", | ||
"files": [ | ||
@@ -27,10 +27,10 @@ "dist/*" | ||
"dependencies": { | ||
"@ethersproject/experimental": "^5.5.0", | ||
"@ethersproject/providers": "^5.5.1", | ||
"@ethersproject/experimental": "^5.6.0", | ||
"@ethersproject/providers": "^5.6.0", | ||
"@web3-react/types": "^8.0.10-beta.0" | ||
}, | ||
"devDependencies": { | ||
"@web3-react/store": "^8.0.13-beta.0" | ||
"@web3-react/store": "^8.0.14-beta.0" | ||
}, | ||
"gitHead": "44f4c54cd745d9804965f4092bd6fee0f8ea6d5f" | ||
"gitHead": "2f5bafe498df00221ccc0204ac3349d8c4a3ecec" | ||
} |
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
40548
100