Releases: stellar/js-stellar-base
Releases · stellar/js-stellar-base
v0.7.5
Keypair.constructor
now requirestype
field to define public-key signature system used in this instance (soKeypair
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 toKeypair.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 levelxdr.Memo
objects). - Changed
Asset.toXdrObject
toAsset.toXDRObject
andOperation.operationToObject
toOperation.toXDRObject
for consistency. - Time bounds support for numeric input values.
- Added
browser
prop to package.json.
v0.7.4
v0.7.3
v0.7.2
v0.7.1
v0.7.0
- Support for new signer types:
sha256Hash
,preAuthTx
. StrKey
helper class withstrkey
encoding related methods.- Removed deprecated methods:
Keypair.isValidPublicKey
(useStrKey
),Keypair.isValidSecretKey
(useStrKey
),Keypair.fromSeed
,Keypair.seed
,Keypair.rawSeed
. - Breaking changes:
Network
must be explicitly selected. Previously testnet was a default network.Operation.setOptions()
methodsigner
param changed.Keypair.fromAccountId()
renamed toKeypair.fromPublicKey()
.Keypair.accountId()
renamed toKeypair.publicKey()
.- Dropping support for
End-of-Life
node versions.