Releases: HathorNetwork/hathor-wallet-lib
Releases · HathorNetwork/hathor-wallet-lib
v0.40.1
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
v0.39.0
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
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
v0.38.0
Features
- Add support for changing user agent in the
Config
class for all library requests.
v0.37.0
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
v0.35.0
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 parameterignoreWalletReady
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 oneutxo
, 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 theseed
or thexpriv
, depending on how to wallet has been started (it checks wether theseed
or thexpriv
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 supportingxpubkey
initialization which is required for the Ledger to work with the wallet-service facade getUtxoFromId
,getMintAuthority
andgetMeltAuthority
are now using thegetTxOutput
API from the wallet-service facade when using the wallet-service facadegetMintAuthority
,getMeltAuthority
return changed from{ tx_id, index, address }
to{txId, index, address, authorities}
getMintAuthority
,getMeltAuthority
now are async on both wallet facadesselectAuthorityUtxo
on the old facade has a new attribute on its return object arrayauthorities