Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@erebos/api-bzz-base
Advanced tools
Base class for Swarm (BZZ) APIs interactions. Used by @erebos/api-bzz-browser
and @erebos/api-bzz-node
.
yarn add @erebos/api-bzz-base
See the library documentation website.
MIT
v0.8.0 (2019-05-28)
FeedMode
and FeedOptions
types have been removed, their use cases are implemented by new methods.mode
and contentChangedOnly
fields have been removed from the PollOptions
object.xxxFeedValue()
methods of the Bzz class have been changed as follows:
getFeedValue()
getFeedChunk()
to load the chunk itselfgetFeedContentHash()
to load the chunk and parse the response as a Swarm hashgetFeedContent()
to load the chunk, parse the response as a Swarm hash and load the referenced resourcepollFeedValue()
pollFeedChunk()
to poll the chunk itselfpollFeedContentHash()
to poll the chunk and parse the response as a Swarm hashpollFeedContent()
to poll the chunk, parse the response as a Swarm hash and load the referenced resourcepostSignedFeedValue()
-> postSignedFeedChunk()
postFeedValue()
-> postFeedChunk()
updateFeedValue()
-> setFeedChunk()
uploadFeedValue()
-> setFeedContent()
download()
-> getChapter()
upload()
-> postChapter()
getChapterID()
-> getLatestChapterID()
loadChapter()
-> getLatestChapter()
updateChapterID()
-> setLatestChapterID()
createUpdater()
-> createAddChapter()
loadChapters()
-> getChapters()
@erebos/wallet-hd
utility package has been added, providing a simple way to use Hierarchical Deterministic wallets.PollContentHashOptions
and PollContentOptions
have been added for the pollFeedContentHash()
and pollFeedContent()
methods, respectively.setFeedContentHash()
method has been added to the Bzz class.setLatestChapter()
: sets the latest chapter without checking the previous
field, while the logic of addChapter()
has been changed to retrieve the latest chapter ID before adding the new chapter when the previous
field is not provided.createLoader()
: returns an Observable of chapters.pollLatestChapter()
: returns an Observable of the latest chapter.The library is now tested against Swarm v0.4.0, using the Docker image provided by ethersphere.
FAQs
Base Bzz API
The npm package @erebos/api-bzz-base receives a total of 0 weekly downloads. As such, @erebos/api-bzz-base popularity was classified as not popular.
We found that @erebos/api-bzz-base demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.