diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 3935b25417..c3d65089c7 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -87,6 +87,8 @@ /packages/notification-controller/CHANGELOG.md @MetaMask/snaps-devs @MetaMask/wallet-framework-engineers /packages/notification-services-controller/package.json @MetaMask/notifications @MetaMask/wallet-framework-engineers /packages/notification-services-controller/CHANGELOG.md @MetaMask/notifications @MetaMask/wallet-framework-engineers +/packages/phishing-controller/package.json @MetaMask/product-safety @MetaMask/wallet-framework-engineers +/packages/phishing-controller/CHANGELOG.md @MetaMask/product-safety @MetaMask/wallet-framework-engineers /packages/profile-sync-controller/package.json @MetaMask/notifications @MetaMask/wallet-framework-engineers /packages/profile-sync-controller/CHANGELOG.md @MetaMask/notifications @MetaMask/wallet-framework-engineers /packages/queued-request-controller/package.json @MetaMask/wallet-api-platform-engineers @MetaMask/wallet-framework-engineers diff --git a/examples/example-controllers/package.json b/examples/example-controllers/package.json index db3e3eb85f..0f9f2f0d26 100644 --- a/examples/example-controllers/package.json +++ b/examples/example-controllers/package.json @@ -52,7 +52,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/package.json b/package.json index 82a7cd51c1..326b68f058 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/core-monorepo", - "version": "234.0.0", + "version": "236.0.0", "private": true, "description": "Monorepo for packages shared between MetaMask clients", "repository": { diff --git a/packages/accounts-controller/CHANGELOG.md b/packages/accounts-controller/CHANGELOG.md index e888866f89..f617adb7cc 100644 --- a/packages/accounts-controller/CHANGELOG.md +++ b/packages/accounts-controller/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [18.2.3] + +### Changed + +- Bump `@metamask/base-controller` from `^7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/utils` from `^9.1.0` to `^10.0.0` ([#4831](https://github.com/MetaMask/core/pull/4831)) +- Bump dev dependency `@metamask/keyring-controller` from `^17.2.2` to `^17.3.1` ([#4810](https://github.com/MetaMask/core/pull/4810), [#4870](https://github.com/MetaMask/core/pull/4870)) + ## [18.2.2] ### Changed @@ -329,7 +337,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release ([#1637](https://github.com/MetaMask/core/pull/1637)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@18.2.2...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@18.2.3...HEAD +[18.2.3]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@18.2.2...@metamask/accounts-controller@18.2.3 [18.2.2]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@18.2.1...@metamask/accounts-controller@18.2.2 [18.2.1]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@18.2.0...@metamask/accounts-controller@18.2.1 [18.2.0]: https://github.com/MetaMask/core/compare/@metamask/accounts-controller@18.1.1...@metamask/accounts-controller@18.2.0 diff --git a/packages/accounts-controller/package.json b/packages/accounts-controller/package.json index 9f229e0067..8732b1f425 100644 --- a/packages/accounts-controller/package.json +++ b/packages/accounts-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/accounts-controller", - "version": "18.2.2", + "version": "18.2.3", "description": "Manages internal accounts", "keywords": [ "MetaMask", @@ -61,7 +61,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/keyring-controller": "^17.3.0", + "@metamask/keyring-controller": "^17.3.1", "@metamask/snaps-controllers": "^9.7.0", "@types/jest": "^27.4.1", "@types/readable-stream": "^2.3.0", diff --git a/packages/address-book-controller/package.json b/packages/address-book-controller/package.json index d08d2d08a7..bd8f3b37bb 100644 --- a/packages/address-book-controller/package.json +++ b/packages/address-book-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/utils": "^10.0.0" }, "devDependencies": { diff --git a/packages/assets-controllers/CHANGELOG.md b/packages/assets-controllers/CHANGELOG.md index ded76feffe..5c0b9fc657 100644 --- a/packages/assets-controllers/CHANGELOG.md +++ b/packages/assets-controllers/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [41.0.0] + +### Changed + +- **BREAKING**: The polling input accepted by `CurrencyRateController` is now an object with a `nativeCurrencies` property that is defined as a `string` array type ([#4852](https://github.com/MetaMask/core/pull/4852)) + - The `input` parameters of the controller's `_executePoll`, `_startPolling`, `onPollingComplete` methods now only accept this new polling input type. + - The `nativeCurrency` property (`string` type) has been removed. +- **BREAKING**: `RatesController` now types the `conversionRate` and `usdConversionRate` in its state as `number` instead of `string`, to match what it was actually storing. ([#4852](https://github.com/MetaMask/core/pull/4852)) +- Bump `@metamask/base-controller` from `^7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/controller-utils` from `^11.4.0` to `^11.4.1` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump dev dependency `@metamask/approval-controller` from `^7.1.0` to `^7.1.1` ([#4862](https://github.com/MetaMask/core/pull/4862)) + ## [40.0.0] ### Changed @@ -1164,7 +1176,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Use Ethers for AssetsContractController ([#845](https://github.com/MetaMask/core/pull/845)) -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@40.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@41.0.0...HEAD +[41.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@40.0.0...@metamask/assets-controllers@41.0.0 [40.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@39.0.0...@metamask/assets-controllers@40.0.0 [39.0.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@38.3.0...@metamask/assets-controllers@39.0.0 [38.3.0]: https://github.com/MetaMask/core/compare/@metamask/assets-controllers@38.2.0...@metamask/assets-controllers@38.3.0 diff --git a/packages/assets-controllers/package.json b/packages/assets-controllers/package.json index 3196bb18d3..6701ade97c 100644 --- a/packages/assets-controllers/package.json +++ b/packages/assets-controllers/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/assets-controllers", - "version": "40.0.0", + "version": "41.0.0", "description": "Controllers which manage interactions involving ERC-20, ERC-721, and ERC-1155 tokens (including NFTs)", "keywords": [ "MetaMask", @@ -55,10 +55,10 @@ "@metamask/abi-utils": "^2.0.3", "@metamask/base-controller": "^7.0.2", "@metamask/contract-metadata": "^2.4.0", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/eth-query": "^4.0.0", "@metamask/metamask-eth-abis": "^3.1.1", - "@metamask/polling-controller": "^12.0.0", + "@metamask/polling-controller": "^12.0.1", "@metamask/rpc-errors": "^7.0.1", "@metamask/utils": "^10.0.0", "@types/bn.js": "^5.1.5", @@ -73,14 +73,14 @@ "uuid": "^8.3.2" }, "devDependencies": { - "@metamask/accounts-controller": "^18.2.2", + "@metamask/accounts-controller": "^18.2.3", "@metamask/approval-controller": "^7.1.1", "@metamask/auto-changelog": "^3.4.4", "@metamask/ethjs-provider-http": "^0.3.0", "@metamask/keyring-api": "^8.1.3", - "@metamask/keyring-controller": "^17.3.0", - "@metamask/network-controller": "^22.0.0", - "@metamask/preferences-controller": "^13.1.0", + "@metamask/keyring-controller": "^17.3.1", + "@metamask/network-controller": "^22.0.1", + "@metamask/preferences-controller": "^13.2.0", "@types/jest": "^27.4.1", "@types/lodash": "^4.14.191", "@types/node": "^16.18.54", diff --git a/packages/assets-controllers/src/CurrencyRateController.test.ts b/packages/assets-controllers/src/CurrencyRateController.test.ts index 3b313bac12..f22e8c1471 100644 --- a/packages/assets-controllers/src/CurrencyRateController.test.ts +++ b/packages/assets-controllers/src/CurrencyRateController.test.ts @@ -433,7 +433,7 @@ describe('CurrencyRateController', () => { ETH: { conversionDate: getStubbedDate() / 1000, conversionRate: 2000.42, - usdConversionRate: undefined, + usdConversionRate: null, }, }, }); @@ -521,17 +521,17 @@ describe('CurrencyRateController', () => { BNB: { conversionDate, conversionRate: 500.1, - usdConversionRate: undefined, + usdConversionRate: null, }, ETH: { conversionDate, conversionRate: 4000.42, - usdConversionRate: undefined, + usdConversionRate: null, }, POL: { conversionDate, conversionRate: 0.3, - usdConversionRate: undefined, + usdConversionRate: null, }, }, }); diff --git a/packages/controller-utils/CHANGELOG.md b/packages/controller-utils/CHANGELOG.md index 600e3aa5af..7715645282 100644 --- a/packages/controller-utils/CHANGELOG.md +++ b/packages/controller-utils/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [11.4.2] + +### Changed + +- Move BigNumber.js from devDependencies to dependencies ([#4873](https://github.com/MetaMask/core/pull/4873)) + ## [11.4.1] ### Changed @@ -412,7 +418,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/controller-utils@11.4.1...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.2...HEAD +[11.4.2]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.1...@metamask/controller-utils@11.4.2 [11.4.1]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.4.0...@metamask/controller-utils@11.4.1 [11.4.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.3.0...@metamask/controller-utils@11.4.0 [11.3.0]: https://github.com/MetaMask/core/compare/@metamask/controller-utils@11.2.0...@metamask/controller-utils@11.3.0 diff --git a/packages/controller-utils/package.json b/packages/controller-utils/package.json index 2ec3886325..8c4d021605 100644 --- a/packages/controller-utils/package.json +++ b/packages/controller-utils/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/controller-utils", - "version": "11.4.1", + "version": "11.4.2", "description": "Data and convenience functions shared by multiple packages", "keywords": [ "MetaMask", @@ -53,6 +53,7 @@ "@metamask/utils": "^10.0.0", "@spruceid/siwe-parser": "2.1.0", "@types/bn.js": "^5.1.5", + "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", "eth-ens-namehash": "^2.0.8", "fast-deep-equal": "^3.1.3" @@ -60,7 +61,6 @@ "devDependencies": { "@metamask/auto-changelog": "^3.4.4", "@types/jest": "^27.4.1", - "bignumber.js": "^9.1.2", "deepmerge": "^4.2.2", "jest": "^27.5.1", "nock": "^13.3.1", diff --git a/packages/ens-controller/package.json b/packages/ens-controller/package.json index d25fd2a469..aac3c26f59 100644 --- a/packages/ens-controller/package.json +++ b/packages/ens-controller/package.json @@ -49,13 +49,13 @@ "dependencies": { "@ethersproject/providers": "^5.7.0", "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/utils": "^10.0.0", "punycode": "^2.1.1" }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.0.0", + "@metamask/network-controller": "^22.0.1", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/packages/gas-fee-controller/package.json b/packages/gas-fee-controller/package.json index 7843bfbeef..573ca69228 100644 --- a/packages/gas-fee-controller/package.json +++ b/packages/gas-fee-controller/package.json @@ -48,10 +48,10 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/eth-query": "^4.0.0", "@metamask/ethjs-unit": "^0.3.0", - "@metamask/polling-controller": "^12.0.0", + "@metamask/polling-controller": "^12.0.1", "@metamask/utils": "^10.0.0", "@types/bn.js": "^5.1.5", "@types/uuid": "^8.3.0", @@ -60,7 +60,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.0.0", + "@metamask/network-controller": "^22.0.1", "@types/jest": "^27.4.1", "@types/jest-when": "^2.7.3", "deepmerge": "^4.2.2", diff --git a/packages/keyring-controller/CHANGELOG.md b/packages/keyring-controller/CHANGELOG.md index 5e152c33a6..13d066a87a 100644 --- a/packages/keyring-controller/CHANGELOG.md +++ b/packages/keyring-controller/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [17.3.1] + +### Changed + +- Bump `@metamask/base-controller` from `^7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/utils` from `^9.1.0` to `^10.0.0` ([#4831](https://github.com/MetaMask/core/pull/4831)) +- Bump `@metamask/eth-sig-util` from `^7.0.1` to `^8.0.0` ([#4830](https://github.com/MetaMask/core/pull/4830)) + ## [17.3.0] ### Changed @@ -567,7 +575,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/keyring-controller@17.3.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.3.1...HEAD +[17.3.1]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.3.0...@metamask/keyring-controller@17.3.1 [17.3.0]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.2.2...@metamask/keyring-controller@17.3.0 [17.2.2]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.2.1...@metamask/keyring-controller@17.2.2 [17.2.1]: https://github.com/MetaMask/core/compare/@metamask/keyring-controller@17.2.0...@metamask/keyring-controller@17.2.1 diff --git a/packages/keyring-controller/package.json b/packages/keyring-controller/package.json index 033699806c..dbb01e8dba 100644 --- a/packages/keyring-controller/package.json +++ b/packages/keyring-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/keyring-controller", - "version": "17.3.0", + "version": "17.3.1", "description": "Stores identities seen in the wallet and manages interactions such as signing", "keywords": [ "MetaMask", @@ -55,7 +55,7 @@ "@metamask/eth-sig-util": "^8.0.0", "@metamask/eth-simple-keyring": "^6.0.5", "@metamask/keyring-api": "^8.1.3", - "@metamask/message-manager": "^11.0.0", + "@metamask/message-manager": "^11.0.1", "@metamask/utils": "^10.0.0", "async-mutex": "^0.5.0", "ethereumjs-wallet": "^1.0.1", diff --git a/packages/logging-controller/package.json b/packages/logging-controller/package.json index cf334d8d9f..6c375c895d 100644 --- a/packages/logging-controller/package.json +++ b/packages/logging-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "uuid": "^8.3.2" }, "devDependencies": { diff --git a/packages/message-manager/CHANGELOG.md b/packages/message-manager/CHANGELOG.md index 41d4c0aa6c..29bfe9a448 100644 --- a/packages/message-manager/CHANGELOG.md +++ b/packages/message-manager/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [11.0.1] + +### Changed + +- Bump `@metamask/base-controller` from `^7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/controller-utils` from `^11.3.0` to `^11.4.2` ([#4834](https://github.com/MetaMask/core/pull/4834), [#4862](https://github.com/MetaMask/core/pull/4862), [#4870](https://github.com/MetaMask/core/pull/4870)) +- Bump `@metamask/utils` from `^9.1.0` to `^10.0.0` ([#4831](https://github.com/MetaMask/core/pull/4831)) +- Bump `@metamask/eth-sig-util` from `^7.0.1` to `^8.0.0` ([#4830](https://github.com/MetaMask/core/pull/4830)) + ## [11.0.0] ### Removed @@ -325,7 +334,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/message-manager@11.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/message-manager@11.0.1...HEAD +[11.0.1]: https://github.com/MetaMask/core/compare/@metamask/message-manager@11.0.0...@metamask/message-manager@11.0.1 [11.0.0]: https://github.com/MetaMask/core/compare/@metamask/message-manager@10.1.1...@metamask/message-manager@11.0.0 [10.1.1]: https://github.com/MetaMask/core/compare/@metamask/message-manager@10.1.0...@metamask/message-manager@10.1.1 [10.1.0]: https://github.com/MetaMask/core/compare/@metamask/message-manager@10.0.3...@metamask/message-manager@10.1.0 diff --git a/packages/message-manager/package.json b/packages/message-manager/package.json index 5b5cdfb934..407eb2693e 100644 --- a/packages/message-manager/package.json +++ b/packages/message-manager/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/message-manager", - "version": "11.0.0", + "version": "11.0.1", "description": "Stores and manages interactions with signing requests", "keywords": [ "MetaMask", @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/eth-sig-util": "^8.0.0", "@metamask/utils": "^10.0.0", "@types/uuid": "^8.3.0", diff --git a/packages/name-controller/package.json b/packages/name-controller/package.json index 9b3b6b575b..e604ea12fe 100644 --- a/packages/name-controller/package.json +++ b/packages/name-controller/package.json @@ -49,7 +49,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/utils": "^10.0.0", "async-mutex": "^0.5.0" }, diff --git a/packages/network-controller/CHANGELOG.md b/packages/network-controller/CHANGELOG.md index a1368fa7ab..f547dc5046 100644 --- a/packages/network-controller/CHANGELOG.md +++ b/packages/network-controller/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [22.0.1] + +### Changed + +- Bump `@metamask/base-controller` from `^7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/controller-utils` from `^11.4.0` to `^11.4.2` ([#4862](https://github.com/MetaMask/core/pull/4862), [#4870](https://github.com/MetaMask/core/pull/4870)) +- Bump `@metamask/eth-json-rpc-provider` from `^4.1.5` to `^4.1.6` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/json-rpc-engine` from `^10.0.0` to `^10.0.1` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/rpc-errors` from `^7.0.0` to `^7.0.1` ([#4831](https://github.com/MetaMask/core/pull/4831)) + ## [22.0.0] ### Changed @@ -643,7 +653,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/network-controller@22.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/network-controller@22.0.1...HEAD +[22.0.1]: https://github.com/MetaMask/core/compare/@metamask/network-controller@22.0.0...@metamask/network-controller@22.0.1 [22.0.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@21.1.0...@metamask/network-controller@22.0.0 [21.1.0]: https://github.com/MetaMask/core/compare/@metamask/network-controller@21.0.1...@metamask/network-controller@21.1.0 [21.0.1]: https://github.com/MetaMask/core/compare/@metamask/network-controller@21.0.0...@metamask/network-controller@21.0.1 diff --git a/packages/network-controller/package.json b/packages/network-controller/package.json index 7d38fe8a57..d6eea69342 100644 --- a/packages/network-controller/package.json +++ b/packages/network-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/network-controller", - "version": "22.0.0", + "version": "22.0.1", "description": "Provides an interface to the currently selected network via a MetaMask-compatible provider object", "keywords": [ "MetaMask", @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/eth-block-tracker": "^11.0.2", "@metamask/eth-json-rpc-infura": "^10.0.0", "@metamask/eth-json-rpc-middleware": "^15.0.0", diff --git a/packages/notification-services-controller/package.json b/packages/notification-services-controller/package.json index df32ac94a4..100a82bdaf 100644 --- a/packages/notification-services-controller/package.json +++ b/packages/notification-services-controller/package.json @@ -101,7 +101,7 @@ "dependencies": { "@contentful/rich-text-html-renderer": "^16.5.2", "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/utils": "^10.0.0", "bignumber.js": "^9.1.2", "firebase": "^10.11.0", @@ -111,7 +111,7 @@ "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", "@metamask/auto-changelog": "^3.4.4", - "@metamask/keyring-controller": "^17.3.0", + "@metamask/keyring-controller": "^17.3.1", "@metamask/profile-sync-controller": "^0.9.7", "@types/jest": "^27.4.1", "@types/readable-stream": "^2.3.0", diff --git a/packages/permission-controller/package.json b/packages/permission-controller/package.json index c90cf867e0..332b543889 100644 --- a/packages/permission-controller/package.json +++ b/packages/permission-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/json-rpc-engine": "^10.0.1", "@metamask/rpc-errors": "^7.0.1", "@metamask/utils": "^10.0.0", diff --git a/packages/phishing-controller/package.json b/packages/phishing-controller/package.json index cab769669e..f34e9ec725 100644 --- a/packages/phishing-controller/package.json +++ b/packages/phishing-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@noble/hashes": "^1.4.0", "@types/punycode": "^2.1.0", "ethereum-cryptography": "^2.1.2", diff --git a/packages/polling-controller/CHANGELOG.md b/packages/polling-controller/CHANGELOG.md index 9ea1bf0c06..77a780a8c6 100644 --- a/packages/polling-controller/CHANGELOG.md +++ b/packages/polling-controller/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [12.0.1] + +### Changed + +- Bump `@metamask/base-controller` from `^7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/controller-utils` from `^11.4.0` to `^11.4.2` ([#4862](https://github.com/MetaMask/core/pull/4862), [#4870](https://github.com/MetaMask/core/pull/4870)) + ## [12.0.0] ### Changed @@ -203,7 +210,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@12.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@12.0.1...HEAD +[12.0.1]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@12.0.0...@metamask/polling-controller@12.0.1 [12.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@11.0.0...@metamask/polling-controller@12.0.0 [11.0.0]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@10.0.1...@metamask/polling-controller@11.0.0 [10.0.1]: https://github.com/MetaMask/core/compare/@metamask/polling-controller@10.0.0...@metamask/polling-controller@10.0.1 diff --git a/packages/polling-controller/package.json b/packages/polling-controller/package.json index 9f3a7a94e9..aff01c539b 100644 --- a/packages/polling-controller/package.json +++ b/packages/polling-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/polling-controller", - "version": "12.0.0", + "version": "12.0.1", "description": "Polling Controller is the base for controllers that polling by networkClientId", "keywords": [ "MetaMask", @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/utils": "^10.0.0", "@types/uuid": "^8.3.0", "fast-json-stable-stringify": "^2.1.0", @@ -56,7 +56,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.0.0", + "@metamask/network-controller": "^22.0.1", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/packages/preferences-controller/CHANGELOG.md b/packages/preferences-controller/CHANGELOG.md index fc4cfcd834..5f61f71608 100644 --- a/packages/preferences-controller/CHANGELOG.md +++ b/packages/preferences-controller/CHANGELOG.md @@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [13.2.0] + +### Added + +- Add `useSafeChainsListValidation` preference ([#4860](https://github.com/MetaMask/core/pull/4860)) + - Add `useSafeChainsListValidation` property to the `PreferencesController` state (default: `true`) + - Add `setUseSafeChainsListValidation` method to set this property +- Add `tokenSortConfig` preference ([#4860](https://github.com/MetaMask/core/pull/4860)) + - Add `tokenSortConfig` property to the `PreferencesController` state (default value: `{ key: 'tokenFiatAmount', order: 'dsc', sortCallback: 'stringNumeric' }`) + - Add `setTokenSortConfig` method to set this property +- Add `privacyMode` preference ([#4860](https://github.com/MetaMask/core/pull/4860)) + - Add `privacyMode` property to the `PreferencesController` state (default value: `false`) + - Add `setPrivacyMode` method to set this property +- Add `useMultiRpcMigration` preference ([#4732](https://github.com/MetaMask/core/pull/4732)) + +### Changed + +- Bump `@metamask/base-controller` from `^7.0.1` to `^7.0.2` ([#4862](https://github.com/MetaMask/core/pull/4862)) +- Bump `@metamask/controller-utils` from `^11.3.0` to `^11.4.2` ([#4834](https://github.com/MetaMask/core/pull/4834), [#4862](https://github.com/MetaMask/core/pull/4862), [#4870](https://github.com/MetaMask/core/pull/4870)) + ## [13.1.0] ### Changed @@ -288,7 +308,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/preferences-controller@13.1.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@13.2.0...HEAD +[13.2.0]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@13.1.0...@metamask/preferences-controller@13.2.0 [13.1.0]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@13.0.3...@metamask/preferences-controller@13.1.0 [13.0.3]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@13.0.2...@metamask/preferences-controller@13.0.3 [13.0.2]: https://github.com/MetaMask/core/compare/@metamask/preferences-controller@13.0.1...@metamask/preferences-controller@13.0.2 diff --git a/packages/preferences-controller/package.json b/packages/preferences-controller/package.json index efbc1f0949..e64da21e79 100644 --- a/packages/preferences-controller/package.json +++ b/packages/preferences-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/preferences-controller", - "version": "13.1.0", + "version": "13.2.0", "description": "Manages user-configurable settings for MetaMask", "keywords": [ "MetaMask", @@ -48,11 +48,11 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1" + "@metamask/controller-utils": "^11.4.2" }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/keyring-controller": "^17.3.0", + "@metamask/keyring-controller": "^17.3.1", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/packages/preferences-controller/src/PreferencesController.test.ts b/packages/preferences-controller/src/PreferencesController.test.ts index 9d9d4f05bc..03d9332cc8 100644 --- a/packages/preferences-controller/src/PreferencesController.test.ts +++ b/packages/preferences-controller/src/PreferencesController.test.ts @@ -36,6 +36,13 @@ describe('PreferencesController', () => { return acc; }, {} as { [chainId in EtherscanSupportedHexChainId]: boolean }), smartTransactionsOptInStatus: false, + useSafeChainsListValidation: true, + tokenSortConfig: { + key: 'tokenFiatAmount', + order: 'dsc', + sortCallback: 'stringNumeric', + }, + privacyMode: false, }); }); @@ -427,6 +434,45 @@ describe('PreferencesController', () => { controller.setUseTransactionSimulations(false); expect(controller.state.useTransactionSimulations).toBe(false); }); + + it('should set useSafeChainsListValidation', () => { + const controller = setupPreferencesController({ + options: { + state: { + useSafeChainsListValidation: false, + }, + }, + }); + expect(controller.state.useSafeChainsListValidation).toBe(false); + controller.setUseSafeChainsListValidation(true); + expect(controller.state.useSafeChainsListValidation).toBe(true); + }); + + it('should set tokenSortConfig', () => { + const controller = setupPreferencesController(); + expect(controller.state.tokenSortConfig).toStrictEqual({ + key: 'tokenFiatAmount', + order: 'dsc', + sortCallback: 'stringNumeric', + }); + controller.setTokenSortConfig({ + key: 'someToken', + order: 'asc', + sortCallback: 'stringNumeric', + }); + expect(controller.state.tokenSortConfig).toStrictEqual({ + key: 'someToken', + order: 'asc', + sortCallback: 'stringNumeric', + }); + }); + + it('should set privacyMode', () => { + const controller = setupPreferencesController(); + expect(controller.state.privacyMode).toBe(false); + controller.setPrivacyMode(true); + expect(controller.state.privacyMode).toBe(true); + }); }); /** diff --git a/packages/preferences-controller/src/PreferencesController.ts b/packages/preferences-controller/src/PreferencesController.ts index 7f5815e7cc..e67450caed 100644 --- a/packages/preferences-controller/src/PreferencesController.ts +++ b/packages/preferences-controller/src/PreferencesController.ts @@ -44,6 +44,12 @@ export type EtherscanSupportedChains = export type EtherscanSupportedHexChainId = (typeof ETHERSCAN_SUPPORTED_CHAIN_IDS)[EtherscanSupportedChains]; +type TokenSortConfig = { + key: string; + order: 'asc' | 'dsc'; + sortCallback: string; +}; + /** * Preferences controller state */ @@ -114,6 +120,18 @@ export type PreferencesState = { * Controls whether Multi rpc modal is displayed or not */ useMultiRpcMigration: boolean; + /** + * Controls whether to use the safe chains list validation + */ + useSafeChainsListValidation: boolean; + /** + * Controls which order tokens are sorted in + */ + tokenSortConfig: TokenSortConfig; + /** + * Controls whether balance and assets are hidden or not + */ + privacyMode: boolean; }; const metadata = { @@ -133,6 +151,9 @@ const metadata = { smartTransactionsOptInStatus: { persist: true, anonymous: false }, useTransactionSimulations: { persist: true, anonymous: true }, useMultiRpcMigration: { persist: true, anonymous: true }, + useSafeChainsListValidation: { persist: true, anonymous: true }, + tokenSortConfig: { persist: true, anonymous: true }, + privacyMode: { persist: true, anonymous: true }, }; const name = 'PreferencesController'; @@ -166,7 +187,7 @@ export type PreferencesControllerMessenger = RestrictedControllerMessenger< * * @returns The default PreferencesController state. */ -export function getDefaultPreferencesState() { +export function getDefaultPreferencesState(): PreferencesState { return { featureFlags: {}, identities: {}, @@ -205,6 +226,13 @@ export function getDefaultPreferencesState() { useMultiRpcMigration: true, smartTransactionsOptInStatus: false, useTransactionSimulations: true, + useSafeChainsListValidation: true, + tokenSortConfig: { + key: 'tokenFiatAmount', + order: 'dsc', + sortCallback: 'stringNumeric', + }, + privacyMode: false, }; } @@ -524,6 +552,39 @@ export class PreferencesController extends BaseController< state.useTransactionSimulations = useTransactionSimulations; }); } + + /** + * A setter to update the user's preferred token sorting order. + * + * @param tokenSortConfig - a configuration representing the sort order of tokens. + */ + setTokenSortConfig(tokenSortConfig: TokenSortConfig) { + this.update((state) => { + state.tokenSortConfig = tokenSortConfig; + }); + } + + /** + * A setter for the user preferences to enable/disable safe chains list validation. + * + * @param useSafeChainsListValidation - true to enable safe chains list validation, false to disable it. + */ + setUseSafeChainsListValidation(useSafeChainsListValidation: boolean) { + this.update((state) => { + state.useSafeChainsListValidation = useSafeChainsListValidation; + }); + } + + /** + * A setter for the user preferences to enable/disable privacy mode. + * + * @param privacyMode - true to enable privacy mode, false to disable it. + */ + setPrivacyMode(privacyMode: boolean) { + this.update((state) => { + state.privacyMode = privacyMode; + }); + } } export default PreferencesController; diff --git a/packages/profile-sync-controller/package.json b/packages/profile-sync-controller/package.json index 4e2ece16ea..5d2d6223db 100644 --- a/packages/profile-sync-controller/package.json +++ b/packages/profile-sync-controller/package.json @@ -102,8 +102,8 @@ "dependencies": { "@metamask/base-controller": "^7.0.2", "@metamask/keyring-api": "^8.1.3", - "@metamask/keyring-controller": "^17.3.0", - "@metamask/network-controller": "^22.0.0", + "@metamask/keyring-controller": "^17.3.1", + "@metamask/network-controller": "^22.0.1", "@metamask/snaps-sdk": "^6.5.0", "@metamask/snaps-utils": "^8.1.1", "@noble/ciphers": "^0.5.2", @@ -114,7 +114,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/accounts-controller": "^18.2.2", + "@metamask/accounts-controller": "^18.2.3", "@metamask/auto-changelog": "^3.4.4", "@metamask/snaps-controllers": "^9.7.0", "@types/jest": "^27.4.1", diff --git a/packages/queued-request-controller/CHANGELOG.md b/packages/queued-request-controller/CHANGELOG.md index a8dace6f90..32283716c7 100644 --- a/packages/queued-request-controller/CHANGELOG.md +++ b/packages/queued-request-controller/CHANGELOG.md @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [7.0.0] + +### Added + +- **BREAKING:** The `QueuedRequestController` now requires the `canRequestSwitchNetworkWithoutApproval` callback in its constructor params. ([#4846](https://github.com/MetaMask/core/pull/4846)) + +### Changed + +- The `QueuedRequestController` now ensures that a request that can switch the globally selected network without approval is queued behind any existing pending requests. ([#4846](https://github.com/MetaMask/core/pull/4846)) + +### Fixed + +- The `QueuedRequestController` now ensures that any queued requests for a origin are failed if a request that can switch the globally selected network without approval actually does change the globally selected network for that origin. ([#4846](https://github.com/MetaMask/core/pull/4846)) + ## [6.0.0] ### Changed @@ -277,7 +291,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial release -[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@6.0.0...HEAD +[Unreleased]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@7.0.0...HEAD +[7.0.0]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@6.0.0...@metamask/queued-request-controller@7.0.0 [6.0.0]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@5.1.0...@metamask/queued-request-controller@6.0.0 [5.1.0]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@5.0.1...@metamask/queued-request-controller@5.1.0 [5.0.1]: https://github.com/MetaMask/core/compare/@metamask/queued-request-controller@5.0.0...@metamask/queued-request-controller@5.0.1 diff --git a/packages/queued-request-controller/package.json b/packages/queued-request-controller/package.json index 0fb772b385..7486e56cb6 100644 --- a/packages/queued-request-controller/package.json +++ b/packages/queued-request-controller/package.json @@ -1,6 +1,6 @@ { "name": "@metamask/queued-request-controller", - "version": "6.0.0", + "version": "7.0.0", "description": "Includes a controller and middleware that implements a request queue", "keywords": [ "MetaMask", @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/json-rpc-engine": "^10.0.1", "@metamask/rpc-errors": "^7.0.1", "@metamask/swappable-obj-proxy": "^2.2.0", @@ -56,7 +56,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.0.0", + "@metamask/network-controller": "^22.0.1", "@metamask/selected-network-controller": "^19.0.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", diff --git a/packages/selected-network-controller/package.json b/packages/selected-network-controller/package.json index fc1ae9dc21..43f60c384a 100644 --- a/packages/selected-network-controller/package.json +++ b/packages/selected-network-controller/package.json @@ -54,7 +54,7 @@ }, "devDependencies": { "@metamask/auto-changelog": "^3.4.4", - "@metamask/network-controller": "^22.0.0", + "@metamask/network-controller": "^22.0.1", "@metamask/permission-controller": "^11.0.3", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", diff --git a/packages/signature-controller/package.json b/packages/signature-controller/package.json index c16d8246ea..bfa14109ba 100644 --- a/packages/signature-controller/package.json +++ b/packages/signature-controller/package.json @@ -48,7 +48,7 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/eth-sig-util": "^8.0.0", "@metamask/utils": "^10.0.0", "jsonschema": "^1.2.4", @@ -58,9 +58,9 @@ "devDependencies": { "@metamask/approval-controller": "^7.1.1", "@metamask/auto-changelog": "^3.4.4", - "@metamask/keyring-controller": "^17.3.0", + "@metamask/keyring-controller": "^17.3.1", "@metamask/logging-controller": "^6.0.1", - "@metamask/network-controller": "^22.0.0", + "@metamask/network-controller": "^22.0.1", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", "jest": "^27.5.1", diff --git a/packages/transaction-controller/package.json b/packages/transaction-controller/package.json index 85b0c8e296..0c09c02d6f 100644 --- a/packages/transaction-controller/package.json +++ b/packages/transaction-controller/package.json @@ -54,7 +54,7 @@ "@ethersproject/contracts": "^5.7.0", "@ethersproject/providers": "^5.7.0", "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/eth-query": "^4.0.0", "@metamask/metamask-eth-abis": "^3.1.1", "@metamask/nonce-tracker": "^6.0.0", @@ -69,14 +69,14 @@ }, "devDependencies": { "@babel/runtime": "^7.23.9", - "@metamask/accounts-controller": "^18.2.2", + "@metamask/accounts-controller": "^18.2.3", "@metamask/approval-controller": "^7.1.1", "@metamask/auto-changelog": "^3.4.4", "@metamask/eth-json-rpc-provider": "^4.1.6", "@metamask/ethjs-provider-http": "^0.3.0", "@metamask/gas-fee-controller": "^22.0.0", "@metamask/keyring-api": "^8.1.3", - "@metamask/network-controller": "^22.0.0", + "@metamask/network-controller": "^22.0.1", "@types/bn.js": "^5.1.5", "@types/jest": "^27.4.1", "@types/node": "^16.18.54", diff --git a/packages/user-operation-controller/package.json b/packages/user-operation-controller/package.json index e4f425fd3b..f648735945 100644 --- a/packages/user-operation-controller/package.json +++ b/packages/user-operation-controller/package.json @@ -49,9 +49,9 @@ }, "dependencies": { "@metamask/base-controller": "^7.0.2", - "@metamask/controller-utils": "^11.4.1", + "@metamask/controller-utils": "^11.4.2", "@metamask/eth-query": "^4.0.0", - "@metamask/polling-controller": "^12.0.0", + "@metamask/polling-controller": "^12.0.1", "@metamask/rpc-errors": "^7.0.1", "@metamask/superstruct": "^3.1.0", "@metamask/utils": "^10.0.0", @@ -64,8 +64,8 @@ "@metamask/approval-controller": "^7.1.1", "@metamask/auto-changelog": "^3.4.4", "@metamask/gas-fee-controller": "^22.0.0", - "@metamask/keyring-controller": "^17.3.0", - "@metamask/network-controller": "^22.0.0", + "@metamask/keyring-controller": "^17.3.1", + "@metamask/network-controller": "^22.0.1", "@metamask/transaction-controller": "^38.1.0", "@types/jest": "^27.4.1", "deepmerge": "^4.2.2", diff --git a/yarn.lock b/yarn.lock index e878214ed6..9f7c47be2f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2027,7 +2027,7 @@ __metadata: languageName: node linkType: hard -"@metamask/accounts-controller@npm:^18.2.2, @metamask/accounts-controller@workspace:packages/accounts-controller": +"@metamask/accounts-controller@npm:^18.2.3, @metamask/accounts-controller@workspace:packages/accounts-controller": version: 0.0.0-use.local resolution: "@metamask/accounts-controller@workspace:packages/accounts-controller" dependencies: @@ -2036,7 +2036,7 @@ __metadata: "@metamask/base-controller": "npm:^7.0.2" "@metamask/eth-snap-keyring": "npm:^4.3.6" "@metamask/keyring-api": "npm:^8.1.3" - "@metamask/keyring-controller": "npm:^17.3.0" + "@metamask/keyring-controller": "npm:^17.3.1" "@metamask/snaps-controllers": "npm:^9.7.0" "@metamask/snaps-sdk": "npm:^6.5.0" "@metamask/snaps-utils": "npm:^8.1.1" @@ -2075,7 +2075,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -2133,20 +2133,20 @@ __metadata: "@ethersproject/contracts": "npm:^5.7.0" "@ethersproject/providers": "npm:^5.7.0" "@metamask/abi-utils": "npm:^2.0.3" - "@metamask/accounts-controller": "npm:^18.2.2" + "@metamask/accounts-controller": "npm:^18.2.3" "@metamask/approval-controller": "npm:^7.1.1" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" "@metamask/contract-metadata": "npm:^2.4.0" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-provider-http": "npm:^0.3.0" "@metamask/keyring-api": "npm:^8.1.3" - "@metamask/keyring-controller": "npm:^17.3.0" + "@metamask/keyring-controller": "npm:^17.3.1" "@metamask/metamask-eth-abis": "npm:^3.1.1" - "@metamask/network-controller": "npm:^22.0.0" - "@metamask/polling-controller": "npm:^12.0.0" - "@metamask/preferences-controller": "npm:^13.1.0" + "@metamask/network-controller": "npm:^22.0.1" + "@metamask/polling-controller": "npm:^12.0.1" + "@metamask/preferences-controller": "npm:^13.2.0" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/utils": "npm:^10.0.0" "@types/bn.js": "npm:^5.1.5" @@ -2327,7 +2327,7 @@ __metadata: languageName: node linkType: hard -"@metamask/controller-utils@npm:^11.4.1, @metamask/controller-utils@workspace:packages/controller-utils": +"@metamask/controller-utils@npm:^11.4.2, @metamask/controller-utils@workspace:packages/controller-utils": version: 0.0.0-use.local resolution: "@metamask/controller-utils@workspace:packages/controller-utils" dependencies: @@ -2436,8 +2436,8 @@ __metadata: "@ethersproject/providers": "npm:^5.7.0" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" - "@metamask/network-controller": "npm:^22.0.0" + "@metamask/controller-utils": "npm:^11.4.2" + "@metamask/network-controller": "npm:^22.0.1" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -2803,7 +2803,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -2822,11 +2822,11 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-unit": "npm:^0.3.0" - "@metamask/network-controller": "npm:^22.0.0" - "@metamask/polling-controller": "npm:^12.0.0" + "@metamask/network-controller": "npm:^22.0.1" + "@metamask/polling-controller": "npm:^12.0.1" "@metamask/utils": "npm:^10.0.0" "@types/bn.js": "npm:^5.1.5" "@types/jest": "npm:^27.4.1" @@ -2930,7 +2930,7 @@ __metadata: languageName: node linkType: hard -"@metamask/keyring-controller@npm:^17.3.0, @metamask/keyring-controller@workspace:packages/keyring-controller": +"@metamask/keyring-controller@npm:^17.3.1, @metamask/keyring-controller@workspace:packages/keyring-controller": version: 0.0.0-use.local resolution: "@metamask/keyring-controller@workspace:packages/keyring-controller" dependencies: @@ -2947,7 +2947,7 @@ __metadata: "@metamask/eth-sig-util": "npm:^8.0.0" "@metamask/eth-simple-keyring": "npm:^6.0.5" "@metamask/keyring-api": "npm:^8.1.3" - "@metamask/message-manager": "npm:^11.0.0" + "@metamask/message-manager": "npm:^11.0.1" "@metamask/scure-bip39": "npm:^2.1.1" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" @@ -2972,7 +2972,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" jest: "npm:^27.5.1" @@ -2984,13 +2984,13 @@ __metadata: languageName: unknown linkType: soft -"@metamask/message-manager@npm:^11.0.0, @metamask/message-manager@workspace:packages/message-manager": +"@metamask/message-manager@npm:^11.0.1, @metamask/message-manager@workspace:packages/message-manager": version: 0.0.0-use.local resolution: "@metamask/message-manager@workspace:packages/message-manager" dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/eth-sig-util": "npm:^8.0.0" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" @@ -3034,7 +3034,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" async-mutex: "npm:^0.5.0" @@ -3047,14 +3047,14 @@ __metadata: languageName: unknown linkType: soft -"@metamask/network-controller@npm:^22.0.0, @metamask/network-controller@workspace:packages/network-controller": +"@metamask/network-controller@npm:^22.0.1, @metamask/network-controller@workspace:packages/network-controller": version: 0.0.0-use.local resolution: "@metamask/network-controller@workspace:packages/network-controller" dependencies: "@json-rpc-specification/meta-schema": "npm:^1.0.6" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@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" @@ -3124,8 +3124,8 @@ __metadata: "@lavamoat/allow-scripts": "npm:^3.0.4" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" - "@metamask/keyring-controller": "npm:^17.3.0" + "@metamask/controller-utils": "npm:^11.4.2" + "@metamask/keyring-controller": "npm:^17.3.1" "@metamask/profile-sync-controller": "npm:^0.9.7" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" @@ -3186,7 +3186,7 @@ __metadata: "@metamask/approval-controller": "npm:^7.1.1" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/json-rpc-engine": "npm:^10.0.1" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/utils": "npm:^10.0.0" @@ -3233,7 +3233,7 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@noble/hashes": "npm:^1.4.0" "@types/jest": "npm:^27.4.1" "@types/punycode": "npm:^2.1.0" @@ -3251,14 +3251,14 @@ __metadata: languageName: unknown linkType: soft -"@metamask/polling-controller@npm:^12.0.0, @metamask/polling-controller@workspace:packages/polling-controller": +"@metamask/polling-controller@npm:^12.0.1, @metamask/polling-controller@workspace:packages/polling-controller": version: 0.0.0-use.local resolution: "@metamask/polling-controller@workspace:packages/polling-controller" dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" - "@metamask/network-controller": "npm:^22.0.0" + "@metamask/controller-utils": "npm:^11.4.2" + "@metamask/network-controller": "npm:^22.0.1" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" "@types/uuid": "npm:^8.3.0" @@ -3286,14 +3286,14 @@ __metadata: languageName: node linkType: hard -"@metamask/preferences-controller@npm:^13.1.0, @metamask/preferences-controller@workspace:packages/preferences-controller": +"@metamask/preferences-controller@npm:^13.2.0, @metamask/preferences-controller@workspace:packages/preferences-controller": version: 0.0.0-use.local resolution: "@metamask/preferences-controller@workspace:packages/preferences-controller" dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" - "@metamask/keyring-controller": "npm:^17.3.0" + "@metamask/controller-utils": "npm:^11.4.2" + "@metamask/keyring-controller": "npm:^17.3.1" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" jest: "npm:^27.5.1" @@ -3312,12 +3312,12 @@ __metadata: resolution: "@metamask/profile-sync-controller@workspace:packages/profile-sync-controller" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/accounts-controller": "npm:^18.2.2" + "@metamask/accounts-controller": "npm:^18.2.3" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" "@metamask/keyring-api": "npm:^8.1.3" - "@metamask/keyring-controller": "npm:^17.3.0" - "@metamask/network-controller": "npm:^22.0.0" + "@metamask/keyring-controller": "npm:^17.3.1" + "@metamask/network-controller": "npm:^22.0.1" "@metamask/snaps-controllers": "npm:^9.7.0" "@metamask/snaps-sdk": "npm:^6.5.0" "@metamask/snaps-utils": "npm:^8.1.1" @@ -3371,9 +3371,9 @@ __metadata: dependencies: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/json-rpc-engine": "npm:^10.0.1" - "@metamask/network-controller": "npm:^22.0.0" + "@metamask/network-controller": "npm:^22.0.1" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/selected-network-controller": "npm:^19.0.0" "@metamask/swappable-obj-proxy": "npm:^2.2.0" @@ -3457,7 +3457,7 @@ __metadata: "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" "@metamask/json-rpc-engine": "npm:^10.0.1" - "@metamask/network-controller": "npm:^22.0.0" + "@metamask/network-controller": "npm:^22.0.1" "@metamask/permission-controller": "npm:^11.0.3" "@metamask/swappable-obj-proxy": "npm:^2.2.0" "@metamask/utils": "npm:^10.0.0" @@ -3485,11 +3485,11 @@ __metadata: "@metamask/approval-controller": "npm:^7.1.1" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/eth-sig-util": "npm:^8.0.0" - "@metamask/keyring-controller": "npm:^17.3.0" + "@metamask/keyring-controller": "npm:^17.3.1" "@metamask/logging-controller": "npm:^6.0.1" - "@metamask/network-controller": "npm:^22.0.0" + "@metamask/network-controller": "npm:^22.0.1" "@metamask/utils": "npm:^10.0.0" "@types/jest": "npm:^27.4.1" deepmerge: "npm:^4.2.2" @@ -3688,18 +3688,18 @@ __metadata: "@ethersproject/abi": "npm:^5.7.0" "@ethersproject/contracts": "npm:^5.7.0" "@ethersproject/providers": "npm:^5.7.0" - "@metamask/accounts-controller": "npm:^18.2.2" + "@metamask/accounts-controller": "npm:^18.2.3" "@metamask/approval-controller": "npm:^7.1.1" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/eth-json-rpc-provider": "npm:^4.1.6" "@metamask/eth-query": "npm:^4.0.0" "@metamask/ethjs-provider-http": "npm:^0.3.0" "@metamask/gas-fee-controller": "npm:^22.0.0" "@metamask/keyring-api": "npm:^8.1.3" "@metamask/metamask-eth-abis": "npm:^3.1.1" - "@metamask/network-controller": "npm:^22.0.0" + "@metamask/network-controller": "npm:^22.0.1" "@metamask/nonce-tracker": "npm:^6.0.0" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/utils": "npm:^10.0.0" @@ -3737,12 +3737,12 @@ __metadata: "@metamask/approval-controller": "npm:^7.1.1" "@metamask/auto-changelog": "npm:^3.4.4" "@metamask/base-controller": "npm:^7.0.2" - "@metamask/controller-utils": "npm:^11.4.1" + "@metamask/controller-utils": "npm:^11.4.2" "@metamask/eth-query": "npm:^4.0.0" "@metamask/gas-fee-controller": "npm:^22.0.0" - "@metamask/keyring-controller": "npm:^17.3.0" - "@metamask/network-controller": "npm:^22.0.0" - "@metamask/polling-controller": "npm:^12.0.0" + "@metamask/keyring-controller": "npm:^17.3.1" + "@metamask/network-controller": "npm:^22.0.1" + "@metamask/polling-controller": "npm:^12.0.1" "@metamask/rpc-errors": "npm:^7.0.1" "@metamask/superstruct": "npm:^3.1.0" "@metamask/transaction-controller": "npm:^38.1.0"