aotrautils-srv 0.0.67 → 0.0.70

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:47:38)»*/
3
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-01:51:28)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -233,12 +233,10 @@ WebsocketImplementation={
233
233
  // TRACE
234
234
  console.log("«socket.io» SERVER library not called yet, calling it now.");
235
235
  socketIO=require("socket.io");
236
- return socketIO;
237
236
  }
238
237
  if(typeof(socketIO)==="undefined"){
239
- // TRACE
240
- console.log("ERROR : «socket.io» SERVER library not found. Cannot launch nodejs server. Aborting.");
241
- return null;
238
+ // Exception
239
+ throw "ERROR : «socket.io» SERVER library not found. Cannot launch nodejs server. Aborting.";
242
240
  }
243
241
  }else{
244
242
  // TRACE
@@ -1311,7 +1309,7 @@ function getListManager(config){
1311
1309
 
1312
1310
 
1313
1311
 
1314
- /*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-01:47:38)»*/
1312
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-01:51:28)»*/
1315
1313
  /*-----------------------------------------------------------------------------*/
1316
1314
 
1317
1315
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.67",
3
+ "version": "0.0.70",
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)",