This repository has been archived by the owner on Sep 6, 2024. It is now read-only.
Releases: iotaledger/iota.js
Releases · iotaledger/iota.js
v1.0.0-beta.1
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:
- Getting access to API:
const iota = core.composeAPI({ provider: 'http://localhost: 14265' })
prepareTransfers
works offlinecheckConsistency
which is equivalent toisPromotable
ofiota.lib.js
isPromotable
has additional check for transactions falling below max depthgenerateAddress
was added, for deterministic address generation- Added
asTransactionTrytes/Object
(better naming thantransactionTrytes/Object
) asTransactionTrytes
accepts trytes string or array of trytes- Fixed extended ascii conversion issues (#243)
extractJson
conforms to JSON spec (#231)
Deprecations
The following methods & fields are deprecated and will be removed in v2.0.0
:
getBundlesFromAddresses
isReattachable
getTransfers
total
,returnAll
&checksum
options ofgetNewAddress
transfers
field of object returned bygetAccountData
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
v0.4.7
v0.4.6
v0.4.5
v0.4.3
v0.4.2
v0.4.1
0.4.1
v0.4.0
Major upgrade from Curl to Kerl. See here for more information on the specification: https://github.com/iotaledger/kerl
v0.3.8
Fixed bug related to isReattachable