Skip to content

Commit

Permalink
Add web3 >=1.2.0 to accepted semver range
Browse files Browse the repository at this point in the history
  • Loading branch information
cgewecke committed Jul 26, 2019
1 parent 3aac817 commit b7dba0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configure-web3.js
Expand Up @@ -12,7 +12,7 @@ function setWeb3 (web3) {
}

// this could be taken from package.dependencies in the future
const requiredVersion = '1.0.0-beta.37';
const requiredVersion = '1.0.0-beta.37 || >= 1.2.0';

if (!semver.satisfies(web3.version, requiredVersion)) {
throw new Error(`web3@${web3.version} detected, incompatible with requirement of web3@${requiredVersion}`);
Expand Down

0 comments on commit b7dba0f

Please sign in to comment.