Skip to content

Releases: stellar/js-stellar-base

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.

v0.7.4

07 Mar 13:47
Compare
Choose a tag to compare
  • Update dependencies.
  • Remove unused methods.

v0.7.3

07 Mar 13:45
Compare
Choose a tag to compare
  • Allow hex string in setOptions signers

v0.7.2

08 Feb 13:54
Compare
Choose a tag to compare
  • Updated XDR files

v0.7.1

31 Jan 13:27
Compare
Choose a tag to compare
  • Checking hash preimage length

v0.7.0

30 Jan 17:52
Compare
Choose a tag to compare
  • Support for new signer types: sha256Hash, preAuthTx.
  • StrKey helper class with strkey encoding related methods.
  • Removed deprecated methods: Keypair.isValidPublicKey (use StrKey), Keypair.isValidSecretKey (use StrKey), Keypair.fromSeed, Keypair.seed, Keypair.rawSeed.
  • Breaking changes:
    • Network must be explicitly selected. Previously testnet was a default network.
    • Operation.setOptions() method signer param changed.
    • Keypair.fromAccountId() renamed to Keypair.fromPublicKey().
    • Keypair.accountId() renamed to Keypair.publicKey().
    • Dropping support for End-of-Life node versions.

v0.6.0

12 Sep 15:47
Compare
Choose a tag to compare
  • Breaking change ed25519 package is now optional dependency.
  • Export account flags constants.

v0.5.7

22 Aug 20:11
Compare
Choose a tag to compare
  • Fixes XDR decoding issue when using firefox

v0.5.6

29 Apr 11:14
Compare
Choose a tag to compare
  • UTF-8 support in Memo.text().

v0.5.5

22 Apr 17:16
Compare
Choose a tag to compare
  • Make 0 a valid number for transaction fee,
  • Fix signer in Operation.operationToObject() - close #82