aotrautils-srv 0.0.146 → 0.0.149

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-03:28:41)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-03:36:52)»*/
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-03:28:41)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-03:36:52)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5181,18 +5181,21 @@ WebsocketImplementation={
5181
5181
 
5182
5182
 
5183
5183
  // DBG
5184
- lognow(" Channel information:dataWrapped.channelName",receptionEntryPoint.clientsRoomsTag);
5185
- lognow(" Channel information:receptionEntryPoint.channelName",receptionEntryPoint.channelName);
5184
+ lognow(" Channel information:dataWrapped",dataWrapped);
5185
+ lognow(" Channel information:dataWrapped.channelName«"+receptionEntryPoint.channelName+"»");
5186
+ lognow(" Channel information:receptionEntryPoint.channelName«"+receptionEntryPoint.channelName+"»");
5187
+ lognow(" C1",(dataWrapped.channelName!=receptionEntryPoint.channelName));
5188
+ lognow(" C2",(dataWrapped.channelName!==receptionEntryPoint.channelName));
5186
5189
 
5187
-
5188
5190
  // Channel information is stored in exchanged data :
5189
- if(dataWrapped.channelName!==receptionEntryPoint.channelName) return;
5191
+ if(dataWrapped.channelName!=receptionEntryPoint.channelName) return;
5192
+
5190
5193
 
5191
5194
  const clientSocket=clientSocketParam;
5192
5195
 
5193
5196
 
5194
5197
  // DBG
5195
- lognow("receptionEntryPoint.clientsRoomsTag:",receptionEntryPoint.clientsRoomsTag);
5198
+ lognow(" receptionEntryPoint.clientsRoomsTag:",receptionEntryPoint.clientsRoomsTag);
5196
5199
 
5197
5200
  // TODO : FIXME : Use one single interface !
5198
5201
  // Room information is stored in client socket object :
@@ -5265,7 +5268,7 @@ WebsocketImplementation={
5265
5268
 
5266
5269
  dataWrapped=JSON.stringify(dataWrapped);
5267
5270
 
5268
- // TODO : FIXME : Use one single interface !
5271
+ // TODO : FIXME : Use one single interface !
5269
5272
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.send(dataWrapped);
5270
5273
  else clientSocket.emit(channelName,dataWrapped);
5271
5274
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.146",
3
+ "version": "0.0.149",
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)",