Skip to content

Commit 2a699eb

Browse files
authored
4.0.2 (#35)
* 4.0.2 * Update changelog
1 parent 04249aa commit 2a699eb

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [4.0.2] - 2020-11-17
11+
12+
### Changed
13+
14+
- The `data` property of `EthereumRpcError` and `EthereumProviderError` is now marked as optional rather than `T | undefined` ([#34](https://github.com/MetaMask/eth-rpc-errors/pull/34))
15+
16+
### Fixed
17+
18+
- `SerializedEthereumRpcError.stack` is now correctly typed as a `string`, if present ([#34](https://github.com/MetaMask/eth-rpc-errors/pull/34))
19+
1020
## [4.0.1] - 2020-11-03
1121

1222
### Changed
@@ -98,7 +108,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
98108
it will preferred over the `.message` property of the fallback error when
99109
creating the returned serialized error object
100110

101-
[Unreleased]:https://github.com/MetaMask/controllers/compare/v4.0.1...HEAD
111+
[Unreleased]:https://github.com/MetaMask/controllers/compare/v4.0.2...HEAD
112+
[4.0.2]:https://github.com/MetaMask/controllers/compare/v4.0.1...v4.0.2
102113
[4.0.1]:https://github.com/MetaMask/controllers/compare/v4.0.0...v4.0.1
103114
[4.0.0]:https://github.com/MetaMask/controllers/compare/v3.0.0...v4.0.0
104115
[3.0.0]:https://github.com/MetaMask/controllers/compare/v2.1.1...v3.0.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eth-rpc-errors",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"description": "Ethereum RPC and Provider errors.",
55
"license": "MIT",
66
"author": "Erik Marks <[email protected]>",

0 commit comments

Comments
 (0)