Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version v11.15.2 #24385

Merged
merged 2 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Loading