aotrautils-srv 0.0.60 → 0.0.64
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-
|
|
3
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-01:28:35)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -814,7 +814,7 @@ WebsocketImplementation={
|
|
|
814
814
|
dataWrapped=JSON.stringify(dataWrapped);
|
|
815
815
|
|
|
816
816
|
|
|
817
|
-
|
|
817
|
+
// TODO : FIXME : Use one single interface !
|
|
818
818
|
if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.send(dataWrapped);
|
|
819
819
|
else clientSocket.emit(channelName,dataWrapped);
|
|
820
820
|
|
|
@@ -955,7 +955,7 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
|
|
|
955
955
|
}
|
|
956
956
|
|
|
957
957
|
|
|
958
|
-
const server=WebsocketImplementation.getStatic(true).getServer(listenableServer);
|
|
958
|
+
const server=WebsocketImplementation.getStatic(true, /*DEBUG*/true).getServer(listenableServer);
|
|
959
959
|
|
|
960
960
|
// When a client connects, we execute the callback :
|
|
961
961
|
// CAUTION : MUST BE CALLED ONLY ONCE !
|
|
@@ -1301,7 +1301,7 @@ function getListManager(config){
|
|
|
1301
1301
|
|
|
1302
1302
|
|
|
1303
1303
|
|
|
1304
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
1304
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-01:28:35)»*/
|
|
1305
1305
|
/*-----------------------------------------------------------------------------*/
|
|
1306
1306
|
|
|
1307
1307
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.64",
|
|
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)",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"atob": "^2.1.2",
|
|
24
24
|
"fs": "^0.0.1-security",
|
|
25
25
|
"sjcl": "^1.0.8",
|
|
26
|
+
"socket.io": "^4.5.1",
|
|
26
27
|
"ws": "^8.1.0"
|
|
27
28
|
}
|
|
28
29
|
}
|