diff --git a/constraints.pro b/constraints.pro index 94d6db04a37..f4076b16f8e 100644 --- a/constraints.pro +++ b/constraints.pro @@ -396,10 +396,3 @@ gen_enforced_field(WorkspaceCwd, 'publishConfig.registry', 'https://registry.npm % whatsoever. gen_enforced_field(WorkspaceCwd, 'publishConfig', null) :- workspace_field(WorkspaceCwd, 'private', true). - -% eth-method-registry has an unlisted dependency on babel-runtime (via `ethjs->ethjs-query`), so -% that package needs to be present if eth-method-registry is present. -gen_enforced_dependency(WorkspaceCwd, 'babel-runtime', '^6.26.0', 'peerDependencies') :- - workspace_has_dependency(WorkspaceCwd, 'eth-method-registry', _, 'dependencies'). -gen_enforced_dependency(WorkspaceCwd, 'babel-runtime', '^6.26.0', 'devDependencies') :- - workspace_has_dependency(WorkspaceCwd, 'eth-method-registry', _, 'dependencies'). diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index b1e4d21a2c6..f5809bc5b57 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -10,15 +10,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - **BREAKING:** Adds `@metamask/accounts-controller` ^8.0.0 and `@metamask/keyring-controller` ^12.0.0 as dependencies and peer dependencies. ([#3775](https://github.com/MetaMask/core/pull/3775/)). -- Adds `@metamask/keyring-api` ^3.0.0 as a devDependency. ([#3775](https://github.com/MetaMask/core/pull/3775/)) -- `TokenDetectionController` newly subscribes to the `PreferencesController:stateChange`, `AccountsController:selectedAccountChange`, `KeyringController:lock`, `KeyringController:unlock` events, and allows the `PreferencesController:getState` messenger action. ([#3775](https://github.com/MetaMask/core/pull/3775/)) +- **BREAKING:** `TokenDetectionController` newly subscribes to the `PreferencesController:stateChange`, `AccountsController:selectedAccountChange`, `KeyringController:lock`, `KeyringController:unlock` events, and allows the `PreferencesController:getState` messenger action. ([#3775](https://github.com/MetaMask/core/pull/3775/)) - `TokensController` now exports `TokensControllerActions`, `TokensControllerGetStateAction`, `TokensControllerAddDetectedTokensAction`, `TokensControllerEvents`, `TokensControllerStateChangeEvent`. ([#3690](https://github.com/MetaMask/core/pull/3690/)) ### Changed - **BREAKING:** `TokenDetectionController` is merged with `DetectTokensController` from the `metamask-extension` repo. ([#3775](https://github.com/MetaMask/core/pull/3775/)) - **BREAKING:** `TokenDetectionController` now resets its polling interval to the default value of 3 minutes when token detection is triggered by external controller events `KeyringController:unlock`, `TokenListController:stateChange`, `PreferencesController:stateChange`, `AccountsController:selectedAccountChange`. - - **BREAKING:** `TokenDetectionController` now responds to `NetworkController:networkDidChange` event only if the `networkClientId` is changed, and does not reset the polling interval in this case. + - **BREAKING:** `TokenDetectionController` now refetches tokens on `NetworkController:networkDidChange` if the `networkClientId` is changed instead of `chainId`. - **BREAKING:** `TokenDetectionController` cannot initiate polling or token detection if `KeyringController` state is locked. - **BREAKING:** The `detectTokens` method now excludes tokens that are already included in the `TokensController`'s `detectedTokens` list from the batch of incoming tokens it sends to the `TokensController` `addDetectedTokens` method. - **BREAKING:** The constructor for `TokenDetectionController` expects a new required proprerty `trackMetaMetricsEvent`, which defines the callback that is called in the `detectTokens` method. diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 89972fcff61..8ee5303d60d 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -60,7 +60,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/ethjs-provider-http": "^0.2.0", + "@metamask/ethjs-provider-http": "^0.3.0", "@metamask/keyring-api": "^3.0.0", "@types/jest": "^27.4.1", "@types/lodash": "^4.14.191", diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index 6d21c882387..e850b33aeaa 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -32,7 +32,7 @@ }, "dependencies": { "@metamask/eth-query": "^4.0.0", - "@metamask/ethjs-unit": "^0.2.1", + "@metamask/ethjs-unit": "^0.3.0", "@metamask/utils": "^8.3.0", "@spruceid/siwe-parser": "1.1.3", "eth-ens-namehash": "^2.0.8", diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index aecddfc72c0..c6215bd3fc9 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -34,7 +34,7 @@ "@metamask/base-controller": "^4.1.1", "@metamask/controller-utils": "^8.0.2", "@metamask/eth-query": "^4.0.0", - "@metamask/ethjs-unit": "^0.2.1", + "@metamask/ethjs-unit": "^0.3.0", "@metamask/network-controller": "^17.2.0", "@metamask/polling-controller": "^5.0.0", "@metamask/utils": "^8.3.0", diff --git a/packages/selected-network-controller/src/SelectedNetworkController.ts b/packages/selected-network-controller/src/SelectedNetworkController.ts index 1076b55f8d9..38ec02ba78b 100644 --- a/packages/selected-network-controller/src/SelectedNetworkController.ts +++ b/packages/selected-network-controller/src/SelectedNetworkController.ts @@ -192,9 +192,9 @@ export class SelectedNetworkController extends BaseController< this.#setNetworkClientIdForDomain(domain, networkClientId); } - getNetworkClientIdForDomain(domain: Domain) { + getNetworkClientIdForDomain(domain: Domain): NetworkClientId { if (this.state.perDomainNetwork) { - return this.state.domains[domain]; + return this.state.domains[domain] ?? this.state.domains[METAMASK_DOMAIN]; } return this.state.domains[METAMASK_DOMAIN]; } diff --git a/packages/selected-network-controller/tests/SelectedNetworkController.test.ts b/packages/selected-network-controller/tests/SelectedNetworkController.test.ts index 68e45059577..f8a1466ab64 100644 --- a/packages/selected-network-controller/tests/SelectedNetworkController.test.ts +++ b/packages/selected-network-controller/tests/SelectedNetworkController.test.ts @@ -205,6 +205,18 @@ describe('SelectedNetworkController', () => { expect(result1).toBe(networkClientId1); expect(result2).toBe(networkClientId2); }); + + it('returns the networkClientId for the metamask domain, when the perDomainNetwork option is true, but no networkClientId has been set for the domain requested', () => { + const options: SelectedNetworkControllerOptions = { + messenger: buildSelectedNetworkControllerMessenger(), + }; + const controller = new SelectedNetworkController(options); + controller.state.perDomainNetwork = true; + const networkClientId = 'network7'; + controller.setNetworkClientIdForMetamask(networkClientId); + const result = controller.getNetworkClientIdForDomain('example.com'); + expect(result).toBe(networkClientId); + }); }); describe('getProviderAndBlockTracker', () => { diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 1878745d945..6e6580df6e4 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -44,7 +44,7 @@ "@metamask/rpc-errors": "^6.1.0", "@metamask/utils": "^8.3.0", "async-mutex": "^0.2.6", - "eth-method-registry": "^3.0.0", + "eth-method-registry": "^4.0.0", "ethereumjs-util": "^7.0.10", "fast-json-patch": "^3.1.1", "lodash": "^4.17.21", @@ -52,11 +52,11 @@ "uuid": "^8.3.2" }, "devDependencies": { + "@babel/runtime": "^7.23.9", "@metamask/auto-changelog": "^3.4.4", - "@metamask/ethjs-provider-http": "^0.2.0", + "@metamask/ethjs-provider-http": "^0.3.0", "@types/jest": "^27.4.1", "@types/node": "^16.18.54", - "babel-runtime": "^6.26.0", "deepmerge": "^4.2.2", "jest": "^27.5.1", "sinon": "^9.2.4", @@ -66,10 +66,10 @@ "typescript": "~4.8.4" }, "peerDependencies": { + "@babel/runtime": "^7.23.9", "@metamask/approval-controller": "^5.1.2", "@metamask/gas-fee-controller": "^13.0.0", - "@metamask/network-controller": "^17.2.0", - "babel-runtime": "^6.26.0" + "@metamask/network-controller": "^17.2.0" }, "engines": { "node": ">=16.0.0" diff --git a/yarn.lock b/yarn.lock index 5f01fe8ac27..c2b4cab67da 100644 --- a/yarn.lock +++ b/yarn.lock @@ -494,6 +494,15 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/runtime@npm:7.23.9" + dependencies: + regenerator-runtime: ^0.14.0 + checksum: 6bbebe8d27c0c2dd275d1ac197fc1a6c00e18dab68cc7aaff0adc3195b45862bae9c4cc58975629004b0213955b2ed91e99eccb3d9b39cabea246c657323d667 + languageName: node + linkType: hard + "@babel/template@npm:^7.22.15, @babel/template@npm:^7.3.3": version: 7.22.15 resolution: "@babel/template@npm:7.22.15" @@ -1579,7 +1588,7 @@ __metadata: "@metamask/contract-metadata": ^2.4.0 "@metamask/controller-utils": ^8.0.2 "@metamask/eth-query": ^4.0.0 - "@metamask/ethjs-provider-http": ^0.2.0 + "@metamask/ethjs-provider-http": ^0.3.0 "@metamask/keyring-api": ^3.0.0 "@metamask/keyring-controller": ^12.2.0 "@metamask/metamask-eth-abis": 3.0.0 @@ -1724,7 +1733,7 @@ __metadata: dependencies: "@metamask/auto-changelog": ^3.4.4 "@metamask/eth-query": ^4.0.0 - "@metamask/ethjs-unit": ^0.2.1 + "@metamask/ethjs-unit": ^0.3.0 "@metamask/utils": ^8.3.0 "@spruceid/siwe-parser": 1.1.3 "@types/jest": ^27.4.1 @@ -2001,106 +2010,102 @@ __metadata: languageName: node linkType: hard -"@metamask/ethjs-contract@npm:^0.3.3": - version: 0.3.4 - resolution: "@metamask/ethjs-contract@npm:0.3.4" +"@metamask/ethjs-contract@npm:^0.4.1": + version: 0.4.1 + resolution: "@metamask/ethjs-contract@npm:0.4.1" dependencies: - "@metamask/ethjs-filter": ^0.2.0 - "@metamask/ethjs-util": ^0.2.0 - babel-runtime: ^6.26.0 + "@metamask/ethjs-filter": ^0.3.0 + "@metamask/ethjs-util": ^0.3.0 ethjs-abi: ^0.2.0 js-sha3: ^0.9.2 promise-to-callback: ^1.0.0 - checksum: 790903283fafa4bf4bc9430caf7931f9c796f382c64e86f6e2cac38a9b721f3c017e9c95638849d5145e28cbb50b2b3061d3b2e22faf86c7f5f1b8b5788e3c7c + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: d2e6b16fd70ad7a51b5f3813d044358e6f09b65e673de287e91986bb0fa14faa21cb1cd6e6b13c27f83302bc3a0371ceb7417c48fb4860d8a478606c4c2e6e5e languageName: node linkType: hard -"@metamask/ethjs-filter@npm:^0.2.0": - version: 0.2.0 - resolution: "@metamask/ethjs-filter@npm:0.2.0" - checksum: d6a987797e396a6d942c9d53bde70ca3f9d486c9062ca309ea606ee2393e91083bc69a8632aac6a1310766d2f9ae12ddb9d833fe3ab04e46ff273279bce5e1f2 +"@metamask/ethjs-filter@npm:^0.3.0": + version: 0.3.0 + resolution: "@metamask/ethjs-filter@npm:0.3.0" + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: aedb31816f6b15ad8f5464eca5d74e5d38a5203c3cf1adc44028b174245fd7400a3cce5a80c03ca3a2a89ef24d81583f9d154374d9941b56544db2ff0a085f3b languageName: node linkType: hard -"@metamask/ethjs-format@npm:^0.2.9": - version: 0.2.9 - resolution: "@metamask/ethjs-format@npm:0.2.9" +"@metamask/ethjs-format@npm:^0.3.0": + version: 0.3.0 + resolution: "@metamask/ethjs-format@npm:0.3.0" dependencies: - "@metamask/ethjs-util": ^0.2.0 - bn.js: 4.11.6 + "@metamask/ethjs-util": ^0.3.0 + "@metamask/number-to-bn": ^1.7.1 + bn.js: ^5.2.1 ethjs-schema: 0.2.1 is-hex-prefixed: 1.0.0 - number-to-bn: 1.7.0 strip-hex-prefix: 1.0.0 - checksum: 3036f9e6628cb281c0e59d9798fb178e254879871b56299313aa7f5ed9e466105afd65f1c7f23a6ca58bfd19e3bdfd11c0791c23048e5641425b15031b2582e7 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: c0ea8d43f2149ba4c94909ae2dbe7d2e95363ba627bb73716f81406823fc7e76eb53edaa6bf03fa5c5dc08c7716af201ac8c21dd5a30d0c131b11ede40fcd60b languageName: node linkType: hard -"@metamask/ethjs-provider-http@npm:^0.2.0": - version: 0.2.0 - resolution: "@metamask/ethjs-provider-http@npm:0.2.0" +"@metamask/ethjs-provider-http@npm:^0.3.0": + version: 0.3.0 + resolution: "@metamask/ethjs-provider-http@npm:0.3.0" dependencies: xhr2: 0.2.1 - checksum: 97a9e168b9ad4bf26a9ed7b1c2f785c42d7a3829dea32ef47445a9035163f6632d32895b1f231dcf9641197626a4c54385c6a9de199bfe83fd316498d1e4b456 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: 54cf5ee3539133e1b055cb3037e491ad7187a0c8268554dfcb56cf9f4827e4d70147d7e3601e1868edff3da1ffa00c8dca1f189fa82d79babeb7c316ce19b5d0 languageName: node linkType: hard -"@metamask/ethjs-query@npm:^0.5.2": - version: 0.5.3 - resolution: "@metamask/ethjs-query@npm:0.5.3" +"@metamask/ethjs-query@npm:^0.7.1": + version: 0.7.1 + resolution: "@metamask/ethjs-query@npm:0.7.1" dependencies: - "@metamask/ethjs-format": ^0.2.9 - "@metamask/ethjs-rpc": 0.3.0 || ^0.3.2 - babel-runtime: ^6.26.0 + "@metamask/ethjs-format": ^0.3.0 + "@metamask/ethjs-rpc": ^0.4.0 promise-to-callback: ^1.0.0 - checksum: 1362dd371e1767647f6b1fa4f216fa17fc8ebd5ccaf5a5072ce84a58f8de67483efdc0c37245080ee81f9cd6e35a5a3676bcf28c12de740682aef57308df1206 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: d843f783f38b2c8145f10311dc9f0c4257da3a60d43ebdf136c4ae2bd74f1f0375d855e0400e0b97b839fc9845e5d1f5a9ff54a8fb676710bf856b12fc0c152b languageName: node linkType: hard -"@metamask/ethjs-rpc@npm:0.3.0 || ^0.3.2": - version: 0.3.2 - resolution: "@metamask/ethjs-rpc@npm:0.3.2" +"@metamask/ethjs-rpc@npm:^0.4.0": + version: 0.4.0 + resolution: "@metamask/ethjs-rpc@npm:0.4.0" dependencies: promise-to-callback: ^1.0.0 - checksum: ef331056ca8e0ada1f8e7bd62e314675854781097bfa5d151d258b671bef22b3a5c0c9c47d77b14c61d057d869555eb03f5232e7fba8977c55c0450eac120b17 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: 5c482849e8cadbde5baf8fec9d337f181c8ed672f4b0a9e1f7fe0a57d792e214e6722fbe350162f5d375bc78c7a6c98330d3b7c3909b428489313ed36888c07c languageName: node linkType: hard -"@metamask/ethjs-unit@npm:^0.2.1": - version: 0.2.1 - resolution: "@metamask/ethjs-unit@npm:0.2.1" +"@metamask/ethjs-unit@npm:^0.3.0": + version: 0.3.0 + resolution: "@metamask/ethjs-unit@npm:0.3.0" dependencies: - bn.js: 4.11.6 - number-to-bn: 1.7.0 - checksum: 0c8bbbe06000f647b46701fcf976e29b67c7362b3ae252d8d4fe2feb74f3988c1203eb03cc34bb899101f01812c8c300158d75bc721d649124c048e8b149b557 + "@metamask/number-to-bn": ^1.7.1 + bn.js: ^5.2.1 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: 9eb4f894b24c43b7b14a9180cebb0603d4a07c1af583b0c4a36d58f24e202831bbdf98888666b4a3ea2e4d4a9fef4c6cc55d09379870b20b080ea5582764e622 languageName: node linkType: hard -"@metamask/ethjs-util@npm:^0.2.0": - version: 0.2.0 - resolution: "@metamask/ethjs-util@npm:0.2.0" +"@metamask/ethjs-util@npm:^0.3.0": + version: 0.3.0 + resolution: "@metamask/ethjs-util@npm:0.3.0" dependencies: is-hex-prefixed: 1.0.0 strip-hex-prefix: 1.0.0 - checksum: 15929757c7848634d56580018b128877f616f89ddcba3cdb5de303e9bd2b346ba63c03adaee0336339cf2edcc6bb094d46c39daa77c2cd8ca83de5bdd74c56b4 - languageName: node - linkType: hard - -"@metamask/ethjs@npm:^0.5.0": - version: 0.5.1 - resolution: "@metamask/ethjs@npm:0.5.1" - dependencies: - "@metamask/ethjs-contract": ^0.3.3 - "@metamask/ethjs-filter": ^0.2.0 - "@metamask/ethjs-provider-http": ^0.2.0 - "@metamask/ethjs-query": ^0.5.2 - "@metamask/ethjs-unit": ^0.2.1 - "@metamask/ethjs-util": ^0.2.0 - bn.js: 4.11.6 - ethjs-abi: 0.2.1 - js-sha3: ^0.9.2 - number-to-bn: 1.7.0 - checksum: 11850a7f9295efd51f6c8d774b0bc316921e835e86fea9b17eb1f12cc2ab0b332271c096f90e9b910ec49627dea43ac163a42ff672b88d99d0ab59cee2c9bf58 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: 3c0e8dd7f24b5ed6038d57fd8c278c6b09a89fb3eb487a65ca16bea89260c99e5d3c86d54676920ff7cb462fd7dd2becd4ebd784e14c905233f3b0125e5dbc4c languageName: node linkType: hard @@ -2112,7 +2117,7 @@ __metadata: "@metamask/base-controller": ^4.1.1 "@metamask/controller-utils": ^8.0.2 "@metamask/eth-query": ^4.0.0 - "@metamask/ethjs-unit": ^0.2.1 + "@metamask/ethjs-unit": ^0.3.0 "@metamask/network-controller": ^17.2.0 "@metamask/polling-controller": ^5.0.0 "@metamask/utils": ^8.3.0 @@ -2377,6 +2382,16 @@ __metadata: languageName: unknown linkType: soft +"@metamask/number-to-bn@npm:^1.7.1": + version: 1.7.1 + resolution: "@metamask/number-to-bn@npm:1.7.1" + dependencies: + bn.js: 5.2.1 + strip-hex-prefix: 1.0.0 + checksum: e3c198c7ab4783757b36413d67d917f5fd5cadd01ebd7d92ae1ab6cbb11f11bfe9fae89ed849f8d7b0120c3746c58d87e9950df167bd342f0a6e590590d4e0ce + languageName: node + linkType: hard + "@metamask/object-multiplex@npm:^2.0.0": version: 2.0.0 resolution: "@metamask/object-multiplex@npm:2.0.0" @@ -2878,6 +2893,7 @@ __metadata: version: 0.0.0-use.local resolution: "@metamask/transaction-controller@workspace:packages/transaction-controller" dependencies: + "@babel/runtime": ^7.23.9 "@ethereumjs/common": ^3.2.0 "@ethereumjs/tx": ^4.2.0 "@ethersproject/abi": ^5.7.0 @@ -2886,7 +2902,7 @@ __metadata: "@metamask/base-controller": ^4.1.1 "@metamask/controller-utils": ^8.0.2 "@metamask/eth-query": ^4.0.0 - "@metamask/ethjs-provider-http": ^0.2.0 + "@metamask/ethjs-provider-http": ^0.3.0 "@metamask/gas-fee-controller": ^13.0.0 "@metamask/metamask-eth-abis": ^3.0.0 "@metamask/network-controller": ^17.2.0 @@ -2895,9 +2911,8 @@ __metadata: "@types/jest": ^27.4.1 "@types/node": ^16.18.54 async-mutex: ^0.2.6 - babel-runtime: ^6.26.0 deepmerge: ^4.2.2 - eth-method-registry: ^3.0.0 + eth-method-registry: ^4.0.0 ethereumjs-util: ^7.0.10 fast-json-patch: ^3.1.1 jest: ^27.5.1 @@ -2910,10 +2925,10 @@ __metadata: typescript: ~4.8.4 uuid: ^8.3.2 peerDependencies: + "@babel/runtime": ^7.23.9 "@metamask/approval-controller": ^5.1.2 "@metamask/gas-fee-controller": ^13.0.0 "@metamask/network-controller": ^17.2.0 - babel-runtime: ^6.26.0 languageName: unknown linkType: soft @@ -4280,16 +4295,6 @@ __metadata: languageName: node linkType: hard -"babel-runtime@npm:^6.26.0": - version: 6.26.0 - resolution: "babel-runtime@npm:6.26.0" - dependencies: - core-js: ^2.4.0 - regenerator-runtime: ^0.11.0 - checksum: 8aeade94665e67a73c1ccc10f6fd42ba0c689b980032b70929de7a6d9a12eb87ef51902733f8fefede35afea7a5c3ef7e916a64d503446c1eedc9e3284bd3d50 - languageName: node - linkType: hard - "balanced-match@npm:^1.0.0": version: 1.0.2 resolution: "balanced-match@npm:1.0.2" @@ -4371,6 +4376,13 @@ __metadata: languageName: node linkType: hard +"bn.js@npm:5.2.1, bn.js@npm:^5.1.2, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": + version: 5.2.1 + resolution: "bn.js@npm:5.2.1" + checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 + languageName: node + linkType: hard + "bn.js@npm:^4.11.9": version: 4.12.0 resolution: "bn.js@npm:4.12.0" @@ -4378,13 +4390,6 @@ __metadata: languageName: node linkType: hard -"bn.js@npm:^5.1.2, bn.js@npm:^5.2.0, bn.js@npm:^5.2.1": - version: 5.2.1 - resolution: "bn.js@npm:5.2.1" - checksum: 3dd8c8d38055fedfa95c1d5fc3c99f8dd547b36287b37768db0abab3c239711f88ff58d18d155dd8ad902b0b0cee973747b7ae20ea12a09473272b0201c9edd3 - languageName: node - linkType: hard - "boxen@npm:^7.0.2": version: 7.1.1 resolution: "boxen@npm:7.1.1" @@ -4943,13 +4948,6 @@ __metadata: languageName: node linkType: hard -"core-js@npm:^2.4.0": - version: 2.6.12 - resolution: "core-js@npm:2.6.12" - checksum: 44fa9934a85f8c78d61e0c8b7b22436330471ffe59ec5076fe7f324d6e8cf7f824b14b1c81ca73608b13bdb0fef035bd820989bf059767ad6fa13123bb8bd016 - languageName: node - linkType: hard - "core-util-is@npm:~1.0.0": version: 1.0.3 resolution: "core-util-is@npm:1.0.3" @@ -5978,12 +5976,15 @@ __metadata: languageName: node linkType: hard -"eth-method-registry@npm:^3.0.0": - version: 3.0.0 - resolution: "eth-method-registry@npm:3.0.0" +"eth-method-registry@npm:^4.0.0": + version: 4.0.0 + resolution: "eth-method-registry@npm:4.0.0" dependencies: - "@metamask/ethjs": ^0.5.0 - checksum: 8d28fcf48d07c4d7370160ce5188a86e4bd3d829b3d2948a06afb7278443b4f215924a356814815c49ce61dcd9033c61ffe72c1a5033824fbc810346c206e3fa + "@metamask/ethjs-contract": ^0.4.1 + "@metamask/ethjs-query": ^0.7.1 + peerDependencies: + "@babel/runtime": ^7.0.0 + checksum: 35bf70fce7b0d4fdaa0ae48ca643781b2d9982d7d083a713c0eb112a1acfd373d95f757fc985315e4cc983c8d14ecf9e06939bca1f4cf7ac6de14e3535191241 languageName: node linkType: hard @@ -6067,7 +6068,7 @@ __metadata: languageName: node linkType: hard -"ethjs-abi@npm:0.2.1, ethjs-abi@npm:^0.2.0": +"ethjs-abi@npm:^0.2.0": version: 0.2.1 resolution: "ethjs-abi@npm:0.2.1" dependencies: @@ -9706,10 +9707,10 @@ __metadata: languageName: node linkType: hard -"regenerator-runtime@npm:^0.11.0": - version: 0.11.1 - resolution: "regenerator-runtime@npm:0.11.1" - checksum: 3c97bd2c7b2b3247e6f8e2147a002eb78c995323732dad5dc70fac8d8d0b758d0295e7015b90d3d444446ae77cbd24b9f9123ec3a77018e81d8999818301b4f4 +"regenerator-runtime@npm:^0.14.0": + version: 0.14.1 + resolution: "regenerator-runtime@npm:0.14.1" + checksum: 9f57c93277b5585d3c83b0cf76be47b473ae8c6d9142a46ce8b0291a04bb2cf902059f0f8445dcabb3fb7378e5fe4bb4ea1e008876343d42e46d3b484534ce38 languageName: node linkType: hard