The existing identity
A Crypto implementation from odd
Host, crypto, and a code for the websocket
A unique ID for the websocket connection. Should be transmitted out of band to the new device.
The address for your websocket
Optional
query?: stringA promise that will resolve with a new identity instance that includes the new device, after we get a message from the new device.
Open a websocket channel that the new device should connect to.