@ethersphere/bee-js v0.11.0
This release mainly brings internal improvements as we have attacked head-on our backlog with outstanding issues. But several changes introduce breaking changes so be aware and continue reading on!
🔎 Input validation
We implemented thorough input validation to catch problems even before sending requests to Bee and give better errors on what is wrong.
⚠ BREAKING CHANGES
- Methods
Bee.pin(),Bee.unpin(),Bee.pssSend()now returnPromise<void>(#342) - Methods
Bee.setJsonFeed(),SocWriter.upload(),FeedWriter.upload()now return directly the reference hash (string) instead of it being wrapped in object (#341) - The new input validation might require more thorough types specification
Features
Reverts
Code Refactoring
- no generic BeeResponse returned from Bee class (#342) (d2a65ee)
- no single-property object returned (#341) (572253c)