Releases: stellar/js-stellar-sdk
Releases · stellar/js-stellar-sdk
v0.14.0
- Updated some out-of-date dependencies
- Update documentation to explicitly set fees
- Add
Server.prototype.fetchBaseFee
, which devs can use to fetch the current
base fee; we plan to add more functions to help suggest fees in future
releases - Add
includeFailed
toOperationCallBuilder
for including failed
transactions in calls - Add
operationFeeStats
toServer
for the new fee stats endpoint
v0.13.0
- Add prettier and eslint (replacing jshint)
- Add pre-commit hook for running prettier
- Add Airbnb's eslint rules
- Fix code with linter issues
- Fix jsdoc script
- Travis changes: bump Node version, and add yarn caching
- Fix bug with validating offsets in trade aggregation
v0.12.0
- Update
stellar-base
to0.10.0
- Breaking change: Added
TransactionBuilder.setTimeout
method that setstimebounds.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 withmaxTime
on the transaction (this is whatsetTimeout
does internally; if there'sminTime
set but nomaxTime
it will be added). Call toTransactionBuilder.setTimeout
is required if Transaction does not havemax_time
set. If you don't want to set timeout, useTimeoutInfinite
. In general you should setTimeoutInfinite
only in smart contracts. Please checkTransactionBuilder.setTimeout
docs for more information. - Breaking change: Add
offset
parameter to TradeAggregationCallBuilder to reflect new changes to the endpoint in horizon-0.15.0 - Fixed decoding empty
homeDomain
.
v0.11.0
v0.10.3
v0.10.2
v0.10.1
v0.10.0
v0.9.2
v0.9.1
Breaking changes
-
stellar-sdk
is now using nativePromise
instead ofbluebird
. Thecatch
function is different. Instead of:.catch(StellarSdk.NotFoundError, function (err) { /* ... */ })
please use the following snippet:
.catch(function (err) { if (err instanceof StellarSdk.NotFoundError) { /* ... */ } })
-
We no longer support IE 11, Firefox < 42, Chrome < 49.
Changes
- Fixed
_ is undefined
bug. - Minified browser build is around 130 KB smaller! 🎊