Skip to content

Add options bag to addTransaction public API method#1576

Merged
OGPoyraz merged 8 commits intomainfrom
1050-use-options-object-in-addtransaction-method-in-core-transaction-controller
Aug 14, 2023
Merged

Add options bag to addTransaction public API method#1576
OGPoyraz merged 8 commits intomainfrom
1050-use-options-object-in-addtransaction-method-in-core-transaction-controller

Conversation

@OGPoyraz
Copy link
Copy Markdown
Member

@OGPoyraz OGPoyraz commented Aug 4, 2023

Explanation

In order to align Tx controller public APIs between mobile & extension, this PR aims to add an options bag instead of inline arguments for addTransaction function.

Changelog

@metamask/transaction-controller

  • BREAKING: Adds option bag to addTransaction public API method instead of inline arguments.

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

@OGPoyraz OGPoyraz requested a review from a team as a code owner August 4, 2023 09:19
@OGPoyraz OGPoyraz changed the title fix: add options bag to addTransaction fn Add options bag to addTransaction public API method Aug 4, 2023
OGPoyraz and others added 4 commits August 14, 2023 12:58
Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
Co-authored-by: Matthew Walsh <matthew.walsh@consensys.net>
@OGPoyraz OGPoyraz merged commit e2dd4ec into main Aug 14, 2023
@OGPoyraz OGPoyraz deleted the 1050-use-options-object-in-addtransaction-method-in-core-transaction-controller branch August 14, 2023 12:48
@matthewwalsh0 matthewwalsh0 mentioned this pull request Aug 24, 2023
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