Mayukha Vadari
6eec7b0b77
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-10-04 14:10:13 -04:00
Mayukha Vadari
13c52859eb
fix: renames verify... methods to validate... ( #1624 )
...
* rename verify -> validate
* fix imports
* run eslint --fix on test/
2021-10-04 14:10:13 -04:00
Mayukha Vadari
eb0445817e
refactor: adds error response object ( #1619 )
...
* add error response object
* export error response properly
* type mockRippled
* fix linter
* fix ts
* fix comments
2021-10-04 14:10:13 -04:00
Mukul Jangid
148cac6f3f
refactor: add verify() function ( #1552 )
...
* refactor: add verify() function
2021-10-04 14:10:12 -04:00
Nathan Nichols
e200de3073
Adds @xrplf prettier config ( #1598 )
...
* build: new prettier config
2021-10-04 14:10:11 -04:00
Mayukha Vadari
2ca164311b
Lints test/models ( #1578 )
2021-10-04 14:10:11 -04:00
Mayukha Vadari
91cc9e0461
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-10-04 14:10:11 -04:00
Nathan Nichols
8b95ee5fab
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-10-04 14:10:10 -04:00
Mukul Jangid
fef5f858fd
fix: resolve OfferCancel merge issues ( #1546 )
...
* fix: resolve OfferCancel git issues
2021-10-04 14:10:08 -04:00
Mukul Jangid
72f34d9388
refactor: define typescript type for AccountSet transaction ( #1515 )
...
* define typescript type for AccountSet transaction
2021-10-04 14:10:08 -04:00
Mukul Jangid
930d214107
refactor: define typescript types for OfferCancel Transaction Model ( #1512 )
...
* define typescript types for OfferCancel Transaction Model
2021-10-04 14:10:08 -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
Mukul Jangid
293f09d409
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-10-04 14:10:08 -04:00