1 Commits

Author SHA1 Message Date
77e032fdb2 HotFix
All checks were successful
Publish to NPM / build-and-publish (release) Successful in 31s
Setup testing environment and test the code / build (push) Successful in 59s
2026-04-09 12:04:42 +02:00
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -64,10 +64,10 @@ export class WebSocketHandler {
if (payl.action == "connectionId") {
console.log("ConnectionID received")
const data: WSConnIdPayload = JSON.parse(payl.data);
this.connectionId = data.connId;
this.listeners.forEach(listener => {
console.log(data.connId, listener)
listener.onNewConnId(data.connId)
this.connectionId = data.connId;
})
} else {
this.listeners.forEach(listener => {