Releases: stellar/js-stellar-base
Releases · stellar/js-stellar-base
v1.0.2
v1.0.1
v1.0.0
Because we're launching two breaking changes, we're taking the opportunity to switch to true semver! 🎉
- Breaking change Stellar Protocol 11 compatibility
- Rename
Operation.manageOffer
toOperation.manageSellOffer
. - Rename
Operation.createPassiveOffer
toOperation.createPassiveSellOffer
. - Add
Operation.manageBuyOffer
.
- Rename
- Breaking change The
fee
parameter toTransactionBuilder
is now
required. Failing to provide a fee will throw an error.
v0.13.2
- Bring DefinitelyTyped definitions into the repo for faster updating.
- Add missing Typescript type definitions.
- Add code to verify signatures when added to transactions.
- Replace ed25519 with sodium-native.
- Fix the xdr for SCP_MESSAGE.
- Update the README for the latest info.
v0.13.1
v0.13.0
v0.12.0
- Warning: Calling TransactionBuilder without a
fee
param is now deprecated
and will issue a warning. In a later release, it will throw an error. Please
update your transaction builders as soon as you can! - Add a
toXDR
function for transactions that lets you get the transaction as a
base64-encoded string (so you may enter it into the Stellar Laboratory XDR
viewer, for one) - Fix TransactionBuilder example syntax errors
- Use more thorough "create account" documentation
- Add
Date
support forTransactionBuilder
timebounds
- Add two functions to
Transaction
that support pre-generated transactions:getKeypairSignature
helps users sign pre-generated transaction XDRsaddSignature
lets you add pre-generated signatures to a built transaction
v0.11.0
v0.10.0
- Breaking change Added
TransactionBuilder.setTimeout
method that setstimebounds.max_time
on a transaction. Because of the distributed nature of the Stellar network it is possible that the status of your transaction will be determined after a long time if the network is highly congested. If you want to be sure to receive the status of the transaction within a given period you should set the TimeBounds withmaxTime
on the transaction (this is whatsetTimeout
does internally; if there'sminTime
set but nomaxTime
it will be added). Call toTransactionBuilder.setTimeout
is required if Transaction does not havemax_time
set. If you don't want to set timeout, useTimeoutInfinite
. In general you should setTimeoutInfinite
only in smart contracts. Please checkTransactionBuilder.setTimeout
docs for more information. - Fixed decoding empty
homeDomain
.