Skip to content

Commit 2b345d7

Browse files
authored
chore: bump snaps packages (#5639)
## Explanation This PR bumps: * @metamask/snaps-sdk from ^6.17.1 to ^6.22.0 * @metamask/snaps-utils from ^8.10.0 to ^9.2.0 * @metamask/snaps-controllers from ^9.19.0 to ^11.2.0 * @metamask/providers from ^18.1.1 to ^21.0.0 * Adds `includeMarketData` to the params of the `OnAssetsConversion` handler * Adds `fetchHistoricalPrices` method to `MultichainAssetsRatesController` * Adds `getSelectedMultichainAccount` action to `multichainAssetsRatesController` ## References <!-- Are there any issues that this pull request is tied to? Are there other links that reviewers should consult to understand these changes better? Are there client or consumer pull requests to adopt any breaking changes? For example: * Fixes #12345 * Related to #67890 --> ## Changelog <!-- THIS SECTION IS NO LONGER NEEDED. The process for updating changelogs has changed. Please consult the "Updating changelogs" section of the Contributing doc for more. --> ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs), highlighting breaking changes as necessary - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes
1 parent c0f9646 commit 2b345d7

File tree

15 files changed

+503
-157
lines changed

15 files changed

+503
-157
lines changed

packages/accounts-controller/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- **BREAKING:** Bump `@metamask/snaps-controllers` peer dependency from ^9.19.0 to ^11.0.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
13+
- **BREAKING:** Bump `@metamask/providers` peer dependency from ^18.1.0 to ^21.0.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
14+
- Bump `@metamask/snaps-sdk` from ^6.17.1 to ^6.22.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
15+
- Bump `@metamask/snaps-utils` from ^8.10.0 to ^9.2.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
16+
1017
## [27.0.0]
1118

1219
### Changed

packages/accounts-controller/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
"@metamask/keyring-api": "^17.4.0",
5454
"@metamask/keyring-internal-api": "^6.0.1",
5555
"@metamask/keyring-utils": "^3.0.0",
56-
"@metamask/snaps-sdk": "^6.17.1",
57-
"@metamask/snaps-utils": "^8.10.0",
56+
"@metamask/snaps-sdk": "^6.22.0",
57+
"@metamask/snaps-utils": "^9.2.0",
5858
"@metamask/utils": "^11.2.0",
5959
"deepmerge": "^4.2.2",
6060
"ethereum-cryptography": "^2.1.2",
@@ -65,8 +65,8 @@
6565
"@metamask/auto-changelog": "^3.4.4",
6666
"@metamask/keyring-controller": "^21.0.3",
6767
"@metamask/network-controller": "^23.2.0",
68-
"@metamask/providers": "^18.1.1",
69-
"@metamask/snaps-controllers": "^9.19.0",
68+
"@metamask/providers": "^21.0.0",
69+
"@metamask/snaps-controllers": "^11.2.1",
7070
"@types/jest": "^27.4.1",
7171
"@types/readable-stream": "^2.3.0",
7272
"jest": "^27.5.1",
@@ -79,8 +79,8 @@
7979
"peerDependencies": {
8080
"@metamask/keyring-controller": "^21.0.0",
8181
"@metamask/network-controller": "^23.0.0",
82-
"@metamask/providers": "^18.1.0",
83-
"@metamask/snaps-controllers": "^9.19.0",
82+
"@metamask/providers": "^21.0.0",
83+
"@metamask/snaps-controllers": "^11.0.0",
8484
"webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
8585
},
8686
"engines": {

packages/assets-controllers/CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added `includeMarketData` to the params of the `OnAssetsConversion` handler ([#5639](https://github.com/MetaMask/core/pull/5639))
13+
- Added `fetchHistoricalPricesForAsset` method to `MultichainAssetsRatesController` ([#5639](https://github.com/MetaMask/core/pull/5639))
14+
- Added `getSelectedMultichainAccount` action to `multichainAssetsRatesController` ([#5639](https://github.com/MetaMask/core/pull/5639))
15+
- Added new state field `historicalPrices` to `MultichainAssetsRatesController` ([#5639](https://github.com/MetaMask/core/pull/5639))
16+
17+
### Changed
18+
19+
- **BREAKING:** Bump `@metamask/snaps-controllers` peer dependency from ^9.19.0 to ^11.0.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
20+
- **BREAKING:** Bump `@metamask/providers` peer dependency from ^18.1.0 to ^21.0.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
21+
- Bump `@metamask/snaps-utils` from ^8.10.0 to ^9.2.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
22+
1023
## [57.0.0]
1124

1225
### Added

packages/assets-controllers/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@metamask/metamask-eth-abis": "^3.1.1",
6363
"@metamask/polling-controller": "^13.0.0",
6464
"@metamask/rpc-errors": "^7.0.2",
65-
"@metamask/snaps-utils": "^8.10.0",
65+
"@metamask/snaps-utils": "^9.2.0",
6666
"@metamask/utils": "^11.2.0",
6767
"@types/bn.js": "^5.1.5",
6868
"@types/uuid": "^8.3.0",
@@ -87,9 +87,9 @@
8787
"@metamask/network-controller": "^23.2.0",
8888
"@metamask/permission-controller": "^11.0.6",
8989
"@metamask/preferences-controller": "^17.0.0",
90-
"@metamask/providers": "^18.1.1",
91-
"@metamask/snaps-controllers": "^9.19.0",
92-
"@metamask/snaps-sdk": "^6.17.1",
90+
"@metamask/providers": "^21.0.0",
91+
"@metamask/snaps-controllers": "^11.2.1",
92+
"@metamask/snaps-sdk": "^6.22.0",
9393
"@metamask/transaction-controller": "^54.1.0",
9494
"@types/jest": "^27.4.1",
9595
"@types/lodash": "^4.14.191",
@@ -112,8 +112,8 @@
112112
"@metamask/network-controller": "^23.0.0",
113113
"@metamask/permission-controller": "^11.0.0",
114114
"@metamask/preferences-controller": "^17.0.0",
115-
"@metamask/providers": "^18.1.0",
116-
"@metamask/snaps-controllers": "^9.19.0",
115+
"@metamask/providers": "^21.0.0",
116+
"@metamask/snaps-controllers": "^11.0.0",
117117
"@metamask/transaction-controller": "^54.0.0",
118118
"webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
119119
},

0 commit comments

Comments
 (0)