aotrautils-srv 0.0.132 → 0.0.133
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 (16/07/2022-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-17:08:50)»*/
|
|
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 (16/07/2022-
|
|
4831
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-17:08:50)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
|
|
4834
4834
|
|
|
@@ -5061,7 +5061,7 @@ WebsocketImplementation={
|
|
|
5061
5061
|
//
|
|
5062
5062
|
// NODE SERVER/CLIENT
|
|
5063
5063
|
//
|
|
5064
|
-
getStatic:(isNodeContext=true, useSocketIOImplementation
|
|
5064
|
+
getStatic:(isNodeContext=true, useSocketIOImplementation=/*DEBUG*/false)=>{
|
|
5065
5065
|
|
|
5066
5066
|
WebsocketImplementation.isNodeContext=isNodeContext;
|
|
5067
5067
|
WebsocketImplementation.useSocketIOImplementation=useSocketIOImplementation;
|
|
@@ -5830,7 +5830,7 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
|
|
|
5830
5830
|
}
|
|
5831
5831
|
|
|
5832
5832
|
|
|
5833
|
-
const server=WebsocketImplementation.getStatic(true
|
|
5833
|
+
const server=WebsocketImplementation.getStatic(true).getServer(listenableServer, port);
|
|
5834
5834
|
|
|
5835
5835
|
// When a client connects, we execute the callback :
|
|
5836
5836
|
// CAUTION : MUST BE CALLED ONLY ONCE !
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.133",
|
|
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)",
|