aotrautils-srv 0.0.296 → 0.0.297

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-22:44:19)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/11/2022-22:54:07)»*/
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-22:44:19)»*/
4830
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/11/2022-22:54:07)»*/
4831
4831
  /*-----------------------------------------------------------------------------*/
4832
4832
 
4833
4833
 
@@ -5224,6 +5224,9 @@ WebsocketImplementation={
5224
5224
  // Channel information is stored in exchanged data :
5225
5225
  if(dataWrapped.channelName!==receptionEntryPoint.channelName) return;
5226
5226
 
5227
+
5228
+ // DBG
5229
+ lognow("(SERVER) ENTRY POINT IS OF THE RIGHT CHANNEL:", channelName);
5227
5230
 
5228
5231
 
5229
5232
 
@@ -5308,6 +5311,12 @@ WebsocketImplementation={
5308
5311
 
5309
5312
  dataWrapped=JSON.stringify(dataWrapped);
5310
5313
 
5314
+
5315
+ // DBG
5316
+ lognow("(SERVER) WebsocketImplementation.useSocketIOImplementation:"+WebsocketImplementation.useSocketIOImplementation);
5317
+ lognow("(SERVER) dataWrapped:"+dataWrapped);
5318
+
5319
+
5311
5320
  // TODO : FIXME : Use one single interface !
5312
5321
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.send(dataWrapped);
5313
5322
  else clientSocket.emit(channelName,dataWrapped);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.296",
3
+ "version": "0.0.297",
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)",