1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-01 13:47:06 +01:00

Bump @metamask/network-controller to 10.3.0 (#19903)

In the new version of NetworkController, it will now precreate network
clients for built-in and custom networks and expose those network
clients for consumers. This furthers the multichain UX project by making
it possible for MetaMask to interface with multiple networks
simultaneously.

This commit also upgrades `@metamask/gas-fee-controller` to prevent a
peer dependency warning from showing up as well as
`@metamask/controller-utils` in order to reduce the dependency tree.
There are no user-facing changes to either package.
This commit is contained in:
Elliot Winkler 2023-07-07 11:14:18 -07:00 committed by GitHub
parent b70c4a8042
commit b385cbcbcc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 44 deletions

4
.iyarc
View File

@ -3,6 +3,4 @@ GHSA-257v-vj4p-3w2h
# request library is subject to SSRF. # request library is subject to SSRF.
# addressed by temporary patch in .yarn/patches/request-npm-2.88.2-f4a57c72c4.patch # addressed by temporary patch in .yarn/patches/request-npm-2.88.2-f4a57c72c4.patch
# NOTE: Disabled for now since this library seems to have been removed from the GHSA-p8p7-x288-28g6
# dependency tree — we can re-enable this line later if it appears again
#GHSA-p8p7-x288-28g6

View File

@ -230,7 +230,7 @@
"@metamask/base-controller": "^3.0.0", "@metamask/base-controller": "^3.0.0",
"@metamask/browser-passworder": "^4.1.0", "@metamask/browser-passworder": "^4.1.0",
"@metamask/contract-metadata": "^2.3.1", "@metamask/contract-metadata": "^2.3.1",
"@metamask/controller-utils": "^4.0.1", "@metamask/controller-utils": "^4.1.0",
"@metamask/design-tokens": "^1.12.0", "@metamask/design-tokens": "^1.12.0",
"@metamask/desktop": "^0.3.0", "@metamask/desktop": "^0.3.0",
"@metamask/eth-json-rpc-middleware": "^11.0.0", "@metamask/eth-json-rpc-middleware": "^11.0.0",
@ -240,13 +240,13 @@
"@metamask/eth-token-tracker": "^4.0.0", "@metamask/eth-token-tracker": "^4.0.0",
"@metamask/eth-trezor-keyring": "^1.0.0", "@metamask/eth-trezor-keyring": "^1.0.0",
"@metamask/etherscan-link": "^2.2.0", "@metamask/etherscan-link": "^2.2.0",
"@metamask/gas-fee-controller": "^6.0.0", "@metamask/gas-fee-controller": "^6.0.1",
"@metamask/jazzicon": "^2.0.0", "@metamask/jazzicon": "^2.0.0",
"@metamask/key-tree": "^7.0.0", "@metamask/key-tree": "^7.0.0",
"@metamask/logo": "^3.1.1", "@metamask/logo": "^3.1.1",
"@metamask/message-manager": "^7.0.2", "@metamask/message-manager": "^7.0.2",
"@metamask/metamask-eth-abis": "^3.0.0", "@metamask/metamask-eth-abis": "^3.0.0",
"@metamask/network-controller": "^10.1.0", "@metamask/network-controller": "^10.3.0",
"@metamask/notification-controller": "^3.0.0", "@metamask/notification-controller": "^3.0.0",
"@metamask/obs-store": "^8.1.0", "@metamask/obs-store": "^8.1.0",
"@metamask/permission-controller": "^4.0.0", "@metamask/permission-controller": "^4.0.0",

View File

@ -4285,13 +4285,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@metamask/gas-fee-controller@npm:^6.0.0": "@metamask/gas-fee-controller@npm:^6.0.1":
version: 6.0.0 version: 6.0.1
resolution: "@metamask/gas-fee-controller@npm:6.0.0" resolution: "@metamask/gas-fee-controller@npm:6.0.1"
dependencies: dependencies:
"@metamask/base-controller": ^3.0.0 "@metamask/base-controller": ^3.0.0
"@metamask/controller-utils": ^4.0.0 "@metamask/controller-utils": ^4.1.0
"@metamask/network-controller": ^9.0.0 "@metamask/network-controller": ^10.3.0
"@metamask/utils": ^5.0.2 "@metamask/utils": ^5.0.2
"@types/uuid": ^8.3.0 "@types/uuid": ^8.3.0
babel-runtime: ^6.26.0 babel-runtime: ^6.26.0
@ -4301,8 +4301,8 @@ __metadata:
immer: ^9.0.6 immer: ^9.0.6
uuid: ^8.3.2 uuid: ^8.3.2
peerDependencies: peerDependencies:
"@metamask/network-controller": ^9.0.0 "@metamask/network-controller": ^10.3.0
checksum: e7f15b0d3043e228f85cfa462c800d7332845b8d13211b1688c68a3b4b09b921aaa9b3304688dd0b7e4d9abd59f96dab0f50259a90f35c4b50321e2805c65bfb checksum: 4a9243ee6aad355b4f2ef1a1065f1444f823721a02af2e8a8f35683f60f020a280f33be15bce95b24c4aff698408aaa263070bec020019b8bef561d55bdc949c
languageName: node languageName: node
linkType: hard linkType: hard
@ -4378,12 +4378,12 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@metamask/network-controller@npm:^10.1.0, @metamask/network-controller@npm:^10.2.0": "@metamask/network-controller@npm:^10.2.0, @metamask/network-controller@npm:^10.3.0":
version: 10.2.0 version: 10.3.0
resolution: "@metamask/network-controller@npm:10.2.0" resolution: "@metamask/network-controller@npm:10.3.0"
dependencies: dependencies:
"@metamask/base-controller": ^3.0.0 "@metamask/base-controller": ^3.0.0
"@metamask/controller-utils": ^4.0.1 "@metamask/controller-utils": ^4.1.0
"@metamask/eth-json-rpc-infura": ^8.0.0 "@metamask/eth-json-rpc-infura": ^8.0.0
"@metamask/eth-json-rpc-middleware": ^11.0.0 "@metamask/eth-json-rpc-middleware": ^11.0.0
"@metamask/eth-json-rpc-provider": ^1.0.0 "@metamask/eth-json-rpc-provider": ^1.0.0
@ -4397,7 +4397,7 @@ __metadata:
immer: ^9.0.6 immer: ^9.0.6
json-rpc-engine: ^6.1.0 json-rpc-engine: ^6.1.0
uuid: ^8.3.2 uuid: ^8.3.2
checksum: 6474125845d838564ef60105b5914369aa650a6769df5f3f2a471839f351d798984faa5e3184054a5bfb4ec738e2a50c6fbf31f9eceb9cea4c227651105295dc checksum: 0c48625af9c18be3ed2a433209db770bab02e667e251be1ef4c1f61a62c25907536ff740712bdfd799ac923a4a6bb9df5430ead8d4215507bbf30dcc7a40d53c
languageName: node languageName: node
linkType: hard linkType: hard
@ -4417,29 +4417,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@metamask/network-controller@npm:^9.0.0":
version: 9.0.0
resolution: "@metamask/network-controller@npm:9.0.0"
dependencies:
"@metamask/base-controller": ^3.0.0
"@metamask/controller-utils": ^4.0.0
"@metamask/eth-json-rpc-infura": ^8.0.0
"@metamask/eth-json-rpc-middleware": ^11.0.0
"@metamask/eth-json-rpc-provider": ^1.0.0
"@metamask/swappable-obj-proxy": ^2.1.0
"@metamask/utils": ^5.0.2
async-mutex: ^0.2.6
babel-runtime: ^6.26.0
eth-block-tracker: ^7.0.1
eth-query: ^2.1.2
eth-rpc-errors: ^4.0.2
immer: ^9.0.6
json-rpc-engine: ^6.1.0
uuid: ^8.3.2
checksum: 7548fe82990ff62d36a6c42a49442422fe3634933b6fc85b86a3bbb2788a755c73f3fa70a70ae48ddf09a70e3e33d375723980aec76e89cdf21b76b96a069b07
languageName: node
linkType: hard
"@metamask/notification-controller@npm:^3.0.0": "@metamask/notification-controller@npm:^3.0.0":
version: 3.0.0 version: 3.0.0
resolution: "@metamask/notification-controller@npm:3.0.0" resolution: "@metamask/notification-controller@npm:3.0.0"
@ -24507,7 +24484,7 @@ __metadata:
"@metamask/base-controller": ^3.0.0 "@metamask/base-controller": ^3.0.0
"@metamask/browser-passworder": ^4.1.0 "@metamask/browser-passworder": ^4.1.0
"@metamask/contract-metadata": ^2.3.1 "@metamask/contract-metadata": ^2.3.1
"@metamask/controller-utils": ^4.0.1 "@metamask/controller-utils": ^4.1.0
"@metamask/design-tokens": ^1.12.0 "@metamask/design-tokens": ^1.12.0
"@metamask/desktop": ^0.3.0 "@metamask/desktop": ^0.3.0
"@metamask/eslint-config": ^9.0.0 "@metamask/eslint-config": ^9.0.0
@ -24523,13 +24500,13 @@ __metadata:
"@metamask/eth-trezor-keyring": ^1.0.0 "@metamask/eth-trezor-keyring": ^1.0.0
"@metamask/etherscan-link": ^2.2.0 "@metamask/etherscan-link": ^2.2.0
"@metamask/forwarder": ^1.1.0 "@metamask/forwarder": ^1.1.0
"@metamask/gas-fee-controller": ^6.0.0 "@metamask/gas-fee-controller": ^6.0.1
"@metamask/jazzicon": ^2.0.0 "@metamask/jazzicon": ^2.0.0
"@metamask/key-tree": ^7.0.0 "@metamask/key-tree": ^7.0.0
"@metamask/logo": ^3.1.1 "@metamask/logo": ^3.1.1
"@metamask/message-manager": ^7.0.2 "@metamask/message-manager": ^7.0.2
"@metamask/metamask-eth-abis": ^3.0.0 "@metamask/metamask-eth-abis": ^3.0.0
"@metamask/network-controller": ^10.1.0 "@metamask/network-controller": ^10.3.0
"@metamask/notification-controller": ^3.0.0 "@metamask/notification-controller": ^3.0.0
"@metamask/obs-store": ^8.1.0 "@metamask/obs-store": ^8.1.0
"@metamask/permission-controller": ^4.0.0 "@metamask/permission-controller": ^4.0.0