Mayukha Vadari
|
0b08de5956
|
Removes methods that were just rippled wrappers (#1550)
* remove getAccountInfo
* remove getAccountObjects
* remove getBalanceSheet (gateway_balances)
* remove getLedger
* remove getOrders (account_orders)
* remove getPaymentChannel (ledger_entry)
* remove getTransaction(s) (tx/account_tx)
* remove getSettings (account_info)
* remove getServerInfo (server_info)
* fix integ tests
* remove submit (also deprecated)
* fix integ tests
* add TODO
|
2021-10-04 14:10:09 -04:00 |
|
Mayukha Vadari
|
59396c3f8f
|
Edit Client constructor to take a server URI (#1544)
* edit Client
* fix TS issues + tests
* minor edits
* rename ClientBroadcast -> BroadcastClient
|
2021-10-04 14:10:09 -04:00 |
|
Mayukha Vadari
|
f49b9d4b0e
|
Rewrite XrplClient.request and general cleanup (#1519)
* first attempt at overloading
* fix TS issues
* improve connection typing
* more cleanup
* edit all ledger files
* more renames
* fix all other request calls
* clean up serverinfo
* fixes more request calls
* remove old legacy browser stuff
* remove unused types
* remove exports from objects
* add type to method signatures
* add ledger requests
* fix most tests
* comment out formatBidsAndAsks
* fix proxy test
* comment out failing tests
* move client-related files into client
* add payment channel requests
* fix imports
* remove finished TODOs
* fix tests
* fix integ tests
* remove exported types
* better ci
|
2021-10-04 14:10:09 -04:00 |
|
Mayukha Vadari
|
73109295b4
|
Rename RippleAPI client to Client (#1520)
* rename RippleAPI -> XrplClient
* more renames
* move API stuff to client folder
* rename all api -> client
* fix tests
* make tests run
* fix integ tests
* fix urls
* fix merge issues
* XrplClient -> Client
* fix merge issues
* rename xrpl-client npm symlink to xrpl-local
|
2021-10-04 14:10:08 -04:00 |
|
Nathan Nichols
|
76780c8a8e
|
Run Integration Tests in Browser (#1468)
* ci: Adds github actions testing for webpacked integration test
|
2021-08-02 16:29:35 -05:00 |
|
Mayukha Vadari
|
6e0fff2ad6
|
Reduce dependencies on lodash (#1467)
* assign -> Object.assign
* replace isundefined
* remove forEach
* remove some
* remove reduce
* remove keys
* remove map
* remove includes
* remove filter
* remove last
* remove isstring
* remove every
* remove rearg
* remove indexOf
* remove values
* remove startswith
* remove first and pick
* build smaller lodash
* remove lodash.isequal package
* add lodash-cli dev dependency
* add lodash script
* test fix
* Revert "build smaller lodash" This reverts commit 979446e57f60b29cb5d377b54efe91cfbeae0707.
* upgrade npm
* change ===/!== undefined to ==/!= null
|
2021-07-29 20:18:08 -04:00 |
|
Nathan Nichols
|
9adfd404e5
|
GitHub Actions Integration Tests (#1466)
* ci: Add Github Actions integration testing against standalone rippled
|
2021-07-27 12:47:55 -05:00 |
|
Javi
|
1c1a3fa583
|
fix(refactor): rename prepareTicket to prepareTicketCreate (https://github.com/ripple/ripple-lib/pull/1324#discussion_r519027049)
|
2020-11-08 09:53:17 +01:00 |
|
Javi
|
9f6fa6a4fd
|
fix: sequence 0 check, lint and format
|
2020-11-06 10:58:21 +01:00 |
|
Javi
|
c7e08378ac
|
feat(tickets): first commit, preparePayment and prepareTicket
|
2020-11-05 12:41:54 +01:00 |
|
Fred K. Schott
|
e3822e6bc3
|
refactor tests for the new connection logic
|
2020-01-08 12:20:58 -08:00 |
|
Fred K. Schott
|
2145c104fd
|
run prettier format
|
2019-12-17 10:35:59 -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 |
|
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
|
6692fbeed4
|
respond to comments
|
2019-11-04 19:20:40 -08:00 |
|
Fred K. Schott
|
39f6a51794
|
convert the rest of the helper files to ts
|
2019-11-02 07:40:52 -07:00 |
|
Elliot Lee
|
0a41d5ccf1
|
Upgrade to gulp 4; remove http server (#1030)
* Update gulp version to ^4.0.2 and Gulpfile.js
* Remove http server
|
2019-08-26 13:50:36 -07:00 |
|
Elliot Lee
|
50fc36ec3e
|
Add "strict": true to tsconfig.json (#994)
- Remove process.browser
|
2019-04-11 15:48:23 -07:00 |
|
amougel
|
2570e2a6d8
|
Add signWithKeypair (#769)
|
2018-04-03 15:33:24 -07:00 |
|
Brad Chase
|
f175966816
|
Make http server dev only
|
2017-05-05 14:59:15 -04: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 |
|
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 |
|
Ivan Tivonenko
|
3dd21a7e11
|
run integration tests using standalone server
|
2015-12-19 02:04:05 +02:00 |
|
Chris Clark
|
ebfe20defb
|
Add multisignature support
|
2015-12-17 11:45:08 -08:00 |
|
Ivan Tivonenko
|
76866ab901
|
http server example
allows to use both positional and named parameters
|
2015-12-09 21:00:47 +02:00 |
|
Chris Clark
|
7061e9afe4
|
BREAKING CHANGE: "servers" parameter changed to single "server" and added a new broadcast wrapper class for multiple servers
|
2015-11-24 16:47:12 -08:00 |
|
Chris Clark
|
7f33d8a71e
|
BREAKING CHANGE: prepareOrderCancellation now takes orderCancellation specification instead of sequence
|
2015-11-23 12:45:44 -08:00 |
|
Alan Cohen
|
7514213918
|
Fix: Specify send_max when pathfinding with a source amount
When specifying a fixed sending amount during a pathfind request, the source
amount is specified as a `send_max` field. This fixes a bug where the amount was
specified as `source_amount`. Leading to strange pathfinding behavior.
Example bad behavior (rippled pathfind request/response):
```
{
"command": "ripple_path_find",
"source_account": "rM21sWyMAJY1oqzgnweDatURxGMurBs7Kf",
"destination_account": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"destination_amount": {
"currency": "EUR",
"issuer": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"value": -1
},
"source_amount": {
"currency": "USD",
"issuer": "rM21sWyMAJY1oqzgnweDatURxGMurBs7Kf",
"value": "9.9"
},
"id": 2
}
{
"id": 2,
"result": {
"alternatives": [
{
"destination_amount": {
"currency": "EUR",
"issuer": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"value": "147520.7583553951"
},
"paths_canonical": [],
"paths_computed": [
[
{
"account": "r9HqF3wexBb1vtu2DfZKiFuyy3HoTAwUnH",
"type": 1,
"type_hex": "0000000000000001"
},
{
"currency": "EUR",
"issuer": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"type": 48,
"type_hex": "0000000000000030"
}
]
],
"source_amount": {
"currency": "USD",
"issuer": "rM21sWyMAJY1oqzgnweDatURxGMurBs7Kf",
"value": "160510.6025237665"
}
}
],
"destination_account": "raDjTrcEtyMqZT6s3PyKGcikUJqYNXUPPv",
"destination_currencies": [
"EUR",
"XRP"
],
"ledger_current_index": 2771044,
"validated": false
},
"status": "success",
"type": "response"
}
```
https://ripple.com/build/rippled-apis/#ripple-path-find
|
2015-11-20 10:44:21 -08:00 |
|
Chris Clark
|
9af20f9176
|
Simplify "submit" response
|
2015-11-16 13:07:22 -08:00 |
|
Chris Clark
|
782adc6a1a
|
Organize JSON schemas for documentation generation
|
2015-11-06 11:57:33 -08:00 |
|
Chris Clark
|
c7b021c7be
|
Fix and reorganize schemas and switch to ajv validator
|
2015-10-30 14:28:50 -07:00 |
|
Chris Clark
|
c238596a81
|
Emit Connection errors on RippleAPI, remove unused exports, use ripple-hashes in sign
|
2015-10-28 11:33:51 -07:00 |
|
Chris Clark
|
97747deed9
|
Delete core, move "api" directory up to "src", and remove unused dependencies
|
2015-10-27 12:37:07 -07:00 |
|
Chris Clark
|
3de0030d07
|
Add ledger version range checking to Connection class
|
2015-10-22 14:34:44 -07:00 |
|
Chris Clark
|
cd17d6940f
|
BREAKING CHANGE: getFee returns promise, express fee in XRP in instructions response, use rawRequest to start decoupling Remote from API
|
2015-10-22 14:34:42 -07:00 |
|
Chris Clark
|
2c7ce4a107
|
Run integration tests in CI
|
2015-10-20 15:49:06 -07:00 |
|
Chris Clark
|
3fbde86548
|
Set FullyCanoncialSig flag and fix integration tests
|
2015-10-20 15:49:03 -07:00 |
|
Chris Clark
|
15eb4c290a
|
Add Connection class
|
2015-10-19 17:32:45 -07:00 |
|
Ivan Tivonenko
|
792b30c8b5
|
Test all methods of RippleApi in integration-test
|
2015-07-15 03:17:39 +03:00 |
|
Ivan Tivonenko
|
6c48b22eea
|
Port integration tests from ripple-rest
|
2015-07-14 01:10:42 +03:00 |
|