Skip to content

Commit

Permalink
Release 185.0.0 (#4618)
Browse files Browse the repository at this point in the history
Minor release of `network-controller`
  • Loading branch information
bergeron authored Aug 16, 2024
1 parent b4506ba commit cb86ba0
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/core-monorepo",
"version": "184.0.0",
"version": "185.0.0",
"private": true,
"description": "Monorepo for packages shared between MetaMask clients",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/assets-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@metamask/ethjs-provider-http": "^0.3.0",
"@metamask/keyring-api": "^8.1.0",
"@metamask/keyring-controller": "^17.1.2",
"@metamask/network-controller": "^20.1.0",
"@metamask/network-controller": "^20.2.0",
"@metamask/preferences-controller": "^13.0.1",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.191",
Expand Down
2 changes: 1 addition & 1 deletion packages/ens-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/network-controller": "^20.1.0",
"@metamask/network-controller": "^20.2.0",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/gas-fee-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/network-controller": "^20.1.0",
"@metamask/network-controller": "^20.2.0",
"@types/jest": "^27.4.1",
"@types/jest-when": "^2.7.3",
"deepmerge": "^4.2.2",
Expand Down
15 changes: 14 additions & 1 deletion packages/network-controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [20.2.0]

### Changed

- `upsertNetworkConfiguration` now accepts an optional id property on the NetworkConfiguration param. It allows a network configuration to have its rpcUrl updated in place when an id is specified, but only if that new rpcUrl does not already exist on a different network configuration. ([#4614](https://github.com/MetaMask/core/pull/4614))
- Bump `@metamask/eth-json-rpc-provider` to `^4.1.3` ([#4607](https://github.com/MetaMask/core/pull/4607))
- Update TypeScript to 5.2.2 ([#4576](https://github.com/MetaMask/core/pull/4576), [#4584](https://github.com/MetaMask/core/pull/4584))

### Fixed

- `removeNetworkConfiguration` now throws an error if you attempt to remove the selected network ([#4566](https://github.com/MetaMask/core/pull/4566))

## [20.1.0]

### Added
Expand Down Expand Up @@ -540,7 +552,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

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

[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/[email protected]
[20.2.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[20.1.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[20.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
[19.0.0]: https://github.com/MetaMask/core/compare/@metamask/[email protected]...@metamask/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion packages/network-controller/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@metamask/network-controller",
"version": "20.1.0",
"version": "20.2.0",
"description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object",
"keywords": [
"MetaMask",
Expand Down
2 changes: 1 addition & 1 deletion packages/polling-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/network-controller": "^20.1.0",
"@metamask/network-controller": "^20.2.0",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
"jest": "^27.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/queued-request-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/network-controller": "^20.1.0",
"@metamask/network-controller": "^20.2.0",
"@metamask/selected-network-controller": "^17.0.0",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/selected-network-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@metamask/auto-changelog": "^3.4.4",
"@metamask/network-controller": "^20.1.0",
"@metamask/network-controller": "^20.2.0",
"@metamask/permission-controller": "^11.0.0",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@metamask/ethjs-provider-http": "^0.3.0",
"@metamask/gas-fee-controller": "^19.0.1",
"@metamask/keyring-api": "^8.1.0",
"@metamask/network-controller": "^20.1.0",
"@metamask/network-controller": "^20.2.0",
"@types/bn.js": "^5.1.5",
"@types/jest": "^27.4.1",
"@types/node": "^16.18.54",
Expand Down
2 changes: 1 addition & 1 deletion packages/user-operation-controller/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@metamask/auto-changelog": "^3.4.4",
"@metamask/gas-fee-controller": "^19.0.1",
"@metamask/keyring-controller": "^17.1.2",
"@metamask/network-controller": "^20.1.0",
"@metamask/network-controller": "^20.2.0",
"@metamask/transaction-controller": "^35.1.1",
"@types/jest": "^27.4.1",
"deepmerge": "^4.2.2",
Expand Down
18 changes: 9 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2324,7 +2324,7 @@ __metadata:
"@metamask/keyring-api": "npm:^8.1.0"
"@metamask/keyring-controller": "npm:^17.1.2"
"@metamask/metamask-eth-abis": "npm:^3.1.1"
"@metamask/network-controller": "npm:^20.1.0"
"@metamask/network-controller": "npm:^20.2.0"
"@metamask/polling-controller": "npm:^9.0.1"
"@metamask/preferences-controller": "npm:^13.0.1"
"@metamask/rpc-errors": "npm:^6.3.1"
Expand Down Expand Up @@ -2632,7 +2632,7 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^6.0.2"
"@metamask/controller-utils": "npm:^11.0.2"
"@metamask/network-controller": "npm:^20.1.0"
"@metamask/network-controller": "npm:^20.2.0"
"@metamask/utils": "npm:^9.1.0"
"@types/jest": "npm:^27.4.1"
deepmerge: "npm:^4.2.2"
Expand Down Expand Up @@ -3007,7 +3007,7 @@ __metadata:
"@metamask/controller-utils": "npm:^11.0.2"
"@metamask/eth-query": "npm:^4.0.0"
"@metamask/ethjs-unit": "npm:^0.3.0"
"@metamask/network-controller": "npm:^20.1.0"
"@metamask/network-controller": "npm:^20.2.0"
"@metamask/polling-controller": "npm:^9.0.1"
"@metamask/utils": "npm:^9.1.0"
"@types/bn.js": "npm:^5.1.5"
Expand Down Expand Up @@ -3237,7 +3237,7 @@ __metadata:
languageName: unknown
linkType: soft

"@metamask/network-controller@npm:^20.1.0, @metamask/network-controller@workspace:packages/network-controller":
"@metamask/network-controller@npm:^20.2.0, @metamask/network-controller@workspace:packages/network-controller":
version: 0.0.0-use.local
resolution: "@metamask/network-controller@workspace:packages/network-controller"
dependencies:
Expand Down Expand Up @@ -3495,7 +3495,7 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^6.0.2"
"@metamask/controller-utils": "npm:^11.0.2"
"@metamask/network-controller": "npm:^20.1.0"
"@metamask/network-controller": "npm:^20.2.0"
"@metamask/utils": "npm:^9.1.0"
"@types/jest": "npm:^27.4.1"
"@types/uuid": "npm:^8.3.0"
Expand Down Expand Up @@ -3605,7 +3605,7 @@ __metadata:
"@metamask/base-controller": "npm:^6.0.2"
"@metamask/controller-utils": "npm:^11.0.2"
"@metamask/json-rpc-engine": "npm:^9.0.2"
"@metamask/network-controller": "npm:^20.1.0"
"@metamask/network-controller": "npm:^20.2.0"
"@metamask/rpc-errors": "npm:^6.3.1"
"@metamask/selected-network-controller": "npm:^17.0.0"
"@metamask/swappable-obj-proxy": "npm:^2.2.0"
Expand Down Expand Up @@ -3679,7 +3679,7 @@ __metadata:
"@metamask/auto-changelog": "npm:^3.4.4"
"@metamask/base-controller": "npm:^6.0.2"
"@metamask/json-rpc-engine": "npm:^9.0.2"
"@metamask/network-controller": "npm:^20.1.0"
"@metamask/network-controller": "npm:^20.2.0"
"@metamask/permission-controller": "npm:^11.0.0"
"@metamask/swappable-obj-proxy": "npm:^2.2.0"
"@metamask/utils": "npm:^9.1.0"
Expand Down Expand Up @@ -3946,7 +3946,7 @@ __metadata:
"@metamask/gas-fee-controller": "npm:^19.0.1"
"@metamask/keyring-api": "npm:^8.1.0"
"@metamask/metamask-eth-abis": "npm:^3.1.1"
"@metamask/network-controller": "npm:^20.1.0"
"@metamask/network-controller": "npm:^20.2.0"
"@metamask/nonce-tracker": "npm:^6.0.0"
"@metamask/rpc-errors": "npm:^6.3.1"
"@metamask/utils": "npm:^9.1.0"
Expand Down Expand Up @@ -3988,7 +3988,7 @@ __metadata:
"@metamask/eth-query": "npm:^4.0.0"
"@metamask/gas-fee-controller": "npm:^19.0.1"
"@metamask/keyring-controller": "npm:^17.1.2"
"@metamask/network-controller": "npm:^20.1.0"
"@metamask/network-controller": "npm:^20.2.0"
"@metamask/polling-controller": "npm:^9.0.1"
"@metamask/rpc-errors": "npm:^6.3.1"
"@metamask/superstruct": "npm:^3.1.0"
Expand Down

0 comments on commit cb86ba0

Please sign in to comment.