Merge remote-tracking branch 'refs/remotes/origin/master'
Some checks failed
CI / checks (push) Failing after 3m19s
Some checks failed
CI / checks (push) Failing after 3m19s
This commit is contained in:
commit
eff96ed72f
7 changed files with 87 additions and 19 deletions
|
|
@ -199,10 +199,7 @@ async function connect() {
|
|||
log(`Subscribed Pong: ${formatParsedFrame(frame)}`, "received");
|
||||
});
|
||||
|
||||
const existingClientId = client.credentials?.clientId;
|
||||
const activeClientId = existingClientId == null
|
||||
? await client.register()
|
||||
: (await client.connect(), BigInt(existingClientId));
|
||||
const activeClientId = await client.auth();
|
||||
clientId = activeClientId;
|
||||
loadKeys();
|
||||
log(`Connected as client ${activeClientId}`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue