ipfs / js-ipfs

IPFS implementation in JavaScript
https://js.ipfs.tech
Other
7.44k stars 1.25k forks source link

feat: re-export components #4249

Closed DougAnderson444 closed 1 year ago

DougAnderson444 commented 1 year ago

PR Reason:

Addresses feat request #4233.

Background:

The IPFS Repo takes a long time to load in the browser. So I am loading just the bare essentials first so data can be loaded and saved locally, then adding the Storage and libp2p networking after the fact.

But this means I need deep access to these exports, but they aren't re-exported by the package. This simple PR addresses that.

For your consideration.

SgtPooki commented 1 year ago

Hello @DougAnderson444,

We wanted to let you know that the issue you reported will not be resolved in js-ipfs as we are in the process of deprecating it. However, we are pleased to inform you that the issue should be resolved in our new library, https://github.com/ipfs/helia. We highly recommend using helia instead, as it should provide a solution to the problem you encountered.

For further assistance or if you have any questions, please refer to the helia repository at https://github.com/ipfs/helia. We have a migration guide available.

Thank you for your understanding and for considering helia as an alternative!

Best regards, @ipfs/helia-dev