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

feat!: simplify interface #182

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

feat!: simplify interface #182

wants to merge 15 commits into from

Conversation

wemeetagain
Copy link
Member

  • update @chainsafe/blst dependency to 2.0.1
  • add validate optional param to fromHex methods

BREAKING CHANGE

  • remove async functions
  • remove CoordType from fromBytes methods
  • remove CoordType from library - the library now abstracts this information
  • replace PointFormat with compress optional param in toBytes and toHex methods
  • remove PointFormat from library
  • replace flexible PublicKey | Uint8Array and Signature | Uint8Array parameters with strict input types
    • functional interface operates entirely on Uint8Arrays, class interface operates on Signature, PublicKey instances

@wemeetagain wemeetagain requested a review from a team as a code owner July 22, 2024 20:50
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