This repository has been archived by the owner on Jul 31, 2020. It is now read-only.
Endpoint Discovery ( BREAKING CHANGES)
For interactive 2 its important to always retrieve a list of servers from our API before connecting. This used to be up to the implementer. With 1.0.0 we're placing this responsibility inside the client. This should make getting up and running easier.
client.open
now returns a Promise, which resolves when the connection is open. You should move all logic that previously assumed the connection would open immediately into a promise chain attached to client.open.
All of the examples have been updated to reflect this change. You can see the change reflected in our documentation too, here