From 1181ee234e89736f509fbbd5bb7656f23ba7231a Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 16 Feb 2023 03:31:01 +0000 Subject: [PATCH 1/2] 7.0.0 --- CHANGELOG.md | 10 +++++++++- package.json | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a22bddee..eff8a64d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [7.0.0] +### Uncategorized +- Update `SafeEventEmitterProvider` type ([#130](https://github.com/MetaMask/eth-block-tracker/pull/130)) +- Bump @metamask/utils from 3.4.0 to 3.4.1 ([#127](https://github.com/MetaMask/eth-block-tracker/pull/127)) +- Bump json5 from 1.0.1 to 1.0.2 ([#126](https://github.com/MetaMask/eth-block-tracker/pull/126)) +- Bump @metamask/utils from 3.3.1 to 3.4.0 ([#125](https://github.com/MetaMask/eth-block-tracker/pull/125)) + ## [6.1.0] ### Added - Add back Provider type that was accidentally removed in 6.0.0 ([#117](https://github.com/MetaMask/eth-block-tracker/pull/117)) @@ -104,7 +111,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Add RpcBlockTracker -[Unreleased]: https://github.com/MetaMask/eth-block-tracker/compare/v6.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/eth-block-tracker/compare/v7.0.0...HEAD +[7.0.0]: https://github.com/MetaMask/eth-block-tracker/compare/v6.1.0...v7.0.0 [6.1.0]: https://github.com/MetaMask/eth-block-tracker/compare/v6.0.0...v6.1.0 [6.0.0]: https://github.com/MetaMask/eth-block-tracker/compare/v5.0.1...v6.0.0 [5.0.1]: https://github.com/MetaMask/eth-block-tracker/compare/v5.0.0...v5.0.1 diff --git a/package.json b/package.json index 35e7c8c0..4aa9773a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eth-block-tracker", - "version": "6.1.0", + "version": "7.0.0", "description": "A block tracker for the Ethereum blockchain. Keeps track of the latest block.", "repository": { "type": "git", From 1ef64b583970140780ce41c35c81bfcddb17d5cc Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Thu, 16 Feb 2023 00:08:25 -0330 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eff8a64d..38f261bb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,11 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [7.0.0] -### Uncategorized -- Update `SafeEventEmitterProvider` type ([#130](https://github.com/MetaMask/eth-block-tracker/pull/130)) -- Bump @metamask/utils from 3.4.0 to 3.4.1 ([#127](https://github.com/MetaMask/eth-block-tracker/pull/127)) -- Bump json5 from 1.0.1 to 1.0.2 ([#126](https://github.com/MetaMask/eth-block-tracker/pull/126)) -- Bump @metamask/utils from 3.3.1 to 3.4.0 ([#125](https://github.com/MetaMask/eth-block-tracker/pull/125)) +### Changed +- **BREAKING:** The type of the `provider` option for `PollingBlockTracker` and `SubscribeBlockTracker` has changed ([#130](https://github.com/MetaMask/eth-block-tracker/pull/130)) + - The `provider` option must be compatible with the `SafeEventEmitterProvider` type from `@metamask/eth-json-rpc-middleware`. + - The new provider type should be mostly equivalent, except that it's now expected to have a `send` method. We don't use that `send` method in this package though. + +### Removed +- **BREAKING:** Remove the `Provider` exported type ([#130](https://github.com/MetaMask/eth-block-tracker/pull/130)) + - We now use `@metamask/eth-json-rpc-provider` for this instead, so there was no need to re-export it. ## [6.1.0] ### Added