This repository was archived by the owner on Sep 6, 2024. It is now read-only.
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:
- Getting access to API:
const iota = core.composeAPI({ provider: 'http://localhost: 14265' }) prepareTransfersworks offlinecheckConsistencywhich is equivalent toisPromotableofiota.lib.jsisPromotablehas additional check for transactions falling below max depthgenerateAddresswas added, for deterministic address generation- Added
asTransactionTrytes/Object(better naming thantransactionTrytes/Object) asTransactionTrytesaccepts trytes string or array of trytes- Fixed extended ascii conversion issues (#243)
extractJsonconforms to JSON spec (#231)
Deprecations
The following methods & fields are deprecated and will be removed in v2.0.0:
getBundlesFromAddressesisReattachablegetTransferstotal,returnAll&checksumoptions ofgetNewAddresstransfersfield of object returned bygetAccountData