Skip to content

Commit a6e4522

Browse files
chore: merge main
2 parents 8f444fc + 8dd27f0 commit a6e4522

File tree

81 files changed

+838
-371
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+838
-371
lines changed

package.json

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

packages/accounts-controller/CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [28.0.0]
11+
1012
### Added
1113

1214
- Add new `setAccountNameAndSelectAccount` action ([#5714](https://github.com/MetaMask/core/pull/5714))
1315
- Add `entropySource` and `derivationPath` to EVM HD account options ([#5618](https://github.com/MetaMask/core/pull/5618))
1416

1517
### Changed
1618

17-
- Bump `@metamask/base-controller` from ^8.0.0 to ^8.0.1 ([#5722](https://github.com/MetaMask/core/pull/5722))
18-
- **BREAKING:** Bump `@metamask/snaps-controllers` peer dependency from ^9.19.0 to ^11.0.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
19-
- **BREAKING:** Bump `@metamask/providers` peer dependency from ^18.1.0 to ^21.0.0 ([#5639](https://github.com/MetaMask/core/pull/5639))
20-
- Bump `@metamask/snaps-sdk` from ^6.17.1 to ^6.22.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-
- Prevent unnecasary state updates when updating `InternalAccount.metadata.snap` ([#5735](https://github.com/MetaMask/core/pull/5735))
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/base-controller` from `^8.0.0` to `^8.0.1` ([#5722](https://github.com/MetaMask/core/pull/5722))
22+
- Bump `@metamask/snaps-sdk` from `^6.17.1` to `^6.22.0` ([#5639](https://github.com/MetaMask/core/pull/5639))
23+
- Bump `@metamask/snaps-utils` from `^8.10.0` to `^9.2.0` ([#5639](https://github.com/MetaMask/core/pull/5639))
24+
- Bump `@metamask/eth-snap-keyring` from `^12.0.0` to `^12.1.1` ([#5565](https://github.com/MetaMask/core/pull/5565))
25+
- Bump `@metamask/keyring-api` from `^17.2.0` to `^17.4.0` ([#5565](https://github.com/MetaMask/core/pull/5565))
26+
- Bump `@metamask/keyring-internal-api` from `^6.0.0` to `^6.0.1` ([#5565](https://github.com/MetaMask/core/pull/5565))
27+
28+
### Fixed
29+
30+
- Do not fire events during `update` blocks ([#5555](https://github.com/MetaMask/core/pull/5555))
31+
- Prevent unnecessary state updates when updating `InternalAccount.metadata.snap` ([#5735](https://github.com/MetaMask/core/pull/5735))
2332

2433
## [27.0.0]
2534

@@ -519,7 +528,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
519528

520529
- Initial release ([#1637](https://github.com/MetaMask/core/pull/1637))
521530

522-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
531+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
532+
[28.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
523533
[27.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
524534
[26.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
525535
[26.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/accounts-controller/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/accounts-controller",
3-
"version": "27.0.0",
3+
"version": "28.0.0",
44
"description": "Manages internal accounts",
55
"keywords": [
66
"MetaMask",
@@ -63,8 +63,8 @@
6363
},
6464
"devDependencies": {
6565
"@metamask/auto-changelog": "^3.4.4",
66-
"@metamask/keyring-controller": "^21.0.5",
67-
"@metamask/network-controller": "^23.3.0",
66+
"@metamask/keyring-controller": "^21.0.6",
67+
"@metamask/network-controller": "^23.4.0",
6868
"@metamask/providers": "^21.0.0",
6969
"@metamask/snaps-controllers": "^11.2.1",
7070
"@types/jest": "^27.4.1",

packages/address-book-controller/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111

1212
- Bump `@metamask/base-controller` from ^8.0.0 to ^8.0.1 ([#5722](https://github.com/MetaMask/core/pull/5722))
13-
- Bump `@metamask/controller-utils` to `^11.7.0` ([#5583](https://github.com/MetaMask/core/pull/5583))
13+
- Bump `@metamask/controller-utils` to `^11.8.0` ([#5583](https://github.com/MetaMask/core/pull/5583), [#5765](https://github.com/MetaMask/core/pull/5765))
1414

1515
## [6.0.3]
1616

packages/address-book-controller/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
},
4949
"dependencies": {
5050
"@metamask/base-controller": "^8.0.1",
51-
"@metamask/controller-utils": "^11.7.0",
51+
"@metamask/controller-utils": "^11.8.0",
5252
"@metamask/utils": "^11.2.0"
5353
},
5454
"devDependencies": {

packages/assets-controllers/CHANGELOG.md

+12-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12-
- Bump `@metamask/base-controller` from ^8.0.0 to ^8.0.1 ([#5722](https://github.com/MetaMask/core/pull/5722))
12+
- Bump `@metamask/controller-utils` to `^11.8.0` ([#5765](https://github.com/MetaMask/core/pull/5765))
13+
- Update `DEFI_POSITIONS_API_URL` to use the production endpoint ([#5769](https://github.com/MetaMask/core/pull/5769))
14+
15+
## [61.0.0]
16+
17+
### Changed
18+
19+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency to `^28.0.0` ([#5763](https://github.com/MetaMask/core/pull/5763))
20+
- **BREAKING:** Bump `@metamask/transaction-controller` peer dependency to `^55.0.0` ([#5763](https://github.com/MetaMask/core/pull/5763))
21+
- Bump `@metamask/base-controller` from `^8.0.0` to `^8.0.1` ([#5722](https://github.com/MetaMask/core/pull/5722))
1322

1423
## [60.0.0]
1524

@@ -1598,7 +1607,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15981607
15991608
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
16001609
1601-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
1610+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
1611+
[61.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
16021612
[60.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
16031613
[59.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
16041614
[58.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/assets-controllers/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/assets-controllers",
3-
"version": "60.0.0",
3+
"version": "61.0.0",
44
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
55
"keywords": [
66
"MetaMask",
@@ -56,7 +56,7 @@
5656
"@metamask/abi-utils": "^2.0.3",
5757
"@metamask/base-controller": "^8.0.1",
5858
"@metamask/contract-metadata": "^2.4.0",
59-
"@metamask/controller-utils": "^11.7.0",
59+
"@metamask/controller-utils": "^11.8.0",
6060
"@metamask/eth-query": "^4.0.0",
6161
"@metamask/keyring-api": "^17.4.0",
6262
"@metamask/metamask-eth-abis": "^3.1.1",
@@ -77,20 +77,20 @@
7777
},
7878
"devDependencies": {
7979
"@babel/runtime": "^7.23.9",
80-
"@metamask/accounts-controller": "^27.0.0",
80+
"@metamask/accounts-controller": "^28.0.0",
8181
"@metamask/approval-controller": "^7.1.3",
8282
"@metamask/auto-changelog": "^3.4.4",
8383
"@metamask/ethjs-provider-http": "^0.3.0",
84-
"@metamask/keyring-controller": "^21.0.5",
84+
"@metamask/keyring-controller": "^21.0.6",
8585
"@metamask/keyring-internal-api": "^6.0.1",
8686
"@metamask/keyring-snap-client": "^4.1.0",
87-
"@metamask/network-controller": "^23.3.0",
87+
"@metamask/network-controller": "^23.4.0",
8888
"@metamask/permission-controller": "^11.0.6",
8989
"@metamask/preferences-controller": "^17.0.0",
9090
"@metamask/providers": "^21.0.0",
9191
"@metamask/snaps-controllers": "^11.2.1",
9292
"@metamask/snaps-sdk": "^6.22.0",
93-
"@metamask/transaction-controller": "^54.4.0",
93+
"@metamask/transaction-controller": "^55.0.0",
9494
"@types/jest": "^27.4.1",
9595
"@types/lodash": "^4.14.191",
9696
"@types/node": "^16.18.54",
@@ -106,15 +106,15 @@
106106
"webextension-polyfill": "^0.12.0"
107107
},
108108
"peerDependencies": {
109-
"@metamask/accounts-controller": "^27.0.0",
109+
"@metamask/accounts-controller": "^28.0.0",
110110
"@metamask/approval-controller": "^7.0.0",
111111
"@metamask/keyring-controller": "^21.0.0",
112112
"@metamask/network-controller": "^23.0.0",
113113
"@metamask/permission-controller": "^11.0.0",
114114
"@metamask/preferences-controller": "^17.0.0",
115115
"@metamask/providers": "^21.0.0",
116116
"@metamask/snaps-controllers": "^11.0.0",
117-
"@metamask/transaction-controller": "^54.0.0",
117+
"@metamask/transaction-controller": "^55.0.0",
118118
"webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0"
119119
},
120120
"engines": {

packages/assets-controllers/src/DeFiPositionsController/fetch-positions.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ export type Balance = {
5656
};
5757

5858
// TODO: Update with prod API URL when available
59-
export const DEFI_POSITIONS_API_URL =
60-
'https://defiadapters.dev-api.cx.metamask.io';
59+
export const DEFI_POSITIONS_API_URL = 'https://defiadapters.api.cx.metamask.io';
6160

6261
/**
6362
* Builds a function that fetches DeFi positions for a given account address

packages/bridge-controller/CHANGELOG.md

+14-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Add and export `calcSlippagePercentage`, a utility that calculates the absolute slippage percentage based on the adjusted return and the sent amount ([#5723](https://github.com/MetaMask/core/pull/5723)).
1313

14+
### Changed
15+
16+
- Bump `@metamask/controller-utils` to `^11.8.0` ([#5765](https://github.com/MetaMask/core/pull/5765))
17+
18+
## [21.0.0]
19+
20+
### Changed
21+
22+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency to `^28.0.0` ([#5763](https://github.com/MetaMask/core/pull/5763))
23+
- **BREAKING:** Bump `@metamask/assets-controller` peer dependency to `^61.0.0` ([#5763](https://github.com/MetaMask/core/pull/5763))
24+
- **BREAKING:** Bump `@metamask/transaction-controller` peer dependency to `^55.0.0` ([#5763](https://github.com/MetaMask/core/pull/5763))
25+
1426
## [20.0.0]
1527

1628
### Changed
@@ -200,7 +212,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
200212

201213
- Initial release ([#5317](https://github.com/MetaMask/core/pull/5317))
202214

203-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
215+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
216+
[21.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
204217
[20.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
205218
[19.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
206219
[18.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/bridge-controller/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/bridge-controller",
3-
"version": "20.0.0",
3+
"version": "21.0.0",
44
"description": "Manages bridge-related quote fetching functionality for MetaMask",
55
"keywords": [
66
"MetaMask",
@@ -53,26 +53,26 @@
5353
"@ethersproject/contracts": "^5.7.0",
5454
"@ethersproject/providers": "^5.7.0",
5555
"@metamask/base-controller": "^8.0.1",
56-
"@metamask/controller-utils": "^11.7.0",
56+
"@metamask/controller-utils": "^11.8.0",
5757
"@metamask/gas-fee-controller": "^23.0.0",
5858
"@metamask/keyring-api": "^17.4.0",
5959
"@metamask/metamask-eth-abis": "^3.1.1",
60-
"@metamask/multichain-network-controller": "^0.5.1",
60+
"@metamask/multichain-network-controller": "^0.6.0",
6161
"@metamask/polling-controller": "^13.0.0",
6262
"@metamask/utils": "^11.2.0",
6363
"bignumber.js": "^9.1.2",
6464
"reselect": "^5.1.1"
6565
},
6666
"devDependencies": {
67-
"@metamask/accounts-controller": "^27.0.0",
68-
"@metamask/assets-controllers": "^60.0.0",
67+
"@metamask/accounts-controller": "^28.0.0",
68+
"@metamask/assets-controllers": "^61.0.0",
6969
"@metamask/auto-changelog": "^3.4.4",
7070
"@metamask/eth-json-rpc-provider": "^4.1.8",
71-
"@metamask/network-controller": "^23.3.0",
71+
"@metamask/network-controller": "^23.4.0",
7272
"@metamask/remote-feature-flag-controller": "^1.6.0",
7373
"@metamask/snaps-controllers": "^11.2.1",
7474
"@metamask/superstruct": "^3.1.0",
75-
"@metamask/transaction-controller": "^54.4.0",
75+
"@metamask/transaction-controller": "^55.0.0",
7676
"@types/jest": "^27.4.1",
7777
"deepmerge": "^4.2.2",
7878
"jest": "^27.5.1",
@@ -85,12 +85,12 @@
8585
"typescript": "~5.2.2"
8686
},
8787
"peerDependencies": {
88-
"@metamask/accounts-controller": "^27.0.0",
89-
"@metamask/assets-controllers": "^60.0.0",
88+
"@metamask/accounts-controller": "^28.0.0",
89+
"@metamask/assets-controllers": "^61.0.0",
9090
"@metamask/network-controller": "^23.0.0",
9191
"@metamask/remote-feature-flag-controller": "^1.6.0",
9292
"@metamask/snaps-controllers": "^11.0.0",
93-
"@metamask/transaction-controller": "^54.0.0"
93+
"@metamask/transaction-controller": "^55.0.0"
9494
},
9595
"engines": {
9696
"node": "^18.18 || >=20"

packages/bridge-status-controller/CHANGELOG.md

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

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Bump `@metamask/controller-utils` to `^11.8.0` ([#5765](https://github.com/MetaMask/core/pull/5765))
13+
14+
## [18.0.0]
15+
16+
### Changed
17+
18+
- **BREAKING:** Bump `@metamask/bridge-controller` peer dependency to `^21.0.0` ([#5763](https://github.com/MetaMask/core/pull/5763))
19+
- **BREAKING:** Bump `@metamask/accounts-controller` peer dependency to `^28.0.0` ([#5763](https://github.com/MetaMask/core/pull/5763))
20+
- **BREAKING:** Bump `@metamask/transaction-controller` peer dependency to `^55.0.0` ([#5763](https://github.com/MetaMask/core/pull/5763))
21+
22+
## [17.0.1]
23+
1024
### Fixed
1125

1226
- Added a hardcoded `SolScope.Mainnet` value to ensure the `signAndSendTransaction` params are always valid. Discovered Solana accounts may have an undefined `options.scope`, which causes `handleRequest` calls to throw a JSON-RPC validation error ([#5750])(https://github.com/MetaMask/core/pull/5750)
@@ -184,7 +198,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
184198

185199
- Initial release ([#5317](https://github.com/MetaMask/core/pull/5317))
186200

187-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
201+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
202+
[18.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
203+
[17.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
188204
[17.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
189205
[16.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
190206
[15.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/bridge-status-controller/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/bridge-status-controller",
3-
"version": "17.0.0",
3+
"version": "18.0.0",
44
"description": "Manages bridge-related status fetching functionality for MetaMask",
55
"keywords": [
66
"MetaMask",
@@ -48,23 +48,23 @@
4848
},
4949
"dependencies": {
5050
"@metamask/base-controller": "^8.0.1",
51-
"@metamask/controller-utils": "^11.7.0",
51+
"@metamask/controller-utils": "^11.8.0",
5252
"@metamask/keyring-api": "^17.4.0",
5353
"@metamask/polling-controller": "^13.0.0",
5454
"@metamask/superstruct": "^3.1.0",
55-
"@metamask/user-operation-controller": "^33.0.0",
55+
"@metamask/user-operation-controller": "^34.0.0",
5656
"@metamask/utils": "^11.2.0",
5757
"bignumber.js": "^9.1.2",
5858
"uuid": "^8.3.2"
5959
},
6060
"devDependencies": {
61-
"@metamask/accounts-controller": "^27.0.0",
61+
"@metamask/accounts-controller": "^28.0.0",
6262
"@metamask/auto-changelog": "^3.4.4",
63-
"@metamask/bridge-controller": "^20.0.0",
63+
"@metamask/bridge-controller": "^21.0.0",
6464
"@metamask/gas-fee-controller": "^23.0.0",
65-
"@metamask/network-controller": "^23.3.0",
65+
"@metamask/network-controller": "^23.4.0",
6666
"@metamask/snaps-controllers": "^11.2.1",
67-
"@metamask/transaction-controller": "^54.4.0",
67+
"@metamask/transaction-controller": "^55.0.0",
6868
"@types/jest": "^27.4.1",
6969
"deepmerge": "^4.2.2",
7070
"jest": "^27.5.1",
@@ -77,12 +77,12 @@
7777
"typescript": "~5.2.2"
7878
},
7979
"peerDependencies": {
80-
"@metamask/accounts-controller": "^27.0.0",
81-
"@metamask/bridge-controller": "^20.0.0",
80+
"@metamask/accounts-controller": "^28.0.0",
81+
"@metamask/bridge-controller": "^21.0.0",
8282
"@metamask/gas-fee-controller": "^23.0.0",
8383
"@metamask/network-controller": "^23.0.0",
8484
"@metamask/snaps-controllers": "^11.0.0",
85-
"@metamask/transaction-controller": "^54.0.0"
85+
"@metamask/transaction-controller": "^55.0.0"
8686
},
8787
"engines": {
8888
"node": "^18.18 || >=20"

packages/chain-agnostic-permission/CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12+
- Bump `@metamask/network-controller` to `^23.4.0` ([#5765](https://github.com/MetaMask/core/pull/5765))
13+
- Bump `@metamask/controller-utils` to `^11.8.0` ([#5765](https://github.com/MetaMask/core/pull/5765))
14+
15+
## [0.6.0]
16+
17+
### Changed
18+
19+
- Fix `getAllNamespacesFromCaip25CaveatValue` to return the reference instead of full scope when passed in values are `wallet` namespaced ([#5759](https://github.com/MetaMask/core/pull/5759))
1220
- Bump `@metamask/network-controller` to `^23.3.0` ([#5789](https://github.com/MetaMask/core/pull/5789))
1321

1422
## [0.5.0]
@@ -73,7 +81,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7381

7482
- Initial release
7583

76-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
84+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
85+
[0.6.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7786
[0.5.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7887
[0.4.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7988
[0.3.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

0 commit comments

Comments
 (0)