ethersphere / bee-js

Javascript client library for connecting to Bee decentralised storage

Home Page:https://bee-js.ethswarm.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bee-js@6.0.0 `axios` change causes issues in Chrome Extension

IgorShadurin opened this issue · comments

We've run into an issue with the recent update (version 6.0.0) of your library. The change from ky to axios for handling HTTP requests resolved some issues we were facing with web apps in the browser. However, it seems to have introduced a new problem for our Blossom Chrome extension (https://github.com/fairDataSociety/blossom).

We're now getting the error Adapter 'http' is not available in the build. After some research, I found related issues on axios's GitHub and StackOverflow:

As far as I understand, we could potentially solve this issue by:

That said, these solutions might not be the most elegant or efficient for our use case. We would appreciate it if you could look into this issue and provide guidance or an alternative solution.

Thank you for your time and assistance.

Release v6.1.0 addresses this.

What is the process now to get bee-js working in Chrome Extension?
Tried to substitute adapters from links above, still throws the same error.
@Cafe137