Skip to content

v0.5.0

Compare
Choose a tag to compare
@chrisdukakis chrisdukakis released this 16 Aug 18:29
0303098
File Shasum
iota.lib.js-0.5.0.tgz 66e59baf82a4556b739f81d947313d0a3ab2f659

Development update

All new development will now be taking place in the new TypeScript library, only important bug fixes will be made in iota.lib.js.

Changelog

  • Adjust depth in promoteTransaction() and retry if promotion failed with reference transaction is too old error
  • Add maxDepth & adjustDepth options alongside reference option in getTransactionsToApprove(), sendTrytes() & sendTransfer()
  • Add option to reject with reason in isPromotable if call returns false
  • Add isTransactionHash() to validate transaction hashes, optionally with a min. weight magnitude
  • Add isTritArray() to validate arrays of trits.
  • Add isSafeString to check if a string can be safely converted to trytes
  • Add support for setting request timeouts with api.setApiTimeout()
  • Enable remote auth
  • Optimize getTransactionObjects() by skipping calculation of known transaction hashes.
  • Fix issue in batched findTransactions request
  • Fix keyIndexes of inputs returned by getAccountData()
  • Truncate checksums of inputs in prepareTransfers()
  • Update gulp and build /dist/iota-browser.js with sourcemap
  • Documentation fixes