fix: Migrate API usage from *.metafi and *.metaswap subdomains to *.api.cx.metamask.io#24698
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
…pi.cx.metamask.io
15c4cdc to
94c9a24
Compare
There was a problem hiding this comment.
The updates to the component-library folder look great! There's one failing unit test and some possibly flaky e2e tests to address. I can approve on behalf of @MetaMask/design-system-engineers once those are resolved.
- Verified that new image links in
AvatarTokenare working. ✅
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@metamask/name-controller@6.0.1 |
|
👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎ This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored. |
|
@metamaskbot update-policies |
|
Policies updated |
Builds ready [8b83b3b]
Page Load Metrics (116 ± 144 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #24698 +/- ##
===========================================
- Coverage 67.37% 65.39% -1.98%
===========================================
Files 1278 1351 +73
Lines 49881 53961 +4080
Branches 12944 14037 +1093
===========================================
+ Hits 33605 35283 +1678
- Misses 16276 18678 +2402 ☔ View full report in Codecov by Sentry. |
Pipeline is back to green |
|
@SocketSecurity ignore npm/@metamask/name-controller@6.0.1 |
Prithpal-Sooriya
left a comment
There was a problem hiding this comment.
Good on the notifications side (we are not using any of the old API domains)
pedronfigueiredo
left a comment
There was a problem hiding this comment.
I reviewed the privacy snapshots. LGTM!

Description
API Platform team intends to deprecate *.metafi and *.metaswap subdomains in favour of *.api.cx.metamask.io
The new *.api.cx.metamask.io is already in place.
The old *.metafi and *.metaswap are still used across the controllers.
Controllers do not break currently because redirects are in place for the older sub-domains.
The redirects will be removed once all clients (Extension, Mobile, Core) are migrated.
Related issues
Fixes: #2351
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist