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
Node Buffer only works in the browser with a polyfill, it is not good practice to expect the client to have it. Also it should fix an issue we have with Cypress on tdex-app.
From my research we can use this one for browser https://github.com/feross/buffer. We check the environment and use this lib or Node Buffer accordingly.
We follow BitcoinJs here, so not sure if makes sense to diverge.
I guess the rationale behind is that BitcoinJS maintainers do not need to be responsible for polyfills of others and let users do the appropriate due diligence?
Node Buffer only works in the browser with a polyfill, it is not good practice to expect the client to have it. Also it should fix an issue we have with Cypress on tdex-app.
From my research we can use this one for browser https://github.com/feross/buffer. We check the environment and use this lib or Node Buffer accordingly.
@tiero @louisinger
The text was updated successfully, but these errors were encountered: