github stellar/js-stellar-sdk v14.0.0-rc.1
v14.0.0-rc.1: Protocol 23 Release Candidate

latest releases: v15.1.0, v15.0.1, v14.6.1...
pre-release10 months ago

v14.0.0-rc.1

Breaking Changes

  • This package requires Node 20.
  • XDR has been upgraded to support Protocol 23, please refer to the @stellar/stellar-base release notes for details and other breaking changes.
  • Deprecated: getTransaction and getTransactions top-level diagnosticEventsXdr field.

Added

  • The Horizon API's BalanceChange object for operations now optionally has details about muxed information if the invocation involved a muxed destination address:
export type MuxedIdType = "uint64" | "string" | "bytes";
export interface BalanceChange {
  // ...
  destination_muxed_id_type?: MuxedIdType;
  destination_muxed_id?: string;
}
  • The RPC server's getTransaction and getTransactions responses now include a top-level events object containing a disjoint breakdown of the events:
export interface TransactionEvents {
  diagnosticEventsXdr: xdr.DiagnosticEvent[];
  transactionEventsXdr: xdr.TransactionEvent[];
  contractEventsXdr: xdr.ContractEvent[][];
}
  • The RPC server's getEvents now includes retention state information:
export interface GetEventsResponse {
  // ...
  oldestLedger: number;
  latestLedgerCloseTime: string;
  oldestLedgerCloseTime: string;
}
  • The RPC server's simulateTransaction method now includes an optional authMode parameter to specify the type of authorization to simulate:
export type SimulationAuthMode = "enforce" | "record" | "record_allow_nonroot";

Fixed

  • Add muxed payments support for PaymentOperationResponse type (#1149).

New Contributors

Full Changelog: v13.1.0...v14.0.0-rc.1

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

NewReleases is sending notifications on new releases.