v0.7.0
Breaking changes
- The feed parameters object has been changed to include the required
userfield and remove thesignatureone. The added feed update parameters object should be used for feed updates. - The feed-related Bzz methods arguments have changed as the result of the feed parameters object change: rather than having a mandatory "user or hash" argument and a separate feed parameters argument, a single "hash or feed parameters" argument is now used. This change affects the
getFeedURL(),createFeedManifest(),getFeedMetadata(),getFeedValue(),pollFeedValue(),postSignedFeedValue(),postFeedValue(),updateFeedValue()anduploadFeedValue()methods. - The feed digest signing function in the Bzz class configuration has been renamed from
signFeedDigesttosignBytes, to reflect the fact it could be used in other contexts. - The second argument of the
createKeyPair()function in@erebos/secp256k1has been removed, ashexis the only supported value it is set by default.
Additional features
- The
@erebos/hexmodule now supports bytes array (Array<number>) as an input type and output using the.toBytesArray()method. - The
createPublic()andverify()functions have been added to the@erebos/secp256k1package. - The
@erebos/timelinepackage has been added, providing an implementation of the Timeline protocol. Its API is available in the documentation website.
Other changes
The website has been redesigned and additional examples have been added: erebos.js.org