@ejfdelgado/ejflab-back 1.32.3 → 1.32.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/srv/SocketIOCall.mjs +2 -4
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ejfdelgado/ejflab-back",
|
3
|
-
"version": "1.32.
|
3
|
+
"version": "1.32.5",
|
4
4
|
"repository": {
|
5
5
|
"type": "git",
|
6
6
|
"url": "git+https://github.com/ejfdelgado/ejflab-back.git"
|
@@ -19,7 +19,7 @@
|
|
19
19
|
"license": "ISC",
|
20
20
|
"private": false,
|
21
21
|
"dependencies": {
|
22
|
-
"@ejfdelgado/ejflab-common": "1.16.
|
22
|
+
"@ejfdelgado/ejflab-common": "1.16.3",
|
23
23
|
"@google-cloud/compute": "^4.7.0",
|
24
24
|
"@google-cloud/firestore": "^7.9.0",
|
25
25
|
"@google-cloud/storage": "^7.11.3",
|
package/srv/SocketIOCall.mjs
CHANGED
@@ -396,10 +396,8 @@ export class SocketIOCall {
|
|
396
396
|
socketId: socket.id
|
397
397
|
});
|
398
398
|
const room = headers.room;
|
399
|
-
const remainingIds = SocketIOCall.mapSockets[room];
|
400
|
-
console.log(`Sending updateUserList to ${room} with ${remainingIds}`);
|
401
399
|
SocketIOCall.io.to(room).emit("updateUserList", {
|
402
|
-
socketIds:
|
400
|
+
socketIds: SocketIOCall.mapSockets[room]
|
403
401
|
});
|
404
402
|
}
|
405
403
|
|
@@ -590,4 +588,4 @@ export class SocketIOCall {
|
|
590
588
|
static getSocketImage(socketId) {
|
591
589
|
return SocketIOCall.socketToImage[socketId];
|
592
590
|
}
|
593
|
-
}
|
591
|
+
}
|