Commit Graph

672 Commits

Author SHA1 Message Date
Omar Khan
aed4353c6c update VoteEntry interface 2022-09-05 14:46:47 -04:00
Omar Khan
56b70aa845 add VoteSlots as optional param in AMMInfoResponse 2022-09-05 14:35:19 -04:00
Omar Khan
c0e0c15fc1 fix EPrice validation checks in AMMDeposit & AMMWithdraw 2022-09-02 00:18:45 -04:00
Omar Khan
533c8ab9ac add AMMID as optional param in ammInfo response 2022-09-02 00:05:48 -04:00
Omar Khan
a174d09489 fix ammInfo response 2022-09-01 23:13:13 -04:00
Omar Khan
85b8a3930b add negative TradingFee check 2022-08-30 19:09:55 -04:00
Omar Khan
6a06412b2d update wording on AMMDeposit & AMMWithdraw validation errors 2022-08-30 19:01:08 -04:00
Omar Khan
e9778ebcdb update HISTORY.md to specify XLS-30 2022-08-30 18:48:54 -04:00
Omar Khan
8ef2483e15 add negative FeeVal check 2022-08-30 18:45:34 -04:00
Omar Khan
6150d33a61 add missing test case Asset1Out and Asset2Out valid 2022-08-30 18:10:40 -04:00
Omar Khan
2796c2aeef add missing test case Asset1In and Asset2In valid 2022-08-30 18:07:22 -04:00
Omar Khan
e13b27e43f update definitions to fix AMM in LEDGER_ENTRY_TYPES 2022-08-30 17:45:22 -04:00
Omar Khan
0de755bb0b update EPrice validation error message and add missing tests 2022-08-30 16:49:48 -04:00
Omar Khan
ed7760c555 fix EPrice type to be Amount 2022-08-30 16:29:49 -04:00
Omar Khan
b8e4f2405a update amm_info docstrings 2022-08-30 10:59:03 -04:00
Omar Khan
c95f8afc21 add AMMID to AMMInfoResponse 2022-08-28 14:04:13 -04:00
Omar Khan
835dc67767 refactor tests 2022-08-20 10:54:14 -04:00
Omar Khan
4b18f06dbb add AuthAccount interface to AMMBid 2022-08-20 09:43:33 -04:00
Omar Khan
7a035afca1 add AMMBid 2022-08-20 09:33:53 -04:00
Omar Khan
78e0a866cd refactor MAX_TRADING_FEE to be in one place 2022-08-19 21:59:30 -04:00
Omar Khan
db6d32f98b add max trading fee check to AMMVote 2022-08-19 21:48:26 -04:00
Omar Khan
e79dcb5d2f fix lint error 2022-08-19 17:20:23 -04:00
Omar Khan
b794f909ad add AMMVote 2022-08-19 17:18:46 -04:00
Omar Khan
3617487c32 add AMMWithdraw 2022-08-18 23:51:16 -04:00
Omar Khan
35fef6512f use null check for missing fields 2022-08-18 23:11:24 -04:00
Omar Khan
e64a668ef6 add AMMDeposit 2022-08-18 22:19:50 -04:00
Omar Khan
3461fcc929 add amm_info RPC command 2022-08-18 16:00:25 -04:00
Omar Khan
ff60b547e3 update HISTORY.md 2022-08-18 14:14:30 -04:00
Omar Khan
6bcfc2be32 renamed LPTokens to LPToken in definitions.json 2022-08-18 13:38:44 -04:00
Omar Khan
2680c34689 add AMMInstanceCreate 2022-08-17 22:38:31 -04:00
Omar Khan
25bdb692cb update definitions.json 2022-08-16 14:57:07 -04:00
Jackson Mills
6187571334 Make the unknown submitAndWait error more verbose (#2056)
* Make the unknown submitAndWait error more verbose
2022-07-26 13:07:02 -07:00
Jackson Mills
ae6390ffcb feat: allow customized connection headers (#2036)
Co-authored-by: Elliot Lee <github.public@intelliot.com>
2022-07-24 17:59:53 -07:00
Mayukha Vadari
d7c3583a8f refactor: use xrpl-codec-gen for definitions.json (#2037)
* Update definitions.json

* update CONTRIBUTING

* fix tests

* fix UNL
2022-07-19 21:01:19 +01:00
Jackson Mills
fdfef0e188 Fix Wallet.fromMnemonic (#2046)
* Add validation checks for bip39 and rfc1751 + tests

* Use swap method that works with react-native
2022-07-18 14:10:22 -07:00
Omar Khan
aff6988f09 Release xrpl packages (#2028)
* update package and package-lock json

* update HISTORY files
2022-06-27 21:11:07 -04:00
Jackson Mills
89240eae62 Handle edge cases for standard currency code signing (#2009)
* Allow decoding symbols + lowercase standard codes
* Standardize the treatment of standard codes and hex codes for verifying transaction equivalence
2022-06-17 14:27:47 -07:00
Jackson Mills
7732f22858 Add NFT Devnet as an inferable faucet (#2024)
* Add NFT Devnet to implicit fundWallet
2022-06-15 11:12:37 -07:00
Jackson Mills
4fddd8f41d Release xrpl packages (#2021)
* Update HISTORY.md for release
* Run docgen
2022-06-02 11:03:56 -07:00
Caleb Kniffen
f5b2d71cd7 feat(source-maps): Generate source-maps for browser build (#2010)
Improve debugging for users loading in library via unpkg or jsdelivr
2022-06-01 11:50:23 -05:00
Omar Khan
6c3f5a0e3a allow lowercase hex values for NFTokenMint.URI (#2008) 2022-05-31 19:22:05 -04:00
Caleb Kniffen
9689f31602 Merge branch 'main' into export-AccountOffer 2022-05-31 12:43:36 -05:00
Jackson Mills
c994ac7b65 Add better error for trying to encode invalid transactions (#2001) 2022-05-24 15:57:08 -07:00
Caleb Kniffen
a3fb213d3d fix(account-offers): export interface AccountOffer
Fixes #2005
2022-05-23 14:42:51 -05:00
Omar Khan
10469a2710 fix verification bug in Wallet.sign() when signing a non-XRP Payment amount with trailing zeros (#2000)
* fix serialize/deserialize verficiation bug in Wallet.sign() when signing a non-XRP Payment transaction with an amount that contains trailing insignificant zeros
2022-05-13 15:58:25 -04:00
Jackson Mills
7c75e5b489 Run npm audit fix --force (#1997)
* Run npm audit --force and check tests
2022-05-10 16:00:16 -07:00
Jackson Mills
73546f203a Fix browser infinite disconnect if exception raised during 'connected' (#1981)
* Add logic for if disconnect code is undefined
2022-05-10 14:03:07 -07:00
Jackson Mills
317e223ce7 Fix reliable submission masking legitimate error with type error (#1996)
* Avoid unsafe access to error.data.error

* Update HISTORY.md
2022-05-10 13:54:24 -07:00
Jackson Mills
35f5ad8ddb Add HISTORY.md for clearing heartbeat interval on disconnect (#1980)
Add heartbeat interval and fix typos in the HISTORY.md file

Co-authored-by: Elliot Lee <github.public@intelliot.com>
2022-05-05 13:43:02 -07:00
nitowa
95123392c4 fix: update connection.ts to always clear the heartbeat interval (#1942)
Co-authored-by: Jackson Mills <jmills@ripple.com>
Co-authored-by: Elliot Lee <github.public@intelliot.com>
2022-05-05 01:33:46 -07:00