light-client
light-client copied to clipboard
Improve content of the SDK docs
Description
We want to improve the content of the SDK docs.
Acceptance criteria
Tasks
- [ ] @weilbith Please add your top 7 questions for the SDK here :)
Top questions (not sorted by any property):
- How to run the integrations tests correctly? How do you interpret integration here? Why is there no reference to the docs/script in the SDK? NPM scripts are inconsistent.
- How to access data in the SDK efficiently (e.g. async/await style) like getting transfer history? (maybe refer to CLI as simple layer that does this)
- Due to is functional approach the API reference section in the docs is only useful for externals. Is there a graph/overview of all the reactive epics that build the heart of the SDK?
- What is this dependencies object for the epics about with the
latestproperty? Why not an observable here? - When and where should I use branded types for the runtime validation? Why are not all inputs validated?
- How does the communication with matrix work?
- I'm heavily missing explanatory names to wrap smaller parts of the code or variables to make code easier to understand. Most functions are quite complex and give barely any insight in what they are doing.
@weilbith Great thanks :)