@erebos/api-bzz-react-native
Advanced tools
Changelog
v0.12.0 (2019-12-17)
The Timeline
class has been split between the TimelineReader
and TimelineWriter
classes. TimelineWriter
extends TimelineReader
and therefore can be used as a dropped-in replacement for Timeline
.
@erebos/api-bzz-browser
can now be used in a Web Worker thanks to Adam Uhlíř's pull request.uploadData()
and downloadData()
methods have been added to the Bzz APIs.Hex.from()
static method has been added as a replacement for createHex()
.HTTP error messages from Swarm are now parsed when possible thanks to Adam Uhlíř's pull request.
The @erebos/feed-list
package has been added, implementing lists data structures on top of raw Swarm feeds.
Changelog
v0.11.0 (2019-11-28)
This release adds support for Readable streams in @erebos/api-bzz-base
, thanks to Adam Uhlíř's pull request.
The uploadFileStream()
method of @erebos/api-bzz-node
has been removed, uploadFile()
now supporting streams.
downloadObservable()
and downloadDirectoryData()
methods have been added to @erebos/api-bzz-base
and are therefore also available in @erebos/api-bzz-browser
. Until now they were only available in @erebos/api-bzz-node
.downloadStream()
method has been added.uploadFile()
and upload()
methods now support a Readable stream input.The code base and type definitions have been updated to TypeScript 3.7 thanks to Adam Uhlíř's pull request.
Changelog
v0.10.0 (2019-10-01)
PollOptions
interface of the Bzz API has been changed and is now used by the Timeline API. The PollFeedOptions
interface is now used for polling feeds.PollOptions
interface of the Timeline API has been removed, now using the interface exported by the Bzz API.Erebos v0.10 adds support for 2 new features added to the Swarm v0.5 release:
Changelog
v0.9.0 (2019-08-12)
The main change in this release is the code base being rewritten in TypeScript. As part of these changes, the library no longer uses ES modules default
exports but only named exports, such as:
import { Bzz } from '@erebos/api-bzz-node'
import { Pss } from '@erebos/api-pss'
import { createHex } from '@erebos/hex'
EMPTY_HEX
constant has been renamed to EMPTY_ADDRESS
.sendRaw()
, setPeerPublicKey()
and setSymmetricKey()
methods of the Pss
class no longer set a default address
value, use EMPTY_ADDRESS
if needed.The @erebos/swarm-browser
package now exports its contents in the Erebos.swarm
namespace instead of Erebos
. For example Erebos.swarm.SwarmClient()
should be used instead of Erebos.SwarmClient()
.
The browser builds (in the dist
folder) have been renamed from erebos.development.js
and erebos.production.js
to erebos.swarm.development.js
and erebos.swarm.production.js
to better reflect this change.
downloadTarTo()
method has been added to @erebos/api-bzz-node
.@erebos/api-bzz-react-native
has been added by Mark Vujevits in PR #98.sign()
and verify()
functions exported by the @erebos/secp256k1
package now accept a BNInput
input value as exported by the elliptic
package.addChapter()
method of the Timeline
class now calls createChapter()
, so default values for the chapter will be injected.