Releases: stellar/js-soroban-client
Releases · stellar/js-soroban-client
v0.6.1
v0.6.0
What's Changed
- Updated server.prepareTransaction() for new soroban simulation results and fees. Note the change in behavior now, where transaction fee will be increased by the resource fee estimates received from simulation. More details this aspect mentioned on method.#76
- SDK modernization, refresh the build system to use the latest in JS build pipelines.#69
Full Changelog: v0.5.1...v0.6.0
v0.5.1
v0.5.0
What's Changed
- Soroban value overhaul by @paulbellamy in #61
- Update types to conform to the new diagnostic event fields. by @Shaptic in #62
Full Changelog: v0.4.1...v0.5.0
v0.4.1
What's Changed
- Update sendTransaction() and getTransaction() to match Soroban-RPC API by @tamirms in #52
- Add resultMetaXdr and envelopeXdr back to getTransaction() response. by @tamirms in #56
- Fix a bug in assembleTransaction by @paulbellamy in #57
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Note: This release requires Soroban-RPC server v0.6.0 or newer.
- Support for "Auth-Next". The entirely new auth system for Soroban contracts. More Info
getEvents
parameters have changed.endLedger
is now gone, andstartLedger
is optional (if using acursor
). Docs- Added
requestAirdrop
method to create and fund a new account on testnet/futurenet. Docs - Added
prepareTransaction
method to simulate a transaction and update it's contract operationsauth
andfootprint
fields with the result. This should be used to prepare a transaction for signing and sending. Docs - Reimplemented
getAccount
method to use Soroban-RPC'sgetLedgerEntry
under the hood. Should not be a noticeable change. - Changed
getAccount
return type from{id: string, sequence: string}
, to anAccount
class, which hasaccountId
, andsequenceNumber
methods. This class can be passed directly toTransactionBuilder
as asource
. Docs
v0.3.0
- Add getEvents function
v0.2.1
- Update stellar-base package to fix a bug in
Contract.call
usage.
v0.2.0
- Update stellar-base for new futurenet xdr.
v0.1.3
- Add cdnjs link to the readme.
- Update to stellar-base 8.0.1-soroban.4
- This will include the contract code in the contract call footprints by default.