Elliot Lee
d82703f41b
prepareTransaction should not overwrite Sequence ( #990 )
...
* Cleans up some code and fixes some type errors
* Clarify how null settings work
* Document updated RippledError
* Updates per review by @mDuo13
2019-03-18 15:55:42 -07:00
Elliot Lee
54f12862dc
Improve errors ( #893 )
...
- `RippledError`: Include the full response from the `rippled` server.
- A new test ensures correct behavior when `streams` is not an array.
- `NotConnectedError` may be thrown with a different message than before.
2018-05-12 09:38:49 -07:00
Elliot Lee
b2b6715ac0
Add request(), hasNextPage(), and requestNextPage() ( #887 )
...
* Add support for all rippled APIs, including subscriptions.
* Add support for arbitrary stream message types.
* Note that rippled APIs take amounts in drops.
* request() will be available in ripple-lib version 1.0.0+
2018-05-10 15:43:56 -07:00
Ivan Tivonenko
5da78ce583
[FIX] handle websocket errors in browsers
...
emit not RippledNotInitializedError if server doesn't have any
completed ledgers on connect
2016-03-31 00:46:00 +03:00
Ivan Tivonenko
e17b6f172d
[FIX] on connect return error if server doesn't have validated ledgers
2016-03-24 22:26:33 +02:00
Ivan Tivonenko
69c1ccbb6b
[TASK] emit connected and disconnected events from api
2016-03-23 02:05:07 +02:00
Ivan Tivonenko
499b8c8d8b
[FIX] fix multiple reconnections issue
2016-03-23 01:18:08 +02:00
Ivan Tivonenko
1f8418b447
[FIX] add small code comment
2016-03-15 20:58:22 +02:00
Ivan Tivonenko
1d31fccd72
[FIX] fix test hang in microsoft edge
2016-03-15 05:04:47 +02:00
Ivan Tivonenko
0dfdd0a601
[FIX] change eslint version to 2.1
2016-02-24 23:08:49 +02:00
Ivan Tivonenko
4acc42e1b6
[FIX] fix connection error handling
...
if connection to server can't be established, reject Promise of `connect()` method caller,
instead of throwing error event on base object.
2016-02-24 23:08:47 +02:00
Ivan Tivonenko
4f3635eef0
add SauceLabs testing
2016-02-05 07:59:34 +02:00
Ivan Tivonenko
dc03c6e0ac
fix to work in browser
...
run unit tests and integration tests in PhantomJS
add JUnit reporter to unit test so CircleCI can show results
2016-01-13 07:11:39 +02:00
Chris Clark
cce55b9361
Fix error on ledger subscription message without validated_ledgers
2015-12-14 11:07:58 -08:00
Chris Clark
9cd72595f0
BREAKING CHANGE: Change error event format and fix crash due to error event on websocket
2015-12-09 12:56:45 -08:00
Ivan Tivonenko
c9704137b7
fix handling memos in prepareSettings
...
boost coverage back to 99.88%
move connection tests to separate file
group test fixtures into namespaces
2015-11-25 02:10:54 +02:00