- Support for the Price Oracles amendment (XLS-47).
- Better error handling/error messages for serialization/deserialization errors.
- Bump typescript to 5.x
- Remove Node 14 support
- Remove decimal.js and big-integer. Use
BigNumber
frombignumber.js
instead ofDecimal
and the nativeBigInt
instead ofbigInt
. - Remove
assert
dependency. If you were catchingAssertionError
you need to change toError
. - Remove
create-hash
in favor of@noble/hashes
Buffer
has been replaced withUInt8Array
for both params and return values.Buffer
may continue to work with params since they extendUInt8Arrays
.
- Update type definitions which causing errors in tests that the code already supported
makeParser
to accept aBuffer
in addition tostring
SerializedType
constructor allows not passing in a byte arrayComparable
is now a generic type so that it allowscompareTo
methods to take more that the type itself.
- Eliminates 4 runtime dependencies:
base-x
,base64-js
,buffer
, andieee754
.
- Update type definitions which causing errors in tests that the code already supported
makeParser
to accept aBuffer
in addition tostring
SerializedType
constructor allows not passing in a byte arrayComparable
is now a generic type so that it allowscompareTo
methods to take more that the type itself.
- Support for the DID amendment (XLS-40).
- Support for the XChainBridge amendment (XLS-38).
- Add AMM support XLS-30
- Updated to include latest updates to
definitions.json
.
- Fix source-maps not finding their designated source
- Added Clawback transaction type
- Passing Definitions from
STObject
toSTArray
back toSTObject
, both for signing & decoding (to JSON)
NetworkId
field support
- Allow custom type definitions to be used for encoding/decoding transactions at runtime (e.g. for sidechains/new amendments)
- Adds support for npm v9
- All tests now use the Jest test runner and have been refactored for consistency across all packages
- Fixed standard currency codes with lowercase and allowed symbols not decoding into standard codes.
- Added a clearer error message for trying to encode an invalid transaction. (Ex. With an incorrect TransactionType)
- Updated NFT definitions to match 1.9.0's breaking naming changes
- Fixed error being raised when decoding issued currencies in non-standard formats that decode to XRP (#1920)
- Fix ISO when parsing currency code (#1921)
- Internal - build(deps-dev):
- bump webpack from 5.66.0 to 5.68.0 (#1910)
- bump webpack-cli from 4.9.1 to 4.9.2 (#1911)
- bump eslint-plugin-mocha from 9.0.0 to 10.0.3 (#1912)
- bump @types/node from 16.11.11 to 17.0.14 (#1913)
- bump @types/mocha from 9.0.0 to 9.1.0 (#1914)
- bump typescript from 4.5.2 to 4.5.5 (#1918)
- bump typedoc from 0.22.10 to 0.22.11 (#1916)
- bump chai from 4.3.4 to 4.3.6 (#1915)
- Fix "homepage" field in package.json
- Exported
TRANSACTION_TYPES
value
- Adds missing fields from XLS-20 NFT implementation
- Fix issue where ISO is invalid when parsing currency code
- Fix issue where unsupported currency codes weren't being correctly processed
- Added a workaround for rippled UNLModify encoding bug (#1830)
- Fix issue where npm < 7 could not install the library
- Converts ripple-binary-codec into a monorepo with ripple-address-codec, ripple-keypairs, and xrpl
- Adds preliminary support for XLS-20 NFT definitions
- Fix for case UInt64.from string allowing lowercase hex (#135)
- Fix for
ValidatorToReEnable
field code (#130)
- Fix for case UInt64.from string '0' due to changes in rippled 1.7.0
- PathSet.toJSON() does not return undefined values
- Add support for X-Addresses in Issued Currency Amounts
- Fix STArray error message
- Add support for Tickets (TicketBatch amendment)
- Fix web browser compatibility
- Allow currencies to be encoded from any 3 character ASCII code
- Filter out fields with undefined values
- Migrate to TypeScript
- Javascript classes used
- Generics for constructing core types
- Reduced dependencies
- Dependent on create-hash, decimal.js, ripple-address-codec
- Migrate testing to Jest and added tests
- Tests for pseudo-transactions
- Added support for NegativeUNL pseudo-transactions
- Update dependencies
- decimal.js, fs-extra, mocha, handlebars, bn.js, babel-eslint, ripple-address-codec
- Add support for AccountDelete (#37)
- Update ripple-address-codec to 3.0.4
- Expand node version compatibility (#32, #33)
- Input validation - Amount and Fee should not allow fractional XRP drops (#31)
- Fix lint errors
- Update dependencies (including lodash and mocha)
- Require node 10 (.nvmrc)
- Remove assert-diff
- Remove codecov.io as it did not appear to work. The
package.json
script was:"codecov": "cat ./coverage/coverage.json | ./node_modules/codecov.io/bin/codecov.io.js"
- Add tecKILLED from amendment fix1578 (PR #27 fixes #25)
- Add DepositPreauth fields
- Skip amount validation when deserializing f72c115
- Add Check, CheckCreate, CheckCash, CheckCancel
- Add ledger header decode function