Skip to content

Conversation

@ltardivo
Copy link
Collaborator

@ltardivo ltardivo commented Mar 11, 2025

Features

Renames the _amount into _satoshis and changes the datatype from number to bigint.
Filters the duplicated BTC mainnet transactions from BIP34
Updates docs and types
Changes the target to ES2020

Breaking change

To migrate your app, change all occurrences of _amount by _satoshis, and use the BigInt(n) constructor to create big integers. More information on how to handle BigInt can be found here.

@ltardivo ltardivo changed the title WIP: Changes data representation to bigInt Changes data representation to bigInt Mar 18, 2025
@ltardivo ltardivo requested a review from ClemensLey April 1, 2025 23:03
@ltardivo ltardivo requested a review from ClemensLey June 5, 2025 23:22
@ltardivo ltardivo changed the base branch from main to staging June 10, 2025 21:45
Copy link
Contributor

@ClemensLey ClemensLey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@ClemensLey ClemensLey merged commit 322b03f into staging Jun 10, 2025
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.

3 participants