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

fix: Added missing package-level export for TransactionControllerOptions #4683

Merged

Conversation

kanthesha
Copy link
Contributor

Explanation

Added missing package-level export for TransactionControllerOptions type.

References

Changelog

@metamask/transaction-controller

  • FIXED: Add missing package-level export for TransactionControllerOptions type.

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

@kanthesha kanthesha marked this pull request as ready for review September 11, 2024 10:09
@kanthesha kanthesha requested a review from a team as a code owner September 11, 2024 10:09
Copy link
Member

@mikesposito mikesposito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one nit

@@ -22,6 +22,7 @@ export type {
TransactionControllerTransactionSubmittedEvent,
TransactionControllerUnapprovedTransactionAddedEvent,
TransactionControllerMessenger,
TransactionControllerOptions,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FIXED: Add missing package-level export for TransactionControllerOptions type.

I think we are exporting a new type from this package more than fixing something, although it is a fix in terms of how the package is aligned with others. Thoughts on making this an ADDED entry?

Related to this, do you think we can edit this directly in the Unreleased section of the CHANGELOG?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. I think, it has another angle, it fixes something which was expected to be exported.

I believe, we can edit CHANGELOG at the time of release.

@kanthesha kanthesha merged commit bd45f0c into main Sep 11, 2024
117 checks passed
@kanthesha kanthesha deleted the fix/package-level-export-transactioncontrolleroptions branch September 11, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants