Skip to content

Commit 1a170f9

Browse files
author
Morley Zhi
authored
v1.0.1 (#285)
* Fix timebounds documentation * upgrade stellar-base to latest * upgrade to v1.0.1
1 parent fc28f68 commit 1a170f9

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
As this project is pre 1.0, breaking changes may happen for minor version bumps.
44
A breaking change will get clearly marked in this log.
55

6+
## [v1.0.1](https://github.com/stellar/js-stellar-sdk/compare/v1.0.0...v1.0.1)
7+
8+
- Upgrade stellar-base to v1.0.1, which makes available again the deprecated
9+
operation functions `Operation.manageOffer` and `Operation.createPassiveOffer`
10+
(with a warning).
11+
- Fix the documentation around timebounds.
12+
613
## [v1.0.0](https://github.com/stellar/js-stellar-sdk/compare/v0.15.4...v1.0.0)
714

815
- Upgrade stellar-base to

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "stellar-sdk",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "stellar-sdk is a library for working with the Stellar Horizon server.",
55
"main": "./lib/index.js",
66
"types": "./types/index.d.ts",
@@ -118,7 +118,7 @@
118118
"es6-promise": "^4.2.4",
119119
"eventsource": "^1.0.7",
120120
"lodash": "^4.17.11",
121-
"stellar-base": "^1.0.0",
121+
"stellar-base": "^1.0.1",
122122
"toml": "^2.3.0",
123123
"urijs": "^1.19.1"
124124
}

src/server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class Server {
8181
* @argument {number} seconds Number of seconds past the current time to wait.
8282
* @argument {bool} [_isRetry=false] True if this is a retry. Only set this internally!
8383
* This is to avoid a scenario where Horizon is horking up the wrong date.
84-
* @returns {Promise<number>} Promise that resolves a `timebounds` object
84+
* @returns {Promise<Timebounds>} Promise that resolves a `timebounds` object
8585
* (with the shape `{ minTime: 0, maxTime: N }`) that you can set the `timebounds` option to.
8686
*/
8787
fetchTimebounds(seconds, _isRetry = false) {

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -7093,10 +7093,10 @@ statuses@~1.4.0:
70937093
version "1.4.0"
70947094
resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.4.0.tgz#bb73d446da2796106efcc1b601a253d6c46bd087"
70957095

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

0 commit comments

Comments
 (0)