Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Releases: iotaledger/iota.js

v1.0.0-beta.1

16 Aug 21:07
Compare
Choose a tag to compare
v1.0.0-beta.1 Pre-release
Pre-release

The new iota.js beta [source] is the Typescript port of iota.lib.js. It introduces support for promises and modularizes the existing codebase.

New npm packages

Package Description
@iota/bundle-validator Syntactically validates bundle structure and signatures.
@iota/bundle Utilities for generating and signing bundles.
@iota/checksum Add, remove and validate checksums.
@iota/converter Methods for converting ascii, values & trytes to trits and back.
@iota/core Core functionality to interact with the IOTA network: generate addresses, create, broadcast and monitor transactions.
@iota/curl Curl sponge function
@iota/extract-json Extracts JSON encoded messages from signature message fragments.
@iota/http-client Send commands to IRI over HTTP.
@iota/kerl IOTA-related cryptographic methods
@iota/multisig Methods for generating multisig addresses and co-signing transactions.
@iota/pad Padding utility
@iota/samples Collection of samples useful in testing IOTA modules.
@iota/signing IOTA Signing Scheme
@iota/transaction-converter Converts transaction trytes to transaction objects and back.
@iota/transaction Utilities and validators for transactions.
@iota/unit-converter Converts value across different IOTA units.
@iota/validators Collection of guards and validators, useful in IOTA development.

What's new:

Deprecations

The following methods & fields are deprecated and will be removed in v2.0.0:

  • getBundlesFromAddresses
  • isReattachable
  • getTransfers
  • total, returnAll & checksum options of getNewAddress
  • transfers field of object returned by getAccountData

v0.5.0

16 Aug 18:29
0303098
Compare
Choose a tag to compare
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

v0.4.7

28 Jan 22:41
Compare
Choose a tag to compare
  • adds the wasAddressSpentFrom API call and usage
  • various typos fixed

v0.4.6

20 Dec 20:26
5e1f76f
Compare
Choose a tag to compare
  • Fixes a bug introduced by a bad merge in v0.4.5

v0.4.5

19 Dec 12:23
433f5d3
Compare
Choose a tag to compare
  • add transaction promotion
  • automated batching of api calls
  • XMLHttpRequest is only imported if not available already
  • bugfixes

v0.4.3

09 Nov 22:19
b05ca23
Compare
Choose a tag to compare
build dist for v0.4.3

v0.4.2

26 Oct 09:31
0927cdd
Compare
Choose a tag to compare
Bump version to 'v0.4.2'

v0.4.1

23 Sep 11:09
Compare
Choose a tag to compare
0.4.1

v0.4.0

09 Aug 11:15
Compare
Choose a tag to compare

Major upgrade from Curl to Kerl. See here for more information on the specification: https://github.com/iotaledger/kerl

v0.3.8

20 Jul 16:08
Compare
Choose a tag to compare
Fixed bug related to isReattachable