The documentation is great to integrate Adena in an application, but some things are missing imo, like the type of the response.
For example here, only a sample response and a broad response type is specified (no way to know that ALREADY_CONNECTED is a potential type for example, except by testing locally).
The documentation could be improved, but the best thing would be to have an NPM package with some methods and types already included, because now I noticed that when building a project pretty much everyone (myself included) copies an existing implementation like this one: https://github.com/gnolang/memeland/blob/main/ui/src/services/adena/adena.ts
that already contains all the types and methods required.
Having this in an "official" NPM package would be easier (especially if some implementation details change, people will just have to update their package version).
The documentation is great to integrate Adena in an application, but some things are missing imo, like the type of the response. For example here, only a sample response and a broad response type is specified (no way to know that
ALREADY_CONNECTED
is a potential type for example, except by testing locally).The documentation could be improved, but the best thing would be to have an NPM package with some methods and types already included, because now I noticed that when building a project pretty much everyone (myself included) copies an existing implementation like this one: https://github.com/gnolang/memeland/blob/main/ui/src/services/adena/adena.ts that already contains all the types and methods required. Having this in an "official" NPM package would be easier (especially if some implementation details change, people will just have to update their package version).
Would be happy to help on this if needed ;)