Skip to content

Commit

Permalink
fix: move @ethersproject to peerDependencies (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechsimetka committed Nov 13, 2022
1 parent ad74600 commit 002e37b
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 10 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
npm install evm-calldata-decode --save
```

The project also expects peer dependency `@ethersproject` or the individual modules `@ethersproject/abi, @ethersproject/bignumber, @ethersproject/bytes, @ethersproject/keccak256, @ethersproject/strings`

## Usage

```ts
Expand Down
17 changes: 12 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 12 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,17 @@
"ts-node": "^10.9.1"
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/bytes": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@ethersproject/strings": "^5.7.0"
"@ethersproject/abi": "*",
"@ethersproject/bignumber": "*",
"@ethersproject/bytes": "*",
"@ethersproject/keccak256": "*",
"@ethersproject/strings": "*"
},
"peerDependencies": {
"@ethersproject/abi": ">=5.0.0",
"@ethersproject/bignumber": ">=5.0.0",
"@ethersproject/bytes": ">=5.0.0",
"@ethersproject/keccak256": ">=5.0.0",
"@ethersproject/strings": ">=5.0.0"
}
}

0 comments on commit 002e37b

Please sign in to comment.