aotrautils-srv 0.0.71 → 0.0.74

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 SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-01:51:28)»*/
3
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-02:19:46)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -231,8 +231,11 @@ WebsocketImplementation={
231
231
 
232
232
  if(typeof(socketIO)==="undefined"){
233
233
  // TRACE
234
- console.log("«socket.io» SERVER library not called yet, calling it now.");
234
+ lognow("«socket.io» SERVER library not called yet, calling it now.");
235
235
  socketIO=require("socket.io");
236
+ // TRACE
237
+ lognow("«socket.io» SERVER library called:",socketIO);
238
+
236
239
  }
237
240
  if(typeof(socketIO)==="undefined"){
238
241
  // Exception
@@ -281,6 +284,11 @@ WebsocketImplementation={
281
284
  if(!WebsocketImplementation.useSocketIOImplementation){
282
285
  serverSocket=new WebSocket.Server({ "server":listenableServer });
283
286
  }else{
287
+
288
+
289
+ // DBG
290
+ console.log(">>>>>>>socketIO:",JSON.stringify(socketIO));
291
+
284
292
  // NOW : socket.io :
285
293
  // Loading socket.io
286
294
  serverSocket=socketIO.listen(listenableServer);
@@ -1309,7 +1317,7 @@ function getListManager(config){
1309
1317
 
1310
1318
 
1311
1319
 
1312
- /*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-01:51:28)»*/
1320
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-02:19:46)»*/
1313
1321
  /*-----------------------------------------------------------------------------*/
1314
1322
 
1315
1323
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.71",
3
+ "version": "0.0.74",
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)",