Skip to content

Commit a03a21d

Browse files
authored
Release/528.0.0 (#6437)
Patch release for the `account-tree-controller` that fixes the initial publish of `:selectedAccountGroupChange`. There were no easy way to get the initial selected group (which is mirrored for `AccountsController:getSelectedAccount`). With this new fix, `init` will properly publish the event, allowing other controllers to use the initial selected account group.
1 parent 65222d4 commit a03a21d

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/core-monorepo",
3-
"version": "527.0.0",
3+
"version": "528.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/account-tree-controller/CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [0.12.1]
11+
1012
### Fixed
1113

1214
- Publish `AccountTreeController:selectedAccountGroupChange` during `init` ([#6431](https://github.com/MetaMask/core/pull/6431))
@@ -158,7 +160,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
158160
- Initial release ([#5847](https://github.com/MetaMask/core/pull/5847))
159161
- Grouping accounts into 3 main categories: Entropy source, Snap ID, keyring types.
160162

161-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/account-tree-controller@0.12.0...HEAD
163+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/account-tree-controller@0.12.1...HEAD
164+
[0.12.1]: https://github.com/MetaMask/core/compare/@metamask/account-tree-controller@0.12.0...@metamask/account-tree-controller@0.12.1
162165
[0.12.0]: https://github.com/MetaMask/core/compare/@metamask/account-tree-controller@0.11.0...@metamask/account-tree-controller@0.12.0
163166
[0.11.0]: https://github.com/MetaMask/core/compare/@metamask/account-tree-controller@0.10.0...@metamask/account-tree-controller@0.11.0
164167
[0.10.0]: https://github.com/MetaMask/core/compare/@metamask/account-tree-controller@0.9.0...@metamask/account-tree-controller@0.10.0

packages/account-tree-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/account-tree-controller",
3-
"version": "0.12.0",
3+
"version": "0.12.1",
44
"description": "Controller to group account together based on some pre-defined rules",
55
"keywords": [
66
"MetaMask",

packages/assets-controllers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"devDependencies": {
8181
"@babel/runtime": "^7.23.9",
8282
"@metamask/account-api": "^0.9.0",
83-
"@metamask/account-tree-controller": "^0.12.0",
83+
"@metamask/account-tree-controller": "^0.12.1",
8484
"@metamask/accounts-controller": "^33.0.0",
8585
"@metamask/approval-controller": "^7.1.3",
8686
"@metamask/auto-changelog": "^3.4.4",

yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2397,7 +2397,7 @@ __metadata:
23972397
languageName: node
23982398
linkType: hard
23992399

2400-
"@metamask/account-tree-controller@npm:^0.12.0, @metamask/account-tree-controller@workspace:packages/account-tree-controller":
2400+
"@metamask/account-tree-controller@npm:^0.12.1, @metamask/account-tree-controller@workspace:packages/account-tree-controller":
24012401
version: 0.0.0-use.local
24022402
resolution: "@metamask/account-tree-controller@workspace:packages/account-tree-controller"
24032403
dependencies:
@@ -2574,7 +2574,7 @@ __metadata:
25742574
"@ethersproject/providers": "npm:^5.7.0"
25752575
"@metamask/abi-utils": "npm:^2.0.3"
25762576
"@metamask/account-api": "npm:^0.9.0"
2577-
"@metamask/account-tree-controller": "npm:^0.12.0"
2577+
"@metamask/account-tree-controller": "npm:^0.12.1"
25782578
"@metamask/accounts-controller": "npm:^33.0.0"
25792579
"@metamask/approval-controller": "npm:^7.1.3"
25802580
"@metamask/auto-changelog": "npm:^3.4.4"

0 commit comments

Comments
 (0)