eosjs-api icon indicating copy to clipboard operation
eosjs-api copied to clipboard

Accept a `fetch` option for dependency injection

Open swansontec opened this issue 6 years ago • 2 comments
trafficstars

Edge Wallet runs in a WebView, which has CORS limitations. We can get around this by bridging the React Native fetch method into the WebView, but we need some way to inject this method into this library.

swansontec avatar Oct 11 '19 18:10 swansontec

This library is part of eosjs v16, which is no longer maintained. eosjs v20 supports injecting fetch.

tbfleming avatar Oct 11 '19 18:10 tbfleming

Oh, interesting. We'll need to look at upgrading, then.

swansontec avatar Oct 11 '19 20:10 swansontec