Race-condition fix
Some checks failed
Setup testing environment and test the code / build (push) Failing after 1m9s

This commit is contained in:
2026-04-10 07:59:45 +02:00
parent 56a0167120
commit 59f7e10dd7
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@chatenium/chatenium-sdk",
"version": "1.1.0",
"version": "1.1.1",
"description": "A library for interacting with the Chatenium API",
"type": "module",
"main": "dist/index.js",

View File

@@ -80,6 +80,9 @@ export class WebSocketHandler {
public registerService(service: WSListenerPipe) {
console.log("Registering service", service)
if (this.connId) {
service.onNewConnId(this.connId)
}
this.listeners.add(service);
}