Nathan Nichols
028655d682
build: makes connection private
2021-09-26 11:06:20 -07:00
Mayukha Vadari
c260512bf3
fix: make generateFaucetWallet functional ( #1669 )
2021-09-24 18:58:09 -04:00
Mayukha Vadari
97049e1120
feat: add client.getLedgerIndex ( #1668 )
...
* write getLedgerIndex
* add to client
* rename file
* add tests
* remove unused import
* fix browser tests
* respond to comments, more cleanup
2021-09-24 18:40:03 -04:00
Nathan Nichols
b939a1d5ba
feat: Add warning for partial payment ( #1641 )
2021-09-24 15:36:31 -07:00
Jackson Mills
1ec42392a2
Add trustSet integration test and browser test ( #1667 )
2021-09-24 13:47:27 -07:00
Mayukha Vadari
f5dd4ac794
fix: resolve browser issue with Error.captureStackTrace ( #1663 )
...
* fix webpacking error issue
* fix eslint comment
2021-09-24 15:18:48 -04:00
Nathan Nichols
b82df40562
fix: adds mode to webpack to stop warning ( #1666 )
2021-09-24 12:10:12 -07:00
Nathan Nichols
903ed2e3e6
Autofills AccountDelete Fee w/ reserve_inc_xrp ( #1639 )
...
* fix: fetch Owner Reserves from ledger
2021-09-24 12:09:54 -07:00
Mayukha Vadari
814add2aac
chore: remove ripple-lib-transactionparser ( #1661 )
2021-09-24 15:09:21 -04:00
Mayukha Vadari
2533cc8654
feat: extra protection for AccountDelete transactions ( #1626 )
...
* add deletion blockers check to autofill
* add tests
* add fail_hard: true
* pass in account_objects response to error
* only fail_hard for AccountDelete
* reject promise instead of throwing error
* fix rebase issue
2021-09-24 15:05:38 -04:00
Mayukha Vadari
ab3f7f7ca5
fix: disallow two pending requests with the same id ( #1628 )
...
* only increment nextId if id used
* throw error if promise already pending with id
* add test
* modify existing tests
* fix bug + tests
2021-09-24 15:01:43 -04:00
Jackson Mills
94749a4a57
test: Add PayChannel Transaction Integration Tests ( #1662 )
...
* Add test for PaymentChannelCreate
* Add PaymentChannelFund test
* Add PaymentChannelClaim test
2021-09-24 11:03:17 -07:00
Jackson Mills
70d9396247
Add Payment Channel Tests ( #1646 )
...
* Add ChannelVerify integration and browser test
2021-09-24 10:52:59 -07:00
Jackson Mills
8991133b28
Add Path and Orderbook integration tests ( #1644 )
...
Add bookOrder, depositAuthorized, and ripplePathFind, and pathFind integration and browser tests
2021-09-24 10:46:54 -07:00
Mayukha Vadari
3929d60903
build: prepare repo for beta release ( #1665 )
...
* fix github links
* fix webpacking
* more cleanup
* add 2.x to SECURITY.md
* update beta version
2021-09-24 13:44:42 -04:00
Jackson Mills
9601e5b604
Add Ledger Method Integration Tests ( #1640 )
...
Add integration tests for ledger, ledgerEntry, ledgerData, ledgerClosed and ledgerCurrent, plus add them to the browser tests.
2021-09-24 09:38:52 -07:00
Mayukha Vadari
c5a9ce2113
test: integration tests for CheckCreate, CheckCancel, CheckCash ( #1664 )
...
* test checkCreate
* test CheckCancel
* test CheckCash
* add browser tests
2021-09-24 12:29:41 -04:00
Mayukha Vadari
07f07b1201
test: add integration tests for Account requests ( #1643 )
2021-09-24 12:20:04 -04:00
Jackson Mills
009b86d2f2
Add integration tests for Transaction methods ( #1636 )
...
Add tx, submit, and submit_multisign integration tests, along with browser tests.
2021-09-24 08:40:56 -07:00
Mayukha Vadari
d4636dcd40
test: integration tests for DepositPreauth ( #1648 )
2021-09-24 09:57:54 -04:00
Nathan Nichols
6c3099f9da
build: adjust for updates to @xrplf/eslint-config ( #1633 )
2021-09-23 21:04:07 -07:00
Mukul Jangid
bc1a6c97e4
test: write tests for sugar functions ( #1631 )
...
* test: write tests for sugar functions
2021-09-23 16:04:58 -04:00
Mayukha Vadari
87799b304b
ci: run lint tests ( #1603 )
...
* turn on lint tests
* remove tsc
* fix errors in src/utils/hashes
* fix linter errors in src/utils
* fix lint issues in test/
* resolve lint issues in src/client
* resolve dependency cycle
* resolve other linting issues in src/models
* resolve rest of linting issues
* fix tests
* fix linting errors in test/integration
* fix rest of linting issues
* fix test name
2021-09-22 16:39:10 -04:00
Mayukha Vadari
2c36b735c9
fix: run browser tests on all integration tests ( #1649 )
...
* attempt to webpack all tests
* fix browser tests
* remove console.log
2021-09-22 13:58:43 -04:00
Nathan Nichols
53ceaa9838
rename browser library ( #1637 )
...
* rename browser library
2021-09-21 13:15:43 -07:00
Mayukha Vadari
a92b611377
refactor: remove client.combine ( #1632 )
...
* remove combine
* remove tests
* fix tests
2021-09-21 15:16:34 -04:00
Nathan Nichols
b0d2fdbedb
Resolves TODOs in ./src/client ( #1617 )
...
* fix: fixes TODO's in ./src/client
2021-09-21 12:10:50 -07:00
Mayukha Vadari
64a4b5565c
test: add integration tests for OfferCreate, OfferCancel ( #1634 )
...
* test OfferCreate
* test OfferCancel
2021-09-21 15:10:04 -04:00
Mayukha Vadari
baf8350203
test: integration tests for Payment ( #1635 )
...
* test payment
* use new helper function elsewhere
* remove unneeded comment
2021-09-21 15:02:45 -04:00
Mayukha Vadari
b31968f367
refactor: move everything out of the common folder ( #1629 )
...
* remove common/constants (all in models now)
* remove common/txFlags (all in models now)
* move ecdsa from src/common to src
* move errors from src/common to src, export at top level
2021-09-21 14:25:37 -04:00
Jackson Mills
32b871c804
Remove old types ( #1630 )
...
* Remove transaction/types
* Delete common/types/commands
* Delete common/types
2021-09-21 09:08:56 -07:00
Jackson Mills
5b5f7484de
Remove sign.ts and move functionality into Wallet ( #1620 )
...
* Move sign.ts functionality into Wallet
* Move the corresponding tests to wallet's test cases and simplify them for readability
* Delete sign.ts
2021-09-17 12:16:57 -07:00
Mayukha Vadari
9e39bb25aa
test: SignerListSet transaction integration tests ( #1621 )
...
* add tests
* clean up helper functions
* fix account funding
* remove unneeded method
* use new wallets for each test
* automatically fund wallets
* fix TODO
2021-09-17 10:35:17 -04:00
Mayukha Vadari
bd9b886799
refactor: move address-codec methods from client to utils ( #1627 )
2021-09-16 21:39:29 -04:00
Mayukha Vadari
fe71090546
refactor: remove unused methods/types in src/sugar ( #1625 )
...
* remove sugar/utils
* remove sugar/pathfind-types
* clean up src/sugar/index
2021-09-16 21:22:04 -04:00
Mayukha Vadari
17ab3537c3
fix: renames verify... methods to validate... ( #1624 )
...
* rename verify -> validate
* fix imports
* run eslint --fix on test/
2021-09-16 21:14:22 -04:00
Mayukha Vadari
3d98de6ffa
refactor: adds error response object ( #1619 )
...
* add error response object
* export error response properly
* type mockRippled
* fix linter
* fix ts
* fix comments
2021-09-16 16:44:44 -04:00
Mukul Jangid
a2a8af7125
Refactor: Lint test/client ( #1602 )
...
* lint test/client
2021-09-16 16:28:16 -04:00
Nathan Nichols
d64dc368be
fix: remove the sugar/parse directory ( #1622 )
...
* fix: remove the sugar/parse directory
* feat: adds lsf flags
2021-09-16 10:13:39 -07:00
Mukul Jangid
fba2e0569f
refactor: Reimplement sugar functions and clean up ( #1559 )
...
* refactor: Reimplement sugar functions and clean up
2021-09-15 12:07:27 -04:00
Jackson Mills
f9cd2b45b5
Add Wallet.fromSecret(...) as an alias for Wallet.fromSeed(...) ( #1618 )
...
* Add alias to fromSeed for fromSecret
* Switch syntax to direct usage
2021-09-14 17:16:14 -04:00
Mayukha Vadari
b6f9561279
test: adds integration tests for rippled utility methods ( #1597 )
...
* add utility tests
* type client better
* simplify ledgerAccept
2021-09-14 17:16:14 -04:00
Nathan Nichols
a46d172842
docs: generate documentation with typedoc ( #1607 )
...
* docs: generate documentation with typedoc
2021-09-14 17:16:12 -04:00
Jackson Mills
7ac1b6aebc
Remove deprecated deriveAddress from Client ( #1614 )
...
* Removing deriveAddress and X from client
* Remove deriveAddress from derive.ts
* Remove linting exception for function lines
2021-09-14 17:14:34 -04:00
Jackson Mills
7ea04ce385
Update integration test with multisign changes ( #1616 )
2021-09-14 17:14:34 -04:00
Jackson Mills
7a5a1afd25
Change multisign to return an encoded transaction ( #1615 )
2021-09-14 17:14:34 -04:00
Mayukha Vadari
a6e08f5481
Lints src/wallet and test/wallet ( #1600 )
...
* lint src/wallet/index
* lint generateFaucetWallet
* lint tests
* respond to comments
* change max-lines-per-function to 40
* remove * import
* fix TS issues
2021-09-14 17:14:34 -04:00
Mayukha Vadari
9d28540710
Lint integration test files and browser test files ( #1612 )
...
* clean up utils
* more cleanup
* remove client.sign
* remove unneeded tests
* remove unneeded infra
* move helper functions to separate files
* fix linter issues
* more cleanup
* make helper functions more generally useful
* fix test account funding
* add import note to README
* lint browser tests
* run eslint --fix
2021-09-14 17:14:34 -04:00
Nathan Nichols
c9adbc9981
build: update typescript version ( #1601 )
2021-09-14 17:14:32 -04:00
Mukul Jangid
09522e9ce2
refactor: add verify() function ( #1552 )
...
* refactor: add verify() function
2021-09-14 17:11:53 -04:00
Nathan Nichols
9439a6f505
build: bump ws version ( #1606 )
2021-09-14 17:11:51 -04:00
Mayukha Vadari
3b469fe4af
build: update version for beta ( #1613 )
2021-09-14 17:08:44 -04:00
Omar Khan
ed23739a8d
add submit transaction methods ( #1611 )
...
Adds submit transaction methods: submitTransaction and submitSignedTransaction.
2021-09-14 17:08:44 -04:00
Nathan Nichols
df1fd90f55
feat: cleanup flag naming ( #1609 )
...
* feat: cleanup flag naming
2021-09-14 17:08:44 -04:00
Nathan Nichols
bfb52b0d94
Lint utils directory ( #1563 )
...
* Lint the utils directory
* Modify computeLedgerHash to take new Ledger format.
2021-09-14 17:08:44 -04:00
Nathan Nichols
65ec5b9060
build: rename ripple-lib to xrpl.js ( #1608 )
...
* build: rename ripple-lib to xrpl.js
2021-09-14 17:08:44 -04:00
Mayukha Vadari
a4fa1b4adb
Removes all prepare methods ( #1605 )
...
* deprecate and alias prepareTransaction
* delete prepareTransaction and replace methods in check-cancel
* WIP update check-cash
* remove all prepares
* remove prepares from client
* fix ts issues
* remove tests
* fix tests
* additional cleanup
* fix integration tests
* remove console statement
* re-add helper function
* fix imports
* fix more issues with integration tests
Co-authored-by: Omar Khan <khancodegt@gmail.com >
2021-09-14 17:08:44 -04:00
Jackson Mills
830525ef9c
Refactoring existing hash utils and adding tests ( #1557 )
...
Write toHash utils and tests, then fix naming to match our standards of camelCase
2021-09-14 17:08:44 -04:00
Nathan Nichols
e5e450a199
build: remove linter rules already in base config ( #1599 )
2021-09-14 17:08:44 -04:00
Jackson Mills
99f3b6b200
Signer fixes ( #1604 )
...
* Factor out reused wallet generation
* Remove extraneous types
* Clarify that multisign takes signed transactions
Co-authored-by: Mayukha Vadari <mvadari@ripple.com >
2021-09-14 17:08:44 -04:00
Jackson Mills
c3774cd531
Signer ( #1573 )
...
Create Signer class to allow for offline signing, multisigning and signing authorizeChannel requests.
2021-09-14 17:08:44 -04:00
Omar Khan
db17bb1c57
implement Autofill Transaction ( #1574 )
...
Implements autofill() and setTransactionFlagsToNumber() to allow a Client to autofill fields in a Transaction.
2021-09-14 17:08:44 -04:00
Mayukha Vadari
7309b69596
Lints top-level test files ( #1594 )
...
* lint broadcastClient
* lint client
* fix most of connection
* remove unused files
* lint mockRippled
* lint mockRippledTest
* lint runClientTests
* lint setupClient
* lint setupClientWeb
* lint shamap
* lint testUtils
* resolve tsc issues
* Fix tests
* lint rest of connection
* respond to comments
2021-09-14 17:08:44 -04:00
Nathan Nichols
64cd604ee1
feat: Add typescript types to subscribe ( #1576 )
...
feat: Add typescript types to subscribe (#1576 )
2021-09-14 17:08:43 -04:00
Mayukha Vadari
2129239ac3
Lints src/common ( #1595 )
...
* lint errors (and remove unused error types)
* lint fee
* lint index
* lint ecdsa
* fix tests
* remove address tests from getFee
* fix more tests
* fix tests
* respond to comments
2021-09-14 17:08:43 -04:00
Nathan Nichols
2ca737391d
Adds @xrplf prettier config ( #1598 )
...
* build: new prettier config
2021-09-14 17:08:38 -04:00
Mayukha Vadari
685e4971b9
Lints src/client ( #1577 )
...
* lint backoff
* lint wsWrapper
* remove rangeset - not used
* split out connection.ts classes
* lint requestManager
* lint connectionManager
* lint most of connection
* fix most of client
* lint broadcastClient
* resolve more linter issues
* resolve magic numbers
* clean up more linting
* resolve rest of issues
* fix tests
* fix browser tests
* fix tests after rebase
* respond to comments
* fix dependency cycles
2021-09-14 17:06:20 -04:00
Mayukha Vadari
c9021ca144
Removes jsonschemas ( #1593 )
...
* remove jsonschemas stuff
* fix ts issues
* fix tests
* remove package
* remove scripts
* replace isValidAddress
2021-09-14 17:05:13 -04:00
Mayukha Vadari
e9f2bc5c7d
Lints test/models ( #1578 )
2021-09-14 17:05:13 -04:00
Nathan Nichols
19f7561daf
update integration testing readme ( #1589 )
...
* update integration testing `README.md`
2021-09-14 17:05:13 -04:00
Omar Khan
2d072a51ba
Refactor generateFaucetWallet to return a Wallet ( #1564 )
...
* add Wallet.generate() and
* return Wallet in generateFaucetWallet
* refactor Wallet tests
* rename wallet-generation.ts to generateFaucetWallet.ts
* rename and move Wallet.ts to src/wallet/index.ts and update webpack config
2021-09-14 17:05:13 -04:00
Mayukha Vadari
600e5b9334
Switches from yarn to npm ( #1591 )
...
* remove yarn.lock
* reinstall with npm
* fix package.json
* update xrplf eslint
* fix all other instances of yarn
2021-09-14 17:05:11 -04:00
Mayukha Vadari
b051b4c59b
Lints test/utils ( #1575 )
...
* rename model tests
* rename util tests
* turn off `any` complaints in linter
* other linter changes
* fix xrp <-> drops methods
* lint generateAddress
* fix rest of tests
2021-09-14 17:02:40 -04:00
Mayukha Vadari
89e319fe0a
Lints src/models ( #1572 )
...
* resolve src/models/methods
* PaymentTransaction => Payment, remove empty returns
* fix common, method signatures
* fix checkCash
* handle complexity complaints
* fix jsdocs
* handle magic numbers
* finish models/transactions
* fix models/utils
* fix models/ledger
* fix ts issues
* fix tests
* fix modifiedoffercreatetransaction
* remove comments, fix additional TODO
2021-09-14 17:02:40 -04:00
Nathan Nichols
09d4c3e9c0
refactor: migrate fixtures to use typescript ( #1565 )
...
* refactor: migrate fixtures to typescript
2021-09-14 17:02:39 -04:00
Mayukha Vadari
1710d82232
test: removes the use of TestSuite ( #1566 )* switch all methods to new format* clean up rippleClient* rename files to remove ripple from name* additional cleanup
2021-09-14 17:02:39 -04:00
Omar Khan
b9b926e890
add getXAddress to Wallet ( #1558 )
...
- add getXAddress to Wallet
- refactor wallet tests
2021-09-14 17:02:39 -04:00
Mayukha Vadari
08e5b49b09
refactor: improves mock rippled structure ( #1569 )
...
* better error handling + tests
* fix tests
* change addResponse to take a string instead of a Request
* remove unneeded change
* respond to comments
* fix tests, re-lint
* improve error message
2021-09-14 17:02:39 -04:00
Mayukha Vadari
01e800c3f4
refactor: use chai instead of assert-diff ( #1570 )
...
* assert-diff -> chai
* fix tests
* remove package
* fix rebase
2021-09-14 17:02:37 -04:00
Nathan Nichols
6742e2048a
build: Initial linting setup ( #1560 )
...
* sets up linting config and runs `yarn lint --fix` once, so that all changes will show up correctly in future PRs.
* Note that there are still a lot of linter errors.
2021-09-14 17:00:46 -04:00
Mayukha Vadari
cfa014c44b
refactor: clean up Client and associated files ( #1556 )
...
* remove _PRIVATE
* make requestAll public
* un-type connection.request
* fix lodash imports
* add comments
* Rename files to camelCase
2021-09-14 16:56:39 -04:00
Mayukha Vadari
cab359cfbd
refactor: move fixtures closer to tests (part 2) ( #1561 )
...
* move echo
* move fee
* move subscribe/unsubscribe
* move ledger_current
* move ledger_data
* move submit/submit_multisigned
* remove account_tx/account_offers/gateway_balances
* move account_info
* remove ledger_entry
* remove tx
* remove account_lines
* remove ripple_path_find
* remove ledger
* remove book_offers
* move ping
* remove global_config
* move test_command
* additional mock-rippled cleanup
* add explanatory comment to mock.addResponse
2021-09-14 16:56:39 -04:00
Mayukha Vadari
77979dda40
refactor: rename all test files to camelCase ( #1562 )
...
* rename files to camelCase
* fix imports
* more renames
* pull all client tests out of individual folders
* fix imports
* fix tests
2021-09-14 16:56:39 -04:00
Jackson Mills
334a8adbf0
Remove deprecated functions from api.ts (aka client.ts) ( #1534 )
...
* Removed deprecated functions from client.ts
* Renamed files to be camelCase
* Created top-level utils folder and tied all sub-references to it
* Grouped tests for those utils into their own section
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2021-09-14 16:56:37 -04:00
Mayukha Vadari
5be40d1090
fix: websocket wouldn't close properly on erroring test ( #1554 )
...
* fix: websocket wouldn't close properly on erroring test
* test: add test
2021-09-14 16:56:37 -04:00
Mayukha Vadari
0b457b3769
refactor: moves fixtures closer to tests ( #1551 )
...
* modify account_info mocks
* move account_objects
* move server_info
* remove config (no longer needed)
* switch to simple dictionary instead of handlers
* fix rebase issues
* refactor: addResponse method on mock server object (#1555 )
Co-authored-by: Elliot Lee <github.public@intelliot.com >
2021-09-14 16:56:36 -04:00
Mayukha Vadari
221ebee87a
Remove ledger methods from Connection ( #1543 )
...
* remove ledger subscription from connection
* remove more client ledger stuff
* resolve TS concerns
* fix all tests except broadcast tests
* fix broadcast tests
* clean up more ledger stuff in testing
* respond to comments
2021-09-14 16:56:36 -04:00
Mayukha Vadari
7696fb957e
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-09-14 16:56:36 -04:00
Mayukha Vadari
e90257be2f
Edit Client constructor to take a server URI ( #1544 )
...
* edit Client
* fix TS issues + tests
* minor edits
* rename ClientBroadcast -> BroadcastClient
2021-09-14 16:56:36 -04:00
Mayukha Vadari
d1cfbf42e6
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-09-14 16:56:36 -04:00
Mukul Jangid
1baccd6c57
refactor: define typescript type for SetRegularKey transaction ( #1548 )
...
* refactor: define typescript type for SetRegularKey transaction
2021-09-14 16:56:36 -04:00
Nathan Nichols
4842a06f8a
refactor: Define PaymentChannelFund transaction model ( #1535 )
...
refactor: Define PaymentChannelFund transaction model (#1535 )
2021-09-14 16:56:36 -04:00
Nathan Nichols
2509a2906a
refactor: Define EscrowCreate transaction model ( #1530 )
...
refactor: Define EscrowCreate transaction model (#1530 )
2021-09-14 16:56:36 -04:00
Nathan Nichols
7499ae7460
refactor: Define PaymentChannelClaim transaction model ( #1536 )
...
refactor: Define PaymentChannelClaim transaction model (#1536 )
2021-09-14 16:56:36 -04:00
Nathan Nichols
3997227b3c
refactor: Define PaymentChannelCreate transaction ( #1533 )
...
refactor: Define PaymentChannelCreate transaction model (#1533 )
2021-09-14 16:56:36 -04:00
Omar Khan
250ebc5a99
refactor: define TicketCreate transaction model ( #1547 )
...
- Defines a TypeScript type for TicketCreate
- Provides an optional function to users for verifying a TicketCreate instance at runtime: verifyTicketCreate()
- Adds tests for verifyTicketCreate()
2021-09-14 16:56:36 -04:00
Nathan Nichols
18cce5a50a
refactor: Define EscrowFinish transaction model ( #1531 )
...
refactor: Define EscrowFinish transaction model (#1531 )
2021-09-14 16:56:36 -04:00
Nathan Nichols
becf3a4f00
refactor: define models for EscrowCancel ( #1511 )
...
refactor: define models for EscrowCancel (#1511 )
2021-09-14 16:56:35 -04:00
Omar Khan
9e16327676
refactor: define TrustSet transaction model ( #1549 )
...
- Defines a TypeScript type for TrustSet
- Provides an optional function to users for verifying a TrustSet instance at runtime: verifyTrustSet()
- Adds tests for verifyTrustSet()
2021-09-14 16:56:35 -04:00
Omar Khan
f7b93c54ff
refactor: define DepositPreauth transaction model ( #1545 )
...
- Defines a TypeScript type for DepositPreauth
- Provides an optional function to users for verifying a DepositPreauth instance at runtime: verifyDepositPreauth()
- Adds tests for verifyDepositPreauth()
2021-09-14 16:56:35 -04:00
Omar Khan
1010183d2e
refactor: Define PaymentTransaction model ( #1542 )
...
- Defines a TypeScript type for PaymentTransaction
- Provides an optional function to users for verifying a PaymentTransaction instance at runtime: verifyPaymentTransaction()
- Adds tests for verifyPaymentTransaction()
- Adds isFlagEnabled() util to be used for models
2021-09-14 16:56:35 -04:00
Mukul Jangid
f1c35a81b4
refactor: define typescript type for AccountDelete transaction ( #1537 )
...
* refactor: define typescript type for AccountDelete transaction
2021-09-14 16:56:35 -04:00
Mukul Jangid
cfab859a20
fix: resolve OfferCancel merge issues ( #1546 )
...
* fix: resolve OfferCancel git issues
2021-09-14 16:56:35 -04:00
Mukul Jangid
e9d0d40db5
refactor: define typescript type for AccountSet transaction ( #1515 )
...
* define typescript type for AccountSet transaction
2021-09-14 16:56:35 -04:00
Mukul Jangid
b2d03363a6
refactor: define typescript types for OfferCancel Transaction Model ( #1512 )
...
* define typescript types for OfferCancel Transaction Model
2021-09-14 16:56:35 -04:00
Mukul Jangid
1cc23c6ba9
refactor: define SignerListSet model and tests ( #1538 )
...
* define typescript type for SignerListSet transaction
2021-09-14 16:56:35 -04:00
Mayukha Vadari
e27e1ec368
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-09-14 16:56:33 -04:00
Mukul Jangid
94066da224
refactor: define typescript types for CheckCash Transaction Model ( #1522 )
...
* Define Typescript types for CheckCash Transaction Model
2021-09-14 16:55:45 -04:00
Mukul Jangid
61a8923e2a
refactor: define typescript types for CheckCancel Transaction Model ( #1526 )
...
* offer
* accountroot
* amendments
* check
* deposit preauth
* directory node
* escrow
* fee settings
* ledger hashes
* negative unl
* pay channel
* ripple state
* signer list
* ticket
* export
* account_channels
* account_currencies
* account_info
* account_lines
* account_objects
* account_offers
* account_tx
* gateway_balances
* no ripple check
* respond to comments
* rename files to camelCase
* account_channels
* account_currencies
* account_info
* account_lines
* account_objects
* account_offers
* account_tx
* gateway_balances
* no ripple check
* respond to comments
* export methods
* fix typos
* refactor: Define type for CommonFields
* refactor: Define OfferCreate transaction type
* add a commented out SignedTransaction
* add tests for verifyCommonFields
* remove outdated files
* refactor: Define OfferCreate transaction
* define checkCancel model
* add tests
* fix: add tests and resolve conflicts
* fix: resolve typos and seperate out test
* fix: commenting issue
* refactor: add checkCreate to tx/index
Co-authored-by: Mayukha Vadari <mvadari@ripple.com >
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2021-09-14 16:55:45 -04:00
Mukul Jangid
c328bb9620
refactor: define typescript types for CheckCreate Transaction Model ( #1524 )
...
* feat: define checkCreate model
* test: add tests
2021-09-14 16:55:45 -04:00
Nathan Nichols
6cf8738598
refactor: Define typescript definition for OfferCreate ( #1508 )
...
* refactor: Define OfferCreate transaction type
2021-09-14 16:55:45 -04:00
Nathan Nichols
a4207a552b
refactor: Add common transaction fields Typescript definition ( #1507 )
...
refactor: Add common transaction fields Typescript definition (#1507 )
2021-09-14 16:55:43 -04:00
Omar Khan
2347efc7d3
define Wallet class ( #1509 )
...
* define Wallet class
- Wallet class is a utility for deriving a wallet composed of a keypair (publicKey/privateKey).
- A wallet can be derived from either a seed, mnemnoic, or entropy (array of random numbers).
- It provides functionality to sign/verify transactions offline.
2021-09-14 16:44:39 -04:00
Omar Khan
b2b4b86f4d
define TypeScript types for Payment Channel methods ( #1518 )
...
add TypeScript type for payment channel methods
2021-09-14 16:44:39 -04:00
Jackson Mills
18810208b6
Added Ledger Method Interfaces ( #1502 )
...
Added request and response method interfaces for the api.
2021-09-14 16:44:39 -04:00
Mayukha Vadari
a7687cf36f
Implements TypeScript types for transaction method requests/responses ( #1517 )
...
* submit
* submit_multisigned
* transaction_entry
* tx
* export
* move searched_all to TxResponse
2021-09-14 16:44:39 -04:00
Mayukha Vadari
b2934ecf1c
Implements TypeScript types for server info method requests/responses ( #1514 )
...
* fee
* manifest
* server_info
* server_state
* export
* fix amendment_blocked type
* fix typo
2021-09-14 16:44:39 -04:00
Mayukha Vadari
bca846de97
Implements TypeScript types for utility method requests/responses ( #1516 )
...
* ping
* random
* export
2021-09-14 16:44:39 -04:00
Mayukha Vadari
07fcc8e66f
Implements TypeScript types for subscribe requests/responses/streams ( #1510 )
...
* subscribe
* streams
* unsubscribe
* exports
* fix merge issues
* respond to comments
2021-09-14 16:44:39 -04:00
Jackson Mills
0d7c30bc02
Removed legacy exit code conversion ( #1504 )
2021-09-14 16:44:39 -04:00
Mayukha Vadari
dbde3ff189
Implements TypeScript types for path and order book methods ( #1503 )
...
* book offers
* deposit authorized
* path_find
* ripple_path_find
* export
* fix typos
* fix issues
* respond to comments
* make `pathFind` id optional
* make source_currencies optional
2021-09-14 16:44:39 -04:00
Mayukha Vadari
aed5aa9ad5
Defines TypeScript types for rippled account method requests & responses ( #1498 )
...
* account_channels
* account_currencies
* account_info
* account_lines
* account_objects
* account_offers
* account_tx
* gateway_balances
* no ripple check
* respond to comments
* export methods
* fix typos
* respond to comments
* edit BaseResponse to be more specific
2021-09-14 16:44:39 -04:00
Mayukha Vadari
78c69b445a
Defines TypeScript types for all ledger objects ( #1499 )
...
* offer
* accountroot
* amendments
* check
* deposit preauth
* directory node
* escrow
* fee settings
* ledger hashes
* negative unl
* pay channel
* ripple state
* signer list
* ticket
* export
* respond to comments
* rename files to camelCase
2021-09-14 16:44:39 -04:00