Skip to content

Commit 762b968

Browse files
authored
Merge pull request #27434 from MetaMask/Version-v12.3.1
Version v12.3.1 RC
2 parents 63a50cc + 2ede67e commit 762b968

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [12.3.1]
10+
### Fixed
11+
- Fix duplicate network validation ([#27463](https://github.com/MetaMask/metamask-extension/pull/27463))
12+
- Fix notification metrics ([#27435](https://github.com/MetaMask/metamask-extension/pull/27435))
13+
- Fix transaction metrics ([#27457](https://github.com/MetaMask/metamask-extension/pull/27457))
14+
915
## [12.3.0]
1016
### Added
1117
- Added the ability to name accounts during the snap account creation flow ([#25191](https://github.com/MetaMask/metamask-extension/pull/25191))
@@ -5106,7 +5112,8 @@ Update styles and spacing on the critical error page ([#20350](https://github.c
51065112
- Added the ability to restore accounts from seed words.
51075113

51085114

5109-
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v12.3.0...HEAD
5115+
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v12.3.1...HEAD
5116+
[12.3.1]: https://github.com/MetaMask/metamask-extension/compare/v12.3.0...v12.3.1
51105117
[12.3.0]: https://github.com/MetaMask/metamask-extension/compare/v12.2.4...v12.3.0
51115118
[12.2.4]: https://github.com/MetaMask/metamask-extension/compare/v12.2.3...v12.2.4
51125119
[12.2.3]: https://github.com/MetaMask/metamask-extension/compare/v12.2.2...v12.2.3

app/scripts/lib/transaction/metrics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -810,10 +810,10 @@ async function buildEventFragmentProperties({
810810

811811
let contractMethodName;
812812
if (transactionMeta.txParams.data) {
813-
const { name } = await transactionMetricsRequest.getMethodData(
813+
const methodData = await transactionMetricsRequest.getMethodData(
814814
transactionMeta.txParams.data,
815815
);
816-
contractMethodName = name;
816+
contractMethodName = methodData?.name;
817817
}
818818

819819
// TODO: Replace `any` with type

app/scripts/metamask-controller.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1488,8 +1488,6 @@ export default class MetamaskController extends EventEmitter {
14881488
notification_id: notification.id,
14891489
notification_type: notification.type,
14901490
chain_id: notification?.chain_id,
1491-
notification_is_read: notification.isRead,
1492-
click_type: 'push_notification',
14931491
},
14941492
});
14951493
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metamask-crx",
3-
"version": "12.3.0",
3+
"version": "12.3.1",
44
"private": true,
55
"repository": {
66
"type": "git",

test/e2e/tests/metrics/nft-detection-metrics.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ describe('Nft detection event @no-mmi', function () {
102102
chain_id: '0x539',
103103
environment_type: 'fullscreen',
104104
is_profile_syncing_enabled: null,
105-
is_signed_in: false,
106105
});
107106
assert.deepStrictEqual(events[2].properties, {
108107
nft_autodetection_enabled: true,

test/e2e/tests/metrics/token-detection-metrics.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ describe('Token detection event @no-mmi', function () {
9999
chain_id: '0x539',
100100
environment_type: 'fullscreen',
101101
is_profile_syncing_enabled: null,
102-
is_signed_in: false,
103102
});
104103
assert.deepStrictEqual(events[2].properties, {
105104
token_detection_enabled: true,

test/e2e/tests/metrics/wallet-created.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ describe('Wallet Created Events @no-mmi', function () {
8888
chain_id: '0x539',
8989
environment_type: 'fullscreen',
9090
is_profile_syncing_enabled: null,
91-
is_signed_in: false,
9291
});
9392
},
9493
);

ui/components/multichain/global-menu/global-menu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ export const GlobalMenu = ({ closeMenu, anchorElement, isOpen }) => {
148148

149149
if (shouldShowEnableModal) {
150150
trackEvent({
151+
category: MetaMetricsEventCategory.NotificationsActivationFlow,
151152
event: MetaMetricsEventName.NotificationsActivated,
152153
properties: {
153154
action_type: 'started',

ui/components/multichain/notification-detail-button/notification-detail-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const NotificationDetailButton = ({
3838
const onClick = () => {
3939
trackEvent({
4040
category: MetaMetricsEventCategory.NotificationInteraction,
41-
event: MetaMetricsEventName.NotificationClicked,
41+
event: MetaMetricsEventName.NotificationDetailClicked,
4242
properties: {
4343
notification_id: notification.id,
4444
notification_type: notification.type,

ui/pages/onboarding-flow/creation-successful/creation-successful.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {
2525
import { MetaMetricsContext } from '../../../contexts/metametrics';
2626
import { useCreateSession } from '../../../hooks/metamask-notifications/useCreateSession';
2727
import { selectIsProfileSyncingEnabled } from '../../../selectors/metamask-notifications/profile-syncing';
28-
import { selectIsSignedIn } from '../../../selectors/metamask-notifications/authentication';
2928

3029
export default function CreationSuccessful() {
3130
const history = useHistory();
@@ -37,8 +36,6 @@ export default function CreationSuccessful() {
3736

3837
const isProfileSyncingEnabled = useSelector(selectIsProfileSyncingEnabled);
3938

40-
const isSignedIn = useSelector(selectIsSignedIn);
41-
4239
return (
4340
<div className="creation-successful" data-testid="creation-successful">
4441
<Box textAlign={TextAlign.Center}>
@@ -118,7 +115,6 @@ export default function CreationSuccessful() {
118115
event: MetaMetricsEventName.OnboardingWalletCreationComplete,
119116
properties: {
120117
method: firstTimeFlowType,
121-
is_signed_in: isSignedIn,
122118
is_profile_syncing_enabled: isProfileSyncingEnabled,
123119
},
124120
});

0 commit comments

Comments
 (0)