Commit 38cd6a5
authored
feat: adding new transaction types for money account deposit and withdraw (#8312)
## Explanation
Adding new transaction types for money account deposit and withdraw.
## References
Related to https://consensyssoftware.atlassian.net/browse/CONF-1110
## Checklist
- [X] I've updated the test suite for new or updated code as appropriate
- [X] I've updated documentation (JSDoc, Markdown, etc.) for new or
updated code as appropriate
- [X] I've communicated my changes to consumers by [updating changelogs
for packages I've
changed](https://github.com/MetaMask/core/tree/main/docs/processes/updating-changelogs.md)
- [X] I've introduced [breaking
changes](https://github.com/MetaMask/core/tree/main/docs/processes/breaking-changes.md)
in this PR and have prepared draft pull requests for clients and
consumer packages to resolve them
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Low risk type-only change that adds new `TransactionType` enum values;
downstream consumers with exhaustive `switch`/mapping logic may need to
handle the new cases.
>
> **Overview**
> Adds two new `TransactionType` enum values—`moneyAccountDeposit` and
`moneyAccountWithdraw`—to classify Money Account deposit/withdraw
transactions.
>
> Updates the `@metamask/transaction-controller` changelog under
**Unreleased** to announce the new transaction types.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
529440c. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent fb601af commit 38cd6a5
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
778 | 788 | | |
779 | 789 | | |
780 | 790 | | |
| |||
0 commit comments