Skip to content
This repository has been archived by the owner on Jul 31, 2020. It is now read-only.

Endpoint Discovery ( BREAKING CHANGES)

Compare
Choose a tag to compare
@ProbablePrime ProbablePrime released this 08 May 22:41
· 143 commits to master since this release

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