Skip to content

Releases: HathorNetwork/hathor-wallet-lib

v2.0.1

16 Dec 15:35
36e9d99
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0...v2.0.1

v2.0.0

11 Dec 18:36
3067c43
Compare
Choose a tag to compare

This version introduces a breaking change by updating the way transaction output values are handled from the JS Number type to the BigInt type. This requires Node v22 (so Node v20 support is dropped) and the signatures of some functions were changed.

BREAKING CHANGES:

  • Node v20 support is dropped.
  • signedIntToBytes() and unpackToInt() support for 8 bytes is dropped.
  • Constants that were changed from Number to BigInt:
    • MAX_OUTPUT_VALUE_32
    • MAX_OUTPUT_VALUE (its value was also updated)
    • TOKEN_MINT_MASK
    • TOKEN_MELT_MASK
  • Functions that now return types with BigInt output values:
    • txApi.getTransaction()
    • txApi.getTransactionBase()
    • wallet.getAddressHistory()
    • wallet.getAddressHistoryForAwait()
    • wallet.getAddressHistoryForAwaitPOST()
    • wallet.getGeneralTokenInfo()
  • prettyValue() now receives a BigInt instead of a Number and prettyIntegerValue() is removed.

What's Changed

Full Changelog: v1.14.1...v2.0.0

v1.14.1

15 Oct 17:09
v1.14.1
5a470e3
Compare
Choose a tag to compare

What's Changed

  • fix: error message for over available tokens to mint or melt in #791

Full Changelog: v1.14.0...v1.14.1

v1.14.0

09 Oct 18:42
v1.14.0
8cae6c8
Compare
Choose a tag to compare

What's Changed

  • Add block_hash and block_height parameters to the nano state API #784
  • Allow selection of only available authorities with getMintAuthority and getMeltAuthority #787
  • New methods that return SendTransaction instead of sending the transaction directly #785

Full Changelog: v1.13.0...v1.14.0

v1.13.0

23 Sep 22:26
41efdd2
Compare
Choose a tag to compare

What's Changed

  • fix promise leak (#722)
  • fix selected_as_input ttl (#773)
  • promise queue implementation (#771)
  • treat streaming edge cases (#770)
  • mark utxo selected with ttl on wallet facade (#774)
  • adaptation on sync release github workflow (#763)

Full Changelog: v1.12.1...v1.13.0

v1.12.1

06 Sep 17:26
ef71959
Compare
Choose a tag to compare

What's Changed

  • Change task finished listener to be used only once #759
  • Send end-of-stream ACK #762

Full Changelog: v1.12.0...v1.12.1

v1.12.0

04 Sep 21:51
3ff36db
Compare
Choose a tag to compare

What's Changed

  • Move the history sort to the new pre-process method.
  • treat begin stream event during history stream sync
  • global load lock for wallet sync
  • save stream events on queue
  • history stream flow control client
  • created a release script to normalize how the lib is published

Full Changelog: v1.11.0...v1.12.0

v1.11.0

29 Aug 18:22
91f251f
Compare
Choose a tag to compare

What's Changed

  • Allow configuring a custom logger on the lib

Full Changelog: v1.10.0...v1.11.0

v1.10.0

23 Aug 13:03
f21e07d
Compare
Choose a tag to compare

What's Changed

Features

  • feat: handle nano custom types in the parser and builder classes in #729
  • feat: update nano hathor core URL for blueprint info endpoint in #734
  • feat: add new nano contract type contractId in #735

Fixes

  • fix: Workflow triggers by #716

Refactors

  • refactor: Typescript tests and automatic linting in #704
  • refactor: create OutputValueType in #719
  • refactor: typing improvements #720

Style changes

  • style: jest/no-conditional-expect rule in #722
  • style: @typescript-eslint/ban-ts-comment rule in #725
  • style: @typescript-eslint/no-explicit-any rule in #727
  • style: no-async-promise-executor rule in #724
  • style(tests): Simple lint fixes in #721
  • style: jest/no-mocks-import in #726
  • style: jest/expect-expect rule in #723

Chores

  • chore: update docker-compose to docker compose in #730
  • chore: Tests linting on ci in #731
  • chore: upgrade upload-artifact to v4 in #736

Full Changelog: v1.9.0...v1.10.0

v1.9.0

23 Jul 22:01
f740387
Compare
Choose a tag to compare

What's Changed

  • add method to get network from full node network in #696
  • consistent-return rule in #680
  • no-extraneous-dependencies rule in #681
  • no-cond-assign rule in #683
  • no-unused-expressions rule in #684
  • no-explicit-any rule in #685
  • Upgrades axios-mock-adapter in #694
  • updateTokensData retry mechanism in #703
  • no-promise-executor-return rule in #682
  • Consistent return for getDagMetadata in #702
  • Add linting and formatting to CI in #695
  • bump ws from 8.17.0 to 8.17.1 in #698
  • Workflow to auto sync release into master in #692
  • streaming history sync in #706

Full Changelog: v1.8.0...v1.9.0