github stellar/js-stellar-sdk v11.3.0

latest releases: v15.1.0, v15.0.1, v14.6.1...
2 years ago

Added

  • Introduces an entire suite of helpers to assist with interacting with smart contracts (#929):
    • ContractClient: generate a class from the contract specification where each Rust contract method gets a matching method in this class. Each method returns an AssembledTransaction that can be used to modify, simulate, decode results, and possibly sign, & submit the transaction.
    • AssembledTransaction: used to wrap a transaction-under-construction and provide high-level interfaces to the most common workflows, while still providing access to low-level transaction manipulation.
    • SentTransaction: transaction sent to the Soroban network, in two steps - initial submission and waiting for it to finalize to get the result (retried with exponential backoff)

Fixed

  • Upgrade underlying dependencies, including @stellar/js-xdr which should broaden compatibility to pre-ES2016 environments (#932, #930).
  • SorobanRpc.Server will no longer use array-based passing to invoke JSON-RPC methods (#924).

Full Changelog: v11.2.2...v11.3.0

Don't miss a new js-stellar-sdk release

NewReleases is sending notifications on new releases.