In chat-widget webpack config we had to remove 'net' to be able to use status-js in a browser: https://github.com/status-im/status-chat-widget/blob/master/webpack.config.js