xrpl.js

A JavaScript/TypeScript API for interacting with the XRP Ledger in Node.js and the browser

Downloads
1.8M
Stars
1.2K
Committers
139

Bot releases are hidden (Show)

xrpl.js - [email protected]

Published by JST5000 11 months ago

What's Changed

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@1.11.0

xrpl.js - [email protected]

Published by JST5000 11 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.14

xrpl.js - [email protected]

Published by ckniffen about 1 year ago

What's Changed

Fixed

  • Allow flag maps when submitting NFTokenMint and NFTokenCreateOffer transactions like others with flags
  • Add pseudo transaction types to tx and ledger method responses.
  • Add missing type param to ledger_data and ledger requests
  • Type assertions around PreviousTxnID and PreviousTxnLgrSeq missing on some ledger objects
  • Transaction fields that represent an address no longer allow an empty string (''). If you want to specify ACCOUNT_ZERO, you can specify rrrrrrrrrrrrrrrrrrrrrhoLvTp. ⚠️ WARNING: rrrrrrrrrrrrrrrrrrrrrhoLvTp is a black hole address, with no corresponding private key. Accounts/funds controlled by this address are not accessible.
  • Invalid addresses on a transaction now throws a ValidationError when submitting a transaction instead of Error('checksum_invalid')

Changed

  • Make LedgerEntryResponse a generic so it can be used like LedgerEntryResponse<Escrow>
  • Clean up typing of type param and the response property account_objects of the account_objects request.
  • Error messages for fields that equate to an address, DestinationTag, or NFTokenID. They will still be of type ValidationError.
  • Add alias type of Account to improve intellisense for Transaction fields that equate to an address.
  • Removed sidechain-devnet faucet support as it is being moved to Devnet

Commits

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.13.0

xrpl.js - [email protected]

Published by khancode about 1 year ago

What's Changed

Chores and Docs

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.12.0

xrpl.js - [email protected]

Published by khancode about 1 year ago

What's Changed

Chores and Docs

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@1.3.1

xrpl.js - [email protected]

Published by khancode about 1 year ago

What's Changed

Chores and Docs

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@1.10.0

xrpl.js - [email protected]

Published by khancode about 1 year ago

What's Changed

Chores and Docs

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@4.3.1

xrpl.js - [email protected]

Published by mvadari about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.12.0-beta.0

xrpl.js - [email protected]

Published by mvadari about 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@1.10.0-beta.0

xrpl.js - [email protected]

Published by khancode about 1 year ago

What's Changed

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@1.9.0

xrpl.js - [email protected]

Published by khancode about 1 year ago

What's Changed

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.11.0

xrpl.js - [email protected]

Published by JST5000 about 1 year ago

xrpl.js - [email protected]

Published by JST5000 about 1 year ago

What's Changed

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.10.0

xrpl.js - [email protected]

Published by pdp2121 over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@1.7.1

xrpl.js - [email protected]

Published by pdp2121 over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.9.1

xrpl.js - [email protected]

Published by ckniffen over 1 year ago

What's Changed

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@1.7.0

More detailed notes found at: https://github.com/XRPLF/xrpl.js/blob/ripple-binary-codec%401.7.0/packages/ripple-binary-codec/HISTORY.md#170-2023-07-12

xrpl.js - [email protected]

Published by ckniffen over 1 year ago

Breaking Change

  • If you were deep importing these types previously you will need to import them from xrpl and rename them:
    • methods/accountLines: Trustline -> AccountLinesTrustline
    • methods/bookOffers: TakerAmount -> BookOfferCurrency
    • methods/ledgerData: BinaryLedgerEntry -> LedgerDataBinaryLedgerEntry

What's Changed

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@2.9.0

More detailed notes found at: https://github.com/XRPLF/xrpl.js/blob/main/packages/xrpl/HISTORY.md#290-2023-07-12

xrpl.js - [email protected]

Published by JST5000 over 1 year ago

What's Changed

  • Adds support for npm v9

Full Changelog: https://github.com/XRPLF/xrpl.js/compare/[email protected]@4.3.0

xrpl.js - [email protected]

Published by JST5000 over 1 year ago

  • Allow custom type definitions to be used for encoding/decoding transactions at runtime (e.g. for sidechains/new amendments)
  • Adds support for npm v9
xrpl.js - [email protected]

Published by JST5000 over 1 year ago

Adds support for npm v9