aotrautils-srv 0.0.296 → 0.0.298

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:57:04)»*/
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:57:04)»*/
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
 
@@ -5258,6 +5261,9 @@ WebsocketImplementation={
5258
5261
 
5259
5262
  send:(channelName, data, clientsRoomsTag=null, clientSocketParam=null)=>{
5260
5263
 
5264
+ // DBG
5265
+ lognow("(SERVER) SERVER TRIES TO SEND !");
5266
+
5261
5267
 
5262
5268
  if(!clientSocketParam){
5263
5269
 
@@ -5308,6 +5314,12 @@ WebsocketImplementation={
5308
5314
 
5309
5315
  dataWrapped=JSON.stringify(dataWrapped);
5310
5316
 
5317
+
5318
+ // DBG
5319
+ lognow("(SERVER) WebsocketImplementation.useSocketIOImplementation:"+WebsocketImplementation.useSocketIOImplementation);
5320
+ lognow("(SERVER) dataWrapped:"+dataWrapped);
5321
+
5322
+
5311
5323
  // TODO : FIXME : Use one single interface !
5312
5324
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.send(dataWrapped);
5313
5325
  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.298",
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)",