Elliot Lee
1fd9ca7ef2
Use Buffer.from and clean up a few things ( #985 )
2019-02-07 00:29:59 -08:00
Elliot Lee
2445004333
Change prepare* methods to reject Promise on error ( #984 )
...
* Reject Promise on error, update docs, and add tests:
* preparePayment
* prepareTrustline
* prepareOrder
* prepareOrderCancellation
* prepareSettings
* prepareEscrowCreation
* prepareEscrowExecution
* prepareCheckCreate
* prepareCheckCash
* prepareCheckCancel
* preparePaymentChannelCreate
* preparePaymentChannelFund
* preparePaymentChannelClaim
Note that we can't update mocha to ^5.2.0 because it causes testing to hang indefinitely; this needs to be investigated.
2019-01-29 15:22:18 -08:00
Elliot Lee
dc148bf954
Update HISTORY.md
2018-12-12 17:38:34 -08:00
Elliot Lee
f3c34bd75a
Release 1.1.2
1.1.2
2018-12-12 14:55:15 -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
a8075d98df
Add list of applications using ripple-lib ( #976 )
2018-11-29 16:39:48 -08:00
Elliot Lee
fcc205b85a
Release 1.1.1
1.1.1
2018-11-27 15:17:42 -08:00
Elliot Lee
0f5056221f
Fix getOrderbook ( #970 )
...
* Fix `getOrderbook` (Fix #766 )
* Add `formatBidsAndAsks` as a recommended alternative to `getOrderbook`
* Add `renameCounterpartyToIssuer`
2018-11-26 15:25:15 -08:00
Elliot Lee
8384ace746
Add return type for generateAddress ( #968 )
...
For TypeScript apps
2018-11-20 15:35:34 -08:00
Elliot Lee
040cabece0
Add comments for accountRootFlags ( #962 )
2018-11-16 22:34:41 -08:00
Elliot Lee
319a8d6ab2
Fix book-offers test fixture by swapping bids/asks ( #966 )
2018-10-31 22:48:27 -07:00
Elliot Lee
50a7320886
Release 1.1.0
1.1.0
2018-10-31 16:36:20 -07:00
Elliot Lee
418987476e
Add DepositPreauth ( #958 )
...
* Expose parseAccountFlags() and add docs
* Add example snippet
* Default to node v10 for nvm
* Maintain existing behavior for getSettings
* Increase max line length from 80 to 120 (ter-max-len)
2018-10-31 16:27:32 -07:00
Elliot Lee
89e4ff328c
Apply formatting to book-offers fixture
2018-10-31 16:07:25 -07:00
Elliot Lee
04bf49cb43
Support node 10 ( #964 )
...
* Update webpack from 3.11.0 to 3.12.0 and upath from 1.0.4 to 1.1.0
* Run: yarn upgrade gulp
* See https://github.com/gulpjs/gulp/issues/2162
* Update README
* Travis: test node 10
2018-10-30 14:15:42 -07:00
Elliot Lee
1c017df2a3
Merge pull request #955 from jcperkins12/feature/balanceChanges-TypeCorrection
...
Type balanceChanges should be array of changes not array with one change
2018-10-24 20:34:03 -07: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
82c349c8c4
HISTORY: List Check transaction types
...
Transaction types that were added in 0.19.0
2018-10-17 16:22:48 -07:00
Elliot Lee
0f7af6a4e9
Add depositAuth to FormattedSettings type
2018-10-17 15:58:52 -07:00
Elliot Lee
8db1791ed2
README: Remove obsolete badges
2018-10-16 12:48:48 -07:00
Elliot Lee
a29ec1b8c7
Release 1.0.2
1.0.2
2018-10-16 12:28:24 -07:00
Elliot Lee
232a760a58
yarn: Add integrity hashes to yarn.lock
...
Added in yarn v1.10.0, see https://github.com/yarnpkg/yarn/pull/5042
2018-10-16 12:24:15 -07:00
Elliot Lee
f4ad04d334
Exclude SendMax from XRP to XRP payments ( #957 )
...
Fix #954
2018-10-16 12:21:29 -07:00
Cory Perkins
8dfec20871
Changed type of balanceChanges made to an account from an array of one change to an array of 1 change to and array of records with the type of a blanceChange
2018-10-10 12:21:16 -05: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
f785605db8
Release 1.0.1
1.0.1
2018-09-27 19:01:38 -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
wudanjs
4c23bd5ad3
Include memos when parsing trustlines ( #949 )
2018-09-19 14:17:38 -07:00
Scott M Sunarto
b15abd5376
Update server regex to accommodate UDS ( #944 )
2018-09-18 11:47:46 -07:00
Elliot Lee
79971f906b
Update release notes
2018-09-11 18:45:52 -07:00
Elliot Lee
9eec98778f
Expose validation methods ( #932 )
...
Merge branch 'movitto-expose_validation_methods' into develop
2018-09-11 18:33:55 -07:00
Elliot Lee
dcd0e14142
Add test of deriveKeypair with ed25519 secret
2018-09-11 18:33:07 -07:00
Elliot Lee
cfcbc9aab7
Update checksums for 1.0.0
1.0.0
2018-09-10 14:52:14 -07:00
Mo Morsi
a80de5658a
Move deriveKeypair and deriveAddress to offline module
2018-09-09 09:39:25 -04:00
Mo Morsi
34215eb309
Add docs for newly exposed API methods
2018-09-09 09:39:25 -04:00
Mo Morsi
9458005d7f
Add tests for newly exposed API methods
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
4bea69d647
Release 1.0.0
2018-08-30 14:30:57 -07:00
Elliot Lee
09541dae86
docs: rippled APIs use issuer
2018-08-30 14:12:45 -07:00
Elliot Lee
bcbcc53c87
No `--coverage' option anymore with nyc
...
See https://github.com/istanbuljs/nyc
2018-08-30 13:41:52 -07:00
Elliot Lee
76f120bec9
Merge branch 'getLedger-includeRawTransaction-2' into develop
2018-08-30 13:30:18 -07:00
Elliot Lee
f8bf28876d
if statements must be braced
2018-08-30 13:29:50 -07:00
wilsonianb
b03795df09
Add hidden computeTreeHashes option
2018-08-30 13:29:50 -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
0550fab73e
Update escrowCreation error message and docs ( #934 )
...
Fix #933
2018-08-29 19:03:33 -07:00
Elliot Lee
3f2d9d198e
computeLedgerHash - add requireRawTransactions option
2018-08-28 17:31:12 -07:00