binance-api-node
binance-api-node copied to clipboard
"crypto" has been externalized .. and can't be accessed in client code.
Whats the official workaround to get this package work with React/Preact which already uses this "crypto"?
Uncaught Error: Module "crypto" has been externalized for browser compatibility and cannot be accessed in client code.
get crypto:3
privateCall2 http-client.js:209
promise callback*node_modules/binance-api-node/dist/http-client.js/privateCall2/< http-client.js:204
allOrders http-client.js:431
<anonymous> Preact
crypto:3:10
get crypto:3
privateCall2 http-client.js:209
(Async: promise callback)
privateCall2 http-client.js:204
allOrders http-client.js:431
<anonymous> Preact
ExecuteAsyncModule self-hosted:2482
InnerModuleEvaluation self-hosted:2381
InnerModuleEvaluation self-hosted:2381
evaluation self-hosted:2332