Skip to content

Commit 54d4402

Browse files
authored
Merge branch 'jongsun/build/251103-enable-react-compiler' into jongsun/build/enable-react-compiler-webpack
2 parents 659c749 + d0321db commit 54d4402

File tree

97 files changed

+1960
-1548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1960
-1548
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
diff --git a/dist/TokenBalancesController.cjs b/dist/TokenBalancesController.cjs
2+
index 4918812dde60b8d0e24a7bded27d88f233968858..4e8018bce92b9e5d47fc40784409e16db22be615 100644
3+
--- a/dist/TokenBalancesController.cjs
4+
+++ b/dist/TokenBalancesController.cjs
5+
@@ -535,14 +535,16 @@ class TokenBalancesController extends (0, polling_controller_1.StaticIntervalPol
6+
}
7+
// Update with actual fetched balances only if the value has changed
8+
aggregated.forEach(({ success, value, account, token, chainId }) => {
9+
- var _a, _b, _c;
10+
+ var _a, _b;
11+
if (success && value !== undefined) {
12+
+ // Ensure all accounts we add/update are in lower-case
13+
+ const lowerCaseAccount = account.toLowerCase();
14+
const newBalance = (0, controller_utils_1.toHex)(value);
15+
const tokenAddress = checksum(token);
16+
- const currentBalance = d.tokenBalances[account]?.[chainId]?.[tokenAddress];
17+
+ const currentBalance = d.tokenBalances[lowerCaseAccount]?.[chainId]?.[tokenAddress];
18+
// Only update if the balance has actually changed
19+
if (currentBalance !== newBalance) {
20+
- ((_c = ((_a = d.tokenBalances)[_b = account] ?? (_a[_b] = {})))[chainId] ?? (_c[chainId] = {}))[tokenAddress] = newBalance;
21+
+ ((_b = ((_a = d.tokenBalances)[lowerCaseAccount] ?? (_a[lowerCaseAccount] = {})))[chainId] ?? (_b[chainId] = {}))[tokenAddress] = newBalance;
22+
}
23+
}
24+
});
25+
diff --git a/dist/TokenBalancesController.mjs b/dist/TokenBalancesController.mjs
26+
index f64d13f8de56631345a44e6ebb025e62e03f51bc..99aa7f27c574c94b26daa56091ac50d15281dd30 100644
27+
--- a/dist/TokenBalancesController.mjs
28+
+++ b/dist/TokenBalancesController.mjs
29+
@@ -531,14 +531,16 @@ export class TokenBalancesController extends StaticIntervalPollingController() {
30+
}
31+
// Update with actual fetched balances only if the value has changed
32+
aggregated.forEach(({ success, value, account, token, chainId }) => {
33+
- var _a, _b, _c;
34+
+ var _a, _b;
35+
if (success && value !== undefined) {
36+
+ // Ensure all accounts we add/update are in lower-case
37+
+ const lowerCaseAccount = account.toLowerCase();
38+
const newBalance = toHex(value);
39+
const tokenAddress = checksum(token);
40+
- const currentBalance = d.tokenBalances[account]?.[chainId]?.[tokenAddress];
41+
+ const currentBalance = d.tokenBalances[lowerCaseAccount]?.[chainId]?.[tokenAddress];
42+
// Only update if the balance has actually changed
43+
if (currentBalance !== newBalance) {
44+
- ((_c = ((_a = d.tokenBalances)[_b = account] ?? (_a[_b] = {})))[chainId] ?? (_c[chainId] = {}))[tokenAddress] = newBalance;
45+
+ ((_b = ((_a = d.tokenBalances)[lowerCaseAccount] ?? (_a[lowerCaseAccount] = {})))[chainId] ?? (_b[chainId] = {}))[tokenAddress] = newBalance;
46+
}
47+
}
48+
});

CHANGELOG.md

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

88
## [Unreleased]
99

10+
## [13.10.0]
11+
12+
### Added
13+
14+
- Updated Shield settings banner ui, copywriting and text colors (#37791)
15+
- Updated texts and notes for shield plan page (#37800)
16+
- Supports tron in the swaps and bridge experience (#37683)
17+
- Show Shield Settings billing account name in full (#37797)
18+
- Add generic Platform Notification support (#37709)
19+
- Introduced sidepanel (#37304)
20+
- Adds shield membership event metrics (#37767)
21+
- Adds new events for shield eligibility and priority support (#37822)
22+
- Updated text on Claims Form top details (#37770)
23+
- Added metrics tracking for the new Subscriptions (#37735)
24+
- Updated error codes for shield rule engine (#37748)
25+
- Adds animation to Shield Entry Modal Illustration (#37686)
26+
- Updated Transaction Shield page UI and added animated icons (#37692)
27+
- Improved initial cross ecosystem connection flows by preselecting all supported chains (EVM + Solana) when connecting through (#37088)
28+
injected providers
29+
- Updated Shield Entry modal UI and added fullscreen mode (#37594)
30+
- All coverage statuses show a background of a lighter text color (#37580)
31+
Gray status for not covered shield coverage status
32+
Icon i info for all shield coverage status alert
33+
Fix shield coverage status for simple send not showing
34+
Onlys how shield footer indicator for
35+
signature/transaction confirmation
36+
- Implement cohort-based gating system for Shield entry modal display (#37651)
37+
- Keep shield transaction claimable after subscription cancelled (#37700)
38+
navigate back to shield plan if showing cancelled
39+
subscription and user press renew
40+
- Added gas sponsorship for shield trial subscriptions (#37441)
41+
- Enable automatic updates of preinstalled Snaps (#37610)
42+
- Get required configurations for shield claims process from the backend (#37693)
43+
- Virtualize the Tokens list (#37589)
44+
- Add Shield entry modal to settings page (#37606)
45+
- Added automatic account upgrade support (#37571)
46+
- Added support for Tron (#35984)
47+
- Support ignoring non-evm tokens (#37423)
48+
- Added `@metamask/claims-controller` for shield claims Added Claim Signature Generation (#37597)
49+
- Support importing non-evm tokens (#37501)
50+
- Shield plan copywriting update and removed footer note (#37595)
51+
- Show Priority Tag on Menu > Support when shield subscription is active or paused (#37590)
52+
53+
### Fixed
54+
55+
- Fixed evaluateCohortEligibility call in home page just after the onboarding is completed (#37803)
56+
- Fixed shield coverage alert title for the Signature requests (#37799)
57+
- Fixes shield metrics events wrt to eventSource and cohort props (#37783)
58+
- Permissions screen height (#37812)
59+
- Added missing metrics to import SRP flow (#37567)
60+
- Shows token balance for gas tokens if fiat balance is disabled in settings (#37738)
61+
- Updates confirmations logic for sidepanel (#37778)
62+
- Used feature flag to only show this change when sidepanel flag is enabled for chrome. Updated button on wallet creation (#37782)
63+
successful page from 'Done' to 'Open wallet'
64+
- Applied the settings theme to modify the background color of the unlock page (#37726)
65+
- Fix subscription default card payment method not saved (#37774)
66+
- Adds a hovered component when the address link is hovered over (#37539)
67+
- Added back hardware wallet device selection on expanded view in the context of sidepanel (#37731)
68+
- Fixed account details menu appearing in dapp connection account selection (#37704)
69+
- Fix design defects and show all native assets regardless of balance in send flow (#37613)
70+
- Fixed backup and sync toggle not persisting user's choice during onboarding (#37578)
71+
- Disable default "Alert" text and the arrow for inline Confirmation alerts (#37542)
72+
- Fixed bridging with qr-based wallets (#37549)
73+
- Validate seedphrase when user paste the data (#37611)
74+
- Fix incorrect token approval amount when change shield plan (#37585)
75+
- Show dest token symbol in HW approval label (#37629)
76+
- Smart transaction send and receive copy (#36229)
77+
- Fixed "Premature close" stream errors in extension context by adding graceful shutdown handlers (#37400)
78+
- Removed deprecated network warnings that were displayed at the bottom of the extension (#37702)
79+
- Use preferred avatar in site tooltip (#37634)
80+
- Filter Tron Energy/Bandwidth assets on token list (#37699)
81+
- Updates Shield Terms of Use URL (#37769)
82+
- Updates Shield confirmation messages (#37829)
83+
- Adds `from` and `to` fields to the send confirmation view (#37906)
84+
- Fixes menu height overflow (#37915)
85+
- Fixes crash when clicking away from swap flow (#37922)
86+
- Fixes styling in `MultichainHoveredAddressRowsList` and `MultichainAggregatedAddressListRow` components (#37792)
87+
- Fixes a bug that was not copying the checksummed address (#37939)
88+
- Updates Predict deeplink handler (#37907)
89+
- Fixes `Open full screen` text (#37916)
90+
- Adds the support link back in unlock page (#37967)
91+
1092
## [13.9.0]
1193

1294
### Added
@@ -1135,7 +1217,8 @@ authorized by the user.` error until the user fully revoked dapp
11351217
- This changelog was split off with 12.22.0
11361218
- All older changes can be found in [docs/CHANGELOG_older.md](https://github.com/MetaMask/metamask-extension/blob/main/docs/CHANGELOG_older.md)
11371219

1138-
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v13.9.0...HEAD
1220+
[Unreleased]: https://github.com/MetaMask/metamask-extension/compare/v13.10.0...HEAD
1221+
[13.10.0]: https://github.com/MetaMask/metamask-extension/compare/v13.9.0...v13.10.0
11391222
[13.9.0]: https://github.com/MetaMask/metamask-extension/compare/v13.8.0...v13.9.0
11401223
[13.8.0]: https://github.com/MetaMask/metamask-extension/compare/v13.7.0...v13.8.0
11411224
[13.7.0]: https://github.com/MetaMask/metamask-extension/compare/v13.6.0...v13.7.0

app/_locales/en/messages.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/_locales/en_GB/messages.json

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
14.6 KB
Binary file not shown.
-994 KB
Binary file not shown.
-3.64 KB
Binary file not shown.

app/images/shield-entry-modal.png

-13.6 KB
Binary file not shown.
-601 Bytes
Binary file not shown.
-58.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)