Releases: stellar/js-stellar-base
Releases · stellar/js-stellar-base
v1.1.0
Deprecated
Deprecate global singleton for Network
. The following classes and methods take an optional network passphrase, and issue a warning if it is not passed:
Keypair.master
Keypair.master(Networks.TESTNET)
constructor for Transaction
const xenv = new xdr.TransactionEnvelope({ tx: xtx });
new Transaction(xenv, Networks.TESTNET);
constructor for TransactionBuilder
and method TransactionBuilder.setNetworkPassphrase
const transaction = new StellarSdk.TransactionBuilder(account, {
fee: StellarSdk.BASE_FEE,
networkPassphrase: Networks.TESTNET
})
See #207 and #112 for more information.
The Network
class will be removed on the 2.0
release.
Add
- Add docs for BASE_FEE const. (#211)
Fix
- Fix typo. (#213)
v1.0.3
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