@web3-react/store
Advanced tools
Comparing version 8.0.2-alpha.0 to 8.0.4-alpha.0
@@ -11,2 +11,3 @@ import create from 'zustand/vanilla'; | ||
super(`chainId ${chainId} not included in ${allowedChainIds}`); | ||
this.name = ChainIdNotAllowedError.name; | ||
Object.setPrototypeOf(this, ChainIdNotAllowedError.prototype); | ||
@@ -13,0 +14,0 @@ } |
@@ -6,6 +6,6 @@ { | ||
}, | ||
"version": "8.0.2-alpha.0", | ||
"version": "8.0.4-alpha.0", | ||
"type": "module", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"exports": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"scripts": { | ||
@@ -18,3 +18,3 @@ "prebuild": "rm -rf dist", | ||
"@ethersproject/address": "^5.4.0", | ||
"@web3-react/types": "^8.0.2-alpha.0" | ||
"@web3-react/types": "^8.0.4-alpha.0" | ||
}, | ||
@@ -24,3 +24,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "d530f87688f3cbe10ec33ea2351c2add505861e6" | ||
"gitHead": "002652f883ab79f86c47c4336e7ef165cd39838d" | ||
} |
@@ -0,3 +1,3 @@ | ||
import { Web3ReactState, Web3ReactStore, Actions } from '@web3-react/types' | ||
import create from 'zustand/vanilla' | ||
import { Web3ReactState, Web3ReactStore, Actions } from '@web3-react/types' | ||
import { getAddress } from '@ethersproject/address' | ||
@@ -14,2 +14,3 @@ | ||
super(`chainId ${chainId} not included in ${allowedChainIds}`) | ||
this.name = ChainIdNotAllowedError.name | ||
Object.setPrototypeOf(this, ChainIdNotAllowedError.prototype) | ||
@@ -16,0 +17,0 @@ } |
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
48561
7
345