aotrautils 0.0.216 → 0.0.219

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 (22/07/2022-00:49:55)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (22/07/2022-01:01:25)»*/
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 (22/07/2022-00:49:55)»*/
4831
+ /*utils CLIENT library associated with aotra version : «1.0.0.000 (22/07/2022-01:01:25)»*/
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 (22/07/2022-00:49:55)»*/
11681
+ /*utils GEOMETRY library associated with aotra version : «1.0.0.000 (22/07/2022-01:01:25)»*/
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 (22/07/2022-00:49:55)»*/
12887
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (22/07/2022-01:01:25)»*/
12888
12888
  /*-----------------------------------------------------------------------------*/
12889
12889
 
12890
12890
 
@@ -13368,6 +13368,10 @@ WebsocketImplementation={
13368
13368
  // nodeServerInstance.clientsSockets.push(clientSocket);
13369
13369
 
13370
13370
 
13371
+ // DBG
13372
+ clientSocket.clientId=getUUID();
13373
+
13374
+
13371
13375
  // DBG
13372
13376
  console.log("nodeServerInstance.receptionEntryPoints.length:",nodeServerInstance.receptionEntryPoints.length);
13373
13377
 
@@ -13591,7 +13595,7 @@ WebsocketImplementation={
13591
13595
 
13592
13596
  send:(channelName, data, clientsRoomsTag=null)=>{
13593
13597
 
13594
- let clientSocket=nodeClientInstance.clientSocket;
13598
+ const clientSocket=nodeClientInstance.clientSocket;
13595
13599
 
13596
13600
 
13597
13601
  // // DBG
@@ -13643,7 +13647,7 @@ WebsocketImplementation={
13643
13647
  if(nodeClientInstance.hasConnectEventFired) return;
13644
13648
  nodeClientInstance.hasConnectEventFired=true;
13645
13649
 
13646
- let clientSocket=nodeClientInstance.clientSocket;
13650
+ const clientSocket=nodeClientInstance.clientSocket;
13647
13651
 
13648
13652
  doOnConnection(nodeClientInstance, clientSocket);
13649
13653
 
@@ -13653,11 +13657,6 @@ WebsocketImplementation={
13653
13657
  });
13654
13658
 
13655
13659
 
13656
- ////
13657
- // TODO : FIXME
13658
-
13659
-
13660
-
13661
13660
  };
13662
13661
 
13663
13662
  if(!WebsocketImplementation.useSocketIOImplementation) nodeClientInstance.clientSocket.addEventListener("open",doAllOnConnection);
@@ -13757,7 +13756,7 @@ WebsocketImplementation={
13757
13756
 
13758
13757
  send:(channelName, data, clientsRoomsTag=null)=>{
13759
13758
 
13760
- let clientSocket=browserInstance.clientSocket;
13759
+ const clientSocket=browserInstance.clientSocket;
13761
13760
 
13762
13761
 
13763
13762
  // // DBG
@@ -13806,10 +13805,11 @@ WebsocketImplementation={
13806
13805
  if(browserInstance.hasConnectEventFired) return;
13807
13806
  browserInstance.hasConnectEventFired=true;
13808
13807
 
13808
+ const clientSocket=browserInstance.clientSocket;
13809
+
13810
+
13809
13811
  doOnConnection(browserInstance, clientSocket);
13810
13812
 
13811
- // DBG
13812
- clientSocket.clientId=getUUID();
13813
13813
 
13814
13814
  };
13815
13815
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.216",
3
+ "version": "0.0.219",
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)",