Merge pull request #9 from status-im/fix-ethers-version

This commit is contained in:
F 2022-01-03 09:46:09 +11:00 committed by GitHub
commit bc37f2ad99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 60 additions and 32 deletions

20
CHANGELOG.md Normal file
View File

@ -0,0 +1,20 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## Fixed
- Upgrades: `ethers@5.4.6`, `ethereum-waffle@3.4.0`,`@usedapp/core@0.5.5` to ensure there are no conflicting version of
ethers in the codebase.
## [0.1.0] - 2021-12-23
- Initial release.
[Unreleased]: https://github.com/status-im/js-waku/compare/v0.1.0...HEAD
[0.1.0]: https://github.com/status-im/js-waku/compare/bce7cf74f07f673643da6152a707215bdc8369af...v0.1.0

View File

@ -27,18 +27,17 @@
"@types/mocha": "^8.2.2", "@types/mocha": "^8.2.2",
"chai": "^4.3.4", "chai": "^4.3.4",
"eslint": "^7.28.0", "eslint": "^7.28.0",
"ethereum-waffle": "^3.3.0", "ethereum-waffle": "^3.4.0",
"mocha": "^9.0.0", "mocha": "^9.0.0",
"rimraf": "^3.0.2",
"prettier": "^2.3.1", "prettier": "^2.3.1",
"prettier-plugin-solidity": "^1.0.0-beta.13", "prettier-plugin-solidity": "^1.0.0-beta.13",
"rimraf": "^3.0.2",
"solhint": "^3.3.6", "solhint": "^3.3.6",
"solhint-plugin-prettier": "^0.0.5", "solhint-plugin-prettier": "^0.0.5",
"ts-node": "^10.0.0", "ts-node": "^10.0.0",
"typescript": "^4.3.3" "typescript": "^4.3.3"
}, },
"dependencies": { "dependencies": {
"eth-sig-util": "^3.0.1", "eth-sig-util": "^3.0.1"
"ethers": "5.4.1"
} }
} }

View File

@ -11,7 +11,9 @@
}, },
"watch": { "watch": {
"build": { "build": {
"patterns": ["src"], "patterns": [
"src"
],
"extensions": "ts,tsx", "extensions": "ts,tsx",
"runOnChangeOnly": false "runOnChangeOnly": false
} }
@ -47,7 +49,7 @@
"dependencies": { "dependencies": {
"@waku/vote-sdk-contracts": "^0.1.0", "@waku/vote-sdk-contracts": "^0.1.0",
"eth-sig-util": "^3.0.1", "eth-sig-util": "^3.0.1",
"ethers": "^5.4.4", "ethers": "5.4.6",
"js-waku": "^0.11.0", "js-waku": "^0.11.0",
"protons": "^2.0.1" "protons": "^2.0.1"
} }

View File

@ -15,11 +15,11 @@
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'" "lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
}, },
"dependencies": { "dependencies": {
"@usedapp/core": "0.5.5",
"@waku/poll-sdk-react-components": "^0.1.0", "@waku/poll-sdk-react-components": "^0.1.0",
"@waku/poll-sdk-react-hooks": "^0.1.0", "@waku/poll-sdk-react-hooks": "^0.1.0",
"@waku/vote-poll-sdk-react-components": "^0.1.0", "@waku/vote-poll-sdk-react-components": "^0.1.0",
"@usedapp/core": "^0.4.7", "ethers": "5.4.6",
"ethers": "^5.4.4",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",

View File

@ -8,7 +8,9 @@
"license": "MIT OR Apache-2.0", "license": "MIT OR Apache-2.0",
"watch": { "watch": {
"build": { "build": {
"patterns": ["src"], "patterns": [
"src"
],
"extensions": "ts,tsx", "extensions": "ts,tsx",
"runOnChangeOnly": false "runOnChangeOnly": false
} }
@ -31,11 +33,11 @@
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'" "lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
}, },
"dependencies": { "dependencies": {
"@usedapp/core": "0.5.5",
"@waku/poll-sdk-react-components": "^0.1.0", "@waku/poll-sdk-react-components": "^0.1.0",
"@waku/poll-sdk-react-hooks": "^0.1.0", "@waku/poll-sdk-react-hooks": "^0.1.0",
"@waku/vote-poll-sdk-react-components": "^0.1.0", "@waku/vote-poll-sdk-react-components": "^0.1.0",
"@usedapp/core": "^0.4.7", "ethers": "5.4.6",
"ethers": "^5.4.4",
"react": "^17.0.2", "react": "^17.0.2",
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-router-dom": "^5.2.0", "react-router-dom": "^5.2.0",

View File

@ -36,10 +36,10 @@
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'" "lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
}, },
"dependencies": { "dependencies": {
"@waku/vote-poll-sdk-core": "^0.1.0",
"@waku/poll-sdk-react-hooks": "^0.1.0", "@waku/poll-sdk-react-hooks": "^0.1.0",
"@waku/vote-poll-sdk-core": "^0.1.0",
"@waku/vote-poll-sdk-react-components": "^0.1.0", "@waku/vote-poll-sdk-react-components": "^0.1.0",
"ethers": "^5.4.4", "ethers": "5.4.6",
"react": "^17.0.2", "react": "^17.0.2",
"styled-components": "^5.3.0" "styled-components": "^5.3.0"
}, },

View File

@ -32,9 +32,9 @@
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'" "lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
}, },
"dependencies": { "dependencies": {
"@usedapp/core": "0.5.5",
"@waku/vote-poll-sdk-core": "^0.1.0", "@waku/vote-poll-sdk-core": "^0.1.0",
"@usedapp/core": "^0.4.7", "ethers": "5.4.6",
"ethers": "^5.4.4",
"react": "^17.0.2", "react": "^17.0.2",
"styled-components": "^5.3.0" "styled-components": "^5.3.0"
}, },

View File

@ -11,7 +11,9 @@
}, },
"watch": { "watch": {
"build": { "build": {
"patterns": ["src"], "patterns": [
"src"
],
"extensions": "ts,tsx", "extensions": "ts,tsx",
"runOnChangeOnly": false "runOnChangeOnly": false
} }
@ -34,10 +36,10 @@
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'" "lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
}, },
"dependencies": { "dependencies": {
"ethers": "^5.4.4", "@waku/vote-poll-sdk-core": "^0.1.0",
"ethers": "5.4.6",
"react": "^17.0.2", "react": "^17.0.2",
"styled-components": "^5.3.0", "styled-components": "^5.3.0"
"@waku/vote-poll-sdk-core": "^0.1.0"
}, },
"devDependencies": { "devDependencies": {
"@types/chai": "^4.2.21", "@types/chai": "^4.2.21",

View File

@ -33,12 +33,12 @@
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'" "lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
}, },
"dependencies": { "dependencies": {
"@usedapp/core": "0.5.5",
"@waku/vote-poll-sdk-core": "^0.1.0", "@waku/vote-poll-sdk-core": "^0.1.0",
"@waku/vote-poll-sdk-react-components": "^0.1.0",
"@waku/vote-sdk-react-components": "^0.1.0", "@waku/vote-sdk-react-components": "^0.1.0",
"@waku/vote-sdk-react-hooks": "^0.1.0", "@waku/vote-sdk-react-hooks": "^0.1.0",
"@waku/vote-poll-sdk-react-components": "^0.1.0", "ethers": "5.4.6",
"@usedapp/core": "^0.4.7",
"ethers": "^5.4.4",
"react": "^17.0.2", "react": "^17.0.2",
"styled-components": "^5.3.0" "styled-components": "^5.3.0"
}, },

View File

@ -37,9 +37,9 @@
}, },
"dependencies": { "dependencies": {
"@waku/vote-poll-sdk-core": "^0.1.0", "@waku/vote-poll-sdk-core": "^0.1.0",
"@waku/vote-sdk-react-hooks": "^0.1.0",
"@waku/vote-poll-sdk-react-components": "^0.1.0", "@waku/vote-poll-sdk-react-components": "^0.1.0",
"ethers": "^5.4.4", "@waku/vote-sdk-react-hooks": "^0.1.0",
"ethers": "5.4.6",
"humanize-duration": "^3.27.0", "humanize-duration": "^3.27.0",
"react": "^17.0.2", "react": "^17.0.2",
"react-countup": "^5.2.0", "react-countup": "^5.2.0",

View File

@ -11,7 +11,9 @@
}, },
"watch": { "watch": {
"build": { "build": {
"patterns": ["src"], "patterns": [
"src"
],
"extensions": "ts,tsx", "extensions": "ts,tsx",
"runOnChangeOnly": false "runOnChangeOnly": false
} }
@ -31,7 +33,7 @@
}, },
"dependencies": { "dependencies": {
"@waku/vote-poll-sdk-core": "^0.1.0", "@waku/vote-poll-sdk-core": "^0.1.0",
"ethers": "^5.4.4", "ethers": "5.4.6",
"react": "^17.0.2", "react": "^17.0.2",
"styled-components": "^5.3.0" "styled-components": "^5.3.0"
}, },

View File

@ -1450,16 +1450,17 @@
resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44" resolved "https://registry.yarnpkg.com/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz#aa58042711d6e3275dd37dc597e5d31e8c290a44"
integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q== integrity sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==
"@usedapp/core@^0.4.7": "@usedapp/core@0.5.5":
version "0.4.7" version "0.5.5"
resolved "https://registry.yarnpkg.com/@usedapp/core/-/core-0.4.7.tgz#87964abf14ba87edd4fe068ee73fe0cb9fcdee2d" resolved "https://registry.yarnpkg.com/@usedapp/core/-/core-0.5.5.tgz#651d8b4e2fc85a19935e0b3ec1495a103b8b75b6"
integrity sha512-0JpzUPUHFgmq8GWTl9EGZKR5nS8HQ2e5wwaIG8GBE2VUS40uKwlNhlqkIwD2mkFhpMj8EssMArzcZRzLqZmEPA== integrity sha512-2a/ttaD0fY1Ui7ubB0pVEzi15euuKr8a/oiXs4rWH8qrth+jW38QyImvl7xQVO63Ikq2pKqmBOJbSFVubdHNDw==
dependencies: dependencies:
"@types/react" "17.0.1" "@types/react" "17.0.1"
"@web3-react/core" "6.1.1" "@web3-react/core" "6.1.1"
"@web3-react/injected-connector" "6.0.7" "@web3-react/injected-connector" "6.0.7"
"@web3-react/network-connector" "6.1.5" "@web3-react/network-connector" "6.1.5"
ethers "5.4.1" ethers "5.4.1"
lodash.merge "^4.6.2"
nanoid "3.1.22" nanoid "3.1.22"
"@vascosantos/moving-average@^1.1.0": "@vascosantos/moving-average@^1.1.0":
@ -4896,7 +4897,7 @@ ethereum-cryptography@^0.1.3:
secp256k1 "^4.0.1" secp256k1 "^4.0.1"
setimmediate "^1.0.5" setimmediate "^1.0.5"
ethereum-waffle@^3.3.0, ethereum-waffle@^3.4.0: ethereum-waffle@^3.4.0:
version "3.4.0" version "3.4.0"
resolved "https://registry.yarnpkg.com/ethereum-waffle/-/ethereum-waffle-3.4.0.tgz#990b3c6c26db9c2dd943bf26750a496f60c04720" resolved "https://registry.yarnpkg.com/ethereum-waffle/-/ethereum-waffle-3.4.0.tgz#990b3c6c26db9c2dd943bf26750a496f60c04720"
integrity sha512-ADBqZCkoSA5Isk486ntKJVjFEawIiC+3HxNqpJqONvh3YXBTNiRfXvJtGuAFLXPG91QaqkGqILEHANAo7j/olQ== integrity sha512-ADBqZCkoSA5Isk486ntKJVjFEawIiC+3HxNqpJqONvh3YXBTNiRfXvJtGuAFLXPG91QaqkGqILEHANAo7j/olQ==
@ -5150,7 +5151,7 @@ ethers@5.4.1:
"@ethersproject/web" "5.4.0" "@ethersproject/web" "5.4.0"
"@ethersproject/wordlists" "5.4.0" "@ethersproject/wordlists" "5.4.0"
ethers@^5.0.0, ethers@^5.0.1, ethers@^5.0.2, ethers@^5.4.4: ethers@5.4.6, ethers@^5.0.0, ethers@^5.0.1, ethers@^5.0.2:
version "5.4.6" version "5.4.6"
resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.4.6.tgz#fe0a023956b5502c947f58e82fbcf9a73e5e75b6" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.4.6.tgz#fe0a023956b5502c947f58e82fbcf9a73e5e75b6"
integrity sha512-F7LXARyB/Px3AQC6/QKedWZ8eqCkgOLORqL4B/F0Mag/K+qJSFGqsR36EaOZ6fKg3ZonI+pdbhb4A8Knt/43jQ== integrity sha512-F7LXARyB/Px3AQC6/QKedWZ8eqCkgOLORqL4B/F0Mag/K+qJSFGqsR36EaOZ6fKg3ZonI+pdbhb4A8Knt/43jQ==