aotrautils-srv 0.0.121 → 0.0.124
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-15:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-15:42:35)»*/
|
|
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-15:
|
|
4831
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-15:42:35)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
|
|
4834
4834
|
|
|
@@ -5120,13 +5120,17 @@ WebsocketImplementation={
|
|
|
5120
5120
|
|
|
5121
5121
|
// NOW : socket.io :
|
|
5122
5122
|
// Loading socket.io
|
|
5123
|
-
|
|
5123
|
+
// OLD SYNTAX : serverSocket=Socket.listen(listenableServer);
|
|
5124
|
+
serverSocket=new Socket.Server(listenableServer);
|
|
5124
5125
|
|
|
5125
5126
|
// Setting up the disctonnect event :
|
|
5126
5127
|
serverSocket.on("endConnection",()=>{
|
|
5127
5128
|
serverSocket.disconnect();
|
|
5128
5129
|
});
|
|
5129
5130
|
|
|
5131
|
+
// ////
|
|
5132
|
+
// serverSocket.listen();
|
|
5133
|
+
|
|
5130
5134
|
}
|
|
5131
5135
|
|
|
5132
5136
|
// NODE SERVER INSTANCE :
|
|
@@ -5428,7 +5432,10 @@ WebsocketImplementation={
|
|
|
5428
5432
|
// connectToServer=function (serverURL, port, isSecure, timeout=10000){
|
|
5429
5433
|
// return Socket.connect(serverURL + ":" + port,{timeout: timeout});
|
|
5430
5434
|
// }
|
|
5431
|
-
|
|
5435
|
+
|
|
5436
|
+
// OLD SYNTAX: clientSocket=Socket.connect(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
|
|
5437
|
+
clientSocket=Socket(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
|
|
5438
|
+
|
|
5432
5439
|
}
|
|
5433
5440
|
}
|
|
5434
5441
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.124",
|
|
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)",
|