Skip to content

Releases: HathorNetwork/hathor-wallet-lib

v1.0.3

13 Nov 15:22
v1.0.3
58b2015
Compare
Choose a tag to compare

What's Changed

  • Compile entrypoint file with typescript by @r4mmer in #577
  • Fix promise leak on getVersion by @alexruzenhack in #584
  • Use yml as configuration file for hathor core in integration tests by @pedroferreira1 in #588
  • Wait until the first block is mined before start the integration tests, to release the genesis reward by @pedroferreira1 in #589
  • Start marking utxos as spent when tx is received for integration tests by @pedroferreira1 in #590
  • Support health-check endpoints on hathor-core and tx-mining-service by @luislhl in #579

Full Changelog: v1.0.2...v1.0.3

v1.0.2

08 Sep 16:38
bfc2901
Compare
Choose a tag to compare

What's changed

  • Started using the "best utxo selection" algorithm when creating custom token transactions.
  • Added an option to clean the registered tokens from storage when cleaning storage.
  • After syncing the history we fetch all token configs, added a retry strategy with exponential backoff to reduce sync errors
  • Do not stop the wallet when changing the server configuration.

Full Changelog: v1.0.1...v1.0.2

v1.0.1

23 Aug 14:10
1a9c3d6
Compare
Choose a tag to compare

What's Changed

  • Concentrate definitions of lock mechanisms on the utilities and not inline

Full Changelog: v1.0.0...v1.0.1

v1.0.0

18 Aug 19:51
e0e57cf
Compare
Choose a tag to compare

Full Changelog: v0.46.1...v1.0.0

What's changed

  • Updated support for most recent node versions
  • Updated and improved CI to use new security guidelines and LTS node version.
  • TypeScript typing for utilities and data.
  • TypeScript compilation with babel
  • Removed unused and deprecated utilities
  • Created a new storage abstraction
  • Refactored all utilities to interact with new storage abstraction
  • Added support for storage in memory and with LevelDB.
  • Fixed npm audit and dependency issues.
  • Adding support for external signing solutions when using read-only wallets.
  • Adding support for custom token admin operations with MultiSig.
  • Adding support for signal bits in the transaction.
  • Most methods of the wallet facade are now async.

Breaking changes

  • Removed support for node versions 10 and 12.
  • Removed any direct access to storage methods. All storage methods are now accessed through an IStorage instance or the wallet facade.
  • Removed getSignature method of the Transaction model in favor of the transaction util method.
  • Removed WebSocketHandler.js
  • SendTransaction facade requires an instance of IStorage if any methods that require selecting utxos are used.
    • We can use the facade without storage only if we provide a complete transaction instance.
  • HathorWallet facade methods
    • Removed store parameter from constructor, store should be set when initializing the storage and must implement the IStore interface.
    • Added optional storage parameter to constructor, defaults to a storage with memory store.
    • isFromXPub is deprecated since we should check if a wallet is read-only from the storage.
    • changeServer is now async.
    • getAllSignatures is now async.
    • assemblePartialTransaction is now async.
    • Removed _getAllAddressesRaw.
    • Removed getTransactionsCountByAddress.
    • getAddressAtIndex is now async.
    • getAddressPathForIndex is now async.
    • getCurrentAddress is now async.
    • getNextAddress is now async.
    • getTxHistory response will not include the balance for the transaction.
    • getTx is now async.
    • getAddressInfo is now async.
    • getUtxos option maximum_amount was renamed to max_amount and the method is now async.
    • getAllUtxos was renamed to getAvailableUtxos and is now an async generator.
    • getUtxosForAmount is now async.
    • markUtxoSelected is now async.
    • prepareConsolidateUtxosData is now async.
    • Removed _getBalanceRaw.
    • getFullHistory is now async.
    • Removed getTokenHistoryObject utility.
    • Removed preProcessWalletData.
    • Removed onTxArrived.
    • Removed setPreProcessedData and getPreProcessedData.
    • onNewTx is now async.
    • start and stop are now async.
    • pre-calculated addresses will be loaded on storage but only the addresses that comply with the gap limit will have their history loaded.
    • Removed selectAuthorityUtxo.
    • getAuthorityUtxos is now async.
    • isAddressMine is now async.
    • getAddressIndex is now async.
    • getTxAddresses is now async.
    • getWalletInputInfo is now async.
    • getSignatures is now async.
    • signTx is now async.
  • refactored most utils, all that require access to the storage or wallet are now async and added typing to all.

New Contributors

v1.0.0-rc7

19 Jul 19:34
62879f9
Compare
Choose a tag to compare
v1.0.0-rc7 Pre-release
Pre-release

Full Changelog: v1.0.0-rc5...v1.0.0-rc7

v1.0.0-rc5

05 Jun 15:57
178b5df
Compare
Choose a tag to compare
v1.0.0-rc5 Pre-release
Pre-release
Merge pull request #544 from HathorNetwork/dev

Release v1.0.0-rc5

Release v1.0.0-rc3

18 May 13:52
652b94e
Compare
Choose a tag to compare
Release v1.0.0-rc3 Pre-release
Pre-release

Full Changelog: v1.0.0-rc2...v1.0.0-rc3

v1.0.0-rc2

13 Apr 02:43
56354c4
Compare
Choose a tag to compare
v1.0.0-rc2 Pre-release
Pre-release

What's Changed

  • Use full sha for third party actions
  • fix Transaction circular dependency (#490)
  • new wallet facade methods
  • expose address utils on index.js
  • split filltx per token

Full Changelog: v1.0.0-rc1...v1.0.0-rc2

v1.0.0-rc1

27 Mar 21:58
aba5242
Compare
Choose a tag to compare
v1.0.0-rc1 Pre-release
Pre-release

What's Changed

  • New update method in atomic swap service
  • New storage scheme with store abstraction
  • Persistent store with leveldb
  • Trigger balance update for unlocked utxos
  • Upgrade dependencies to patch vulnerabilities
  • Remove support for node 10 and node 12

Full Changelog: v0.46.1...v1.0.0-rc1

v0.46.1

08 Mar 00:19
793bef6
Compare
Choose a tag to compare

Features

  • Adds the get endpoint for the atomic swap service

Refactors

  • Default Atomic Swap Service URLs are now exported