aotrautils-srv 0.0.80 → 0.0.83
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-10:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-10:49:21)»*/
|
|
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-10:
|
|
4831
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-10:49:21)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
|
|
4834
4834
|
|
|
@@ -4863,10 +4863,19 @@ 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:",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.");
|
|
4869
|
-
|
|
4875
|
+
|
|
4876
|
+
// const { socketIO }=require("socket.io");
|
|
4877
|
+
import { socketIO } from "socket.io";
|
|
4878
|
+
|
|
4870
4879
|
// TRACE
|
|
4871
4880
|
lognow("«socket.io» SERVER library called:",socketIO);
|
|
4872
4881
|
|
|
@@ -5124,6 +5133,7 @@ WebsocketImplementation={
|
|
|
5124
5133
|
|
|
5125
5134
|
// DBG
|
|
5126
5135
|
console.log(">>>>>>>socketIO:",JSON.stringify(socketIO));
|
|
5136
|
+
console.log(">>>>>>>WebSocket:",JSON.stringify(WebSocket));
|
|
5127
5137
|
|
|
5128
5138
|
// NOW : socket.io :
|
|
5129
5139
|
// Loading socket.io
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.83",
|
|
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)",
|