diff --git a/app/scripts/controllers/preferences-controller.ts b/app/scripts/controllers/preferences-controller.ts index dce2ef3d0512..d705be4c3180 100644 --- a/app/scripts/controllers/preferences-controller.ts +++ b/app/scripts/controllers/preferences-controller.ts @@ -124,10 +124,14 @@ export type Preferences = { shouldShowAggregatedBalancePopover: boolean; }; -// Omitting showTestNetworks and smartTransactionsOptInStatus, as they already exists here in Preferences type +// Omitting properties that already exist in the PreferencesState, as part of the preferences property. export type PreferencesControllerState = Omit< PreferencesState, - 'showTestNetworks' | 'smartTransactionsOptInStatus' + | 'showTestNetworks' + | 'smartTransactionsOptInStatus' + | 'privacyMode' + | 'tokenSortConfig' + | 'useMultiRpcMigration' > & { useBlockie: boolean; useNonceField: boolean; @@ -135,7 +139,6 @@ export type PreferencesControllerState = Omit< dismissSeedBackUpReminder: boolean; overrideContentSecurityPolicyHeader: boolean; useMultiAccountBalanceChecker: boolean; - useSafeChainsListValidation: boolean; use4ByteResolution: boolean; useCurrencyRateCheck: boolean; useRequestQueue: boolean; diff --git a/package.json b/package.json index ba53b1bbf288..5afe8ca69d75 100644 --- a/package.json +++ b/package.json @@ -467,7 +467,7 @@ "@metamask/eth-json-rpc-provider": "^4.1.6", "@metamask/forwarder": "^1.1.0", "@metamask/phishing-warning": "^4.1.0", - "@metamask/preferences-controller": "^13.0.2", + "@metamask/preferences-controller": "^14.0.0", "@metamask/test-bundler": "^1.0.0", "@metamask/test-dapp": "8.13.0", "@octokit/core": "^3.6.0", diff --git a/yarn.lock b/yarn.lock index 159ea9658db7..4fbf80a01a15 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6080,15 +6080,15 @@ __metadata: languageName: node linkType: hard -"@metamask/preferences-controller@npm:^13.0.2": - version: 13.0.3 - resolution: "@metamask/preferences-controller@npm:13.0.3" +"@metamask/preferences-controller@npm:^14.0.0": + version: 14.0.0 + resolution: "@metamask/preferences-controller@npm:14.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" peerDependencies: - "@metamask/keyring-controller": ^17.0.0 - checksum: 10/d922c2e603c7a1ef0301dcfc7d5b6aa0bbdd9c318f0857fbbc9e95606609ae806e69c46231288953ce443322039781404565a46fe42bdfa731c4f0da20448d32 + "@metamask/keyring-controller": ^18.0.0 + checksum: 10/cc1fdfe4dc6f4c058c518b59f13b7badd0de92e04e143aec6787be3a8807364d545dcb26172dd005e0d6865b06614b963385f0863a3e2a04d234bd6d33474942 languageName: node linkType: hard @@ -26581,7 +26581,7 @@ __metadata: "@metamask/polling-controller": "npm:^11.0.0" "@metamask/post-message-stream": "npm:^8.0.0" "@metamask/ppom-validator": "npm:0.35.1" - "@metamask/preferences-controller": "npm:^13.0.2" + "@metamask/preferences-controller": "npm:^14.0.0" "@metamask/preinstalled-example-snap": "npm:^0.2.0" "@metamask/profile-sync-controller": "npm:^2.0.0" "@metamask/providers": "npm:^18.2.0"