Remove crypto polyfills, create-hash, elliptic, hash.js, and their many dependencies in favor of @noble/hashes and @nobel/curves
Remove bip32 and bip39 in favor of @scure/bip32 and @scure/bip39
Remove assert dependency. If you were catching AssertionError you need to change to Error
Configuring a proxy:
Instead of passing various parameters on the ConnectionsOptions you know specify the agent parameter. This object can use be created by libraries such as https-proxy-agent or any that implements the http.Agent.
This was changed to both support the latest https-proxy-agent and to remove the need to include the package in bundlers. Tests will still be done using https-proxy-agent and only tested in a node environment which was the only way it was previously supported anyway
Remove BroadcastClient which was deprecated
Uses @xrplf/secret-numbers instead of xrpl-secret-numbers
Improve key algorithm detection. It will now throw Errors with helpful messages
Move authorizeChannel from wallet/signer to wallet/authorizeChannel to solve a circular dependency issue.
When using a bundler you must remove the mapping of ws to WSWrapper. ex. ws: 'xrpl/dist/npm/client/WSWrapper'. See [../UNIQUE_STEPS](https://github.com/XRPLF/xrpl.js/blob/HEAD/Unique Steps) for the new, much smaller, configs.
Transaction type has been redefined to include all transactions and SubmittableTransaction was created to define the old value. The following functions which only handle transactions to be submitted now use SubmittableTransaction:
Client.autofill
Client.submit
Client.submitAndWait
Client.prepareTransaction
getSignedTx
isAccountDelete
dropsToXRP and Client.getXrpBalance now return a number instead of a string
Buffer has been replaced with UInt8Array for both params and return values. Buffer may continue to work with params since they extend UInt8Arrays.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps xrpl from 2.13.0 to 3.1.0.
Release notes
Sourced from xrpl's releases.
... (truncated)
Commits
92849e5
release 3.1.0 (#2703)32f0d7b
build(deps-dev): bump ts-jest from 29.1.2 to 29.1.4 (#2702)b27bbb4
feat: add input check forOracleSet
paramsAssetPrice
andScale
(#2699)23adb49
feat: add Price Oracles support (#2688)9b3bb9c
fix: throw error ifhexToBytes
orhexToString
is provided a string that i...d441361
build(deps-dev): bump@types/lodash
from 4.17.0 to 4.17.1 (#2691)fb94f2a
build(deps): bump ws from 8.16.0 to 8.17.0 (#2685)7b56a49
build(deps-dev): bump react from 18.2.0 to 18.3.1 (#2686)212686b
fix: better error handling for the binary codec (#2693)4d6fef5
build(deps-dev): bump webpack-bundle-analyzer from 4.10.1 to 4.10.2 (#2681)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show