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
Jackson Mills
f17d0ef810
Export deriveAddress ( #1939 )
...
* Export deriveAddress
2022-04-26 15:10:51 -07:00
ledhed2222
7d2a776cc2
fix changed nftoken sell offer flag name ( #1974 )
2022-04-25 18:02:15 -04:00
Caleb Kniffen
3ed93aa19e
Prepare release of xrpl@2.2.1 and ripple-address-codec@4.2.4
2022-04-21 17:10:44 -05:00
Jackson Mills
417978e131
Fix deriveXAddress null behavior ( #1964 )
...
* Fix deriveXAddress null behavior
* Also check for undefined
* Simplify theTag
* Add test case for undefined
2022-04-21 14:36:10 -07:00
ledhed2222
de0ce1b60f
fix return field of nft offer ( #1972 )
2022-04-20 14:01:20 -04:00
Jackson Mills
8ab4240f02
Lerna changes ( #1968 )
2022-04-19 10:16:39 -07:00
Omar Khan
9d94f4a8ab
rename XLS-20 fields ( #1966 )
...
* rename TokenTaxon -> NFTokenTaxon
* rename MintedTokens -> MintedNFTokens
* rename BurnedTokens -> BurnedNFTokens
* update binary for NFTokenID rename
* rename TokenID -> NFTokenID
* rename TokenOffers -> NFTokenOffers
* rename BrokerFee -> NFTokenBrokerFee
* rename Minter -> NFTokenMinter
* rename NonFungibleToken -> NFToken
* rename NonFungibleTokens -> NFTokens
* rename BuyOffer -> NFTokenBuyOffer
* rename SellOffer -> NFTokenSellOffer
* rename OfferNode -> NFTokenOfferNode
* fix binary for serialize tests
* Add missing MintedNFTokens def + fix tests
* nftokenid -> nft_id
* asfAuthorizedMinter -> asfAuthorizedNFTokenMinter
* Update tec/tem error codes
* Add new definitions
* Update HISTORY.md
* Change to 1.4.0 for binary-codec
* Docgen
* Update HISTORY.md
Co-authored-by: Jackson Mills <jmills@ripple.com >
2022-04-19 10:02:18 -07:00
Jackson Mills
2f252ace14
Add tx info which is only available in requests ( #1962 )
...
* Add Response Only info
2022-04-18 15:50:37 -07:00
Jackson Mills
587a3bbfa2
Add parseNFTokenID and tests ( #1961 )
...
* Add parseNFTokenID and tests
* Lint
* Move parseNFTokenID to utils
* Lint
* Move the NFTokenID into models
* Move NFTokenID type out of models
* Lint
* Remove extra type and lint
2022-04-12 15:48:50 -07:00
Mayukha Vadari
d25905987a
feat: add sidechain-specific RPCs/sugar ( #1940 )
...
* federator_info responses/requests
* edit docstring
* make strings narrower
* export federator_info
* implement createXchainPayment
* add tests
* fix dependency cycle
* fix linter errors
* rename xchain -> crosschain
* rename more
* edit HISTORY
* fix docstrings
* add another test
2022-04-04 17:11:08 -04:00
František Kočí
53d01d8a6a
[Small Type error Fix]TrustSet LimitAmount Type changed ( #1937 )
...
* TrustSet interface amount type changed
Before this edit, if you worked with TrustSet transaction response and you wanted to get LimitAmount.currency, LimitAmount.issuer, and LimitAmount.value, you would get a type error that those properties do not exist on the type string of LimitAmount. This very little edit changes that and now it should work properly.
* Update HISTORY.md
2022-03-14 15:21:17 -07:00
Elliot Lee
1e30b4cb43
[ripple-binary-codec] Update HISTORY - 1.3.2 ( #1924 )
...
Co-authored-by: Mayukha Vadari <mvadari@ripple.com >
2022-02-08 11:00:48 -08:00
Omar Khan
9d1fdb412e
Release ripple-binary-codec version 1.3.2 ( #1922 )
...
* update package.json & package-lock.json
* update package
Co-authored-by: Elliot Lee <github.public@intelliot.com >
2022-02-03 12:04:38 -05:00
Elliot Lee
cbdbfe5b8e
Merge branch 'main' into ripple-binary-codec-1.3.1
2022-02-02 17:50:39 -08:00
Jackson Mills
b0e0f9f329
Remove exception from decoding issued currencies which evaluate to 'XRP' ( #1920 )
...
* Remove throw and revise tests
* Update chai dependency
* Disabling linter error about extraneous import
* Fix typo in test description
* Revert unnecessary test changes
* Remove unnecessary comments
* Revert chai change
* Add HISTORY.md
* Revert chai change in package-lock as well
* Fix typo
* Check the result of the decoding
* Update tests with correct expected behavior.
* Fix tests and update currency.js
* Update currency.ts
2022-02-02 18:05:42 -05:00
Omar Khan
8f79c51c7c
[ripple-binary-codec] fix ISO when parsing currency code ( #1921 )
2022-02-02 17:52:08 -05:00
Elliot Lee
e4c7923bf3
Release ripple-binary-codec@1.3.1
2022-01-28 14:36:23 -08:00
Elliot Lee
fa3ae25c71
package.json - fix homepage link ( #1905 )
2022-01-27 12:39:27 -08:00
ledhed2222
4f035fd0d6
custom faucet hosts and various typing fixes for NFT support that were originally missed ( #1882 )
...
* various typing fixes for NFT support that were originally missed
* add optional faucet URL to fundWallet
* run docgen and commit changes
* fixes integration tests
2022-01-24 13:08:35 -05:00
Elliot Lee
b12ec88365
Remove console.warn for partial payment ( #1896 )
2022-01-18 22:24:14 -08:00
Jackson Mills
803ea6d2cb
Add missing fields to TxSubscription and Tx requests ( #1893 )
...
* Update: Add hash and date type to TxSubscription and Tx responses.
The base transaction interface has been updated to include a hash type.
* Every signed transaction has a unique "hash" that identifies it.
* The transaction hash can be used as a "proof of payment" to verify the final status.
Co-authored-by: interc0der <86900618+interc0der@users.noreply.github.com >
Co-authored-by: Elliot Lee <github.public@intelliot.com >
2022-01-07 10:50:26 -08:00
ledhed2222
7041a0bbd3
address codec linting ( #1881 )
2022-01-04 09:25:04 -05:00
Mukul Jangid
07f36e127f
fix: txnNotFound error ( #1883 )
...
* add validation for `txnNotFound` error
* update version to `2.1.1`
2021-12-23 20:34:35 -05:00
Jackson Mills
388c4a6124
Update versions ( #1879 )
2021-12-17 16:48:04 -08:00