- Add
Int32serialized type.
- Fix STNumber serialization logic to work with large mantissa scale [10^18, 10^19-1].
- Error if a decimal is passed into a
UInt-typed field.
- Allow
encodeForMultisigningto work with transactions that have non-emptySigningPubKey. Required to encodeLoanSettransaction by counterparty signers for signing.
- Fix serialization/deserialization issues in
Issueserialized type for MPTIssue.
- Support for
Single Asset Vault(XLS-65) - Adds new
STNumberserialization type.
- Adds conditional check for
PermissionValueso custom definitions (based on previous v2.x versions) don't break.
- Support for
Account PermissionsandAccount Permission Delegation(XLS-74d, XLS-75d). - Support for the
Batchamendment (XLS-56).
- add
MPTCurrencysupport inIssue(rippled internal type) - Throw an error during serialization if a field is unknown, rather than silently throwing it away.
- Support for the AMMClawback amendment (XLS-73)
- Support for the Permissioned Domains amendment (XLS-80).
- Support for the Multi-Purpose Token amendment (XLS-33).
- Support for the Price Oracles amendment (XLS-47).
- Support for the
DynamicNFTamendment (XLS-46)
- 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
BigNumberfrombignumber.jsinstead ofDecimaland the nativeBigIntinstead ofbigInt. - Remove
assertdependency. If you were catchingAssertionErroryou need to change toError. - Remove
create-hashin favor of@noble/hashes Bufferhas been replaced withUInt8Arrayfor both params and return values.Buffermay continue to work with params since they extendUInt8Arrays.
- Update type definitions which causing errors in tests that the code already supported
makeParserto accept aBufferin addition tostringSerializedTypeconstructor allows not passing in a byte arrayComparableis now a generic type so that it allowscompareTomethods 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
makeParserto accept aBufferin addition tostringSerializedTypeconstructor allows not passing in a byte arrayComparableis now a generic type so that it allowscompareTomethods 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
STObjecttoSTArrayback toSTObject, both for signing & decoding (to JSON)
NetworkIdfield 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_TYPESvalue
- 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
ValidatorToReEnablefield 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.jsonscript 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