Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Parity with Network v0.3.0; Bump to v2.1.0 #11

Merged
merged 10 commits into from
Feb 6, 2024
Merged

Parity with Network v0.3.0; Bump to v2.1.0 #11

merged 10 commits into from
Feb 6, 2024

Conversation

BHouwens
Copy link
Contributor

@BHouwens BHouwens commented Feb 6, 2024

Description

This PR brings the ABlock.js SDK up to parity with the changes in Network 0.3.0.

Changelog

  • All instances of the terms receipt and Receipt have been changed to item and Item respectively
  • Receipt-based terminology has all been renamed to "2 Way" (eg. makeReceiptBasedPayment is now make2WayPayment)
  • Metadata is now forced to be null when constructing excess payments for items, as they should never contain metadata
  • PubKeyHash has been replaced by Bytes in the P2PKH transaction function

Type of Change

Please mark the appropriate option by putting an "x" inside the brackets:

  • Bug fix
  • New feature
  • Enhancement or optimization
  • Documentation update
  • Other (please specify)

Checklist

Put an "x" in the boxes that apply. If you're unsure about any of these, don't hesitate to ask. We're here to help!

  • I have tested the changes locally and they work as expected.
  • I have added necessary documentation or updated existing documentation.
  • My code follows the project's coding standards and style guidelines.
  • I have added/updated relevant tests to ensure the changes are properly covered.
  • I have checked for and resolved any merge conflicts.
  • My commits have clear and descriptive messages.

@BHouwens BHouwens merged commit 02720d0 into main Feb 6, 2024
8 checks passed
@RobinP122 RobinP122 deleted the network_update branch February 8, 2024 09:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants