From 245106294bb17b8710925e07ee33177844ebd65b Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 28 May 2024 19:44:25 +0000 Subject: [PATCH 1/5] 4.2.0 --- CHANGELOG.md | 68 +++++++--------------------------------------------- package.json | 2 +- 2 files changed, 9 insertions(+), 61 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f3cbbc5..efea9223 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,4 @@ # Changelog - All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), @@ -7,17 +6,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [4.1.1] +## [4.2.0] +### Uncategorized +- feat: handle `accountNameSuggestion` and `displayConfirmation` options in `#handleAccountCreated` ([#300](https://github.com/MetaMask/eth-snap-keyring/pull/300)) +- feat: reorganize the describe blocks in tests and fixed typos ([#301](https://github.com/MetaMask/eth-snap-keyring/pull/301)) +- chore(deps): bump @metamask/keyring-api from 6.1.1 to 6.2.1 ([#304](https://github.com/MetaMask/eth-snap-keyring/pull/304)) +## [4.1.1] ### Changed - - Bump @metamask/snaps-\* and @metamask/keyring-api ([#294](https://github.com/MetaMask/eth-snap-keyring/pull/294)) - Bump @metamask/key-tree from 9.0.0 to 9.1.0 ([#293](https://github.com/MetaMask/eth-snap-keyring/pull/293)) ## [4.1.0] - ### Changed - - Bump @metamask/keyring-api to version 6.1.0 and introduce btc account types ([#285](https://github.com/MetaMask/eth-snap-keyring/pull/285)) - Bump @metamask/phishing-controller from 9.0.1 to 9.0.2 ([#279](https://github.com/MetaMask/eth-snap-keyring/pull/279)) - Bump @metamask/base-controller from 5.0.1 to 5.0.2 ([#280](https://github.com/MetaMask/eth-snap-keyring/pull/280)) @@ -28,9 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/snaps-utils from 7.1.0 to 7.2.0 ([#277](https://github.com/MetaMask/eth-snap-keyring/pull/277)) ## [4.0.0] - ### Changed - - **BREAKING**: Bump @metamask/keyring-api to version 6.0.0 ([#275](https://github.com/MetaMask/eth-snap-keyring/pull/275)) - Bump @metamask/snaps-controllers from 6.0.3 to 7.0.1 and @metamask/snaps-sdk 3.1.1 to 4.0.1 ([#272](https://github.com/MetaMask/eth-snap-keyring/pull/272)) - Bump @metamask/snaps-utils from 7.0.4 to 7.1.0 ([#268](https://github.com/MetaMask/eth-snap-keyring/pull/268)) @@ -42,13 +41,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/snaps-sdk from 3.1.1 to 3.2.0 ([#262](https://github.com/MetaMask/eth-snap-keyring/pull/262)) ## [3.0.0] - ### Added - - Add logger and now log Snap requests ([#254](https://github.com/MetaMask/eth-snap-keyring/pull/254)) ### Changed - - **BREAKING**: Add KeyringExecutionContext to user ops methods ([#253](https://github.com/MetaMask/eth-snap-keyring/pull/253)) - Bump @metamask/utils from 8.3.0 to 8.4.0 ([#260](https://github.com/MetaMask/eth-snap-keyring/pull/260)) @@ -57,9 +53,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/keyring-api from 4.0.2 to 5.0.0 ([#255](https://github.com/MetaMask/eth-snap-keyring/pull/255)) ## [2.2.2] - ### Changed - - Bump @metamask/safe-event-emitter from 3.1.0 to 3.1.1 ([#251](https://github.com/MetaMask/eth-snap-keyring/pull/251)) - Bump dependencies ([#246](https://github.com/MetaMask/eth-snap-keyring/pull/246)) - Bump @metamask/safe-event-emitter from 3.0.0 to 3.1.0 ([#245](https://github.com/MetaMask/eth-snap-keyring/pull/245)) @@ -67,9 +61,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/snaps-registry from 3.0.0 to 3.0.1 ([#244](https://github.com/MetaMask/eth-snap-keyring/pull/244)) ## [2.2.1] - ### Changed - - Bump @metamask dependencies ([#236](https://github.com/MetaMask/eth-snap-keyring/pull/236)) - Extract logic in 'submitRequest' ([#232](https://github.com/MetaMask/eth-snap-keyring/pull/232)) - Bump @metamask/controller-utils from 8.0.3 to 8.0.4 ([#233](https://github.com/MetaMask/eth-snap-keyring/pull/233)) @@ -82,14 +74,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump ip from 2.0.0 to 2.0.1 ([#218](https://github.com/MetaMask/eth-snap-keyring/pull/218)) ### Fixed - - Add `chainId` to Keyring API requests (transaction/typed message) ([#231](https://github.com/MetaMask/eth-snap-keyring/pull/231)) - Enforce async request redirect URL is in the snaps 'allowedOrigins' ([#228](https://github.com/MetaMask/eth-snap-keyring/pull/228)) ## [2.2.0] - ### Changed - - Bump dependencies ([#220](https://github.com/MetaMask/eth-snap-keyring/pull/220)) - @metamask/snaps-controllers from ^4.1.0 to ^5.0.1 - @metamask/snaps-sdk from ^1.4.0 to ^2.1.0 @@ -98,155 +87,114 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - @metamask/keyring-api from ^2.0.0 to ^4.0.0 ## [2.1.2] - ### Fixed - - Fixed inconsistent signature signing ([#200](https://github.com/MetaMask/eth-snap-keyring/pull/200)) ## [2.1.1] - ### Fixed - - Reject unsupported account methods ([#190](https://github.com/MetaMask/eth-snap-keyring/pull/190)) ## [2.1.0] - ### Added - - Add methods to support ERC-4337 accounts ([#180](https://github.com/MetaMask/eth-snap-keyring/pull/180)). ### Changed - - Use a `snapId`-indexed map ([#172](https://github.com/MetaMask/eth-snap-keyring/pull/172)). - Update CODEOWNERS and run CI on merge queues ([#165](https://github.com/MetaMask/eth-snap-keyring/pull/165)). - Bump min Node version to 18.18 and use LTS for dev ([#183](https://github.com/MetaMask/eth-snap-keyring/pull/183)). ## [2.0.0] - ### Changed - - **BREAKING**: Remove async from `listAccounts` and `getAccountByAddress` ([#148](https://github.com/MetaMask/eth-snap-keyring/pull/148)). ## [1.0.0] - ### Changed - - Bump `@metamask/keyring-api` to 1.0.0 ([#145](https://github.com/MetaMask/eth-snap-keyring/pull/145)). - Bump `semver` and `word-wrap` dependencies ([#144](https://github.com/MetaMask/eth-snap-keyring/pull/144)). - Bump @metamask/rpc-errors from 6.0.0 to 6.1.0 ([#143](https://github.com/MetaMask/eth-snap-keyring/pull/143)). ## [1.0.0-rc.2] - ### Added - - Add `redirectUser` callback ([#136](https://github.com/MetaMask/eth-snap-keyring/pull/136)). ## [1.0.0-rc.1] - ### Added - - Add `getAccountByAddress` method ([#134](https://github.com/MetaMask/eth-snap-keyring/pull/134)). ### Changed - - Bump `word-wrap` and `semver` ([#140](https://github.com/MetaMask/eth-snap-keyring/pull/140)). - Bump `@metamask/scure-bip39` from 2.1.0 to 2.1.1 ([#133](https://github.com/MetaMask/eth-snap-keyring/pull/133)). - Bump `postcss` from 8.4.20 to 8.4.31 ([#137](https://github.com/MetaMask/eth-snap-keyring/pull/137)). - Bump `@metamask` dependencies ([#139](https://github.com/MetaMask/eth-snap-keyring/pull/139)). ## [0.3.1] - ### Added - - Add the `getAccountsBySnapId` method ([#122](https://github.com/MetaMask/eth-snap-keyring/pull/122)). ### Fixed - - Remove the `removeAccountsBySnapId` method ([#121](https://github.com/MetaMask/eth-snap-keyring/pull/121)). - Call external function with lowercase address ([#120](https://github.com/MetaMask/eth-snap-keyring/pull/120)). ## [0.3.0] - ### Changed - - Handle approval when adding/removing account with `handleUserInput` callback ([#99](https://github.com/MetaMask/eth-snap-keyring/pull/99)). ## [0.2.3] - ### Added - - Add method to remove all accounts given a snap ID ([#116](https://github.com/MetaMask/eth-snap-keyring/pull/116)). ### Fixed - - Don't allow duplicate accounts to be added ([#115](https://github.com/MetaMask/eth-snap-keyring/pull/115)). - Ignore event if account was already removed ([#101](https://github.com/MetaMask/eth-snap-keyring/pull/101)). ## [0.2.2] - ### Changed - - Add `removeAccount` callback to constructor ([#96](https://github.com/MetaMask/eth-snap-keyring/pull/96)). ## [0.2.1] - ### Changed - - Add `callbacks` argument to constructor ([#82](https://github.com/MetaMask/eth-snap-keyring/pull/82)). - Increase minimum Node.js version to 16 (default to 18) ([#83](https://github.com/MetaMask/eth-snap-keyring/pull/83)). - Migrate to the new `keyring-api` ([#78](https://github.com/MetaMask/eth-snap-keyring/pull/78)). - Upgrade dependencies. ## [0.2.0] - ### Changed - - Add account and snap metadata ([#75](https://github.com/MetaMask/eth-snap-keyring/pull/75)). - Rename files to be more idiomatic ([#42](https://github.com/MetaMask/eth-snap-keyring/pull/42)). - Move internal state from objects to maps ([#41](https://github.com/MetaMask/eth-snap-keyring/pull/41)). ### Fixed - - Remove promise if `submitRequest()` throws ([#43](https://github.com/MetaMask/eth-snap-keyring/pull/43)). ## [0.1.4] - ### Changed - - **BREAKING**: Add `callbacks` that will be used to inject dependencies ([#79](https://github.com/MetaMask/eth-snap-keyring/pull/79), [MetaMask/snaps#1725](https://github.com/MetaMask/snaps/pull/1725), [MetaMask/metamask-extension#20786](https://github.com/MetaMask/metamask-extension/pull/20786)). ## [0.1.3] - ### Fixed - - Remove account from maps before calling the snap ([#39](https://github.com/MetaMask/eth-snap-keyring/pull/39)). ## [0.1.2] - ### Changed - - Remove unused `#listAccounts()` method ([#35](https://github.com/MetaMask/eth-snap-keyring/pull/35)). ### Fixed - - Sync all accounts on snap notificaiton ([#36](https://github.com/MetaMask/eth-snap-keyring/pull/36)). - Don't sync accounts twice on deletion ([#32](https://github.com/MetaMask/eth-snap-keyring/pull/32)). ## [0.1.1] - ### Changed - - Use objects in snap -> controller methods ([#28](https://github.com/MetaMask/eth-snap-keyring/pull/28)). - Fix circular call when handling `'read'` requests ([#27](https://github.com/MetaMask/eth-snap-keyring/pull/27)). - Remove `saveSnapKeyring` argument from `handleKeyringSnapMessage` ([#26](https://github.com/MetaMask/eth-snap-keyring/pull/26)). ## [0.1.0] - ### Added - - Initial release. -[Unreleased]: https://github.com/MetaMask/eth-snap-keyring/compare/v4.1.1...HEAD +[Unreleased]: https://github.com/MetaMask/eth-snap-keyring/compare/v4.2.0...HEAD +[4.2.0]: https://github.com/MetaMask/eth-snap-keyring/compare/v4.1.1...v4.2.0 [4.1.1]: https://github.com/MetaMask/eth-snap-keyring/compare/v4.1.0...v4.1.1 [4.1.0]: https://github.com/MetaMask/eth-snap-keyring/compare/v4.0.0...v4.1.0 [4.0.0]: https://github.com/MetaMask/eth-snap-keyring/compare/v3.0.0...v4.0.0 diff --git a/package.json b/package.json index 974fbb83..22689ec0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/eth-snap-keyring", - "version": "4.1.1", + "version": "4.2.0", "description": "Snaps keyring bridge.", "repository": { "type": "git", From 9f34fa0c013ec7c201af843898c6317cc00b978f Mon Sep 17 00:00:00 2001 From: Kate Johnson <91970214+k-g-j@users.noreply.github.com> Date: Tue, 28 May 2024 15:52:18 -0400 Subject: [PATCH 2/5] feat: updated CHANGELOG.md for v4.2.0 --- CHANGELOG.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index efea9223..3fc6083f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [4.2.0] -### Uncategorized -- feat: handle `accountNameSuggestion` and `displayConfirmation` options in `#handleAccountCreated` ([#300](https://github.com/MetaMask/eth-snap-keyring/pull/300)) -- feat: reorganize the describe blocks in tests and fixed typos ([#301](https://github.com/MetaMask/eth-snap-keyring/pull/301)) -- chore(deps): bump @metamask/keyring-api from 6.1.1 to 6.2.1 ([#304](https://github.com/MetaMask/eth-snap-keyring/pull/304)) +### Added +- Add `accountNameSuggestion` and `displayConfirmation` option handling for "notify:accountCreated" ([#300](https://github.com/MetaMask/eth-snap-keyring/pull/300)) +- Bump @metamask/keyring-api from 6.1.1 to 6.2.1 ([#304](https://github.com/MetaMask/eth-snap-keyring/pull/304)) ## [4.1.1] ### Changed From 943098b8fc940bcf8e553c3d9ccfb64708fd8442 Mon Sep 17 00:00:00 2001 From: Kate Johnson Date: Tue, 28 May 2024 16:00:26 -0400 Subject: [PATCH 3/5] fix: lint errors in CHANGELOG.md --- CHANGELOG.md | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fc6083f..6a638a52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog + All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), @@ -7,17 +8,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [4.2.0] + ### Added + - Add `accountNameSuggestion` and `displayConfirmation` option handling for "notify:accountCreated" ([#300](https://github.com/MetaMask/eth-snap-keyring/pull/300)) - Bump @metamask/keyring-api from 6.1.1 to 6.2.1 ([#304](https://github.com/MetaMask/eth-snap-keyring/pull/304)) ## [4.1.1] + ### Changed + - Bump @metamask/snaps-\* and @metamask/keyring-api ([#294](https://github.com/MetaMask/eth-snap-keyring/pull/294)) - Bump @metamask/key-tree from 9.0.0 to 9.1.0 ([#293](https://github.com/MetaMask/eth-snap-keyring/pull/293)) ## [4.1.0] + ### Changed + - Bump @metamask/keyring-api to version 6.1.0 and introduce btc account types ([#285](https://github.com/MetaMask/eth-snap-keyring/pull/285)) - Bump @metamask/phishing-controller from 9.0.1 to 9.0.2 ([#279](https://github.com/MetaMask/eth-snap-keyring/pull/279)) - Bump @metamask/base-controller from 5.0.1 to 5.0.2 ([#280](https://github.com/MetaMask/eth-snap-keyring/pull/280)) @@ -28,7 +35,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/snaps-utils from 7.1.0 to 7.2.0 ([#277](https://github.com/MetaMask/eth-snap-keyring/pull/277)) ## [4.0.0] + ### Changed + - **BREAKING**: Bump @metamask/keyring-api to version 6.0.0 ([#275](https://github.com/MetaMask/eth-snap-keyring/pull/275)) - Bump @metamask/snaps-controllers from 6.0.3 to 7.0.1 and @metamask/snaps-sdk 3.1.1 to 4.0.1 ([#272](https://github.com/MetaMask/eth-snap-keyring/pull/272)) - Bump @metamask/snaps-utils from 7.0.4 to 7.1.0 ([#268](https://github.com/MetaMask/eth-snap-keyring/pull/268)) @@ -40,10 +49,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/snaps-sdk from 3.1.1 to 3.2.0 ([#262](https://github.com/MetaMask/eth-snap-keyring/pull/262)) ## [3.0.0] + ### Added + - Add logger and now log Snap requests ([#254](https://github.com/MetaMask/eth-snap-keyring/pull/254)) ### Changed + - **BREAKING**: Add KeyringExecutionContext to user ops methods ([#253](https://github.com/MetaMask/eth-snap-keyring/pull/253)) - Bump @metamask/utils from 8.3.0 to 8.4.0 ([#260](https://github.com/MetaMask/eth-snap-keyring/pull/260)) @@ -52,7 +64,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/keyring-api from 4.0.2 to 5.0.0 ([#255](https://github.com/MetaMask/eth-snap-keyring/pull/255)) ## [2.2.2] + ### Changed + - Bump @metamask/safe-event-emitter from 3.1.0 to 3.1.1 ([#251](https://github.com/MetaMask/eth-snap-keyring/pull/251)) - Bump dependencies ([#246](https://github.com/MetaMask/eth-snap-keyring/pull/246)) - Bump @metamask/safe-event-emitter from 3.0.0 to 3.1.0 ([#245](https://github.com/MetaMask/eth-snap-keyring/pull/245)) @@ -60,7 +74,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump @metamask/snaps-registry from 3.0.0 to 3.0.1 ([#244](https://github.com/MetaMask/eth-snap-keyring/pull/244)) ## [2.2.1] + ### Changed + - Bump @metamask dependencies ([#236](https://github.com/MetaMask/eth-snap-keyring/pull/236)) - Extract logic in 'submitRequest' ([#232](https://github.com/MetaMask/eth-snap-keyring/pull/232)) - Bump @metamask/controller-utils from 8.0.3 to 8.0.4 ([#233](https://github.com/MetaMask/eth-snap-keyring/pull/233)) @@ -73,11 +89,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Bump ip from 2.0.0 to 2.0.1 ([#218](https://github.com/MetaMask/eth-snap-keyring/pull/218)) ### Fixed + - Add `chainId` to Keyring API requests (transaction/typed message) ([#231](https://github.com/MetaMask/eth-snap-keyring/pull/231)) - Enforce async request redirect URL is in the snaps 'allowedOrigins' ([#228](https://github.com/MetaMask/eth-snap-keyring/pull/228)) ## [2.2.0] + ### Changed + - Bump dependencies ([#220](https://github.com/MetaMask/eth-snap-keyring/pull/220)) - @metamask/snaps-controllers from ^4.1.0 to ^5.0.1 - @metamask/snaps-sdk from ^1.4.0 to ^2.1.0 @@ -86,110 +105,152 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - @metamask/keyring-api from ^2.0.0 to ^4.0.0 ## [2.1.2] + ### Fixed + - Fixed inconsistent signature signing ([#200](https://github.com/MetaMask/eth-snap-keyring/pull/200)) ## [2.1.1] + ### Fixed + - Reject unsupported account methods ([#190](https://github.com/MetaMask/eth-snap-keyring/pull/190)) ## [2.1.0] + ### Added + - Add methods to support ERC-4337 accounts ([#180](https://github.com/MetaMask/eth-snap-keyring/pull/180)). ### Changed + - Use a `snapId`-indexed map ([#172](https://github.com/MetaMask/eth-snap-keyring/pull/172)). - Update CODEOWNERS and run CI on merge queues ([#165](https://github.com/MetaMask/eth-snap-keyring/pull/165)). - Bump min Node version to 18.18 and use LTS for dev ([#183](https://github.com/MetaMask/eth-snap-keyring/pull/183)). ## [2.0.0] + ### Changed + - **BREAKING**: Remove async from `listAccounts` and `getAccountByAddress` ([#148](https://github.com/MetaMask/eth-snap-keyring/pull/148)). ## [1.0.0] + ### Changed + - Bump `@metamask/keyring-api` to 1.0.0 ([#145](https://github.com/MetaMask/eth-snap-keyring/pull/145)). - Bump `semver` and `word-wrap` dependencies ([#144](https://github.com/MetaMask/eth-snap-keyring/pull/144)). - Bump @metamask/rpc-errors from 6.0.0 to 6.1.0 ([#143](https://github.com/MetaMask/eth-snap-keyring/pull/143)). ## [1.0.0-rc.2] + ### Added + - Add `redirectUser` callback ([#136](https://github.com/MetaMask/eth-snap-keyring/pull/136)). ## [1.0.0-rc.1] + ### Added + - Add `getAccountByAddress` method ([#134](https://github.com/MetaMask/eth-snap-keyring/pull/134)). ### Changed + - Bump `word-wrap` and `semver` ([#140](https://github.com/MetaMask/eth-snap-keyring/pull/140)). - Bump `@metamask/scure-bip39` from 2.1.0 to 2.1.1 ([#133](https://github.com/MetaMask/eth-snap-keyring/pull/133)). - Bump `postcss` from 8.4.20 to 8.4.31 ([#137](https://github.com/MetaMask/eth-snap-keyring/pull/137)). - Bump `@metamask` dependencies ([#139](https://github.com/MetaMask/eth-snap-keyring/pull/139)). ## [0.3.1] + ### Added + - Add the `getAccountsBySnapId` method ([#122](https://github.com/MetaMask/eth-snap-keyring/pull/122)). ### Fixed + - Remove the `removeAccountsBySnapId` method ([#121](https://github.com/MetaMask/eth-snap-keyring/pull/121)). - Call external function with lowercase address ([#120](https://github.com/MetaMask/eth-snap-keyring/pull/120)). ## [0.3.0] + ### Changed + - Handle approval when adding/removing account with `handleUserInput` callback ([#99](https://github.com/MetaMask/eth-snap-keyring/pull/99)). ## [0.2.3] + ### Added + - Add method to remove all accounts given a snap ID ([#116](https://github.com/MetaMask/eth-snap-keyring/pull/116)). ### Fixed + - Don't allow duplicate accounts to be added ([#115](https://github.com/MetaMask/eth-snap-keyring/pull/115)). - Ignore event if account was already removed ([#101](https://github.com/MetaMask/eth-snap-keyring/pull/101)). ## [0.2.2] + ### Changed + - Add `removeAccount` callback to constructor ([#96](https://github.com/MetaMask/eth-snap-keyring/pull/96)). ## [0.2.1] + ### Changed + - Add `callbacks` argument to constructor ([#82](https://github.com/MetaMask/eth-snap-keyring/pull/82)). - Increase minimum Node.js version to 16 (default to 18) ([#83](https://github.com/MetaMask/eth-snap-keyring/pull/83)). - Migrate to the new `keyring-api` ([#78](https://github.com/MetaMask/eth-snap-keyring/pull/78)). - Upgrade dependencies. ## [0.2.0] + ### Changed + - Add account and snap metadata ([#75](https://github.com/MetaMask/eth-snap-keyring/pull/75)). - Rename files to be more idiomatic ([#42](https://github.com/MetaMask/eth-snap-keyring/pull/42)). - Move internal state from objects to maps ([#41](https://github.com/MetaMask/eth-snap-keyring/pull/41)). ### Fixed + - Remove promise if `submitRequest()` throws ([#43](https://github.com/MetaMask/eth-snap-keyring/pull/43)). ## [0.1.4] + ### Changed + - **BREAKING**: Add `callbacks` that will be used to inject dependencies ([#79](https://github.com/MetaMask/eth-snap-keyring/pull/79), [MetaMask/snaps#1725](https://github.com/MetaMask/snaps/pull/1725), [MetaMask/metamask-extension#20786](https://github.com/MetaMask/metamask-extension/pull/20786)). ## [0.1.3] + ### Fixed + - Remove account from maps before calling the snap ([#39](https://github.com/MetaMask/eth-snap-keyring/pull/39)). ## [0.1.2] + ### Changed + - Remove unused `#listAccounts()` method ([#35](https://github.com/MetaMask/eth-snap-keyring/pull/35)). ### Fixed + - Sync all accounts on snap notificaiton ([#36](https://github.com/MetaMask/eth-snap-keyring/pull/36)). - Don't sync accounts twice on deletion ([#32](https://github.com/MetaMask/eth-snap-keyring/pull/32)). ## [0.1.1] + ### Changed + - Use objects in snap -> controller methods ([#28](https://github.com/MetaMask/eth-snap-keyring/pull/28)). - Fix circular call when handling `'read'` requests ([#27](https://github.com/MetaMask/eth-snap-keyring/pull/27)). - Remove `saveSnapKeyring` argument from `handleKeyringSnapMessage` ([#26](https://github.com/MetaMask/eth-snap-keyring/pull/26)). ## [0.1.0] + ### Added + - Initial release. [Unreleased]: https://github.com/MetaMask/eth-snap-keyring/compare/v4.2.0...HEAD From 1031a0ce54c8f3c38154acc55be05965aab7e8de Mon Sep 17 00:00:00 2001 From: Kate Johnson Date: Tue, 28 May 2024 16:08:23 -0400 Subject: [PATCH 4/5] feat: updated message for v4.2.0 release in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a638a52..0a12b0fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Add `accountNameSuggestion` and `displayConfirmation` option handling for "notify:accountCreated" ([#300](https://github.com/MetaMask/eth-snap-keyring/pull/300)) +- Add `accountNameSuggestion` and `displayConfirmation` options handling for `notify:accountCreated` ([#300](https://github.com/MetaMask/eth-snap-keyring/pull/300)) - Bump @metamask/keyring-api from 6.1.1 to 6.2.1 ([#304](https://github.com/MetaMask/eth-snap-keyring/pull/304)) ## [4.1.1] From 92ac036d2c9d0008727b8f9ab176a5e07bd39ee2 Mon Sep 17 00:00:00 2001 From: Kate Johnson Date: Tue, 28 May 2024 16:10:16 -0400 Subject: [PATCH 5/5] feat: added quotes around 'notify:accountCreated' --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a12b0fd..fb9b0d89 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Add `accountNameSuggestion` and `displayConfirmation` options handling for `notify:accountCreated` ([#300](https://github.com/MetaMask/eth-snap-keyring/pull/300)) +- Add `accountNameSuggestion` and `displayConfirmation` options handling for `"notify:accountCreated"` ([#300](https://github.com/MetaMask/eth-snap-keyring/pull/300)) - Bump @metamask/keyring-api from 6.1.1 to 6.2.1 ([#304](https://github.com/MetaMask/eth-snap-keyring/pull/304)) ## [4.1.1]