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
Alan Cohen
7c9a179865
Merge pull request #698 from h0vhannes/develop
...
[FIX] Fix typo in PrepareTrustline description
2016-02-23 08:44:43 -07:00
Hovhannes Kuloghlyan
c6296a4918
[FIX] Modify PrepareTrustline doc source to pass tests
2016-02-23 16:45:32 +04:00
Hovhannes Kuloghlyan
cc399f1164
[FIX] Fix typo in PrepareTrustline description
2016-02-21 17:02:27 +03:00
Alan Cohen
e4ffb96646
Update version to 0.16.7
0.16.7
2016-02-12 11:38:51 -08:00
Chris Clark
8d34428dac
Merge pull request #694 from lumberj/add-deliveredAmount
...
Add deliveredAmount to payment outcome
2016-02-12 11:25:01 -08:00
Alan Cohen
353637a0c0
Add TODO comment for fixing workaround for rippled bug
2016-02-12 10:56:35 -08:00
Alan Cohen
00713d8ec1
Update version to 0.16.6
0.16.6
2016-02-11 17:02:18 -08:00
Alan Cohen
d949881e9f
Merge pull request #695 from lumberj/fix-typo
...
Fix typo in common/connection.js
2016-02-11 16:30:23 -08:00
Alan Cohen
5075441a69
Fix lint error
2016-02-11 13:39:35 -08:00
Alan Cohen
94a852cb8b
Fix typo in common/connection.js
2016-02-11 13:36:12 -08:00
Alan Cohen
06f847c2d0
Fix lint errors
2016-02-10 19:45:51 -08:00
Alan Cohen
0c2f9d0e62
Add deliveredAmount to payment outcome
...
It is impossible to reliably compute the delivered amount from the metadata due
to fixed precision. If the partial payment flag is not set and the transaction
succeeded, the delivered amount should always be considered to be the amount
specified in the transaction.
2016-02-10 17:25:27 -08:00
Chris Clark
11ed6b124f
Merge pull request #692 from darkdarkdragon/develop-minify
...
fixes for minified version
2016-02-08 17:22:14 -08:00
Ivan Tivonenko
8767fc0068
fixes for minified version test minified version in SauceLabs
2016-02-09 03:08:23 +02:00
Chris Clark
66b07623b0
Merge pull request #691 from darkdarkdragon/develop-sauce
...
add SauceLabs testing
2016-02-05 10:10:37 -08:00
Ivan Tivonenko
4f3635eef0
add SauceLabs testing
2016-02-05 07:59:34 +02:00
Chris Clark
f638833759
Merge pull request #686 from darkdarkdragon/develop-RLJS-565
...
switch from Babel 5 to Babel 6
2016-01-21 15:42:00 -08:00
Ivan Tivonenko
ab9d1936d9
fix reconnect error - in case of connection was unexpectedly closed before it was open,
...
resolve first promise that was returned from call to connect
2016-01-21 18:35:59 +02:00
Ivan Tivonenko
0fefb2bd2c
do not pack lodash inside browser version
2016-01-16 01:12:48 +02:00
Ivan Tivonenko
6740eee495
combine with different transaction test
...
test for trying to sign already signed transaction
ignore http server in coverage
2016-01-16 01:12:46 +02:00
Ivan Tivonenko
aa6020e00d
switch from Babel 5 to Babel 6
...
use of isparta for coverage reporting
2016-01-16 01:12:43 +02:00
Alan Cohen
7bfe4a6cd8
Update version to 0.16.5
0.16.5
2016-01-15 14:44:05 -08:00
Chris Clark
aa467681e4
Merge pull request #688 from lumberj/source-amount-paths
...
Filter insufficient source funds paths from pathfind results
2016-01-15 13:47:17 -08:00
Alan Cohen
6b8cd6151d
Filter insufficient source funds paths from pathfind results
...
When pathfinding with source amount, we need to filter out paths where source
amount is not equal to the specified source amount. This is due to the behavior
of rippled when specifying a source amount during pathfinding.
Example:
{
"command": "ripple_path_find",
"source_account": "rhFQQ4ATC6MDF9ghTq3qAoCsGbGtjnhcXF",
"destination_account": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"destination_amount": {
"currency": "EUR",
"issuer": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"value": -1
},
"send_max": {
"currency": "USD",
"issuer": "rhFQQ4ATC6MDF9ghTq3qAoCsGbGtjnhcXF",
"value": "1234567891"
},
"id": 2
}
{
"id": 2,
"result": {
"alternatives": [
{
"destination_amount": {
"currency": "EUR",
"issuer": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"value": "3999889.62127857"
},
"paths_canonical": [],
"paths_computed": [
[
{
"account": "rcsxQxEqU2qquAKp3tBUJy8Z2t19ioQPJ",
"type": 1,
"type_hex": "0000000000000001"
},
{
"currency": "EUR",
"issuer": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"type": 48,
"type_hex": "0000000000000030"
}
]
],
"source_amount": {
"currency": "USD",
"issuer": "rhFQQ4ATC6MDF9ghTq3qAoCsGbGtjnhcXF",
"value": "4170759.906037564"
}
}
],
"destination_account": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"destination_amount": {
"currency": "EUR",
"issuer": "rp91GUd5R3Rk3ipqW7XBdtrUJcX8epzGyb",
"value": "-1"
},
"destination_currencies": [
"EUR",
"XRP"
],
"full_reply": true,
"id": 2,
"source_account": "rhFQQ4ATC6MDF9ghTq3qAoCsGbGtjnhcXF",
"status": "success"
},
"status": "success",
"type": "response"
}
2016-01-15 13:38:57 -08:00
Chris Clark
0d6aaee12a
Merge pull request #681 from darkdarkdragon/develop-RLJS-564
...
fix for browser
2016-01-13 11:31:14 -08: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
Alan Cohen
0f4d957d14
Update version to 0.16.4
0.16.4
2016-01-04 19:48:59 -08:00
Alan Cohen
71a13224a1
Merge branch 'develop' into release
...
* develop:
Update ws to 1.0.1
run integration tests using standalone server
Add multisignature support
Add sample code to cancel all orders for a specified account
Remove references to browser support
add check for windows eol on commit removes windows eols from some files
Fix error on ledger subscription message without validated_ledgers
2016-01-04 19:47:24 -08:00
Alan Cohen
8097ed60ba
Update version to 0.16.3
0.16.3
2016-01-04 19:45:47 -08:00
Alan Cohen
408bb74214
Merge pull request #682 from lumberj/update-ws
...
Update ws to 1.0.1
2016-01-04 19:12:11 -08:00
Alan Cohen
9433b43873
Update ws to 1.0.1
...
Also, addresses remote memory disclosure vulnerability
https://nodesecurity.io/advisories/67
2016-01-04 19:06:30 -08:00
Chris Clark
896bf48c79
Merge pull request #672 from darkdarkdragon/develop-RLJS-558
...
testing circleci standalone integration
2015-12-18 16:11:13 -08:00
Ivan Tivonenko
3dd21a7e11
run integration tests using standalone server
2015-12-19 02:04:05 +02:00
Chris Clark
ed79a04018
Merge pull request #679 from clark800/multisign
...
Add multisignature support
2015-12-17 13:27:52 -08:00
Chris Clark
ebfe20defb
Add multisignature support
2015-12-17 11:45:08 -08:00
Chris Clark
28b148348d
Merge pull request #678 from clark800/cancel-all
...
Add sample code to cancel all orders for a specified account
2015-12-16 12:05:09 -08:00
Chris Clark
fe099f2c8b
Add sample code to cancel all orders for a specified account
2015-12-16 11:40:39 -08:00
Chris Clark
107c8c9f0f
Merge pull request #677 from lumberj/no-browser
...
Remove references to browser support
2015-12-16 11:35:33 -08:00
Alan Cohen
39e818b3e5
Remove references to browser support
2015-12-16 10:34:57 -08:00
Chris Clark
588ffa3d5c
Merge pull request #674 from darkdarkdragon/develop-eol
...
add check for windows eol
2015-12-14 12:57:57 -08:00
Ivan Tivonenko
691e4dd114
add check for windows eol on commit
...
removes windows eols from some files
2015-12-14 22:15:30 +02:00
Chris Clark
55bc42725f
Merge pull request #675 from clark800/fix-validated-ledgers
...
Fix error on ledger subscription message without validated_ledgers
2015-12-14 11:30:35 -08:00
Chris Clark
cce55b9361
Fix error on ledger subscription message without validated_ledgers
2015-12-14 11:07:58 -08:00
Chris Clark
c23c6e4fc9
Bump version to 0.16.2
0.16.2
2015-12-10 14:41:45 -08:00
Chris Clark
afdd60efe8
Merge pull request #671 from clark800/bump-binary
...
Bump ripple-binary-codec dependency version to 0.1.1 to fix issue wit…
2015-12-10 14:38:11 -08:00
Chris Clark
8f6ea573ff
Bump ripple-binary-codec dependency version to 0.1.1 to fix issue with computeLedgerHash for transactions with DeliverMin
2015-12-10 14:29:28 -08:00
Alan Cohen
3271b544ef
Bump version to 0.16.1
0.16.1
2015-12-09 16:51:26 -08:00
Alan Cohen
6e83130754
Merge pull request #669 from lumberj/fix-assertdiff
...
FIX: Use assert not assert-diff
2015-12-09 16:49:36 -08:00