From 57ea596f6a5a6a58a18f8402fccfaaedacf7646a Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 17 Apr 2025 17:35:13 +0000 Subject: [PATCH 1/2] 22.0.0 --- CHANGELOG.md | 11 ++++++++++- package.json | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b947362..13058679 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] +## [22.0.0] + +### Uncategorized + +- feat: Add CAIP-294 `targets` to `wallet_announce` event data. Announce CAIP-348 target in `initializeProvider` ([#413](https://github.com/MetaMask/providers/pull/413)) +- ci: use MetaMask/action-checkout-and-setup@v1 ([#414](https://github.com/MetaMask/providers/pull/414)) +- chore: update security-code-scanner@main to action-security-code-scanner@v1 ([#412](https://github.com/MetaMask/providers/pull/412)) + ## [21.0.0] ### Changed @@ -557,7 +565,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 added deprecation warnings for them ([#30](https://github.com/MetaMask/providers/pull/30)) - Un-deprecated `sendAsync` ([#29](https://github.com/MetaMask/providers/pull/29)) -[Unreleased]: https://github.com/MetaMask/providers/compare/v21.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/providers/compare/v22.0.0...HEAD +[22.0.0]: https://github.com/MetaMask/providers/compare/v21.0.0...v22.0.0 [21.0.0]: https://github.com/MetaMask/providers/compare/v20.0.0...v21.0.0 [20.0.0]: https://github.com/MetaMask/providers/compare/v19.0.0...v20.0.0 [19.0.0]: https://github.com/MetaMask/providers/compare/v18.3.1...v19.0.0 diff --git a/package.json b/package.json index 47d8662a..dc4582a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/providers", - "version": "21.0.0", + "version": "22.0.0", "description": "A JavaScript Ethereum provider that connects to the wallet over a stream", "keywords": [ "MetaMask", From 4c61c1d3d80244e17e1cfce9df67b729e1082d46 Mon Sep 17 00:00:00 2001 From: Jiexi Luan Date: Thu, 17 Apr 2025 10:47:46 -0700 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13058679..2b6482f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [22.0.0] -### Uncategorized +### Changed -- feat: Add CAIP-294 `targets` to `wallet_announce` event data. Announce CAIP-348 target in `initializeProvider` ([#413](https://github.com/MetaMask/providers/pull/413)) -- ci: use MetaMask/action-checkout-and-setup@v1 ([#414](https://github.com/MetaMask/providers/pull/414)) -- chore: update security-code-scanner@main to action-security-code-scanner@v1 ([#412](https://github.com/MetaMask/providers/pull/412)) +- **BREAKING**: `initializeProvider` announces the extensionId, when available, via a `caip-348` target on in the new `targets` property of the CAIP-294 wallet announcement event instead of the previous `extensionId` property ([#413](https://github.com/MetaMask/providers/pull/413)) ## [21.0.0]