aotrautils-srv 0.0.756 → 0.0.758
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 (10/02/2024-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (10/02/2024-02:04:52)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5167,7 +5167,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5167
5167
|
|
|
5168
5168
|
|
|
5169
5169
|
|
|
5170
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (10/02/2024-
|
|
5170
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (10/02/2024-02:04:52)»*/
|
|
5171
5171
|
/*-----------------------------------------------------------------------------*/
|
|
5172
5172
|
|
|
5173
5173
|
|
|
@@ -5542,11 +5542,14 @@ WebsocketImplementation={
|
|
|
5542
5542
|
|
|
5543
5543
|
// clientsSockets:[],
|
|
5544
5544
|
serverSocket:serverSocket,
|
|
5545
|
+
listenableServer:listenableServer,
|
|
5545
5546
|
|
|
5546
5547
|
receptionEntryPoints:[],
|
|
5547
5548
|
|
|
5548
5549
|
close:(doOnCloseServer)=>{
|
|
5549
|
-
nodeServerInstance.serverSocket?.close(
|
|
5550
|
+
nodeServerInstance.serverSocket?.close(()=>{
|
|
5551
|
+
nodeServerInstance.listenableServer?.close(doOnCloseServer);
|
|
5552
|
+
});
|
|
5550
5553
|
},
|
|
5551
5554
|
|
|
5552
5555
|
receive:(channelNameParam, doOnIncomingMessage, clientsRoomsTag=null)=>{
|
|
@@ -6422,7 +6425,7 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
|
|
|
6422
6425
|
console.log("INFO : SERVER : HTTP Server launched and listening on port " + port + "!");
|
|
6423
6426
|
listenableServer=httpServer;
|
|
6424
6427
|
}
|
|
6425
|
-
|
|
6428
|
+
|
|
6426
6429
|
|
|
6427
6430
|
const server=WebsocketImplementation.getStatic(true).getServer(listenableServer);
|
|
6428
6431
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.758",
|
|
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)",
|