Releases: HathorNetwork/hathor-wallet-lib
Releases · HathorNetwork/hathor-wallet-lib
v1.0.3
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
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
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
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 ofIStorage
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 theIStore
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
optionmaximum_amount
was renamed tomax_amount
and the method is now async.getAllUtxos
was renamed togetAvailableUtxos
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
andgetPreProcessedData
. onNewTx
is now async.start
andstop
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.
- Removed
- 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
Full Changelog: v1.0.0-rc5...v1.0.0-rc7
v1.0.0-rc5
Merge pull request #544 from HathorNetwork/dev Release v1.0.0-rc5
Release v1.0.0-rc3
Full Changelog: v1.0.0-rc2...v1.0.0-rc3
v1.0.0-rc2
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
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