aotrautils-srv 0.0.226 → 0.0.229
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 (30/07/2022-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (30/07/2022-13:12:03)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4827,7 +4827,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4827
4827
|
|
|
4828
4828
|
|
|
4829
4829
|
|
|
4830
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (30/07/2022-
|
|
4830
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (30/07/2022-13:12:03)»*/
|
|
4831
4831
|
/*-----------------------------------------------------------------------------*/
|
|
4832
4832
|
|
|
4833
4833
|
|
|
@@ -5077,12 +5077,10 @@ WebsocketImplementation={
|
|
|
5077
5077
|
// TRACE
|
|
5078
5078
|
console.log("«socket.io» NODE SERVER library not called yet, calling it now.");
|
|
5079
5079
|
Socket=require("socket.io");
|
|
5080
|
-
return WebsocketImplementation;
|
|
5081
5080
|
}
|
|
5082
5081
|
if(typeof(Socket)==="undefined"){
|
|
5083
5082
|
// TRACE
|
|
5084
5083
|
console.log("ERROR : «socket.io» NODE CLIENT/SERVER library not found. Cannot launch nodejs server. Aborting.");
|
|
5085
|
-
return WebsocketImplementation;
|
|
5086
5084
|
}
|
|
5087
5085
|
|
|
5088
5086
|
// NODE CLIENT :
|
|
@@ -5096,10 +5094,7 @@ WebsocketImplementation={
|
|
|
5096
5094
|
if(typeof(io)==="undefined"){
|
|
5097
5095
|
// TRACE
|
|
5098
5096
|
console.log("ERROR : «socket-client.io» NODE CLIENT library not found. Cannot launch nodejs server. Aborting.");
|
|
5099
|
-
return WebsocketImplementation;
|
|
5100
5097
|
}
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
5098
|
}
|
|
5104
5099
|
|
|
5105
5100
|
}else{
|
|
@@ -5116,16 +5111,13 @@ WebsocketImplementation={
|
|
|
5116
5111
|
// TRACE
|
|
5117
5112
|
console.log("ERROR : «ws» CONSOLE/BROWSER CLIENT/SERVER library not found. Cannot launch nodejs server. Aborting.");
|
|
5118
5113
|
}
|
|
5119
|
-
return WebsocketImplementation;
|
|
5120
5114
|
}
|
|
5121
5115
|
}
|
|
5122
5116
|
|
|
5123
5117
|
}
|
|
5124
|
-
|
|
5125
5118
|
|
|
5126
5119
|
// *********************************************************************************
|
|
5127
5120
|
|
|
5128
|
-
|
|
5129
5121
|
return WebsocketImplementation;
|
|
5130
5122
|
},
|
|
5131
5123
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.229",
|
|
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)",
|