-
Notifications
You must be signed in to change notification settings - Fork 19
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: unit test and fix fetchStxPendingTxData function #204
fix: unit test and fix fetchStxPendingTxData function #204
Conversation
@@ -151,20 +151,24 @@ export function parseBtcTransactionData( | |||
return parsedTx; | |||
} | |||
|
|||
export function deDuplicatePendingTx({ | |||
export function getUniquePendingTx({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is deDuplicatePendingTx
used anywhere else? Potentially directly imported by the app and extension?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yknl xverse-core doesn't export the helper.ts functions, so the export is only available locally to the package:
api/index.ts
export * from './btc';
export * from './xverse';
export * from './stacks';
export * from './gamma';
export * from './ordinals';
export * from './esplora/esploraAPiProvider';
export * from './ordinals/provider';
renamed to: #205 |
* refactor: gather fungible token derived state into one place and add unit tests * refactor: add visible back and deprecate it so PR core is not breaking change * chore: readability Co-authored-by: Victor Kirov <[email protected]> * fix: move the logic to always support runes tokens to be clearer * chore: add comments and readability * chore: extend manageTokens type to cater for tokens that were not set yet --------- Co-authored-by: Victor Kirov <[email protected]> Co-authored-by: fede erbes <[email protected]>
🔘 PR Type
What kind of change does this PR introduce?
📜 Background
Issue Link: https://linear.app/xverseapp/issue/ENG-2581/unit-test-and-fix-fetch-fetchpendingstxtransactions-function
Context Link (if applicable):
🔄 Changes
Does this PR introduce a breaking change?
Changes:
Impact:
🖼 Screenshot / 📹 Video
✅ Review checklist
Please ensure the following are true before merging: