Elliot Lee
6b40e4fe9d
Release 1.6.3-beta.1 ( #1195 )
...
* Update ripple-keypairs and fix types
2020-02-02 15:14:44 -08:00
Nicholas Smith
c17827e030
Assign event listener to socket close event on open before attempting post-open logic ( #1186 )
...
* Assign event listener to socket close event on open before attempting to execute post-connection logic, prottects possible unhandled rejection in disconnect
* Remove try/catch for linting failure
* Up timeout for CI failure
* Feedback emit error for disconnection failure on connect failure
* Feedback ignore error on disconnect, propagate root cause
* Feedback add extra test check for expected error on connect
* Feedback remove setTimeout for await reconnect
2020-01-28 09:08:47 -05:00
Nicholas Smith
e03b192fcc
Catch possible error in reconnect() on _heartbeat(), emit reconnect error
2020-01-15 12:36:39 -05:00
Hans Bergren
7c6b8398cf
Improve documentation for generateXAddress() ( #1169 )
...
It takes an optional property for including the classic address in the
return payload
Co-authored-by: Elliot Lee
2020-01-13 23:39:02 -08:00
FKSRipple
f6b3f661d6
Merge branch 'develop' into connection-cleanup-tests
2020-01-10 16:15:16 -08:00
FKSRipple
c564400ac4
Merge pull request #1119 from ripple/connection-cleanup-ledger
...
Add LedgerHistory to Connection
2020-01-10 16:07:08 -08:00
Hans Bergren
eea20a6eab
Improve documentation for address generation ( #1158 )
...
The documentation previously just stated that any array of integers
was acceptable for providing as entropy, but it must be an array of
length 16 where the values are from 0-255 (uint8) to ensure we have
16 bytes of entropy.
2020-01-08 18:30:08 -05:00
Fred K. Schott
5f208801ee
move backoff into codebase
2020-01-08 14:50:17 -08:00
Fred K. Schott
0a22697e5d
Refactor the Connection
2020-01-08 12:21:37 -08:00
Fred K. Schott
20d3be0d1d
nevermind, regression wasn't actually a regression
2020-01-08 12:20:40 -08:00
Fred K. Schott
1785863686
update docs, fix a regression
2020-01-08 11:53:33 -08:00
FKSRipple
34ddbe170c
Merge pull request #1127 from you21979/fix-account-object
...
fix AccountObjectsResponse structure
2020-01-07 11:52:01 -08:00
FKSRipple
f59419d96f
Update ledger_entries.ts
2020-01-07 11:44:14 -08:00
FKSRipple
7f288d0555
Update signers.ts
2020-01-07 11:43:37 -08:00
Elliot Lee
138e7942da
Add support for AccountDelete ( #1120 )
...
https://xrpl.org/accountdelete.html
2020-01-06 04:01:10 -08:00
Elliot Lee
f3dd2fec99
Merge pull request #1098 from nickewansmith/fix-possible-unhandled-throw-on-send
...
Adds unit test for ripple#1092, fixes unhandled throw on upgraded ws send
2020-01-05 19:51:58 -08:00
yuki akiyama
66db127245
fix AccountObjectsResponse: Does not match the structure returned by the API.
2019-12-23 13:21:26 +09:00
Fred K. Schott
fc524894c6
add ledger to connection
2019-12-18 11:35:47 -08:00
Fred K. Schott
1d3ddb5e85
update eslint command
2019-12-17 10:36:32 -08:00
Fred K. Schott
2145c104fd
run prettier format
2019-12-17 10:35:59 -08:00
Fred K. Schott
9580397558
cleanup the connection config
2019-12-16 17:26:00 -08:00
Fred K. Schott
cf544b74f5
fix msg abbreviation
2019-12-16 17:25:21 -08:00
Fred K. Schott
312f831efb
cleanup the connection trace logic
2019-12-16 11:57:51 -08:00
FKSRipple
439a611a9e
Add a heartbeat to detect hung connections ( #1101 )
...
* disconnect is now reconnect on heartbeat fail
2019-12-14 10:23:09 -08:00
RareData
5f92b230aa
Add support for WalletLocator ( #1083 )
...
Being able to fetch the WalletLocator field opens up new use-cases. The field can store for example a transaction hash, referencing a transaction with memos containing useful data.
2019-12-11 23:47:41 -08:00
Elliot Lee
b7ca0a0a14
Merge pull request #1102 from ripple/test-runner-01
...
Small source fixes, based on issues found with test improvements
2019-12-09 09:16:58 -08:00
Fred K. Schott
abed42d848
fix source directory, based on issues found with test improvements
2019-11-26 16:01:03 -08:00
FKSRipple
3d6e795ca5
Merge pull request #1096 from magmel48/typescript3.7-TransactionJSON-conflict-fix
...
TransactionJSON conflict fix
2019-11-19 15:04:10 -08:00
FKSRipple
20d2f9d894
Merge pull request #1086 from ripple/refactor-tests
...
Add RippleAPI test runner, with support for multiple address testing
2019-11-17 23:49:22 -08:00
FKSRipple
321f908e76
Merge pull request #1084 from ripple/tests-to-ts-04
...
Complete move of tests to TS
2019-11-17 23:42:38 -08:00
Nicholas Smith
fa6a2c5bbb
Adds unit test for ripple#1092, fixes unhandled throw when not connected on send due to upgraded ws module
2019-11-17 01:28:19 -05:00
magmel
94587d7515
moved TransactionJSON to proper types.ts file
2019-11-15 15:44:31 +03:00
RareData
8ebad98912
Add support for tick size ( #1090 )
2019-11-14 20:13:58 -08:00
FKSRipple
08429b6110
Merge pull request #1092 from nickewansmith/fix-unhandled-rejection-warning-on-send
...
Fix Unhandled Promise Rejection Warning on message _send
2019-11-13 19:54:48 -08:00
Fred K. Schott
b77a12fd0d
Add test runner for RippleAPI, begin to break up large test file
2019-11-13 19:47:49 -08:00
Fred K. Schott
a98526b398
Revert "Revert "Merge pull request #1052 from FredKSchott/tests-to-ts-03""
...
This reverts commit b648387a57 .
2019-11-13 19:47:18 -08:00
Nicholas Smith
d8dbeedcc2
Adds an immediate catch to the _send promise passed to _whenReady in case there is rejection before async handlers are added
2019-11-13 01:24:09 -05:00
RareData
1bc0eab7ae
Update email hash default to fix clearing bug
2019-11-11 19:09:32 +01:00
Elliot Lee
b648387a57
Revert "Merge pull request #1052 from FredKSchott/tests-to-ts-03"
...
This reverts commit e08367365f , reversing
changes made to 36a9e7a7cf .
2019-11-06 10:34:05 -08:00
Fred K. Schott
e7afd3ec76
respond to comments
2019-11-04 19:33:43 -08:00
Fred K. Schott
3d30be3472
update ws dependency
2019-11-04 19:33:43 -08:00
FKSRipple
e08367365f
Merge pull request #1052 from FredKSchott/tests-to-ts-03
...
Convert the rest of the test helpers to TS
2019-11-04 19:30:02 -08:00
Fred K. Schott
f47d7b6935
update bignumber dependency
2019-11-02 08:36:46 -07:00
Fred K. Schott
39f6a51794
convert the rest of the helper files to ts
2019-11-02 07:40:52 -07:00
Elliot Lee
789497b07e
Fix lint errors
2019-10-28 17:01:32 -07:00
Fred K. Schott
43ff824da1
fix broken tests
2019-10-25 10:18:46 -07:00
Fairy
b8022610ca
Fix error in Safari ( #869 )
...
* Safari minify fix
* Update browser-hacks.ts
2019-10-24 10:41:21 -07:00
FKSRipple
03defe203a
Merge pull request #773 from aMoniker/develop
...
unref timer so it doesnt hang the node process
2019-10-23 18:29:20 -07:00
FKSRipple
aedcbe56b3
Added small style changes
2019-10-23 18:29:07 -07:00
FKSRipple
c365db460a
Merge pull request #1044 from ripple/connection-timeout
...
Add a 2-second timeout for connect()
2019-10-23 18:19:39 -07:00