Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: export enums properly rather than as types #5466

Merged
merged 3 commits into from
Mar 13, 2025

Conversation

infiniteflower
Copy link
Contributor

@infiniteflower infiniteflower commented Mar 12, 2025

Explanation

This PR exports enums from bridge-controller as values rather than just as types.

References

Changelog

@metamask/bridge-controller

  • CHANGED: AssetType, SortOrder, BridgeFlag, ActionTypes, ChainId, BridgeFeatureFlagsKey, RequestStatus, BridgeUserAction, BridgeBackgroundAction, FeeType enums now exported properly rather than just as types.

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@infiniteflower infiniteflower marked this pull request as ready for review March 12, 2025 22:58
@infiniteflower infiniteflower requested a review from a team as a code owner March 12, 2025 22:58
@infiniteflower infiniteflower enabled auto-merge (squash) March 13, 2025 16:42
@infiniteflower infiniteflower merged commit 4de2849 into main Mar 13, 2025
136 checks passed
@infiniteflower infiniteflower deleted the chore/bridge-enum-export branch March 13, 2025 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants