diff --git a/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch b/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch deleted file mode 100644 index 5719ae0284f7..000000000000 --- a/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff --git a/PATCH.txt b/PATCH.txt -new file mode 100644 -index 0000000000000000000000000000000000000000..78b9156dc2b0bf7c33dadf325cb3ec0bfae71ccb ---- /dev/null -+++ b/PATCH.txt -@@ -0,0 +1,3 @@ -+We remove `lookupNetwork` from `initializeProvider` in the network controller to prevent network requests before user onboarding is completed. -+The network lookup is done after onboarding is completed, and when the extension reloads if onboarding has been completed. -+This patch is part of a temporary fix that will be reverted soon to make way for a more permanent solution. https://github.com/MetaMask/metamask-extension/pull/23005 -diff --git a/dist/chunk-BV3ZGWII.mjs b/dist/chunk-BV3ZGWII.mjs -index 0d1bf3b6348ad4ec7a799083fcadf36f9fc74851..48a09c6e474da9c18115bec88130a88888337044 100644 ---- a/dist/chunk-BV3ZGWII.mjs -+++ b/dist/chunk-BV3ZGWII.mjs -@@ -468,7 +468,6 @@ var NetworkController = class extends BaseController { - */ - async initializeProvider() { - __privateMethod(this, _applyNetworkSelection, applyNetworkSelection_fn).call(this, this.state.selectedNetworkClientId); -- await this.lookupNetwork(); - } - /** - * Refreshes the network meta with EIP-1559 support and the network status -diff --git a/dist/chunk-YOHMQPGM.js b/dist/chunk-YOHMQPGM.js -index ff15cd78ef90b35f86aae9dc64d17d1d2efe352d..14a8bba39c204585164dfb252d0a183844a58d63 100644 ---- a/dist/chunk-YOHMQPGM.js -+++ b/dist/chunk-YOHMQPGM.js -@@ -468,7 +468,6 @@ var NetworkController = class extends _basecontroller.BaseController { - */ - async initializeProvider() { - _chunkZ4BLTVTBjs.__privateMethod.call(void 0, this, _applyNetworkSelection, applyNetworkSelection_fn).call(this, this.state.selectedNetworkClientId); -- await this.lookupNetwork(); - } - /** - * Refreshes the network meta with EIP-1559 support and the network status diff --git a/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch b/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch new file mode 100644 index 000000000000..bebf56fe73dd --- /dev/null +++ b/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch @@ -0,0 +1,35 @@ +diff --git a/PATCH.txt b/PATCH.txt +new file mode 100644 +index 0000000000000000000000000000000000000000..ce3b18534f055ee00aa5821793f855fd300fb72c +--- /dev/null ++++ b/PATCH.txt +@@ -0,0 +1,4 @@ ++We remove lookupNetwork from initializeProvider in the network controller to prevent network requests before user onboarding is completed. ++The network lookup is done after onboarding is completed, and when the extension reloads if onboarding has been completed. ++This patch is part of a temporary fix that will be reverted soon to make way for a more permanent solution. https://github.com/MetaMask/metamask-extension/pull/23005 ++You can see the changes before compilation on this branch: https://github.com/MetaMask/core/compare/pnf/ext-23622-review?expand=1 +\ No newline at end of file +diff --git a/dist/NetworkController.cjs b/dist/NetworkController.cjs +index b85de6f29620feecf6f1e395f3d25c96fb10f204..68c894de3975ab917e8320b5937b19a9b3ddd4ca 100644 +--- a/dist/NetworkController.cjs ++++ b/dist/NetworkController.cjs +@@ -408,7 +408,6 @@ class NetworkController extends base_controller_1.BaseController { + */ + async initializeProvider() { + __classPrivateFieldGet(this, _NetworkController_instances, "m", _NetworkController_applyNetworkSelection).call(this, this.state.selectedNetworkClientId); +- await this.lookupNetwork(); + } + /** + * Refreshes the network meta with EIP-1559 support and the network status +diff --git a/dist/NetworkController.mjs b/dist/NetworkController.mjs +index 966da694324513857dc6766590a4c965dedc2e3d..eb2fe95f9d77fa781d2bce97b7007d4676a3bede 100644 +--- a/dist/NetworkController.mjs ++++ b/dist/NetworkController.mjs +@@ -383,7 +383,6 @@ export class NetworkController extends BaseController { + */ + async initializeProvider() { + __classPrivateFieldGet(this, _NetworkController_instances, "m", _NetworkController_applyNetworkSelection).call(this, this.state.selectedNetworkClientId); +- await this.lookupNetwork(); + } + /** + * Refreshes the network meta with EIP-1559 support and the network status diff --git a/lavamoat/browserify/beta/policy.json b/lavamoat/browserify/beta/policy.json index 47227aeef932..1459a7013d1a 100644 --- a/lavamoat/browserify/beta/policy.json +++ b/lavamoat/browserify/beta/policy.json @@ -675,13 +675,13 @@ "@ethersproject/contracts": true, "@ethersproject/providers": true, "@metamask/abi-utils": true, - "@metamask/assets-controllers>@metamask/polling-controller": true, "@metamask/base-controller": true, "@metamask/contract-metadata": true, "@metamask/controller-utils": true, "@metamask/eth-query": true, "@metamask/metamask-eth-abis": true, "@metamask/name-controller>async-mutex": true, + "@metamask/polling-controller": true, "@metamask/rpc-errors": true, "@metamask/utils": true, "bn.js": true, @@ -692,18 +692,6 @@ "uuid": true } }, - "@metamask/assets-controllers>@metamask/polling-controller": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/base-controller": true, - "@metamask/snaps-utils>fast-json-stable-stringify": true, - "uuid": true - } - }, "@metamask/base-controller": { "globals": { "setTimeout": true @@ -796,25 +784,10 @@ "@ethersproject/providers": true, "@metamask/base-controller": true, "@metamask/controller-utils": true, - "@metamask/ens-controller>@metamask/utils": true, + "@metamask/utils": true, "punycode": true } }, - "@metamask/ens-controller>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, "@metamask/eth-json-rpc-filters": { "globals": { "console.error": true @@ -1737,69 +1710,35 @@ "packages": { "@metamask/base-controller": true, "@metamask/controller-utils": true, + "@metamask/eth-json-rpc-middleware": true, "@metamask/eth-json-rpc-provider": true, "@metamask/eth-query": true, - "@metamask/eth-token-tracker>@metamask/eth-block-tracker": true, + "@metamask/json-rpc-engine": true, + "@metamask/network-controller>@metamask/eth-block-tracker": true, "@metamask/network-controller>@metamask/eth-json-rpc-infura": true, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware": true, - "@metamask/network-controller>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/rpc-errors": true, "@metamask/network-controller>@metamask/swappable-obj-proxy": true, - "@metamask/network-controller>@metamask/utils": true, "@metamask/network-controller>reselect": true, + "@metamask/rpc-errors": true, + "@metamask/utils": true, "browserify>assert": true, "browserify>util": true, "uri-js": true, "uuid": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura": { + "@metamask/network-controller>@metamask/eth-block-tracker": { "globals": { + "clearTimeout": true, + "console.error": true, "setTimeout": true }, "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, - "node-fetch": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true, - "@metamask/safe-event-emitter": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, + "@metamask/eth-query>json-rpc-random-id": true, + "@metamask/network-controller>@metamask/eth-block-tracker>@metamask/utils": true, "@metamask/safe-event-emitter": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors>@metamask/utils": true, - "@metamask/rpc-errors>fast-safe-stringify": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": { + "@metamask/network-controller>@metamask/eth-block-tracker>@metamask/utils": { "globals": { "TextDecoder": true, "TextEncoder": true @@ -1814,52 +1753,19 @@ "semver": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware": { + "@metamask/network-controller>@metamask/eth-json-rpc-infura": { "globals": { - "URL": true, - "console.error": true, + "fetch": true, "setTimeout": true }, "packages": { - "@metamask/eth-json-rpc-middleware>klona": true, - "@metamask/eth-json-rpc-middleware>safe-stable-stringify": true, - "@metamask/eth-sig-util": true, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware>@metamask/utils": true, - "@metamask/network-controller>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/rpc-errors": true, - "bn.js": true, - "pify": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, - "@metamask/network-controller>@metamask/json-rpc-engine": { - "packages": { - "@metamask/network-controller>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/utils": true, - "@metamask/safe-event-emitter": true - } - }, - "@metamask/network-controller>@metamask/rpc-errors": { - "packages": { - "@metamask/network-controller>@metamask/utils": true, - "@metamask/rpc-errors>fast-safe-stringify": true + "@metamask/eth-json-rpc-provider": true, + "@metamask/json-rpc-engine": true, + "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, + "@metamask/rpc-errors": true } }, - "@metamask/network-controller>@metamask/utils": { + "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": { "globals": { "TextDecoder": true, "TextEncoder": true @@ -2439,9 +2345,9 @@ "@ethersproject/bytes": true, "@metamask/controller-utils": true, "@metamask/eth-query": true, + "@metamask/polling-controller": true, "@metamask/smart-transactions-controller>@ethereumjs/tx": true, "@metamask/smart-transactions-controller>@ethereumjs/util": true, - "@metamask/smart-transactions-controller>@metamask/polling-controller": true, "@metamask/smart-transactions-controller>bignumber.js": true, "@metamask/transaction-controller": true, "browserify>buffer": true, @@ -2473,18 +2379,6 @@ "crypto.getRandomValues": true } }, - "@metamask/smart-transactions-controller>@metamask/polling-controller": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/base-controller": true, - "@metamask/snaps-utils>fast-json-stable-stringify": true, - "uuid": true - } - }, "@metamask/smart-transactions-controller>bignumber.js": { "globals": { "crypto": true, @@ -2787,7 +2681,7 @@ "@metamask/polling-controller": true, "@metamask/rpc-errors": true, "@metamask/transaction-controller": true, - "@metamask/user-operation-controller>@metamask/utils": true, + "@metamask/utils": true, "@metamask/utils>@metamask/superstruct": true, "bn.js": true, "lodash": true, @@ -2795,21 +2689,6 @@ "webpack>events": true } }, - "@metamask/user-operation-controller>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, "@metamask/utils": { "globals": { "TextDecoder": true, diff --git a/lavamoat/browserify/flask/policy.json b/lavamoat/browserify/flask/policy.json index 47227aeef932..1459a7013d1a 100644 --- a/lavamoat/browserify/flask/policy.json +++ b/lavamoat/browserify/flask/policy.json @@ -675,13 +675,13 @@ "@ethersproject/contracts": true, "@ethersproject/providers": true, "@metamask/abi-utils": true, - "@metamask/assets-controllers>@metamask/polling-controller": true, "@metamask/base-controller": true, "@metamask/contract-metadata": true, "@metamask/controller-utils": true, "@metamask/eth-query": true, "@metamask/metamask-eth-abis": true, "@metamask/name-controller>async-mutex": true, + "@metamask/polling-controller": true, "@metamask/rpc-errors": true, "@metamask/utils": true, "bn.js": true, @@ -692,18 +692,6 @@ "uuid": true } }, - "@metamask/assets-controllers>@metamask/polling-controller": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/base-controller": true, - "@metamask/snaps-utils>fast-json-stable-stringify": true, - "uuid": true - } - }, "@metamask/base-controller": { "globals": { "setTimeout": true @@ -796,25 +784,10 @@ "@ethersproject/providers": true, "@metamask/base-controller": true, "@metamask/controller-utils": true, - "@metamask/ens-controller>@metamask/utils": true, + "@metamask/utils": true, "punycode": true } }, - "@metamask/ens-controller>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, "@metamask/eth-json-rpc-filters": { "globals": { "console.error": true @@ -1737,69 +1710,35 @@ "packages": { "@metamask/base-controller": true, "@metamask/controller-utils": true, + "@metamask/eth-json-rpc-middleware": true, "@metamask/eth-json-rpc-provider": true, "@metamask/eth-query": true, - "@metamask/eth-token-tracker>@metamask/eth-block-tracker": true, + "@metamask/json-rpc-engine": true, + "@metamask/network-controller>@metamask/eth-block-tracker": true, "@metamask/network-controller>@metamask/eth-json-rpc-infura": true, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware": true, - "@metamask/network-controller>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/rpc-errors": true, "@metamask/network-controller>@metamask/swappable-obj-proxy": true, - "@metamask/network-controller>@metamask/utils": true, "@metamask/network-controller>reselect": true, + "@metamask/rpc-errors": true, + "@metamask/utils": true, "browserify>assert": true, "browserify>util": true, "uri-js": true, "uuid": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura": { + "@metamask/network-controller>@metamask/eth-block-tracker": { "globals": { + "clearTimeout": true, + "console.error": true, "setTimeout": true }, "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, - "node-fetch": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true, - "@metamask/safe-event-emitter": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, + "@metamask/eth-query>json-rpc-random-id": true, + "@metamask/network-controller>@metamask/eth-block-tracker>@metamask/utils": true, "@metamask/safe-event-emitter": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors>@metamask/utils": true, - "@metamask/rpc-errors>fast-safe-stringify": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": { + "@metamask/network-controller>@metamask/eth-block-tracker>@metamask/utils": { "globals": { "TextDecoder": true, "TextEncoder": true @@ -1814,52 +1753,19 @@ "semver": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware": { + "@metamask/network-controller>@metamask/eth-json-rpc-infura": { "globals": { - "URL": true, - "console.error": true, + "fetch": true, "setTimeout": true }, "packages": { - "@metamask/eth-json-rpc-middleware>klona": true, - "@metamask/eth-json-rpc-middleware>safe-stable-stringify": true, - "@metamask/eth-sig-util": true, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware>@metamask/utils": true, - "@metamask/network-controller>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/rpc-errors": true, - "bn.js": true, - "pify": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, - "@metamask/network-controller>@metamask/json-rpc-engine": { - "packages": { - "@metamask/network-controller>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/utils": true, - "@metamask/safe-event-emitter": true - } - }, - "@metamask/network-controller>@metamask/rpc-errors": { - "packages": { - "@metamask/network-controller>@metamask/utils": true, - "@metamask/rpc-errors>fast-safe-stringify": true + "@metamask/eth-json-rpc-provider": true, + "@metamask/json-rpc-engine": true, + "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, + "@metamask/rpc-errors": true } }, - "@metamask/network-controller>@metamask/utils": { + "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": { "globals": { "TextDecoder": true, "TextEncoder": true @@ -2439,9 +2345,9 @@ "@ethersproject/bytes": true, "@metamask/controller-utils": true, "@metamask/eth-query": true, + "@metamask/polling-controller": true, "@metamask/smart-transactions-controller>@ethereumjs/tx": true, "@metamask/smart-transactions-controller>@ethereumjs/util": true, - "@metamask/smart-transactions-controller>@metamask/polling-controller": true, "@metamask/smart-transactions-controller>bignumber.js": true, "@metamask/transaction-controller": true, "browserify>buffer": true, @@ -2473,18 +2379,6 @@ "crypto.getRandomValues": true } }, - "@metamask/smart-transactions-controller>@metamask/polling-controller": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/base-controller": true, - "@metamask/snaps-utils>fast-json-stable-stringify": true, - "uuid": true - } - }, "@metamask/smart-transactions-controller>bignumber.js": { "globals": { "crypto": true, @@ -2787,7 +2681,7 @@ "@metamask/polling-controller": true, "@metamask/rpc-errors": true, "@metamask/transaction-controller": true, - "@metamask/user-operation-controller>@metamask/utils": true, + "@metamask/utils": true, "@metamask/utils>@metamask/superstruct": true, "bn.js": true, "lodash": true, @@ -2795,21 +2689,6 @@ "webpack>events": true } }, - "@metamask/user-operation-controller>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, "@metamask/utils": { "globals": { "TextDecoder": true, diff --git a/lavamoat/browserify/main/policy.json b/lavamoat/browserify/main/policy.json index 47227aeef932..1459a7013d1a 100644 --- a/lavamoat/browserify/main/policy.json +++ b/lavamoat/browserify/main/policy.json @@ -675,13 +675,13 @@ "@ethersproject/contracts": true, "@ethersproject/providers": true, "@metamask/abi-utils": true, - "@metamask/assets-controllers>@metamask/polling-controller": true, "@metamask/base-controller": true, "@metamask/contract-metadata": true, "@metamask/controller-utils": true, "@metamask/eth-query": true, "@metamask/metamask-eth-abis": true, "@metamask/name-controller>async-mutex": true, + "@metamask/polling-controller": true, "@metamask/rpc-errors": true, "@metamask/utils": true, "bn.js": true, @@ -692,18 +692,6 @@ "uuid": true } }, - "@metamask/assets-controllers>@metamask/polling-controller": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/base-controller": true, - "@metamask/snaps-utils>fast-json-stable-stringify": true, - "uuid": true - } - }, "@metamask/base-controller": { "globals": { "setTimeout": true @@ -796,25 +784,10 @@ "@ethersproject/providers": true, "@metamask/base-controller": true, "@metamask/controller-utils": true, - "@metamask/ens-controller>@metamask/utils": true, + "@metamask/utils": true, "punycode": true } }, - "@metamask/ens-controller>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, "@metamask/eth-json-rpc-filters": { "globals": { "console.error": true @@ -1737,69 +1710,35 @@ "packages": { "@metamask/base-controller": true, "@metamask/controller-utils": true, + "@metamask/eth-json-rpc-middleware": true, "@metamask/eth-json-rpc-provider": true, "@metamask/eth-query": true, - "@metamask/eth-token-tracker>@metamask/eth-block-tracker": true, + "@metamask/json-rpc-engine": true, + "@metamask/network-controller>@metamask/eth-block-tracker": true, "@metamask/network-controller>@metamask/eth-json-rpc-infura": true, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware": true, - "@metamask/network-controller>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/rpc-errors": true, "@metamask/network-controller>@metamask/swappable-obj-proxy": true, - "@metamask/network-controller>@metamask/utils": true, "@metamask/network-controller>reselect": true, + "@metamask/rpc-errors": true, + "@metamask/utils": true, "browserify>assert": true, "browserify>util": true, "uri-js": true, "uuid": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura": { + "@metamask/network-controller>@metamask/eth-block-tracker": { "globals": { + "clearTimeout": true, + "console.error": true, "setTimeout": true }, "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, - "node-fetch": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true, - "@metamask/safe-event-emitter": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, + "@metamask/eth-query>json-rpc-random-id": true, + "@metamask/network-controller>@metamask/eth-block-tracker>@metamask/utils": true, "@metamask/safe-event-emitter": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors>@metamask/utils": true, - "@metamask/rpc-errors>fast-safe-stringify": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": { + "@metamask/network-controller>@metamask/eth-block-tracker>@metamask/utils": { "globals": { "TextDecoder": true, "TextEncoder": true @@ -1814,52 +1753,19 @@ "semver": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware": { + "@metamask/network-controller>@metamask/eth-json-rpc-infura": { "globals": { - "URL": true, - "console.error": true, + "fetch": true, "setTimeout": true }, "packages": { - "@metamask/eth-json-rpc-middleware>klona": true, - "@metamask/eth-json-rpc-middleware>safe-stable-stringify": true, - "@metamask/eth-sig-util": true, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware>@metamask/utils": true, - "@metamask/network-controller>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/rpc-errors": true, - "bn.js": true, - "pify": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, - "@metamask/network-controller>@metamask/json-rpc-engine": { - "packages": { - "@metamask/network-controller>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/utils": true, - "@metamask/safe-event-emitter": true - } - }, - "@metamask/network-controller>@metamask/rpc-errors": { - "packages": { - "@metamask/network-controller>@metamask/utils": true, - "@metamask/rpc-errors>fast-safe-stringify": true + "@metamask/eth-json-rpc-provider": true, + "@metamask/json-rpc-engine": true, + "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, + "@metamask/rpc-errors": true } }, - "@metamask/network-controller>@metamask/utils": { + "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": { "globals": { "TextDecoder": true, "TextEncoder": true @@ -2439,9 +2345,9 @@ "@ethersproject/bytes": true, "@metamask/controller-utils": true, "@metamask/eth-query": true, + "@metamask/polling-controller": true, "@metamask/smart-transactions-controller>@ethereumjs/tx": true, "@metamask/smart-transactions-controller>@ethereumjs/util": true, - "@metamask/smart-transactions-controller>@metamask/polling-controller": true, "@metamask/smart-transactions-controller>bignumber.js": true, "@metamask/transaction-controller": true, "browserify>buffer": true, @@ -2473,18 +2379,6 @@ "crypto.getRandomValues": true } }, - "@metamask/smart-transactions-controller>@metamask/polling-controller": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/base-controller": true, - "@metamask/snaps-utils>fast-json-stable-stringify": true, - "uuid": true - } - }, "@metamask/smart-transactions-controller>bignumber.js": { "globals": { "crypto": true, @@ -2787,7 +2681,7 @@ "@metamask/polling-controller": true, "@metamask/rpc-errors": true, "@metamask/transaction-controller": true, - "@metamask/user-operation-controller>@metamask/utils": true, + "@metamask/utils": true, "@metamask/utils>@metamask/superstruct": true, "bn.js": true, "lodash": true, @@ -2795,21 +2689,6 @@ "webpack>events": true } }, - "@metamask/user-operation-controller>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, "@metamask/utils": { "globals": { "TextDecoder": true, diff --git a/lavamoat/browserify/mmi/policy.json b/lavamoat/browserify/mmi/policy.json index 89eedc822794..621f2ac9acf3 100644 --- a/lavamoat/browserify/mmi/policy.json +++ b/lavamoat/browserify/mmi/policy.json @@ -767,13 +767,13 @@ "@ethersproject/contracts": true, "@ethersproject/providers": true, "@metamask/abi-utils": true, - "@metamask/assets-controllers>@metamask/polling-controller": true, "@metamask/base-controller": true, "@metamask/contract-metadata": true, "@metamask/controller-utils": true, "@metamask/eth-query": true, "@metamask/metamask-eth-abis": true, "@metamask/name-controller>async-mutex": true, + "@metamask/polling-controller": true, "@metamask/rpc-errors": true, "@metamask/utils": true, "bn.js": true, @@ -784,18 +784,6 @@ "uuid": true } }, - "@metamask/assets-controllers>@metamask/polling-controller": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/base-controller": true, - "@metamask/snaps-utils>fast-json-stable-stringify": true, - "uuid": true - } - }, "@metamask/base-controller": { "globals": { "setTimeout": true @@ -888,25 +876,10 @@ "@ethersproject/providers": true, "@metamask/base-controller": true, "@metamask/controller-utils": true, - "@metamask/ens-controller>@metamask/utils": true, + "@metamask/utils": true, "punycode": true } }, - "@metamask/ens-controller>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, "@metamask/eth-json-rpc-filters": { "globals": { "console.error": true @@ -1829,69 +1802,35 @@ "packages": { "@metamask/base-controller": true, "@metamask/controller-utils": true, + "@metamask/eth-json-rpc-middleware": true, "@metamask/eth-json-rpc-provider": true, "@metamask/eth-query": true, - "@metamask/eth-token-tracker>@metamask/eth-block-tracker": true, + "@metamask/json-rpc-engine": true, + "@metamask/network-controller>@metamask/eth-block-tracker": true, "@metamask/network-controller>@metamask/eth-json-rpc-infura": true, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware": true, - "@metamask/network-controller>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/rpc-errors": true, "@metamask/network-controller>@metamask/swappable-obj-proxy": true, - "@metamask/network-controller>@metamask/utils": true, "@metamask/network-controller>reselect": true, + "@metamask/rpc-errors": true, + "@metamask/utils": true, "browserify>assert": true, "browserify>util": true, "uri-js": true, "uuid": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura": { + "@metamask/network-controller>@metamask/eth-block-tracker": { "globals": { + "clearTimeout": true, + "console.error": true, "setTimeout": true }, "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, - "node-fetch": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true, - "@metamask/safe-event-emitter": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, + "@metamask/eth-query>json-rpc-random-id": true, + "@metamask/network-controller>@metamask/eth-block-tracker>@metamask/utils": true, "@metamask/safe-event-emitter": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors": { - "packages": { - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors>@metamask/utils": true, - "@metamask/rpc-errors>fast-safe-stringify": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/rpc-errors>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": { + "@metamask/network-controller>@metamask/eth-block-tracker>@metamask/utils": { "globals": { "TextDecoder": true, "TextEncoder": true @@ -1906,52 +1845,19 @@ "semver": true } }, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware": { + "@metamask/network-controller>@metamask/eth-json-rpc-infura": { "globals": { - "URL": true, - "console.error": true, + "fetch": true, "setTimeout": true }, "packages": { - "@metamask/eth-json-rpc-middleware>klona": true, - "@metamask/eth-json-rpc-middleware>safe-stable-stringify": true, - "@metamask/eth-sig-util": true, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware>@metamask/utils": true, - "@metamask/network-controller>@metamask/json-rpc-engine": true, - "@metamask/network-controller>@metamask/rpc-errors": true, - "bn.js": true, - "pify": true - } - }, - "@metamask/network-controller>@metamask/eth-json-rpc-middleware>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, - "@metamask/network-controller>@metamask/json-rpc-engine": { - "packages": { - "@metamask/network-controller>@metamask/rpc-errors": true, - "@metamask/network-controller>@metamask/utils": true, - "@metamask/safe-event-emitter": true - } - }, - "@metamask/network-controller>@metamask/rpc-errors": { - "packages": { - "@metamask/network-controller>@metamask/utils": true, - "@metamask/rpc-errors>fast-safe-stringify": true + "@metamask/eth-json-rpc-provider": true, + "@metamask/json-rpc-engine": true, + "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": true, + "@metamask/rpc-errors": true } }, - "@metamask/network-controller>@metamask/utils": { + "@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/utils": { "globals": { "TextDecoder": true, "TextEncoder": true @@ -2531,9 +2437,9 @@ "@ethersproject/bytes": true, "@metamask/controller-utils": true, "@metamask/eth-query": true, + "@metamask/polling-controller": true, "@metamask/smart-transactions-controller>@ethereumjs/tx": true, "@metamask/smart-transactions-controller>@ethereumjs/util": true, - "@metamask/smart-transactions-controller>@metamask/polling-controller": true, "@metamask/smart-transactions-controller>bignumber.js": true, "@metamask/transaction-controller": true, "browserify>buffer": true, @@ -2565,18 +2471,6 @@ "crypto.getRandomValues": true } }, - "@metamask/smart-transactions-controller>@metamask/polling-controller": { - "globals": { - "clearTimeout": true, - "console.error": true, - "setTimeout": true - }, - "packages": { - "@metamask/base-controller": true, - "@metamask/snaps-utils>fast-json-stable-stringify": true, - "uuid": true - } - }, "@metamask/smart-transactions-controller>bignumber.js": { "globals": { "crypto": true, @@ -2879,7 +2773,7 @@ "@metamask/polling-controller": true, "@metamask/rpc-errors": true, "@metamask/transaction-controller": true, - "@metamask/user-operation-controller>@metamask/utils": true, + "@metamask/utils": true, "@metamask/utils>@metamask/superstruct": true, "bn.js": true, "lodash": true, @@ -2887,21 +2781,6 @@ "webpack>events": true } }, - "@metamask/user-operation-controller>@metamask/utils": { - "globals": { - "TextDecoder": true, - "TextEncoder": true - }, - "packages": { - "@metamask/utils>@metamask/superstruct": true, - "@metamask/utils>@scure/base": true, - "@metamask/utils>pony-cause": true, - "@noble/hashes": true, - "browserify>buffer": true, - "nock>debug": true, - "semver": true - } - }, "@metamask/utils": { "globals": { "TextDecoder": true, diff --git a/package.json b/package.json index 803853059703..c3b256940df1 100644 --- a/package.json +++ b/package.json @@ -241,9 +241,7 @@ "@expo/config-plugins/glob": "^10.3.10", "@solana/web3.js/rpc-websockets": "^8.0.1", "@metamask/nonce-tracker@npm:^5.0.0": "patch:@metamask/nonce-tracker@npm%3A5.0.0#~/.yarn/patches/@metamask-nonce-tracker-npm-5.0.0-d81478218e.patch", - "@metamask/network-controller@npm:^17.0.0": "patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch", - "@metamask/network-controller@npm:^19.0.0": "patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch", - "@metamask/network-controller@npm:^20.0.0": "patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch", + "@metamask/network-controller@npm:^21.0.0": "patch:@metamask/network-controller@npm%3A22.0.2#~/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch", "path-to-regexp": "1.9.0", "@ledgerhq/cryptoassets-evm-signatures/axios": "^0.28.0", "@ledgerhq/domain-service/axios": "^0.28.0", @@ -294,7 +292,7 @@ "@metamask/contract-metadata": "^2.5.0", "@metamask/controller-utils": "^11.4.0", "@metamask/design-tokens": "^4.0.0", - "@metamask/ens-controller": "^14.0.0", + "@metamask/ens-controller": "^15.0.0", "@metamask/ens-resolver-snap": "^0.1.2", "@metamask/eth-json-rpc-filters": "^9.0.0", "@metamask/eth-json-rpc-middleware": "^15.0.0", @@ -308,7 +306,7 @@ "@metamask/ethjs": "^0.6.0", "@metamask/ethjs-contract": "^0.4.1", "@metamask/ethjs-query": "^0.7.1", - "@metamask/gas-fee-controller": "^21.0.0", + "@metamask/gas-fee-controller": "^22.0.1", "@metamask/jazzicon": "^2.0.0", "@metamask/json-rpc-engine": "^10.0.0", "@metamask/json-rpc-middleware-stream": "^8.0.4", @@ -320,14 +318,14 @@ "@metamask/message-signing-snap": "^0.4.0", "@metamask/metamask-eth-abis": "^3.1.1", "@metamask/name-controller": "^8.0.0", - "@metamask/network-controller": "patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch", + "@metamask/network-controller": "patch:@metamask/network-controller@npm%3A22.0.2#~/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch", "@metamask/notification-services-controller": "^0.14.0", "@metamask/object-multiplex": "^2.0.0", "@metamask/obs-store": "^9.0.0", "@metamask/permission-controller": "^11.0.0", "@metamask/permission-log-controller": "^3.0.1", "@metamask/phishing-controller": "^12.3.0", - "@metamask/polling-controller": "^11.0.0", + "@metamask/polling-controller": "^12.0.1", "@metamask/post-message-stream": "^8.0.0", "@metamask/ppom-validator": "0.35.1", "@metamask/preinstalled-example-snap": "^0.2.0", @@ -338,7 +336,7 @@ "@metamask/rpc-errors": "^7.0.0", "@metamask/safe-event-emitter": "^3.1.1", "@metamask/scure-bip39": "^2.0.3", - "@metamask/selected-network-controller": "^18.0.2", + "@metamask/selected-network-controller": "^19.0.0", "@metamask/signature-controller": "^23.0.0", "@metamask/smart-transactions-controller": "^15.0.0", "@metamask/snaps-controllers": "^9.14.0", @@ -348,7 +346,7 @@ "@metamask/snaps-utils": "^8.6.0", "@metamask/solana-wallet-snap": "^0.1.9", "@metamask/transaction-controller": "^41.0.0", - "@metamask/user-operation-controller": "^16.0.0", + "@metamask/user-operation-controller": "^19.0.0", "@metamask/utils": "^10.0.1", "@ngraveio/bc-ur": "^1.1.12", "@noble/hashes": "^1.3.3", diff --git a/yarn.lock b/yarn.lock index c88156929c17..3963e3ad2ba4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5081,18 +5081,18 @@ __metadata: languageName: node linkType: hard -"@metamask/ens-controller@npm:^14.0.0": - version: 14.0.1 - resolution: "@metamask/ens-controller@npm:14.0.1" +"@metamask/ens-controller@npm:^15.0.0": + version: 15.0.0 + resolution: "@metamask/ens-controller@npm:15.0.0" dependencies: "@ethersproject/providers": "npm:^5.7.0" "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" - "@metamask/utils": "npm:^9.1.0" + "@metamask/controller-utils": "npm:^11.4.0" + "@metamask/utils": "npm:^10.0.0" punycode: "npm:^2.1.1" peerDependencies: - "@metamask/network-controller": ^21.0.0 - checksum: 10/1b57a781f4c53d7e60afda11b3994e977af1149aa5651c20b4dc56010de597fd9c9ada28847491d3fe862f0a8f08b96b17a759f742e870ca5911609e07f5dc6c + "@metamask/network-controller": ^22.0.0 + checksum: 10/e61a3e469802689c73821faf8c9fce3efee9e52156d07da8afa674f973787a77fb39bc3faad53fe054644a9e4489f7c5ec67e00ce80c6062ce97f68dee20076e languageName: node linkType: hard @@ -5237,38 +5237,6 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-json-rpc-infura@npm:^9.1.0": - version: 9.1.0 - resolution: "@metamask/eth-json-rpc-infura@npm:9.1.0" - dependencies: - "@metamask/eth-json-rpc-provider": "npm:^2.1.0" - "@metamask/json-rpc-engine": "npm:^7.1.1" - "@metamask/rpc-errors": "npm:^6.0.0" - "@metamask/utils": "npm:^8.1.0" - node-fetch: "npm:^2.7.0" - checksum: 10/9e01b3eb76d3f1b4989ba368f11acb124eb846321020e2fba8c7ff77dc5258fa2df1556f40812d736d63ee159a944beab6a761a661f72e722badcb4f78b5f0f6 - languageName: node - linkType: hard - -"@metamask/eth-json-rpc-middleware@npm:^13.0.0": - version: 13.0.0 - resolution: "@metamask/eth-json-rpc-middleware@npm:13.0.0" - dependencies: - "@metamask/eth-block-tracker": "npm:^10.0.0" - "@metamask/eth-json-rpc-provider": "npm:^4.0.0" - "@metamask/eth-sig-util": "npm:^7.0.0" - "@metamask/json-rpc-engine": "npm:^9.0.0" - "@metamask/rpc-errors": "npm:^6.0.0" - "@metamask/utils": "npm:^8.1.0" - "@types/bn.js": "npm:^5.1.5" - bn.js: "npm:^5.2.1" - klona: "npm:^2.0.6" - pify: "npm:^5.0.0" - safe-stable-stringify: "npm:^2.4.3" - checksum: 10/e2b38da46b15e7c3d75fc0a1191ff5e2a0161c847c415640024155bea635016a0c94a4bd352b5aa6aa7e95615cb45c030a0f1cbc90c2dca331de3f5306df3d3a - languageName: node - linkType: hard - "@metamask/eth-json-rpc-middleware@npm:^15.0.0": version: 15.0.0 resolution: "@metamask/eth-json-rpc-middleware@npm:15.0.0" @@ -5288,18 +5256,7 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-json-rpc-provider@npm:^2.1.0": - version: 2.3.2 - resolution: "@metamask/eth-json-rpc-provider@npm:2.3.2" - dependencies: - "@metamask/json-rpc-engine": "npm:^7.3.2" - "@metamask/safe-event-emitter": "npm:^3.0.0" - "@metamask/utils": "npm:^8.3.0" - checksum: 10/e6731271aad3b972d85b9230c26d35a9b88722f3bd3024675ad2f568e634e9fdfef4717ef2892f3cc512d381cf17a4e20dbd5eb808ced765082bea3379ad6ddc - languageName: node - linkType: hard - -"@metamask/eth-json-rpc-provider@npm:^4.0.0, @metamask/eth-json-rpc-provider@npm:^4.1.3, @metamask/eth-json-rpc-provider@npm:^4.1.5, @metamask/eth-json-rpc-provider@npm:^4.1.6": +"@metamask/eth-json-rpc-provider@npm:^4.0.0, @metamask/eth-json-rpc-provider@npm:^4.1.5, @metamask/eth-json-rpc-provider@npm:^4.1.6": version: 4.1.6 resolution: "@metamask/eth-json-rpc-provider@npm:4.1.6" dependencies: @@ -5336,7 +5293,7 @@ __metadata: languageName: node linkType: hard -"@metamask/eth-sig-util@npm:^7.0.0, @metamask/eth-sig-util@npm:^7.0.1, @metamask/eth-sig-util@npm:^7.0.3": +"@metamask/eth-sig-util@npm:^7.0.1, @metamask/eth-sig-util@npm:^7.0.3": version: 7.0.3 resolution: "@metamask/eth-sig-util@npm:7.0.3" dependencies: @@ -5560,23 +5517,23 @@ __metadata: languageName: node linkType: hard -"@metamask/gas-fee-controller@npm:^21.0.0": - version: 21.0.0 - resolution: "@metamask/gas-fee-controller@npm:21.0.0" +"@metamask/gas-fee-controller@npm:^22.0.1": + version: 22.0.1 + resolution: "@metamask/gas-fee-controller@npm:22.0.1" dependencies: - "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/base-controller": "npm:^7.0.2" + "@metamask/controller-utils": "npm:^11.4.3" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-unit": "npm:^0.3.0" - "@metamask/polling-controller": "npm:^11.0.0" - "@metamask/utils": "npm:^9.1.0" + "@metamask/polling-controller": "npm:^12.0.1" + "@metamask/utils": "npm:^10.0.0" "@types/bn.js": "npm:^5.1.5" "@types/uuid": "npm:^8.3.0" bn.js: "npm:^5.2.1" uuid: "npm:^8.3.2" peerDependencies: - "@metamask/network-controller": ^21.0.0 - checksum: 10/8b41c7257f7dc17deb3f550cfdde0288da142d11536bb55c998bec8267fa62243e36fb6468a44224cd90ed2f49ba3ba1dbe93c2b0834a725752c5a66ae283303 + "@metamask/network-controller": ^22.0.0 + checksum: 10/c52d4bb6359824198fe3169114a685fd8f881feb580eb7b9c9c1ba383e02664f0e7d65e9fcbb0ec1508acb55bd3b273b28b516ad134e9a273b00ed562b771140 languageName: node linkType: hard @@ -5601,18 +5558,7 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^7.1.1, @metamask/json-rpc-engine@npm:^7.3.2": - version: 7.3.3 - resolution: "@metamask/json-rpc-engine@npm:7.3.3" - dependencies: - "@metamask/rpc-errors": "npm:^6.2.1" - "@metamask/safe-event-emitter": "npm:^3.0.0" - "@metamask/utils": "npm:^8.3.0" - checksum: 10/116664c974c522d280335d9a02cba731e4f08562c2980415f7535513cd308c7e612e52618086996e5ac2b67db7f1e6ac1bd8201aba7825163db17a25f2874cc9 - languageName: node - linkType: hard - -"@metamask/json-rpc-engine@npm:^9.0.0, @metamask/json-rpc-engine@npm:^9.0.2, @metamask/json-rpc-engine@npm:^9.0.3": +"@metamask/json-rpc-engine@npm:^9.0.3": version: 9.0.3 resolution: "@metamask/json-rpc-engine@npm:9.0.3" dependencies: @@ -5789,32 +5735,7 @@ __metadata: languageName: node linkType: hard -"@metamask/network-controller@npm:21.0.0": - version: 21.0.0 - resolution: "@metamask/network-controller@npm:21.0.0" - dependencies: - "@metamask/base-controller": "npm:^7.0.0" - "@metamask/controller-utils": "npm:^11.2.0" - "@metamask/eth-block-tracker": "npm:^10.0.0" - "@metamask/eth-json-rpc-infura": "npm:^9.1.0" - "@metamask/eth-json-rpc-middleware": "npm:^13.0.0" - "@metamask/eth-json-rpc-provider": "npm:^4.1.3" - "@metamask/eth-query": "npm:^4.0.0" - "@metamask/json-rpc-engine": "npm:^9.0.2" - "@metamask/rpc-errors": "npm:^6.3.1" - "@metamask/swappable-obj-proxy": "npm:^2.2.0" - "@metamask/utils": "npm:^9.1.0" - async-mutex: "npm:^0.5.0" - immer: "npm:^9.0.6" - loglevel: "npm:^1.8.1" - reselect: "npm:^5.1.1" - uri-js: "npm:^4.4.1" - uuid: "npm:^8.3.2" - checksum: 10/b44804720a7338a89edfc4e82c5652d429f6e3589de4fe1ebbba921d1d9af6c82a78c79591c0c8a6cb9b4439dbd77ede5b6aa8a72d24996ccedd8a7854fc7d46 - languageName: node - linkType: hard - -"@metamask/network-controller@npm:^22.0.2": +"@metamask/network-controller@npm:22.0.2, @metamask/network-controller@npm:^22.0.2": version: 22.0.2 resolution: "@metamask/network-controller@npm:22.0.2" dependencies: @@ -5839,28 +5760,28 @@ __metadata: languageName: node linkType: hard -"@metamask/network-controller@patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch": - version: 21.0.0 - resolution: "@metamask/network-controller@patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch::version=21.0.0&hash=1a5039" +"@metamask/network-controller@patch:@metamask/network-controller@npm%3A22.0.2#~/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch": + version: 22.0.2 + resolution: "@metamask/network-controller@patch:@metamask/network-controller@npm%3A22.0.2#~/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch::version=22.0.2&hash=5eb093" dependencies: - "@metamask/base-controller": "npm:^7.0.0" - "@metamask/controller-utils": "npm:^11.2.0" - "@metamask/eth-block-tracker": "npm:^10.0.0" - "@metamask/eth-json-rpc-infura": "npm:^9.1.0" - "@metamask/eth-json-rpc-middleware": "npm:^13.0.0" - "@metamask/eth-json-rpc-provider": "npm:^4.1.3" + "@metamask/base-controller": "npm:^7.0.2" + "@metamask/controller-utils": "npm:^11.4.3" + "@metamask/eth-block-tracker": "npm:^11.0.2" + "@metamask/eth-json-rpc-infura": "npm:^10.0.0" + "@metamask/eth-json-rpc-middleware": "npm:^15.0.0" + "@metamask/eth-json-rpc-provider": "npm:^4.1.6" "@metamask/eth-query": "npm:^4.0.0" - "@metamask/json-rpc-engine": "npm:^9.0.2" - "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/json-rpc-engine": "npm:^10.0.1" + "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/swappable-obj-proxy": "npm:^2.2.0" - "@metamask/utils": "npm:^9.1.0" + "@metamask/utils": "npm:^10.0.0" async-mutex: "npm:^0.5.0" immer: "npm:^9.0.6" loglevel: "npm:^1.8.1" reselect: "npm:^5.1.1" uri-js: "npm:^4.4.1" uuid: "npm:^8.3.2" - checksum: 10/6c3fdf78360df8bf39a0045f7d5e6d0b7fd8984eaee7a3348bd688ee2740669c654803790dbf2429f8559b69d88101de0add0cc76e5c42661cf2eec14b263cb0 + checksum: 10/2daf9a8e1c35608e720b4bb611d84a90da58881c5b7483894dd18fc9850ceb144646314cef32c80889ac1fb71f37ed333d06e837bdb3daa0a234bc2c3af1e2dd languageName: node linkType: hard @@ -5985,22 +5906,6 @@ __metadata: languageName: node linkType: hard -"@metamask/polling-controller@npm:^11.0.0": - version: 11.0.0 - resolution: "@metamask/polling-controller@npm:11.0.0" - dependencies: - "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" - "@metamask/utils": "npm:^9.1.0" - "@types/uuid": "npm:^8.3.0" - fast-json-stable-stringify: "npm:^2.1.0" - uuid: "npm:^8.3.2" - peerDependencies: - "@metamask/network-controller": ^21.0.0 - checksum: 10/67b563a5d1ce02dc9c2db25ad4ad1fb9f75d5578cf380cce85176ff2cd136addce612c3982653254647b9d8c535374e93d96abb6e500e42076bf3a524a72e75f - languageName: node - linkType: hard - "@metamask/polling-controller@npm:^12.0.0, @metamask/polling-controller@npm:^12.0.1": version: 12.0.1 resolution: "@metamask/polling-controller@npm:12.0.1" @@ -6139,7 +6044,7 @@ __metadata: languageName: node linkType: hard -"@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.2.1, @metamask/rpc-errors@npm:^6.3.0, @metamask/rpc-errors@npm:^6.3.1": +"@metamask/rpc-errors@npm:^6.2.1, @metamask/rpc-errors@npm:^6.3.0, @metamask/rpc-errors@npm:^6.3.1": version: 6.4.0 resolution: "@metamask/rpc-errors@npm:6.4.0" dependencies: @@ -6176,18 +6081,18 @@ __metadata: languageName: node linkType: hard -"@metamask/selected-network-controller@npm:^18.0.2": - version: 18.0.2 - resolution: "@metamask/selected-network-controller@npm:18.0.2" +"@metamask/selected-network-controller@npm:^19.0.0": + version: 19.0.0 + resolution: "@metamask/selected-network-controller@npm:19.0.0" dependencies: "@metamask/base-controller": "npm:^7.0.1" "@metamask/json-rpc-engine": "npm:^10.0.0" "@metamask/swappable-obj-proxy": "npm:^2.2.0" - "@metamask/utils": "npm:^9.1.0" + "@metamask/utils": "npm:^10.0.0" peerDependencies: - "@metamask/network-controller": ^21.0.0 + "@metamask/network-controller": ^22.0.0 "@metamask/permission-controller": ^11.0.0 - checksum: 10/cf46a1a7d4ca19d6327aeb5918b2e904933b3ae6959184a2d5773be294d1b0dbe4d16189c46bfcbd83f33d95fe0c6e5cb64e4745fa0c75243db4c8304ab6ec8e + checksum: 10/738a1c749f442b732c279c7446e0db2cc7d72fa03fd485da15121559077bb6ffeaa3233435a028f4ea69015a40ca35ba66972dc0fd3a7f61a7ea5eee43df30a6 languageName: node linkType: hard @@ -6464,28 +6369,28 @@ __metadata: languageName: node linkType: hard -"@metamask/user-operation-controller@npm:^16.0.0": - version: 16.0.0 - resolution: "@metamask/user-operation-controller@npm:16.0.0" +"@metamask/user-operation-controller@npm:^19.0.0": + version: 19.0.0 + resolution: "@metamask/user-operation-controller@npm:19.0.0" dependencies: - "@metamask/base-controller": "npm:^7.0.1" - "@metamask/controller-utils": "npm:^11.3.0" + "@metamask/base-controller": "npm:^7.0.2" + "@metamask/controller-utils": "npm:^11.4.3" "@metamask/eth-query": "npm:^4.0.0" - "@metamask/polling-controller": "npm:^11.0.0" - "@metamask/rpc-errors": "npm:^7.0.0" + "@metamask/polling-controller": "npm:^12.0.1" + "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/superstruct": "npm:^3.1.0" - "@metamask/utils": "npm:^9.1.0" + "@metamask/utils": "npm:^10.0.0" bn.js: "npm:^5.2.1" immer: "npm:^9.0.6" lodash: "npm:^4.17.21" uuid: "npm:^8.3.2" peerDependencies: "@metamask/approval-controller": ^7.0.0 - "@metamask/gas-fee-controller": ^21.0.0 - "@metamask/keyring-controller": ^17.0.0 - "@metamask/network-controller": ^21.0.0 - "@metamask/transaction-controller": ^37.0.0 - checksum: 10/36ef43910f9e94ae7823902113acdaf7d4031423930f0a35fe4dd3b948a00e8088ea590354afbdb507b32712761720727f0ee905ad6d3db83ef3f0f145b8452d + "@metamask/gas-fee-controller": ^22.0.0 + "@metamask/keyring-controller": ^19.0.0 + "@metamask/network-controller": ^22.0.0 + "@metamask/transaction-controller": ^40.0.0 + checksum: 10/ca3d8ee77243eb3bdc455420185d5c41d45cb5520735af0b05c1792d66fdb6a7404c557b053b16b6fded57124da21c3bb0b6b1c943d290e9808164f05453a8d9 languageName: node linkType: hard @@ -26501,7 +26406,7 @@ __metadata: "@metamask/contract-metadata": "npm:^2.5.0" "@metamask/controller-utils": "npm:^11.4.0" "@metamask/design-tokens": "npm:^4.0.0" - "@metamask/ens-controller": "npm:^14.0.0" + "@metamask/ens-controller": "npm:^15.0.0" "@metamask/ens-resolver-snap": "npm:^0.1.2" "@metamask/eslint-config": "npm:^9.0.0" "@metamask/eslint-config-jest": "npm:^9.0.0" @@ -26523,7 +26428,7 @@ __metadata: "@metamask/ethjs-contract": "npm:^0.4.1" "@metamask/ethjs-query": "npm:^0.7.1" "@metamask/forwarder": "npm:^1.1.0" - "@metamask/gas-fee-controller": "npm:^21.0.0" + "@metamask/gas-fee-controller": "npm:^22.0.1" "@metamask/jazzicon": "npm:^2.0.0" "@metamask/json-rpc-engine": "npm:^10.0.0" "@metamask/json-rpc-middleware-stream": "npm:^8.0.4" @@ -26535,7 +26440,7 @@ __metadata: "@metamask/message-signing-snap": "npm:^0.4.0" "@metamask/metamask-eth-abis": "npm:^3.1.1" "@metamask/name-controller": "npm:^8.0.0" - "@metamask/network-controller": "patch:@metamask/network-controller@npm%3A21.0.0#~/.yarn/patches/@metamask-network-controller-npm-21.0.0-559aa8e395.patch" + "@metamask/network-controller": "patch:@metamask/network-controller@npm%3A22.0.2#~/.yarn/patches/@metamask-network-controller-npm-22.0.2-6fc65c500a.patch" "@metamask/notification-services-controller": "npm:^0.14.0" "@metamask/object-multiplex": "npm:^2.0.0" "@metamask/obs-store": "npm:^9.0.0" @@ -26543,7 +26448,7 @@ __metadata: "@metamask/permission-log-controller": "npm:^3.0.1" "@metamask/phishing-controller": "npm:^12.3.0" "@metamask/phishing-warning": "npm:^4.1.0" - "@metamask/polling-controller": "npm:^11.0.0" + "@metamask/polling-controller": "npm:^12.0.1" "@metamask/post-message-stream": "npm:^8.0.0" "@metamask/ppom-validator": "npm:0.35.1" "@metamask/preferences-controller": "npm:^14.0.0" @@ -26555,7 +26460,7 @@ __metadata: "@metamask/rpc-errors": "npm:^7.0.0" "@metamask/safe-event-emitter": "npm:^3.1.1" "@metamask/scure-bip39": "npm:^2.0.3" - "@metamask/selected-network-controller": "npm:^18.0.2" + "@metamask/selected-network-controller": "npm:^19.0.0" "@metamask/signature-controller": "npm:^23.0.0" "@metamask/smart-transactions-controller": "npm:^15.0.0" "@metamask/snaps-controllers": "npm:^9.14.0" @@ -26567,7 +26472,7 @@ __metadata: "@metamask/test-bundler": "npm:^1.0.0" "@metamask/test-dapp": "npm:8.13.0" "@metamask/transaction-controller": "npm:^41.0.0" - "@metamask/user-operation-controller": "npm:^16.0.0" + "@metamask/user-operation-controller": "npm:^19.0.0" "@metamask/utils": "npm:^10.0.1" "@ngraveio/bc-ur": "npm:^1.1.12" "@noble/hashes": "npm:^1.3.3"