Skip to content

Commit

Permalink
chore: deprecate unused operation names (#3180)
Browse files Browse the repository at this point in the history
  • Loading branch information
Torres-ssf authored Oct 3, 2024
1 parent a0cd0c8 commit 5194a85
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dull-toys-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/account": patch
---

chore: deprecate unused operation names
16 changes: 16 additions & 0 deletions packages/account/src/providers/transaction-summary/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,25 @@ export enum OperationName {
transfer = 'Transfer asset',
contractCall = 'Contract call',
receive = 'Receive asset',
/**
* @deprecated This value was added by mistake and has never been used.
* It will be removed in future versions.
*/
mint = 'Mint asset',
/**
* @deprecated This value was added by mistake and has never been used.
* It will be removed in future versions.
*/
predicatecall = 'Predicate call',
/**
* @deprecated This value was added by mistake and has never been used.
* It will be removed in future versions.
*/
script = 'Script',
/**
* @deprecated This value was added by mistake and has never been used.
* It will be removed in future versions.
*/
sent = 'Sent asset',
withdrawFromFuel = 'Withdraw from Fuel',
}
Expand Down

0 comments on commit 5194a85

Please sign in to comment.