Closed abc123931 closed 4 months ago
Thanks! I don’t remember why the buffer method call is necessary, but we need to do thorough tests before merging this change.
Thanks again for your contribution! Your change was included in v0.10.10, which I just shipped
issue #24
Overview
This PR addresses an issue in the
fromHexStringToBytes
function that was causing errors in Next.js applications. To resolve this, the return type of the function has been changed fromArrayBufferLike
toUint8Array
.Changes
fromHexStringToBytes
fromArrayBufferLike
toUint8Array
to ensure compatibility with Next.js.Testing
The function has been tested locally in a Next.js setup and is working as expected. However, tests in environments such as Cloudflare Workers are pending.
Please review the changes and let me know if there are any concerns or additional adjustments needed. Further testing in other environments will be conducted as needed.