aotrautils-srv 0.0.156 → 0.0.157

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
 
3
- /*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-04:02:53)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-04:07:54)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4828
4828
 
4829
4829
 
4830
4830
 
4831
- /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-04:02:53)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-04:07:54)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5246,9 +5246,17 @@ WebsocketImplementation={
5246
5246
  // OLD: else serverClients=nodeServerInstance.serverSocket.sockets.clients();
5247
5247
  else serverClients=nodeServerInstance.serverSocket.sockets;
5248
5248
 
5249
+
5250
+ // DBG
5251
+ lognow("nodeServerInstance.serverSocket:",nodeServerInstance.serverSocket);
5252
+ lognow("nodeServerInstance.serverSocket.clients:",nodeServerInstance.serverSocket.clients);
5253
+ lognow("serverClients:",serverClients);
5254
+ lognow("serverClients:",serverClients);
5255
+
5256
+
5257
+
5249
5258
  serverClients.forEach((clientSocket)=>{
5250
5259
 
5251
-
5252
5260
  // TODO : FIXME : Use one single interface !
5253
5261
  if(!WebsocketImplementation.useSocketIOImplementation) if(clientSocket.readyState!==WebSocket.OPEN) return;
5254
5262
  else if(clientSocket.connected) return;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.156",
3
+ "version": "0.0.157",
4
4
  "main": "aotrautils-srv.build.js",
5
5
  "description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",