Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace tweetnacl-util with @stablelib packages #149

Merged
merged 5 commits into from
Jul 8, 2024
Merged

Conversation

CassioMG
Copy link
Contributor

@CassioMG CassioMG commented Jul 4, 2024

The tweetnacl-util package is crashing on React Native, so let's replace it with @stablelib packages which apparently work fine with all envs.

Note that it's even mentioned on the tweetnacl-util npm package description:

...For example, they don't work under React Native.

Instead of this package, I strongly recommend using my StableLib packages:
- @stablelib/utf8 for UTF-8 encoding/decoding ...
- @stablelib/base64 for constant-time Base64 encoding/decoding ...

@CassioMG CassioMG merged commit 19801a4 into main Jul 8, 2024
8 checks passed
@CassioMG CassioMG deleted the cg-rn-buffer-fix branch July 8, 2024 13:08
@CassioMG CassioMG mentioned this pull request Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants