aotrautils 0.0.232 → 0.0.235
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 +22 -4
- 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_29072022-2359 (30/07/2022-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (30/07/2022-14:07:39)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4827,7 +4827,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
4827
4827
|
|
|
4828
4828
|
|
|
4829
4829
|
|
|
4830
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (30/07/2022-
|
|
4830
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (30/07/2022-14:07:39)»*/
|
|
4831
4831
|
/*-----------------------------------------------------------------------------*/
|
|
4832
4832
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
4833
4833
|
*
|
|
@@ -11676,7 +11676,7 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
|
|
|
11676
11676
|
|
|
11677
11677
|
|
|
11678
11678
|
|
|
11679
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (30/07/2022-
|
|
11679
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (30/07/2022-14:07:39)»*/
|
|
11680
11680
|
/*-----------------------------------------------------------------------------*/
|
|
11681
11681
|
|
|
11682
11682
|
|
|
@@ -12881,7 +12881,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
12881
12881
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
12882
12882
|
|
|
12883
12883
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
12884
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (30/07/2022-
|
|
12884
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (30/07/2022-14:07:39)»*/
|
|
12885
12885
|
/*-----------------------------------------------------------------------------*/
|
|
12886
12886
|
|
|
12887
12887
|
|
|
@@ -13554,6 +13554,10 @@ WebsocketImplementation={
|
|
|
13554
13554
|
|
|
13555
13555
|
}
|
|
13556
13556
|
}
|
|
13557
|
+
|
|
13558
|
+
// DBG
|
|
13559
|
+
lognow("DEBUG : CLIENT : clientSocket created:",clientSocket);
|
|
13560
|
+
|
|
13557
13561
|
|
|
13558
13562
|
// NODE CLIENT INSTANCE :
|
|
13559
13563
|
const nodeClientInstance={
|
|
@@ -13650,6 +13654,9 @@ WebsocketImplementation={
|
|
|
13650
13654
|
|
|
13651
13655
|
onConnectionToServer:(doOnConnection)=>{
|
|
13652
13656
|
|
|
13657
|
+
// DBG
|
|
13658
|
+
lognow("DEBUG : CLIENT : setting up onConnectionToServer.");
|
|
13659
|
+
|
|
13653
13660
|
const doAllOnConnection=()=>{
|
|
13654
13661
|
|
|
13655
13662
|
// To avoid triggering this event several times, depending on the implementation :
|
|
@@ -13658,6 +13665,11 @@ WebsocketImplementation={
|
|
|
13658
13665
|
|
|
13659
13666
|
const clientSocket=nodeClientInstance.clientSocket;
|
|
13660
13667
|
|
|
13668
|
+
|
|
13669
|
+
// DBG
|
|
13670
|
+
lognow("DEBUG : CLIENT : doOnConnection !");
|
|
13671
|
+
|
|
13672
|
+
|
|
13661
13673
|
doOnConnection(nodeClientInstance, clientSocket);
|
|
13662
13674
|
|
|
13663
13675
|
// We execute the listeners entry points registration :
|
|
@@ -13667,11 +13679,17 @@ WebsocketImplementation={
|
|
|
13667
13679
|
|
|
13668
13680
|
|
|
13669
13681
|
};
|
|
13682
|
+
|
|
13670
13683
|
|
|
13671
13684
|
if(!WebsocketImplementation.useSocketIOImplementation) nodeClientInstance.clientSocket.addEventListener("open",doAllOnConnection);
|
|
13672
13685
|
else nodeClientInstance.clientSocket.on("connect",doAllOnConnection);
|
|
13673
13686
|
|
|
13674
13687
|
|
|
13688
|
+
// DBG
|
|
13689
|
+
lognow("DEBUG : CLIENT : nodeClientInstance.clientSocket.on(connect)");
|
|
13690
|
+
|
|
13691
|
+
|
|
13692
|
+
|
|
13675
13693
|
},
|
|
13676
13694
|
|
|
13677
13695
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.235",
|
|
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)",
|