I was wondering if there was a way to have the
window.ipfs IPFS API proxy available in a web worker?
Instead of just the main thread.
Somewhat related, do most people run the IPFS API on port 5001?
I might skip
window.ipfs integration all together if that’s the case, although I don’t know if that’s a good idea.
WebExtensions are unable to inject scripts into workers, so unless you add some code to your page to proxy
window.ipfs from the main page to worker via ipfs-postmsg-proxy, it won’t work.
Related issue with more on this very topic:
I somehow missed that Github issue, really helpful summary of the current state of things