Skip to content

Releases: HathorNetwork/hathor-wallet-lib

v0.40.1

27 Jul 14:35
3cd8a68
Compare
Choose a tag to compare

What's Changed

  • Bump axios version to v0.21.4
  • Fix partial tx deserialization

Full Changelog: v0.40.0...v0.40.1

v0.40.0

25 Jul 15:29
77d13be
Compare
Choose a tag to compare

Features

  • Added atomic swap capabilities

Full Changelog: v0.39.0...v0.40.0

v0.39.0

13 Jul 00:39
49f146b
Compare
Choose a tag to compare

Features

  • Adds granularity parameter to wallet cleanup
  • Adds a new method to identify NFT Creation transactions

Full Changelog: v0.38.2...v0.39.0

v0.38.2

06 Jun 16:57
5e6d3ff
Compare
Choose a tag to compare

What's Changed

  • throw an error if a P2SH input data is being created with the wrong amount of signatures
  • rename minSignatures to numSignatures where applicable

Full Changelog: v0.38.1...v0.38.2

v0.38.1

01 Jun 13:09
3b4b81e
Compare
Choose a tag to compare

Fixes

  • P2SH input data helper should not allow signatures over limit
  • getBalance should correctly shows unlocked authorities

v0.38.0

19 May 17:38
722d004
Compare
Choose a tag to compare

Features

  • Add support for changing user agent in the Config class for all library requests.

v0.37.0

13 May 16:57
271238b
Compare
Choose a tag to compare

Features

  • Add a method to get version data in both facades.
  • Add support for sending data script outputs in both facades.

Fixes

  • Fix a bug on the websocket connection that made the connection retry endlessly.

v0.36.0

05 May 14:08
e41ffde
Compare
Choose a tag to compare

Features

  • New preCalculatedAddresses optional parameter available on:
    • src/new/wallet.js's constructor
    • src/wallet.js's loadAddressHistory method

v0.35.0

04 May 15:27
6b959b4
Compare
Choose a tag to compare

Features

  • New getTokenDetails method to fetch token details on both facades
  • We are now storing a xprivkey on the account level derivation path when the wallet facade is started from the seed
  • getNewAddresses has a new parameter ignoreWalletReady on the new wallet-service facade

Fixes

  • Fixed a bug on selectAuthorityUtxo where if the wallet had at least one spent output for a token, and is requesting exactly one utxo, it would bypass the filter parameter and return it

Breaking changes

  • generateCreateWalletAuthData on the new wallet-service facade expects the wallet’s PIN instead of the seed and is now able to generate the auth data from either the seed or the xpriv, depending on how to wallet has been started (it checks wether the seed or the xpriv are on memory)
  • The wallet service facade constructor now expects an object instead of parameters, this was done to be able to initialize the wallet from either the seed or a xprivkey on the account level path. We are not yet supporting xpubkey initialization which is required for the Ledger to work with the wallet-service facade
  • getUtxoFromId, getMintAuthority and getMeltAuthority are now using the getTxOutput API from the wallet-service facade when using the wallet-service facade
  • getMintAuthority, getMeltAuthority return changed from { tx_id, index, address } to {txId, index, address, authorities}
  • getMintAuthority, getMeltAuthority now are async on both wallet facades
  • selectAuthorityUtxo on the old facade has a new attribute on its return object array authorities

v0.34.0

13 Apr 00:46
0467afe
Compare
Choose a tag to compare

What's Changed

  • feat: handle tx-mining rate limit by @luislhl in #337
  • feat: allow setting tx mining service apikey by @luislhl in #343

Full Changelog: v0.33.1...v0.34.0