stellar-sdk
Advanced tools
Changelog
This is a promotion from the beta version without changes, besides upgrading the underlying stellar-base@v8.0.0 to its stable release.
Changelog
OfferCallBuilder.seller(string)
, corresponding to GET /offers?seller=<string>
(#773).TransactionResponse
AccountResponse
and AccountRecord
stellar-base
to the latest beta versionChangelog
LedgerRecord
: successful_transaction_count
and failed_transaction_count
(#740). Note that this also marks several fields as deprecated because they don't actually exist in the Horizon API response:
transaction_count
: superceded by the sum of the aforementioned fieldsbase_fee
: superceded by the base_fee_in_stroops
fieldbase_reserve
: superceded by the base_reserve_in_stroops
fieldThese deprecated fields will be removed in the next major version. It's unlikely that this breaking change should affect anyone, as these fields have likely been missing/invalid for some time.
All of the dependencies in question besides axios
were developer dependencies, so there never was downstream security impact nor will there be downstream upgrade impact.
Changelog
This release introduces breaking changes from stellar-base
. It adds unconditional support for muxed accounts. Please refer to the corresponding release notes for details on the breaking changes there.
Upgrades the stellar-base library to v7.0.0 (#735).
Removes the AccountResponse.createSubaccount
method since this is also gone from the underlying Account
interface. The stellar-base
release notes describe alternative construction methods (#735).
Changelog
server.liquidityPools.forAccount(id)
(#727).Updates the following SEP-10 utility functions to include client domain verification functionality (#720):
Utils.buildChallengeTx()
accepts the clientDomain
and clientSigningKey
optional parametersUtils.readChallengeTx()
parses challenge transactions containing a client_domain
ManageData operationUtils.verifyChallengeTxSigners()
verifies an additional signature from the clientSigningKey
keypair if a client_domain
Manage Data operation is included in the challengeBumps stellar-base
version to v6.0.6.
Fixes the type_i
enumeration field to accurately reflect liquidity pool effects (#723).
Upgrades axios dependency to v0.21.4 to alleviate security concern (GHSA-cph5-m8f7-6c5x, #724).
Publish Bower package to stellar/bower-js-stellar-sdk (#725).
Changelog
This stable release adds support for Protocol 18. For details, you can refer to CAP-38 for XDR changes and this document for changes to the Horizon API.
Refer to the release notes for the betas (e.g. v9.0.0-beta.0) for a comprehensive list of changes to this library.
Changelog
/liquidity_pools/:id/trades
endpoint (#710)utils.buildChallengeTx()
to accept muxed accounts (M...
) for client account IDsutils.buildChallengeTx()
to accept a memo
parameter to attach to the challenge transactionutils.readChallengeTx()
to provide a memo
property in the returned objectutils.readChallengeTx()
to validate challenge transactions with muxed accounts (M...
) as the client account IDchai-http
dependency to be only for developers (#707).