aotrautils 0.0.58 → 0.0.59
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
/*utils CLIENT library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
3
|
+
/*utils CLIENT library associated with aotra version : «1.0.0.000 (13/07/2022-01:27:50)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
6
6
|
*
|
|
@@ -6513,7 +6513,7 @@ initClient=function(isNodeContext=true, useSocketIOImplementation=false, doOnSer
|
|
|
6513
6513
|
lognow("INFO : Setting up Websocket implementation server :...");
|
|
6514
6514
|
|
|
6515
6515
|
|
|
6516
|
-
let socketToServer=WebsocketImplementation.getStatic(isNodeContext,useSocketIOImplementation).connectToServer(url, port, isSecure, timeout);
|
|
6516
|
+
let socketToServer=WebsocketImplementation.getStatic(isNodeContext, useSocketIOImplementation).connectToServer(url, port, isSecure, timeout);
|
|
6517
6517
|
if(!socketToServer){
|
|
6518
6518
|
// TRACE
|
|
6519
6519
|
lognow("ERROR : CLIENT : Could not get socketToServer, aborting client connection.");
|
|
@@ -6851,7 +6851,7 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
|
|
|
6851
6851
|
|
|
6852
6852
|
|
|
6853
6853
|
|
|
6854
|
-
/*utils GEOMETRY library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
6854
|
+
/*utils GEOMETRY library associated with aotra version : «1.0.0.000 (13/07/2022-01:27:50)»*/
|
|
6855
6855
|
/*-----------------------------------------------------------------------------*/
|
|
6856
6856
|
|
|
6857
6857
|
|
|
@@ -8057,7 +8057,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
8057
8057
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
8058
8058
|
|
|
8059
8059
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
8060
|
-
/*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
8060
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-01:27:50)»*/
|
|
8061
8061
|
/*-----------------------------------------------------------------------------*/
|
|
8062
8062
|
|
|
8063
8063
|
|
|
@@ -8871,7 +8871,7 @@ WebsocketImplementation={
|
|
|
8871
8871
|
dataWrapped=JSON.stringify(dataWrapped);
|
|
8872
8872
|
|
|
8873
8873
|
|
|
8874
|
-
|
|
8874
|
+
// TODO : FIXME : Use one single interface !
|
|
8875
8875
|
if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.send(dataWrapped);
|
|
8876
8876
|
else clientSocket.emit(channelName,dataWrapped);
|
|
8877
8877
|
|
|
@@ -9012,7 +9012,7 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
|
|
|
9012
9012
|
}
|
|
9013
9013
|
|
|
9014
9014
|
|
|
9015
|
-
const server=WebsocketImplementation.getStatic(true).getServer(listenableServer);
|
|
9015
|
+
const server=WebsocketImplementation.getStatic(true, /*DEBUG*/true).getServer(listenableServer);
|
|
9016
9016
|
|
|
9017
9017
|
// When a client connects, we execute the callback :
|
|
9018
9018
|
// CAUTION : MUST BE CALLED ONLY ONCE !
|
|
@@ -9358,7 +9358,7 @@ function getListManager(config){
|
|
|
9358
9358
|
|
|
9359
9359
|
|
|
9360
9360
|
|
|
9361
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-
|
|
9361
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-01:27:50)»*/
|
|
9362
9362
|
/*-----------------------------------------------------------------------------*/
|
|
9363
9363
|
|
|
9364
9364
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.59",
|
|
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)",
|