-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hi, currently some very useful low level functions are not exported. To list few: makeSingleOwnerChunkFromData, uploadSingleOwnerChunkData, recoverChunkOwner and downloadSingleOwnerChunk from the soc api, and makeFeedIdentifier, uploadFeedUpdate, downloadFeedUpdate, etc, from the feeds api.
Have those functions exported could allow developers to create more powerful dapps using bee-js. For instance, I want to control the index of a feed, but I cannot do that with the current api. On the other hand, if functions like findNextIndex and uploadFeedUpdate were exported I could do that.
Some dapps will have a different way to create and manage chunks and would be nice if bee-js was flexible enough to allow that.
So I'm wondering if these functions can be exported. Currently, I'm forced to basically replicate most of the feed and soc functions in my own code just to be able to manipulate few parameters like the index since most of these functions have a high level of dependencies between themselves and they are not exported. This seems to remove the necessity to use bee-js as a library for my app.
There is any way that I can manipulate the index of a feed for example? Or get the owner of a soc in the current api?