Skip to content

Releases: stellar/js-stellar-base

v0.10.0

13 Dec 16:44
Compare
Choose a tag to compare
  • Breaking change Added TransactionBuilder.setTimeout method that sets timebounds.max_time on a transaction. Because of the distributed nature of the Stellar network it is possible that the status of your transaction will be determined after a long time if the network is highly congested. If you want to be sure to receive the status of the transaction within a given period you should set the TimeBounds with maxTime on the transaction (this is what setTimeout does internally; if there's minTime set but no maxTime it will be added). Call to TransactionBuilder.setTimeout is required if Transaction does not have max_time set. If you don't want to set timeout, use TimeoutInfinite. In general you should set TimeoutInfinite only in smart contracts. Please check TransactionBuilder.setTimeout docs for more information.
  • Fixed decoding empty homeDomain.

v0.9.0

17 Sep 17:53
Compare
Choose a tag to compare
  • Update js-xdr to support unmarshaling non-utf8 strings.
  • String fields returned by Operation.fromXDRObject() are of type Buffer now (except SetOptions.home_domain and ManageData.name - both required to be ASCII by stellar-core).

v0.8.3

16 Aug 19:09
Compare
Choose a tag to compare
  • Update xdr files to V10.

v0.8.2

08 Aug 18:39
Compare
Choose a tag to compare
  • Upgrade js-xdr.

v0.8.1

01 Aug 08:43
Compare
Choose a tag to compare
  • Removed src from .npmignore.

v0.8.0

16 Jul 14:13
Compare
Choose a tag to compare
  • Added support for bump_sequence operation.
  • Fixed many code style issues.
  • Updated docs.

v0.7.8

30 May 12:43
Compare
Choose a tag to compare
  • Updated dependencies

v0.7.7

06 Feb 15:39
Compare
Choose a tag to compare
  • Updated docs.

v0.7.6

15 Nov 16:15
Compare
Choose a tag to compare
  • Updated docs.

v0.7.5

07 Nov 15:27
Compare
Choose a tag to compare
  • Keypair.constructor now requires type field to define public-key signature system used in this instance (so Keypair can support other systems in a future). It also checks if public key and secret key match if both are passed (to prevent nasty bugs).
  • Keypair.fromRawSeed has been renamed to Keypair.fromRawEd25519Seed to make it clear that the seed must be Ed25519 seed.
  • It's now possible to instantiate Memo class so it's easier to check it's type and value (without dealing with low level xdr.Memo objects).
  • Changed Asset.toXdrObject to Asset.toXDRObject and Operation.operationToObject to Operation.toXDRObject for consistency.
  • Time bounds support for numeric input values.
  • Added browser prop to package.json.