ledhed2222
bd154fd6e8
lint filenames ( #1757 )
...
* build: update @xrplf/typescript-style
* fix filename casing
* fix webpack setup
* add missing eslint plugin
Co-authored-by: Nathan Nichols <natenichols@cox.net >
2021-10-19 16:08:46 -04:00
Jackson Mills
7e70142044
feat: Add parseAccountRootFlags ( #1699 )
...
* Add parseAccountRootFlags and interface
* Add tests for parseAccountRootFlags
2021-10-07 16:23:42 -07:00
Mukul Jangid
5e515a9105
refactor: reorganize/rename flags interfaces ( #1700 )
...
* refactor: reorganize/rename flags interfaces
2021-10-06 17:14:02 -04:00
Mayukha Vadari
98c9b9bc14
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-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
3f29e5781d
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-10-04 14:10:12 -04:00
Nathan Nichols
851b352f32
feat: cleanup flag naming ( #1609 )
...
* feat: cleanup flag naming
2021-10-04 14:10:12 -04:00
Omar Khan
04dd65af38
implement Autofill Transaction ( #1574 )
...
Implements autofill() and setTransactionFlagsToNumber() to allow a Client to autofill fields in a Transaction.
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
b53bc2bc97
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-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
Omar Khan
bec487cf71
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-10-04 14:10:08 -04:00