pnpm
SailhouseClient
class from the package has everything we need to get started.
Provided you have generated a token, you can create a client from the class.
publish
method for sending data to a given topic.
JSON.stringify(...)
and we donβt want that to get messy.
getEvents
method for pull subscriptions.