This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
v0.5.0
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 withreference transaction is too old
error - Add
maxDepth
&adjustDepth
options alongsidereference
option ingetTransactionsToApprove()
,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 bygetAccountData()
- Truncate checksums of inputs in
prepareTransfers()
- Update gulp and build
/dist/iota-browser.js
with sourcemap - Documentation fixes