aotrautils 0.0.74 → 0.0.77
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.
- aotrautils/aotrautils.build.js +13 -6
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-10:41:17)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4828
4828
|
|
|
4829
4829
|
|
|
4830
4830
|
|
|
4831
|
-
/*utils CLIENT library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
4831
|
+
/*utils CLIENT library associated with aotra version : «1.0.0.000 (13/07/2022-10:41:17)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4834
4834
|
*
|
|
@@ -11678,7 +11678,7 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
|
|
|
11678
11678
|
|
|
11679
11679
|
|
|
11680
11680
|
|
|
11681
|
-
/*utils GEOMETRY library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
11681
|
+
/*utils GEOMETRY library associated with aotra version : «1.0.0.000 (13/07/2022-10:41:17)»*/
|
|
11682
11682
|
/*-----------------------------------------------------------------------------*/
|
|
11683
11683
|
|
|
11684
11684
|
|
|
@@ -12884,7 +12884,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
12884
12884
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
12885
12885
|
|
|
12886
12886
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
12887
|
-
/*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
12887
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-10:41:17)»*/
|
|
12888
12888
|
/*-----------------------------------------------------------------------------*/
|
|
12889
12889
|
|
|
12890
12890
|
|
|
@@ -12919,6 +12919,12 @@ if(typeof(window)==="undefined") window=global;
|
|
|
12919
12919
|
// https://stackoverflow.com/questions/6599470/node-js-socket-io-with-ssl
|
|
12920
12920
|
// https://nodejs.org/api/https.html#https_https_createserver_options_requestlistener
|
|
12921
12921
|
|
|
12922
|
+
|
|
12923
|
+
|
|
12924
|
+
// DBG
|
|
12925
|
+
console.log("===========socketIO:",JSON.stringify(socketIO));
|
|
12926
|
+
|
|
12927
|
+
|
|
12922
12928
|
if(typeof(socketIO)==="undefined"){
|
|
12923
12929
|
// TRACE
|
|
12924
12930
|
lognow("«socket.io» SERVER library not called yet, calling it now.");
|
|
@@ -12941,11 +12947,11 @@ if(typeof(socketIO)==="undefined"){
|
|
|
12941
12947
|
if(typeof(WebSocket)==="undefined"){
|
|
12942
12948
|
WebSocket=require("ws");
|
|
12943
12949
|
// TRACE
|
|
12944
|
-
|
|
12950
|
+
lognow("«ws» SERVER library not called yet, calling it now.");
|
|
12945
12951
|
}
|
|
12946
12952
|
if(typeof(WebSocket)==="undefined"){
|
|
12947
12953
|
// TRACE
|
|
12948
|
-
|
|
12954
|
+
lognow("ERROR : «ws» SERVER library not found. Cannot launch nodejs server. Aborting.");
|
|
12949
12955
|
}
|
|
12950
12956
|
|
|
12951
12957
|
|
|
@@ -13180,6 +13186,7 @@ WebsocketImplementation={
|
|
|
13180
13186
|
|
|
13181
13187
|
// DBG
|
|
13182
13188
|
console.log(">>>>>>>socketIO:",JSON.stringify(socketIO));
|
|
13189
|
+
console.log(">>>>>>>WebSocket:",JSON.stringify(WebSocket));
|
|
13183
13190
|
|
|
13184
13191
|
// NOW : socket.io :
|
|
13185
13192
|
// Loading socket.io
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.77",
|
|
4
4
|
"main": "aotrautils.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|