Skip to content

Commit af3ef43

Browse files
github-actions[bot]github-actionsMrtenz
authored
5.1.1 (#92)
* 5.1.1 * Update CHANGELOG.md --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Maarten Zuidhoorn <[email protected]>
1 parent e06f8d8 commit af3ef43

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [5.1.1]
10+
### Fixed
11+
- Allow passing unknown values as cause ([#91](https://github.com/MetaMask/rpc-errors/pull/91))
12+
- Prevously, only `Error` instances were allowed, but any value can be thrown as error
13+
914
## [5.1.0]
1015
### Added
1116
- Allow passing a cause to predefined error functions ([#83](https://github.com/MetaMask/rpc-errors/pull/83))
@@ -109,7 +114,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
109114
- `serializeError`
110115
- If the object passed to the function has a `.message` property, it will preferred over the `.message` property of the fallback error when creating the returned serialized error object
111116

112-
[Unreleased]: https://github.com/MetaMask/rpc-errors/compare/v5.1.0...HEAD
117+
[Unreleased]: https://github.com/MetaMask/rpc-errors/compare/v5.1.1...HEAD
118+
[5.1.1]: https://github.com/MetaMask/rpc-errors/compare/v5.1.0...v5.1.1
113119
[5.1.0]: https://github.com/MetaMask/rpc-errors/compare/v5.0.0...v5.1.0
114120
[5.0.0]: https://github.com/MetaMask/rpc-errors/compare/v4.0.3...v5.0.0
115121
[4.0.3]: https://github.com/MetaMask/rpc-errors/compare/v4.0.2...v4.0.3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/rpc-errors",
3-
"version": "5.1.0",
3+
"version": "5.1.1",
44
"description": "Ethereum RPC and Provider errors.",
55
"keywords": [
66
"rpc",

0 commit comments

Comments
 (0)