identity.auth has three possible types, string, (Client) => string, and () => Promise. This branch implements parsing for the latter two.
identity.auth now only gets an oauth: prefix if it doesn't have one already.
Client.connect() now handles promises.
Assumed secureConnect, and data as resolved.
Assumed close, and error as rejected.
Please verify these are the expected promises for these socket events.
identity.auth
has three possible types,string
,(Client) => string
, and() => Promise
. This branch implements parsing for the latter two.identity.auth
now only gets anoauth:
prefix if it doesn't have one already.Client.connect()
now handles promises. AssumedsecureConnect
, anddata
asresolved
. Assumedclose
, anderror
asrejected
. Please verify these are the expected promises for thesesocket
events.Adds codestyle for JetBrains IDEAs.