Skip to content

Commit 5696702

Browse files
authored
Merge branch 'main' into polling-controller-mixin
2 parents 7670038 + aa5ab03 commit 5696702

File tree

65 files changed

+640
-269
lines changed

Some content is hidden

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

65 files changed

+640
-269
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": "78.0.0",
3+
"version": "79.0.0",
44
"private": true,
55
"description": "Monorepo for packages shared between MetaMask clients",
66
"repository": {

packages/accounts-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [2.0.1]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
13+
### Fixed
14+
- Remove unused `selectedAccount` from state metadata ([#1734](https://github.com/MetaMask/core/pull/1734))
15+
916
## [2.0.0]
1017
### Changed
1118
- **BREAKING:** Bump peer dependency on `@metamask/keyring-controller` to ^8.0.0
@@ -14,6 +21,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1421
### Added
1522
- Initial release ([#1637](https://github.com/MetaMask/core/pull/1637))
1623

17-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
24+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
25+
[2.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
1826
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
1927
[1.0.0]: https://github.com/MetaMask/core/releases/tag/@metamask/[email protected]

packages/accounts-controller/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/accounts-controller",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "Manages internal accounts",
55
"keywords": [
66
"MetaMask",
@@ -28,7 +28,7 @@
2828
"test:watch": "jest --watch"
2929
},
3030
"dependencies": {
31-
"@metamask/base-controller": "^3.2.1",
31+
"@metamask/base-controller": "^3.2.2",
3232
"@metamask/eth-snap-keyring": "^0.2.2",
3333
"@metamask/keyring-api": "^0.2.5",
3434
"@metamask/snaps-utils": "^1.0.1",
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@metamask/auto-changelog": "^3.1.0",
45-
"@metamask/keyring-controller": "^8.0.0",
45+
"@metamask/keyring-controller": "^8.0.1",
4646
"@metamask/snaps-controllers": "^1.0.1",
4747
"@types/jest": "^27.4.1",
4848
"@types/readable-stream": "^2.3.0",
@@ -53,7 +53,7 @@
5353
"typescript": "~4.8.4"
5454
},
5555
"peerDependencies": {
56-
"@metamask/keyring-controller": "^8.0.0"
56+
"@metamask/keyring-controller": "^8.0.1"
5757
},
5858
"engines": {
5959
"node": ">=16.0.0"

packages/accounts-controller/src/AccountsController.ts

-4
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,6 @@ const accountsControllerMetadata = {
9292
persist: true,
9393
anonymous: false,
9494
},
95-
selectedAccount: {
96-
persist: true,
97-
anonymous: false,
98-
},
9995
};
10096

10197
const defaultState: AccountsControllerState = {

packages/address-book-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [3.1.3]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
913
## [3.1.2]
1014
### Changed
1115
- Bump dependency on `@metamask/controller-utils` to ^5.0.0
@@ -51,7 +55,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5155

5256
All changes listed after this point were applied to this package following the monorepo conversion.
5357

54-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
58+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
59+
[3.1.3]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5560
[3.1.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5661
[3.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
5762
[3.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/address-book-controller/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/address-book-controller",
3-
"version": "3.1.2",
3+
"version": "3.1.3",
44
"description": "Manages a list of recipient addresses associated with nicknames",
55
"keywords": [
66
"MetaMask",
@@ -28,8 +28,8 @@
2828
"test:watch": "jest --watch"
2929
},
3030
"dependencies": {
31-
"@metamask/base-controller": "^3.2.1",
32-
"@metamask/controller-utils": "^5.0.0",
31+
"@metamask/base-controller": "^3.2.2",
32+
"@metamask/controller-utils": "^5.0.1",
3333
"@metamask/utils": "^6.2.0"
3434
},
3535
"devDependencies": {

packages/announcement-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [4.0.2]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
913
## [4.0.1]
1014
### Changed
1115
- Bump dependency on `@metamask/base-controller` to ^3.2.1
@@ -57,7 +61,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5761

5862
All changes listed after this point were applied to this package following the monorepo conversion.
5963

60-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
64+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
65+
[4.0.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
6166
[4.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
6267
[4.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
6368
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/announcement-controller/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/announcement-controller",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"description": "Manages in-app announcements",
55
"keywords": [
66
"MetaMask",
@@ -28,7 +28,7 @@
2828
"test:watch": "jest --watch"
2929
},
3030
"dependencies": {
31-
"@metamask/base-controller": "^3.2.1"
31+
"@metamask/base-controller": "^3.2.2"
3232
},
3333
"devDependencies": {
3434
"@metamask/auto-changelog": "^3.1.0",

packages/approval-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [3.5.2]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
913
## [3.5.1]
1014
### Changed
1115
- Bump dependency on `@metamask/base-controller` to ^3.2.1
@@ -71,7 +75,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7175

7276
All changes listed after this point were applied to this package following the monorepo conversion.
7377

74-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
78+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
79+
[3.5.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7580
[3.5.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7681
[3.5.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7782
[3.4.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/approval-controller/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/approval-controller",
3-
"version": "3.5.1",
3+
"version": "3.5.2",
44
"description": "Manages requests that require user approval",
55
"keywords": [
66
"MetaMask",
@@ -28,7 +28,7 @@
2828
"test:watch": "jest --watch"
2929
},
3030
"dependencies": {
31-
"@metamask/base-controller": "^3.2.1",
31+
"@metamask/base-controller": "^3.2.2",
3232
"@metamask/utils": "^6.2.0",
3333
"eth-rpc-errors": "^4.0.2",
3434
"immer": "^9.0.6",

packages/assets-controllers/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [14.0.0]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
- Update `@metamask/rpc-errors` to `^6.0.0` ([#1690](https://github.com/MetaMask/core/pull/1690))
13+
14+
### Removed
15+
- **BREAKING:** Remove AbortController polyfill
16+
- This package now assumes that the AbortController global exists
17+
918
## [13.0.0]
1019
### Changed
1120
- **BREAKING**: `TokensController` now expects `getNetworkClientById` in constructor options ([#1676](https://github.com/MetaMask/core/pull/1676))
@@ -271,7 +280,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
271280
### Changed
272281
- Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845))
273282

274-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
283+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
284+
[14.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
275285
[13.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
276286
[12.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
277287
[11.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/assets-controllers/package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/assets-controllers",
3-
"version": "13.0.0",
3+
"version": "14.0.0",
44
"description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)",
55
"keywords": [
66
"MetaMask",
@@ -33,14 +33,14 @@
3333
"@ethersproject/contracts": "^5.7.0",
3434
"@ethersproject/providers": "^5.7.0",
3535
"@metamask/abi-utils": "^2.0.2",
36-
"@metamask/approval-controller": "^3.5.1",
37-
"@metamask/base-controller": "^3.2.1",
36+
"@metamask/approval-controller": "^3.5.2",
37+
"@metamask/base-controller": "^3.2.2",
3838
"@metamask/contract-metadata": "^2.3.1",
39-
"@metamask/controller-utils": "^5.0.0",
39+
"@metamask/controller-utils": "^5.0.1",
4040
"@metamask/eth-query": "^3.0.1",
4141
"@metamask/metamask-eth-abis": "3.0.0",
42-
"@metamask/network-controller": "^13.0.0",
43-
"@metamask/preferences-controller": "^4.4.1",
42+
"@metamask/network-controller": "^13.0.1",
43+
"@metamask/preferences-controller": "^4.4.2",
4444
"@metamask/rpc-errors": "^6.0.0",
4545
"@metamask/utils": "^6.2.0",
4646
"@types/uuid": "^8.3.0",
@@ -67,9 +67,9 @@
6767
"typescript": "~4.8.4"
6868
},
6969
"peerDependencies": {
70-
"@metamask/approval-controller": "^3.5.1",
71-
"@metamask/network-controller": "^13.0.0",
72-
"@metamask/preferences-controller": "^4.4.1"
70+
"@metamask/approval-controller": "^3.5.2",
71+
"@metamask/network-controller": "^13.0.1",
72+
"@metamask/preferences-controller": "^4.4.2"
7373
},
7474
"engines": {
7575
"node": ">=16.0.0"

packages/base-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [3.2.2]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
913
## [3.2.1]
1014
### Changed
1115
- There are no consumer-facing changes to this package. This version is a part of a synchronized release across all packages in our monorepo.
@@ -65,7 +69,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6569

6670
All changes listed after this point were applied to this package following the monorepo conversion.
6771

68-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
72+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
73+
[3.2.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
6974
[3.2.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7075
[3.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7176
[3.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/base-controller/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/base-controller",
3-
"version": "3.2.1",
3+
"version": "3.2.2",
44
"description": "Provides scaffolding for controllers as well a communication system for all controllers",
55
"keywords": [
66
"MetaMask",

packages/composable-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [3.0.2]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
913
## [3.0.1]
1014
### Changed
1115
- Bump dependency on `@metamask/base-controller` to ^3.2.1
@@ -37,7 +41,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3741

3842
All changes listed after this point were applied to this package following the monorepo conversion.
3943

40-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
44+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
45+
[3.0.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
4146
[3.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
4247
[3.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
4348
[2.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/composable-controller/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/composable-controller",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "Consolidates the state from multiple controllers into one",
55
"keywords": [
66
"MetaMask",
@@ -28,7 +28,7 @@
2828
"test:watch": "jest --watch"
2929
},
3030
"dependencies": {
31-
"@metamask/base-controller": "^3.2.1"
31+
"@metamask/base-controller": "^3.2.2"
3232
},
3333
"devDependencies": {
3434
"@metamask/auto-changelog": "^3.1.0",

packages/controller-utils/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [5.0.1]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
913
## [5.0.0]
1014
### Changed
1115
- **BREAKING**: Rename `NETWORK_ID_TO_ETHERS_NETWORK_NAME_MAP` to `CHAIN_ID_TO_ETHERS_NETWORK_NAME_MAP` ([#1633](https://github.com/MetaMask/core/pull/1633))
@@ -155,7 +159,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
155159

156160
All changes listed after this point were applied to this package following the monorepo conversion.
157161

158-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
162+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
163+
[5.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
159164
[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
160165
[4.3.2]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
161166
[4.3.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

packages/controller-utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@metamask/controller-utils",
3-
"version": "5.0.0",
3+
"version": "5.0.1",
44
"description": "Data and convenience functions shared by multiple packages",
55
"keywords": [
66
"MetaMask",

packages/controller-utils/src/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const BUILT_IN_NETWORKS = {
7878
chainId: ChainId['linea-goerli'],
7979
ticker: NetworksTicker['linea-goerli'],
8080
rpcPrefs: {
81-
blockExplorerUrl: 'https://explorer.goerli.linea.build',
81+
blockExplorerUrl: 'https://goerli.lineascan.build',
8282
},
8383
},
8484
[NetworkType['linea-mainnet']]: {

packages/ens-controller/CHANGELOG.md

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

77
## [Unreleased]
88

9+
## [5.0.1]
10+
### Changed
11+
- Update TypeScript to v4.8.x ([#1718](https://github.com/MetaMask/core/pull/1718))
12+
913
## [5.0.0]
1014
### Changed
1115
- **BREAKING**: Bump peer dependency on `@metamask/network-controller` to ^13.0.0 ([#1633](https://github.com/MetaMask/core/pull/1633))
@@ -66,7 +70,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6670

6771
All changes listed after this point were applied to this package following the monorepo conversion.
6872

69-
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
73+
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
74+
[5.0.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7075
[5.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7176
[4.1.1]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
7277
[4.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]

0 commit comments

Comments
 (0)