You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zondax's libraries currently rely on Buffer directly from the global scope, which causes issues for front-end environments that don't include a Buffer polyfill in the global window object.
To resolve this, the following approaches could be considered:
Switch to using typed arrays.
Implement a cross-platform buffer solution, such as https://www.npmjs.com/package/buffer, and remove Buffer from public-facing APIs (e.g. accept typed arrays or strings instead).
Zondax's libraries currently rely on
Buffer
directly from the global scope, which causes issues for front-end environments that don't include aBuffer
polyfill in the global window object.To resolve this, the following approaches could be considered:
Buffer
from public-facing APIs (e.g. accept typed arrays or strings instead).🔗 zboto Link
The text was updated successfully, but these errors were encountered: