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

v2.0.0 - Improved usability #26

Merged
merged 10 commits into from
Oct 19, 2023
Merged

v2.0.0 - Improved usability #26

merged 10 commits into from
Oct 19, 2023

Conversation

landabaso
Copy link
Member

Summary of Changes in v2.0.0

  • Major Renaming & Refactoring: Transitioned the main class name from "Descriptor" to "Output". Shifted primary input parameters from "expression" to "descriptor" for better alignment with library principles.

  • Finalizers & Ledger Improvements: Introduced notable improvements for Ledger Hardware Wallet usage and PSBT finalizers. Notably, deprecated updatePsbt in favor of updatePsbtAsInput to streamline and simplify operations. Consolidated Ledger function parameters into the LedgerManager type for enhanced usability.

  • Deprecated Functionality: While deprecated functionalities remain in 2.0.0 for backward compatibility, it's recommended to transition to the new functions and classes to avoid potential warnings.

  • Testing Enhancements: Maintained old test cases (with a -deprecated suffix) and introduced new tests to validate the functionality of the updated API.

  • Documentation Overhaul: Conducted extensive documentation using typedoc and updated the README.md for better clarity and ease of reference.

  • Bug Fixes: Resolved a critical bug concerning buffer comparisons in src/descriptors.ts that ensures accurate descriptor comparisons. For more details, refer to issue-20.

…rings instead of expression. And use output to denote Output instances (instead of descriptor). Adapt all the methods for this new signatures, while maintaining backwards compatibility. Rename updatePsbt to updatePsbtAsInput (while maintaining the old signature for backwards compatibility) and add updatePsbtAsInput.
…uts. New approach for finalizers: now uses a returned function when setting an input. Better docs
@landabaso landabaso merged commit 31a94d0 into main Oct 19, 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.

1 participant