release: xrpl.js 3.0 (#2633)

- @xrplf/isomorphic@1.0.0
 - ripple-address-codec@5.0.0
 - ripple-binary-codec@2.0.0
 - ripple-keypairs@2.0.0
 - @xrplf/secret-numbers@1.0.0
 - xrpl@3.0.0
This commit is contained in:
Caleb Kniffen
2024-02-01 15:48:48 -06:00
committed by GitHub
parent a58bf2663b
commit a09084289b
334 changed files with 2728 additions and 2594 deletions

View File

@@ -2,6 +2,23 @@
## Unreleased
## 2.0.0 (2024-02-01)
### BREAKING CHANGES
* Bump typescript to 5.x
* Remove Node 14 support
* Remove `assert` dependency. If you were catching `AssertionError` you need to change to `Error`.
* Fix `deriveKeypair` ignoring manual decoding algorithm. (Specifying algorithm=`ed25519` in `opts` now works on secrets like `sNa1...`)
* Remove `crypto` polyfills, `create-hash`, `elliptic`, `hash.js`, and their many dependencies in favor of `@noble/hashes` and `@nobel/curves`
* Remove `bytesToHex` and `hexToBytes`. They can now be found in `@xrplf/isomorphic/utils`
* `verifyTransaction` will throw an error if there is no signature
* Improved key algorithm detection. It will now throw Errors with helpful messages
* `Buffer` has been replaced with `UInt8Array` for both params and return values. `Buffer` may continue to work with params since they extend `UInt8Arrays`.
### Non-Breaking Changes
* Remove `brorand` as a dependency and use `@xrplf/isomorphic` instead.
* Eliminates 4 runtime dependencies: `base-x`, `base64-js`, `buffer`, and `ieee754`.
## 2.0.0 Beta 1 (2023-11-30)
### Breaking Changes

View File

@@ -1,6 +1,6 @@
{
"name": "ripple-keypairs",
"version": "2.0.0-beta.1",
"version": "2.0.0",
"description": "Cryptographic key pairs for the XRP Ledger",
"scripts": {
"build": "tsc --build tsconfig.build.json",
@@ -20,8 +20,8 @@
},
"dependencies": {
"@noble/curves": "^1.0.0",
"@xrplf/isomorphic": "^1.0.0-beta.1",
"ripple-address-codec": "^5.0.0-beta.1"
"@xrplf/isomorphic": "^1.0.0",
"ripple-address-codec": "^5.0.0"
},
"keywords": [
"ripple",