aotrautils-srv 0.0.79 → 0.0.82

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.0.0.000 (13/07/2022-09:34:56)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-10:45:03)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4828
4828
 
4829
4829
 
4830
4830
 
4831
- /*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-09:34:56)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-10:45:03)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -4863,6 +4863,12 @@ if(typeof(window)==="undefined") window=global;
4863
4863
  // https://stackoverflow.com/questions/6599470/node-js-socket-io-with-ssl
4864
4864
  // https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener
4865
4865
 
4866
+
4867
+
4868
+ // DBG
4869
+ console.log("===========socketIO:",JSON.stringify(socketIO));
4870
+
4871
+
4866
4872
  if(typeof(socketIO)==="undefined"){
4867
4873
  // TRACE
4868
4874
  lognow("«socket.io» SERVER library not called yet, calling it now.");
@@ -4885,11 +4891,11 @@ if(typeof(socketIO)==="undefined"){
4885
4891
  if(typeof(WebSocket)==="undefined"){
4886
4892
  WebSocket=require("ws");
4887
4893
  // TRACE
4888
- console.log("«ws» SERVER library not called yet, calling it now.");
4894
+ lognow("«ws» SERVER library not called yet, calling it now.");
4889
4895
  }
4890
4896
  if(typeof(WebSocket)==="undefined"){
4891
4897
  // TRACE
4892
- console.log("ERROR : «ws» SERVER library not found. Cannot launch nodejs server. Aborting.");
4898
+ lognow("ERROR : «ws» SERVER library not found. Cannot launch nodejs server. Aborting.");
4893
4899
  }
4894
4900
 
4895
4901
 
@@ -5124,6 +5130,7 @@ WebsocketImplementation={
5124
5130
 
5125
5131
  // DBG
5126
5132
  console.log(">>>>>>>socketIO:",JSON.stringify(socketIO));
5133
+ console.log(">>>>>>>WebSocket:",JSON.stringify(WebSocket));
5127
5134
 
5128
5135
  // NOW : socket.io :
5129
5136
  // Loading socket.io
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.79",
3
+ "version": "0.0.82",
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)",