aotrautils-srv 0.0.818 → 0.0.820

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 (25/02/2024-22:09:55)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (25/02/2024-22:22:34)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5283,7 +5283,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5283
5283
 
5284
5284
 
5285
5285
 
5286
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/02/2024-22:09:55)»*/
5286
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (25/02/2024-22:22:34)»*/
5287
5287
  /*-----------------------------------------------------------------------------*/
5288
5288
 
5289
5289
 
@@ -5641,9 +5641,14 @@ WebsocketImplementation={
5641
5641
  serverSocket.on("endConnection",()=>{
5642
5642
  serverSocket.disconnect();
5643
5643
  });
5644
+ }
5645
+
5646
+ serverSocket.on("error",(error)=>{
5644
5647
 
5648
+ // TRACE
5649
+ lognow("ERROR : An error occurred when trying to start the server : ",error);
5645
5650
 
5646
- }
5651
+ });
5647
5652
 
5648
5653
  // NODE SERVER INSTANCE :
5649
5654
  const nodeServerInstance={
@@ -6542,12 +6547,6 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
6542
6547
  listenableServer=httpServer;
6543
6548
  }
6544
6549
 
6545
- listenableServer.on("error",(error)=>{
6546
-
6547
- // TRACE
6548
- lognow("ERROR : An error occurred when trying to start the server : ",error);
6549
-
6550
- });
6551
6550
 
6552
6551
  const server=WebsocketImplementation.getStatic(true).getServer(listenableServer);
6553
6552
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.818",
3
+ "version": "0.0.820",
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)",