From cda04b64451c47c0f1833b432e33e082f0d0bc9e Mon Sep 17 00:00:00 2001 From: github-actions Date: Fri, 31 May 2024 03:40:45 +0000 Subject: [PATCH 1/2] 6.3.0 --- CHANGELOG.md | 11 ++++++++++- package.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5625c7e..a6ca459 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [6.3.0] + +### Uncategorized + +- feat: propagate data.cause as cause in JsonRpcError constructor ([#140](https://github.com/MetaMask/rpc-errors/pull/140)) +- Bump tar from 6.1.11 to 6.2.1 ([#138](https://github.com/MetaMask/rpc-errors/pull/138)) +- Enabling MetaMask security code scanner ([#137](https://github.com/MetaMask/rpc-errors/pull/137)) + ## [6.2.1] ### Fixed @@ -182,7 +190,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - `serializeError` - 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 -[Unreleased]: https://github.com/MetaMask/rpc-errors/compare/v6.2.1...HEAD +[Unreleased]: https://github.com/MetaMask/rpc-errors/compare/v6.3.0...HEAD +[6.3.0]: https://github.com/MetaMask/rpc-errors/compare/v6.2.1...v6.3.0 [6.2.1]: https://github.com/MetaMask/rpc-errors/compare/v6.2.0...v6.2.1 [6.2.0]: https://github.com/MetaMask/rpc-errors/compare/v6.1.0...v6.2.0 [6.1.0]: https://github.com/MetaMask/rpc-errors/compare/v6.0.0...v6.1.0 diff --git a/package.json b/package.json index 5af061d..36c2f7e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/rpc-errors", - "version": "6.2.1", + "version": "6.3.0", "description": "Ethereum RPC and Provider errors", "keywords": [ "rpc", From f8842b74906565db09442a058c8bfd79e60cbaa3 Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Fri, 31 May 2024 03:43:59 +0000 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6ca459..3d47f25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [6.3.0] -### Uncategorized +### Added -- feat: propagate data.cause as cause in JsonRpcError constructor ([#140](https://github.com/MetaMask/rpc-errors/pull/140)) -- Bump tar from 6.1.11 to 6.2.1 ([#138](https://github.com/MetaMask/rpc-errors/pull/138)) -- Enabling MetaMask security code scanner ([#137](https://github.com/MetaMask/rpc-errors/pull/137)) +- Expose error causes as `cause` property ([#140](https://github.com/MetaMask/rpc-errors/pull/140)) + - `JsonRpcError` objects already had a `.data.cause` property. It is now exposed as `.cause` in order to to be recognized as ES Causes. ## [6.2.1]