Alan Cohen
eb04e878ba
0.16.9
0.16.9
2016-03-22 18:39:33 -07:00
Chris Clark
c71febd116
Merge pull request #709 from darkdarkdragon/reconnect_fix
...
Reconnection fix
2016-03-22 18:12:28 -07: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
Chris Clark
ea009f9a84
Merge pull request #708 from clark800/fix-maker-exchange-rate
...
Fix makerExchangeRate for getOrders when rippled provides quality
2016-03-22 14:14:23 -07:00
Chris Clark
dc784d4567
Fix makerExchangeRate for getOrders when rippled provides quality
2016-03-22 13:21:26 -07:00
Alan Cohen
9ffc8a2c0b
Merge pull request #707 from ripple/fix/filter-source-amount
...
FIX: Filtering source_amount pathfind correctly
2016-03-21 14:48:37 -07:00
Alan Cohen
5b20fe573e
FIX: Filtering source_amount pathfind correctly
...
Bug:
```js
api.connect().then(() => {
const pathfind = {
source: {
address: USDCold,
amount: {
currency: 'USD',
value: '1.00' // <<<< Rippled response has "1" not "1.00"
}
},
destination: {
address: EURCold,
amount: {currency: 'EUR'}
}
};
return api.getPaths(pathfind).then(paths => {
console.log('PATHS: \n', JSON.stringify(paths, null, 2));
});
}).catch(console.log);
```
2016-03-21 11:44:55 -07:00
Chris Clark
7e466bb80f
Merge pull request #705 from darkdarkdragon/code_comment
...
[FIX] add small code comment
2016-03-15 12:14:05 -07:00
Ivan Tivonenko
1f8418b447
[FIX] add small code comment
2016-03-15 20:58:22 +02:00
Alan Cohen
ccfc57fc62
Merge pull request #704 from darkdarkdragon/fix_edge_test
...
[FIX] fix test hang in microsoft edge
2016-03-15 10:27:01 -07:00
Ivan Tivonenko
1d31fccd72
[FIX] fix test hang in microsoft edge
2016-03-15 05:04:47 +02:00
Alan Cohen
9ac1a89e48
0.16.8
0.16.8
2016-03-09 12:30:10 -08:00
Chris Clark
bfc0696324
Merge pull request #701 from h0vhannes/develop
...
Documentation fixes
2016-03-09 12:24:55 -08:00
Hovhannes Kuloghlyan
e33e782f9e
[DOC] Fix transaction spelling in getTransaction description
2016-03-09 22:14:09 +04:00
Hovhannes Kuloghlyan
f2b591d1b2
[DOC] Fix transaction responses link in submit() description
2016-03-09 22:07:54 +04:00
Chris Clark
fe9af5153d
Merge pull request #699 from darkdarkdragon/develop_connection_error
...
[FIX] fix connection error handling
2016-02-24 14:12:12 -08: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
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