aotrautils-srv 0.0.288 → 0.0.290

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_29072022-2359 (27/11/2022-20:41:27)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/11/2022-21:10:48)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4827,7 +4827,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4827
4827
 
4828
4828
 
4829
4829
 
4830
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-20:41:27)»*/
4830
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-21:10:48)»*/
4831
4831
  /*-----------------------------------------------------------------------------*/
4832
4832
 
4833
4833
 
@@ -5191,6 +5191,10 @@ WebsocketImplementation={
5191
5191
 
5192
5192
  receive:(channelName, doOnIncomingMessage, clientsRoomsTag=null)=>{
5193
5193
 
5194
+ // DBG
5195
+ lognow("(SERVER) Registering receive for «"+channelName+"»...",doOnIncomingMessage);
5196
+
5197
+
5194
5198
  const receptionEntryPoint={
5195
5199
  channelName:channelName,
5196
5200
  clientsRoomsTag:clientsRoomsTag,
@@ -5235,13 +5239,14 @@ WebsocketImplementation={
5235
5239
  lognow("(SERVER) isClientInRoom:",isClientInRoom);
5236
5240
 
5237
5241
  if(!isClientInRoom) return;
5242
+
5243
+ // DBG
5244
+ lognow("(SERVER) doOnIncomingMessage:",doOnIncomingMessage);
5238
5245
 
5239
5246
  doOnIncomingMessage(dataWrapped.data, clientSocket);
5240
5247
 
5241
5248
  };
5242
5249
 
5243
-
5244
-
5245
5250
 
5246
5251
 
5247
5252
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocketParam.addEventListener("message", doOnMessage);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.288",
3
+ "version": "0.0.290",
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)",