-
-
Notifications
You must be signed in to change notification settings - Fork 594
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
Avoiding base64-js library usage appears questionable #4341
Comments
I'm still a bit confused by this: the point is not so much to avoid using base64-js if Webpack or whatever happens to be providing it, the point is that the js-sdk should not require it in order to work. |
well, why not? Isn't depending on base64-js better than requiring a polyfill of Buffer? |
Well, yes, but that's certainly not the intention. If that's what it's doing then in practice it's broken. |
well, then I think we're aligned. TBH though, my feeling is that the attempt to avoid a dependency on base64-js has given us some complicated code that we don't really understand, and the cost isn't worth the benefit. (aside: it might be nice if base64-js had an alternative entrypoint for nodejs which did something like |
See #4338 and in particular #4338 (review)
The text was updated successfully, but these errors were encountered: