Skip to content

Commit

Permalink
v1.0.1 (#285)
Browse files Browse the repository at this point in the history
* Fix timebounds documentation

* upgrade stellar-base to latest

* upgrade to v1.0.1
  • Loading branch information
Morley Zhi authored May 9, 2019
1 parent fc28f68 commit 1a170f9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
As this project is pre 1.0, breaking changes may happen for minor version bumps.
A breaking change will get clearly marked in this log.

## [v1.0.1](https://github.com/stellar/js-stellar-sdk/compare/v1.0.0...v1.0.1)

- Upgrade stellar-base to v1.0.1, which makes available again the deprecated
operation functions `Operation.manageOffer` and `Operation.createPassiveOffer`
(with a warning).
- Fix the documentation around timebounds.

## [v1.0.0](https://github.com/stellar/js-stellar-sdk/compare/v0.15.4...v1.0.0)

- Upgrade stellar-base to
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "stellar-sdk",
"version": "1.0.0",
"version": "1.0.1",
"description": "stellar-sdk is a library for working with the Stellar Horizon server.",
"main": "./lib/index.js",
"types": "./types/index.d.ts",
Expand Down Expand Up @@ -118,7 +118,7 @@
"es6-promise": "^4.2.4",
"eventsource": "^1.0.7",
"lodash": "^4.17.11",
"stellar-base": "^1.0.0",
"stellar-base": "^1.0.1",
"toml": "^2.3.0",
"urijs": "^1.19.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class Server {
* @argument {number} seconds Number of seconds past the current time to wait.
* @argument {bool} [_isRetry=false] True if this is a retry. Only set this internally!
* This is to avoid a scenario where Horizon is horking up the wrong date.
* @returns {Promise<number>} Promise that resolves a `timebounds` object
* @returns {Promise<Timebounds>} Promise that resolves a `timebounds` object
* (with the shape `{ minTime: 0, maxTime: N }`) that you can set the `timebounds` option to.
*/
fetchTimebounds(seconds, _isRetry = false) {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7093,10 +7093,10 @@ statuses@~1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087"

stellar-base@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/stellar-base/-/stellar-base-1.0.0.tgz#5baffa305b7fe92ef5344ea538a365bdad0e63e0"
integrity sha512-gEegltdjPewGNHSu2080XQPG6+1H69rDV2g93WQpafl6fWR5eoCUTtJxAyiclXkkIsP6t64Li/o+qbhVLA8IeQ==
stellar-base@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/stellar-base/-/stellar-base-1.0.1.tgz#83af7de5670a3dfca9130cbde0ecd7dbe1fe58cf"
integrity sha512-IJIqEonJCA5DUoAuCwKxF+g1tvME8Jlj7tQDJwgw51aWYhqSlneagFOalqtbjfV7TsO/FTaKdaWtdZ4XVgbTiA==
dependencies:
base32.js "^0.1.0"
bignumber.js "^4.0.0"
Expand Down

0 comments on commit 1a170f9

Please sign in to comment.