Commit Graph

861 Commits

Author SHA1 Message Date
Connor Chen
8921b6ac93 feat: hooksv2 wallet inferencing (#2142)
Allow hooksv2 wallet inferencing
2022-11-21 16:51:41 -05:00
Connor Chen
5f5f06f1ab feat: amm devnet to fundWallet and custom faucetPaths (#2083)
* Add amm devnet support

* Add option for faucet paths

Co-authored-by: Jackson Mills <aim4math@gmail.com>
2022-11-18 14:54:23 -05:00
mpint
a4c2bb998f Ignore https-proxy-agent dependency in browser environments (#2133)
* Ignore https-proxy-agent in browsers

* ignore eslint-comments/no-unused-disable linting rule
2022-11-16 18:01:06 -05:00
Mayukha Vadari
49d40216d5 feat: allow verifyTransaction to verify transaction objects, not just strings (#2119)
* support Transaction objects in verifyTransaction method

* add test

* edit history
2022-11-16 12:48:59 -05:00
jonathanlei
08180cb935 add amount field to faucet (#2129)
* add optional amount field to `fundWallet`
2022-11-15 14:31:46 -08:00
pdp2121
f33e748a26 docs: code snippets for multisigning (#2120)
Add quality of life code snippets for multisigning.

Co-authored-by: Jackson Mills <aim4math@gmail.com>
2022-11-08 15:25:43 -05:00
zgrguric
d0534f6db4 Typo fix in getBalanceChanges.ts (#2122)
NormalizedNode interface has miss typed key definition "PreviouTxnLgrSeq"
2022-10-31 09:23:02 -07:00
Connor Chen
b40a519a0d feat: shorten ledger close time (#2115)
Shorten ledger close time
2022-10-13 16:53:41 -04:00
Jackson Mills
3bc87c00ec 2.5.0 release (#2116)
* Update HISTORY.md

* Update versions
2022-10-13 11:28:05 -07:00
jonathanlei
1ceae703db update reference docs and add readme to homepage (#2112) 2022-10-13 09:21:28 -07:00
Caleb Kniffen
9df848fcc6 fix(build): Allow m1 macs to build binary-codec (#2109)
Switch from `run-script-os` to `copyfiles`. Using `copyfiles` is a more
ideal way to copy files in an os agnostic way.

Fixes #2092.
2022-10-12 12:35:33 -05:00
Caleb Kniffen
0e03b92675 fix(ValidationStream): Add cookie and data to interface (#2110)
Add and document more fields on the ValidationStream interface

Fixes #2095
2022-10-12 12:28:40 -05:00
jonathanlei
91f4950bd3 add Memos hex value check in Wallet.sign (#2108) 2022-10-07 10:23:27 -07:00
Caleb Kniffen
984a58e642 fix: Add nft_offer to available account objects (#2100)
Fix #2099
2022-10-04 11:40:50 -05:00
Connor Chen
b20c05c368 fix: corrected snippet to show regular key works (#2102)
Fix test to show regular key works
2022-09-27 11:39:56 -04:00
Mayukha Vadari
5ab4b67c05 fix: fix typos (#2104)
* Previou -> Previous

* fix spelling issues in comments

* fix more typos

* fix tests
2022-09-26 16:23:49 -04:00
Omar Khan
8a9a9bcc28 add ExpandedSignerList amendment support (#2026)
expand the maximum signer list to 32 entries
2022-09-13 13:50:54 -04:00
Jackson Mills
1673f4b964 Update HISTORY.md with last version (#2080) 2022-09-06 13:43:06 -07:00
Jackson Mills
d8dbd44f56 Make minor version update (#2078)
Run docgen and update version
2022-09-01 16:22:33 -07:00
Jackson Mills
5fc1c795bc feat: Export verify (#2073)
* Export verify as verifyKeypairSignature
2022-09-01 13:57:54 -07: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
Caleb Kniffen
b6afb4e434 release(xrpl): 2.2.3 2022-05-04 16:32:10 -05:00
Caleb Kniffen
1e20d4fab7 docs(xrpl): xrpl@2.2.3 2022-05-04 16:14:46 -05:00
Jackson Mills
bbe2e76efd Add fromMnemonic using same decode method as wallet_propose (rfc1751) (#1992)
* Add rfc1751 mnemonic decoding
2022-05-04 13:59:04 -07:00
Jackson Mills
6d3b2d3a9e Update packages (#1990) 2022-05-02 13:19:50 -07:00
Jackson Mills
91403ec2fa Fix version (#1989) 2022-05-02 13:04:41 -07:00
Jackson Mills
13587e563a Update history.md with latest changes and ran docgen (#1988)
* Update history.md with latest changes

* Ran docgen

* Add unreleased sections
2022-05-02 10:37:39 -07:00
Jackson Mills
a8b3de707d Add Owner to NFTokenBurn transaction (#1956) 2022-05-02 10:15:52 -07:00
Jackson Mills
0a3ad3140c Deprecate broadcast client (#1976) 2022-04-29 14:33:22 -07:00
Omar Khan
1c6b175619 add missing filter types in AccountObjectType (#1978)
* add missing types in AccountObjectType
2022-04-29 11:44:12 -04:00
Pi Delport
0b9c27ff5f fix(ripple-keypairs): hexToBytes should produce [] for empty input, not [0] (#1977)
BN.toArray intentionally returns [0] rather than [] for length zero,
which may make sense for BigNum data, but not for byte strings.
2022-04-28 14:15:07 -07:00
Pi Delport
86001d51f9 fix(ripple-keypairs): make bytesToHex work with typed arrays (Uint8Array) (#1975)
This works the same as before for Array inputs, but it should now also
work correctly with a wider range of Iterable or ArrayLike input types.

In particular, this makes it work with typed arrays such as Uint8Array,
which previously produced invalid output due to the hex numerals being
coerced back to the element type before the call to `join('')`.
2022-04-28 13:18:39 -07:00