mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-28 08:05:51 +00:00
fix: throw error if hexToBytes or hexToString is provided a string that is not in hex (#2657)
* better error handling * fix browser tests * add shared variable * re-add test case
This commit is contained in:
@@ -19,24 +19,3 @@ Subscribe to [the **xrpl-announce** mailing list](https://groups.google.com/g/xr
|
||||
* Unit tests run in a browser and node.
|
||||
* Remove `brorand` as a dependency and use `@xrplf/isomorphic` instead.
|
||||
* Eliminates 4 runtime dependencies: `base-x`, `base64-js`, `buffer`, and `ieee754`.
|
||||
|
||||
## 1.0.0 Beta 1 (2023-11-30)
|
||||
|
||||
### BREAKING CHANGES:
|
||||
* Moved all methods that were on `Utils` are now individually exported.
|
||||
* `Buffer` has been replaced with `UInt8Array` for both params and return values. `Buffer` may continue to work with params since they extend `UInt8Arrays`.
|
||||
|
||||
### Changes
|
||||
* Eliminates 4 runtime dependencies: `base-x`, `base64-js`, `buffer`, and `ieee754`.
|
||||
|
||||
## 1.0.0 Beta 0 (2023-10-19)
|
||||
|
||||
* Add `xrpl-secret-numbers` by @WietseWind to the mono repo.
|
||||
* `unpkg` and `jsdelivr` support was simplified.
|
||||
* Unit tests run in a browser and node.
|
||||
* Remove `brorand` as a dependency and use `@xrplf/isomorphic` instead.
|
||||
|
||||
### BREAKING CHANGES:
|
||||
* `xrpl-secret-numbers` is now `@xrplf/secret-numbers`.
|
||||
* The bundled file produced changed from `dist/browerified.js` to `build/xrplf-secret-numbers-latest.js`.
|
||||
* Bundle variable is `xrplf_secret_numbers` instead of using browserify's loader.
|
||||
|
||||
Reference in New Issue
Block a user