Skip to content

Commit a06fd11

Browse files
authored
Merge pull request #23547 from MetaMask/Version-v11.12.3
Version v11.12.3
2 parents 8c9ef75 + 55f21f7 commit a06fd11

File tree

6 files changed

+48
-3
lines changed

6 files changed

+48
-3
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [11.12.3]
10+
### Fixed
11+
- [MMI] Fixes an error related with a missing code fence, when the MMI build didn't have the blockaid feature ([#23516](https://github.com/MetaMask/metamask-extension/pull/23516))
12+
- [MMI] Fixes a bug for some custodians that don't send us the env property when connection to MMI ([#23494](https://github.com/MetaMask/metamask-extension/pull/23494))
13+
914
## [11.12.2]
1015
### Fixed
1116
- Fix transaction confirmations so that they correctly show estimated fees instead of max possible fees
@@ -4502,7 +4507,8 @@ Update styles and spacing on the critical error page ([#20350](https://github.c
45024507
### Uncategorized
45034508
- Added the ability to restore accounts from seed words.
45044509

4505-
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v11.12.2...HEAD
4510+
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v11.12.3...HEAD
4511+
[11.12.3]: https://github.com/MetaMask/metamask-extension/compare/v11.12.2...v11.12.3
45064512
[11.12.2]: https://github.com/MetaMask/metamask-extension/compare/v11.12.1...v11.12.2
45074513
[11.12.1]: https://github.com/MetaMask/metamask-extension/compare/v11.12.0...v11.12.1
45084514
[11.12.0]: https://github.com/MetaMask/metamask-extension/compare/v11.11.4...v11.12.0

app/scripts/lib/createRPCMethodTrackingMiddleware.js

+2
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ export default function createRPCMethodTrackingMiddleware({
325325

326326
let blockaidMetricProps = {};
327327

328+
///: BEGIN:ONLY_INCLUDE_IF(blockaid)
328329
if (!isDisabledRPCMethod) {
329330
if (SIGNING_METHODS.includes(method)) {
330331
const securityAlertResponse =
@@ -337,6 +338,7 @@ export default function createRPCMethodTrackingMiddleware({
337338
});
338339
}
339340
}
341+
///: END:ONLY_INCLUDE_IF
340342

341343
const properties = {
342344
...eventProperties,

builds.yml

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ buildTypes:
100100
features:
101101
- build-mmi
102102
- snaps
103+
- blockaid
103104
env:
104105
- INFURA_MMI_PROJECT_ID
105106
- SEGMENT_MMI_WRITE_KEY

lavamoat/browserify/mmi/policy.json

+34
Original file line numberDiff line numberDiff line change
@@ -1827,6 +1827,40 @@
18271827
"webpack>events": true
18281828
}
18291829
},
1830+
"@metamask/ppom-validator": {
1831+
"globals": {
1832+
"URL": true,
1833+
"console.error": true,
1834+
"crypto": true
1835+
},
1836+
"packages": {
1837+
"@metamask/controller-utils": true,
1838+
"@metamask/eth-query>json-rpc-random-id": true,
1839+
"@metamask/ppom-validator>@metamask/base-controller": true,
1840+
"@metamask/ppom-validator>crypto-js": true,
1841+
"@metamask/ppom-validator>elliptic": true,
1842+
"await-semaphore": true,
1843+
"browserify>buffer": true
1844+
}
1845+
},
1846+
"@metamask/ppom-validator>@metamask/base-controller": {
1847+
"globals": {
1848+
"setTimeout": true
1849+
},
1850+
"packages": {
1851+
"immer": true
1852+
}
1853+
},
1854+
"@metamask/ppom-validator>crypto-js": {
1855+
"globals": {
1856+
"crypto": true,
1857+
"define": true,
1858+
"msCrypto": true
1859+
},
1860+
"packages": {
1861+
"browserify>browser-resolve": true
1862+
}
1863+
},
18301864
"@metamask/ppom-validator>elliptic": {
18311865
"packages": {
18321866
"@metamask/ppom-validator>elliptic>brorand": true,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "metamask-crx",
3-
"version": "11.12.2",
3+
"version": "11.12.3",
44
"private": true,
55
"repository": {
66
"type": "git",

ui/pages/institutional/confirm-add-custodian-token/confirm-add-custodian-token.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,10 @@ const ConfirmAddCustodianToken = () => {
125125
const custodianLabel =
126126
connectRequest.labels?.find((label) => label.key === 'service')?.value ||
127127
t('custodian');
128+
129+
// Some custodians dont sent the "environment" inthe connect request
128130
const custodian = findCustodianByEnvName(
129-
connectRequest.environment,
131+
connectRequest.environment || custodianLabel,
130132
custodians,
131133
);
132134

0 commit comments

Comments
 (0)