Skip to content

Commit

Permalink
Merge pull request #24385 from MetaMask/Version-v11.15.2
Browse files Browse the repository at this point in the history
Version v11.15.2
  • Loading branch information
danjm committed May 6, 2024
2 parents 5ee4ae3 + da8fd37 commit 6327468
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [11.15.2]
### Fixed
- Ensure smart transaction modal is shown for users upgrading from previous versions ([#24377](https://github.com/MetaMask/metamask-extension/pull/24377))

## [11.15.1]
### Changed
- Restores 11.15.0, and also incorporates the 11.14.4 and 11.14.5 changes
Expand Down Expand Up @@ -4673,7 +4677,8 @@ Update styles and spacing on the critical error page ([#20350](https://github.c
- Added the ability to restore accounts from seed words.


[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v11.15.1...HEAD
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v11.15.2...HEAD
[11.15.2]: https://github.com/MetaMask/metamask-extension/compare/v11.15.1...v11.15.2
[11.15.1]: https://github.com/MetaMask/metamask-extension/compare/v11.15.0...v11.15.1
[11.15.0]: https://github.com/MetaMask/metamask-extension/compare/v11.14.5...v11.15.0
[11.14.5]: https://github.com/MetaMask/metamask-extension/compare/v11.14.4...v11.14.5
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "metamask-crx",
"version": "11.15.1",
"version": "11.15.2",
"private": true,
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions shared/modules/selectors/smart-transactions.ts
Expand Up @@ -13,7 +13,7 @@ import {
type SmartTransactionsMetaMaskState = {
metamask: {
preferences: {
smartTransactionsOptInStatus: boolean | null;
smartTransactionsOptInStatus?: boolean | null;
};
internalAccounts: {
selectedAccount: string;
Expand Down Expand Up @@ -62,7 +62,7 @@ type SmartTransactionsMetaMaskState = {
export const getSmartTransactionsOptInStatus = (
state: SmartTransactionsMetaMaskState,
): boolean | null => {
return state.metamask.preferences?.smartTransactionsOptInStatus;
return state.metamask.preferences?.smartTransactionsOptInStatus ?? null;
};

export const getCurrentChainSupportsSmartTransactions = (
Expand Down

0 comments on commit 6327468

Please sign in to comment.