fix: point DIGEST_API_URL to production endpoint cp-7.71.1 cp-7.72.0#28088
Conversation
Made-with: Cursor
|
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. |
Made-with: Cursor
9d584a4
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Impact analysis:
No performance tests are needed as this is a URL configuration change with no rendering, state management, or computational impact. Performance Test Selection: |
|



Description
Switches the hardcoded fallback value for
DIGEST_API_URLinAppConstants.tsfrom the dev endpoint (digest.dev-api.cx.metamask.io) to the production endpoint (digest.api.cx.metamask.io).Also moves the
@metamask/sdk-communication-layerimport to the top of the file to follow alphabetical import ordering.Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
N/A
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Pre-merge reviewer checklist
Made with Cursor
Note
Low Risk
Low risk: only changes a constant fallback URL and import ordering. Main impact is that builds without
DIGEST_API_URLwill now call the production digest service instead of the dev endpoint.Overview
Updates
AppConstants.DIGEST_API_URLto default to the productionhttps://digest.api.cx.metamask.io/api/v1endpoint when theDIGEST_API_URLenv var is not set.Also reorders the
DEFAULT_SERVER_URLimport to match expected import ordering.Written by Cursor Bugbot for commit 9d584a4. This will update automatically on new commits. Configure here.