What's Changed
Fixed
- Allow flag maps when submitting
NFTokenMint
andNFTokenCreateOffer
transactions like others with flags - Add pseudo transaction types to
tx
andledger
method responses. - Add missing
type
param toledger_data
andledger
requests - Type assertions around
PreviousTxnID
andPreviousTxnLgrSeq
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 specifyrrrrrrrrrrrrrrrrrrrrrhoLvTp
. ⚠️ 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 ofError('checksum_invalid')
Changed
- Make
LedgerEntryResponse
a generic so it can be used likeLedgerEntryResponse<Escrow>
- Clean up typing of
type
param and the response propertyaccount_objects
of theaccount_objects
request. - Error messages for fields that equate to an address,
DestinationTag
, orNFTokenID
. They will still be of typeValidationError
. - 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
- docs: Update xrpl.js keywords to make it easier to find by @JST5000 in #2502
- fix: allow flag maps when submitting NFToken txs by @ckniffen in #2490
- fix: minor fixes by @mvadari in #2492
- fix: pseudo-transactions for
ledger
andtx
by @pdp2121 in #2515 - fix: add
type
param toledger
&ledger_data
by @mvadari in #2503 - chore: remove sidechain-devnet faucet by @mvadari in #2518
- fix: tx fields for accounts allowing empty string by @ckniffen in #2525
- fix: copy root README during
xrpl
publish by @ckniffen in #2530 - Update the dependabot interval to weekly by @JST5000 in #2493
- build(deps-dev): bump typedoc from 0.25.0 to 0.25.1 by @dependabot in #2498
- build(deps-dev): bump eslint-plugin-import from 2.28.0 to 2.28.1 by @dependabot in #2496
- build(deps-dev): bump eslint from 8.48.0 to 8.50.0 by @dependabot in #2495
- build(deps-dev): bump @types/brorand from 1.0.30 to 1.0.31 by @dependabot in #2500
- build(deps-dev): bump jest and @types/jest by @dependabot in #2499
- build(deps-dev): bump @typescript-eslint/parser from 5.51.0 to 5.62.0 by @dependabot in #2497
- build(deps-dev): bump prettier from 2.8.4 to 2.8.8 by @dependabot in #2494
- build(deps-dev): bump @types/create-hash from 1.2.2 to 1.2.3 by @dependabot in #2501
- build(deps-dev): bump url from 0.11.1 to 0.11.3 by @dependabot in #2511
- build(deps-dev): bump @types/lodash from 4.14.196 to 4.14.199 by @dependabot in #2510
- build(deps-dev): bump chai and @types/chai by @dependabot in #2507
- build(deps): bump bignumber.js from 9.1.1 to 9.1.2 by @dependabot in #2506
- build(deps): bump assert from 2.0.0 to 2.1.0 by @dependabot in #2508
- build(deps-dev): bump ts-loader from 9.4.4 to 9.5.0 by @dependabot in #2509
- build(deps-dev): bump typedoc from 0.25.1 to 0.25.2 by @dependabot in #2513
- build(deps-dev): bump eslint from 8.50.0 to 8.51.0 by @dependabot in #2512
- build(deps-dev): bump webpack from 5.88.2 to 5.89.0 by @dependabot in #2520
- build(deps-dev): bump @types/chai from 4.3.6 to 4.3.8 by @dependabot in #2523
- build(deps): bump ws and @types/ws by @dependabot in #2524
- build(deps-dev): bump @babel/traverse from 7.20.13 to 7.23.2 by @dependabot in #2527
Full Changelog: https://github.com/XRPLF/xrpl.js/compare/ripple-address-codec@4.3.1...xrpl@2.13.0