Fred K. Schott
034f8d41fc
remove bad semicolon
2019-10-23 00:33:09 -07:00
Fred K. Schott
0fa70db1e1
Merge branch 'develop' into connection-timeout
2019-10-23 00:32:03 -07:00
FKSRipple
fa7ba9b72b
Update connection.ts
2019-10-23 00:27:17 -07:00
Fred K. Schott
0cf5ce1416
Merge branch 'develop' into eslint
2019-10-17 11:23:26 -07:00
Elliot Lee
988381d584
Merge pull request #1048 from FredKSchott/tsc-update
...
Update TypeScript
2019-10-16 23:04:20 -07:00
Elliot Lee
0b163eae23
XRP Ledger Hashes: create README.md
2019-10-15 16:34:48 -07:00
Fred K. Schott
3a3ff8a65e
Update utils.ts
2019-10-15 13:49:03 -07:00
Fred K. Schott
9f183a6dfc
replace tslint (deprecated) with eslint
2019-10-13 16:44:22 -07:00
Fred K. Schott
fadfd4e06c
update typescript
2019-10-13 16:19:45 -07:00
Elliot Lee
d075ec6716
Add a 2-second timeout for connect()
2019-10-03 00:02:55 -07:00
Tyler Storm
14e6bf5ef9
Integrate ripple-hashes ( #1039 )
...
* Update TxParser and Mocha
* Convert ripple-hashes to TypeScript and add into ripple-lib along with unit tests
* Switch casing to camelCase
* Document intToVuc
* Convert Slots to numbers, add exception if number is outside 0-15
* Remove Shamap v2 support
* Improve naming
2019-10-01 23:35:11 -07:00
Elliot Lee
5e138b9937
Sign method - verify accurate encoding ( #1026 )
...
* Decode signed transactions and check field integrity
* Add tests (including signing a tx without Flags)
* Update tests to output more descriptive errors on failure
* Update ripple-binary-codec to 0.2.2
2019-08-16 16:22:25 -07:00
Elliot Lee
c5b1d4daac
Update lodash to ^4.14.136, fix docs typo, update HISTORY.md
2019-08-07 12:20:56 -07:00
Namrata
b4a30d49d8
Support removing a signer list ( #1021 )
...
* Make weights an optional field
* Fix #971
2019-07-30 16:48:30 -07:00
mDuo13
7ca7a07942
Phrasing cleanup in schema descriptions
...
- Change 'Ripple address'→'XRP Ledger address'
- Change 'is exclusive with'→'cannot be used with'
2019-07-15 14:26:43 -07:00
Elliot Lee
bcb80ea5f5
Fix getServerInfo ( #1012 )
...
* Return array for serverInfo.load.jobTypes
* Include start/end in invalid range assertion error
2019-06-14 14:57:36 -07:00
Elliot Lee
1be2ee5875
Docs: fix #574 ( #1011 )
...
destination.address
2019-06-14 14:57:14 -07:00
Elliot Lee
5ffbd6e86d
Update dependencies ( #1007 )
...
* Update dependencies: @types/lodash@4.14.133 , mocha-junit-reporter@1.22 .0, tslint@5.17 .0, nyc
Fix type errors
2019-06-06 15:56:29 -07:00
Elliot Lee
e2572c61cf
Add details about transaction fees, master keys, and multi-signing
2019-06-05 00:27:25 -07:00
Elliot Lee
7df2b74d43
Update get-server-info.json
2019-05-27 14:37:38 -07:00
Elliot Lee
f51a69f080
Fix typo
2019-05-22 10:04:43 -07:00
Elliot Lee
4da80028bf
Prevent prepareTransaction from overwriting values in txJSON ( #1000 )
...
Fix #997
2019-04-13 11:33:16 -07:00
Elliot Lee
50fc36ec3e
Add "strict": true to tsconfig.json ( #994 )
...
- Remove process.browser
2019-04-11 15:48:23 -07:00
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
bfe4877f73
Merge remote-tracking branch 'origin/master' into develop
2019-03-12 15:12:58 -07:00
Elliot Lee
63dcddf6f4
[Docs] Update transaction responses link
...
List of transaction responses
2019-03-11 12:14:41 -07:00
Elliot Lee
1fd9ca7ef2
Use Buffer.from and clean up a few things ( #985 )
2019-02-07 00:29:59 -08:00
Alexandru Chiriac
5419e67dbc
GetLedger by hash option ( #980 )
...
* update ledger input schema
* include ledgerHash option
2018-12-12 11:02:50 -08:00
Alexandru Chiriac
8d37da0952
Update Submit Response ( #978 )
...
* update submit output schema
* update submit response object
2018-12-04 15:35:07 -08:00
Elliot Lee
040cabece0
Add comments for accountRootFlags ( #962 )
2018-11-16 22:34:41 -08:00
Elliot Lee
5fed1f08e4
Document xrpToDrops, dropsToXrp, iso8601ToRippleTime, schemaValidator, and more
...
The following methods are available directly under the RippleAPI object,
not under schemaValidator:
isValidAddress, isValidSecret, deriveKeypair, deriveAddress
2018-10-18 01:16:50 -07:00
Elliot Lee
0f7af6a4e9
Add depositAuth to FormattedSettings type
2018-10-17 15:58:52 -07:00
Cory Perkins
64745017e9
book_offers returns offers type OfferLedgerEntry ( #951 )
...
* rippled-api function book_offers returns offers in the format of OfferLedgerEntry not OfferCreateTransaction
* updated type of account_objects
2018-10-02 02:14:17 -07:00
Elliot Lee
37edede728
Use object instead of Object ( #936 )
2018-10-02 02:13:28 -07:00
Elliot Lee
01ad30ab07
Fix typos in ledger_entries.ts
2018-09-19 14:24:02 -07:00
Cory Perkins
e08d507462
Add remaining LedgerEntry types ( #943 )
...
* Replaced the union with 'any' in the LedgerEntry type
* Added DepositPreauthLedgerEntry (new in rippled 1.1.0)
2018-09-19 14:21:52 -07:00
Scott M Sunarto
b15abd5376
Update server regex to accommodate UDS ( #944 )
2018-09-18 11:47:46 -07:00
Mo Morsi
a80de5658a
Move deriveKeypair and deriveAddress to offline module
2018-09-09 09:39:25 -04:00
Mo Morsi
5f36df0172
Expose deriveKeypair, deriveAddress, isValidAddress, and isValidSecret to the public API
2018-09-09 09:39:25 -04:00
Elliot Lee
3ff4929a49
Fix PendingLedgerVersionError message and export FormattedTransactionType ( #941 )
2018-09-04 18:31:24 -07:00
Elliot Lee
dbe20d6574
getLedger: include raw transaction with each transaction
...
computeLedgerHash: support new getLedger response by using
rawTransaction
BREAKING CHANGES:
* Remove the `rawTransactions` field and replace it with a new `rawTransaction` field in each transaction.
* Rename the `metaData` field (in each raw transaction) to `meta` (for consistency with rippled's `tx` method).
* Add `ledger_index` to each raw transaction.
2018-08-30 13:28:52 -07:00
Elliot Lee
181cfd69de
Prevent 'amount' from being misinterpreted ( #924 )
...
The 'amount' field should almost never be used.
With partial payments, the field can show an amount that is
significantly less than the amount that the transaction actually
delivered. This change sets amount to 0 XRP when it may be misleading.
This change omits the `amount` when parsing payment transactions.
See `HISTORY.md` for recommended alternatives.
2018-08-23 16:17:23 -07:00
Elliot Lee
569766b8f8
Rename json schemas ( #931 )
...
Rename files for consistency with their titles:
* Rename amount-base to amountbase
* Rename tx-hash to transaction-hash
* Rename id to transactionHash
* Rename objects/settings.json to objects/settings-plus-memos.json
* Rename ledgerversion to ledger-version
2018-08-22 14:41:41 -07:00
Elliot Lee
4c9a2ff538
Improve Order docs. Fix #776
2018-08-14 19:27:50 -07:00
Elliot Lee
f5e1a4a588
Revert "Expose validation methods in public api"
...
This reverts commit 9e9a0a7d9b .
We should move methods like deriveKeypair and deriveAddress
off of the schemaValidator object.
2018-08-10 14:54:01 -07:00
Mo Morsi
9e9a0a7d9b
Expose validation methods in public api
...
Updated to fix tests
2018-08-06 16:09:04 -07:00
Elliot Lee
067bc48d4e
Add prepareTransaction() ( #898 )
...
* Export iso8601ToRippleTime(), txFlags, convertStringToHex()
* Fix a bug that caused fees exceeding 999 to throw an error
e.g. '1,000' would not be recognized as a valid number.
To use 6 decimal places, toFixed should be used instead of toFormat.
2018-07-26 12:24:29 -07:00
Elliot Lee
7a928804ec
feat: add payment channel details to tx (2) ( #920 )
...
* Bump transactionparser to v0.7.1 and update output schema
* yarn docgen for required `threshold` and `weights`
2018-07-17 22:22:07 -07:00
Brandon Wilson
4e30b9b2fa
Require threshold and weights in signers settings ( #909 )
...
Fixes #908
2018-07-02 16:27:03 -07:00
Elliot Lee
2112d4c0b3
Round XRP fee to 6 decimal places ( #912 )
...
* Round XRP fee to 6 decimal places
Fix #911
2018-06-28 17:59:00 -07:00