All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Client::getOutputManaRewards()
slot query parameter;- Allow custom allotment of account bound mana;
Wallet::prepareClaimOutputs()
optional transactionOptions parameter;
Wallet::restoreFromStrongholdSnapshot()
with same source and target path;
- Mana allotment when burning something/setting a TransactionCapabilityFlag;
- Stronghold backup/restore;
- MacOS binary build;
{PreparedTransactionData, SignedTransactionData}::issuerId
;
- Implicit account transition with existing account;
- Renamed
{TimelockUnlockCondition, ExpirationUnlockCondition}::slotIndex to slot
;
- Downgraded rocksdb to fix macOS build;
Utils::blockWorkScore()
;ManaBalance::rewards
field;
RestrictedAddress
discriminator usage;
Initial alpha release of the Nodejs 2.0 bindings.
Utils::{verifyTransactionSyntax(), blockBytes(), blockHashWithoutNonce()}
;
Output
andSimpleTokenScheme
(sub)fields not setting thebigint
properly;
Utils::verifyTransactionSemantic()
;Account::prepareClaimOutputs()
method;
StateMetadataOutput
's constructor not setting thestateMetadata
field;
- Prebuild binaries;
- Slow syncing with many claimable outputs;
- Potential deadlock in syncing;
UnlockableByAddress
toAliasQueryParameter, NftQueryParameter, QueryParameter
;
- Added
SeedSecretManager
toSecretManagerType
; migrateDbChrysalisToStardust()
for some ledger nano wallets;
AliasAddress
fromNftQueryParameter
;
- More type hints;
Changes from the 1.0 track.
- Import of bindings through types;
Account::{burn(), consolidateOutputs(), createAliasOutput(), meltNativeToken(), mintNativeToken(), createNativeToken(), mintNfts(), sendTransaction(), sendNativeTokens(), sendNft()}
methods;Client::outputIds()
method;GenericQueryParameter, UnlockableByAddress
types;Irc27Metadata
andIrc30Metadata
helpers;Utils::outputHexBytes
;PrivateKeySecretManager
;
migrateDbChrysalisToStardust()
when ledger nano was used as signer type;
- Made
TransactionOptions.allowMicroAmount
optional;
- Parsing of
RegularTransactionEssence.payload
; - Don't error if custom remainder address is provided with ledger nano;
Client::getNetworkId()
return type;RegularTransactionEssence::networkId
type;FilterOptions::outputTypes
type;
migrateDbChrysalisToStardust()
returns an error if no chrysalis data was found;
- Type of
value
property inCustomAddress
;
IClientOptions::maxParallelApiRequests
;
- The main thread gets blocked when calling client or wallet methods;
migrateDbChrysalisToStardust
function;Wallet::getChrysalisData
method;
- Migration mismatch from
iota-rs
version;
Account::prepareBurn()
return type;Wallet::restoreBackup()
when no secret manager data is stored inside;
- Export
ILoggerConfig
from types; - Added
Account::prepareIncreaseVotingPower
;
- Deprecate
Account::prepareVotingPower
;
Account::prepareOutput()
whenReturnStrategy::Gift
is used with an existing NFT output;
- Missing production profile when no prebuild binary is available;
- Ledger Nano events properly created when preparing transactions;
- Prevent loading of bindings when importing UTXOInput type (changed UTXOInput.fromOutputId implementation);
Balance::{baseCoin, requiredStorageDeposit}
amounts;Utils::computeStorageDeposit()
return amount;
- Private properties on classes are now readonly;
- Constructor types in
RegularTransactionEssence
; SenderFeature.getSender()
andIssuerFeature.getIssuer()
now return the correct types;
- Deprecate
Account::{buildAliasOutput(), buildBasicOutput(), buildFoundryOutput(), buildNftOutput()}
and theirBuildAliasOutputData, BuildBasicOutputData, BuildFoundryOutputData, BuildNftOutputData
parameter types;
fromOutputId
constructor forUTXOInput
;migrateStrongholdSnapshotV2ToV3
function;ConsolidationParams
;
Account::prepareConsolidateOutputs
takes aConsolidationParams
;
Utils.computeStorageDeposit()
;Utils.computeTokenId()
;Utils.computeFoundryId
's parametertokenSchemeKind
renamed totokenSchemeType
;
TransactionProgressType
export;- Optional
CreateAccountPayload::addresses
field; - Optional
FilterOptions::{aliasIds, foundryIds, nftIds}
fields;
- Rename
Client::listen
tolistenMqtt
,Client::clearListeners
toclearMqttListeners
; - Moved
minimumRequiredStorageDeposit()
fromAccount
toClient
; SecretManagerMethod::SignEd25519
,SignSecp256k1Ecdsa
, andSignatureUnlock
now accept newly addedBip44
type chains;- Use
BigInt
instead of strings for token amounts; - Split
Account::send
intosend
andsendWithParams
; - Properties in event classes are now public;
- Remove getters from the event classes;
{Client, SecretManager}::signTransaction
return type fromPayload
toTransactionPayload
;
HD_WALLET_TYPE
,HARDEN_MASK
constants;CommonOutput::{setNativeTokens, setFeatures}
;ImmutableFeaturesOutput::setImmutableFeatures
;StateMetadataOutput::setStateMetadata
;Client::findOutputs()
method;
- Super class of
NftOutput
fromStateMetadataOutput
toImmutableFeaturesOutput
; Utils::parseBech32Address
now converts the string into a properAddress
;- Change type of
transactionInputs
from[OutputResponse]
to OutputResponse[]
in classNewOutputWalletEvent
; - Renamed
UTXOInput::transactionInputIndex
toUTXOInput::transactionOutputIndex
;
callPluginRoute
to Client to fetch data from custom node plugins;computeTokenId
,computeOutputId
,computeInputsCommitment
andcomputeStorageDeposit
to Utils;- Type alias for Ids which were previously just
HexEncodedString
; - List of
ConflictReason
explanations matching the enum; units-helper
class for IOTA units conversion;Client::destroy
to close an open handle;
- Rename
Account::prepareMintNativeToken
toprepareCreateNativeToken
,Account::prepareIncreaseNativeTokenSupply
toprepareMintNativeToken
,Account::prepareDecreaseNativeTokenSupply
toprepareMeltNativeToken
; - Rename
MintNativeTokenParams
toCreateNativeTokenParams
; - Rename
MintTokenTransaction
toCreateNativeTokenTransaction
andPreparedMintTokenTransaction
toPreparedCreateNativeTokenTransaction
(including their correspondingData
types); - Rename
SendAmountParams
toSendParams
; - Rename
Account::sendAmount
tosend
,Account::prepareSendAmount
toprepareSend
; - Rename
Response::MilestoneRaw
toRaw
;
- Moved
internal
field fromIGenerateAddressesOptions
toIGenerateAddressOptions
; - Error handling in
Client
,SecretManager
andWallet
constructors; - Deadlock in .sync() with incoming transactions;
- Renamed
Output.getNntId
toOutput.getNftId
;
Utils::verifySecp256k1EcdsaSignature
;
Account::getOutputsWithAdditionalUnlockConditions
renamed toclaimableOutputs
;- Rename
Account::signEvm
tosignSecp256k1Ecdsa
andEvmSignature
toSecp256k1EcdsaSignature
;
Utils::verifyEd25519Signature
'saddress
parameter;
UTXOInput
constructs with type the properInputType
;
Initial release of the Node.js SDK bindings.