aotrautils 0.0.216 → 0.0.217

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-00:54:19)»*/
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-00:54:19)»*/
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-00:54:19)»*/
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-00:54:19)»*/
12888
12888
  /*-----------------------------------------------------------------------------*/
12889
12889
 
12890
12890
 
@@ -13591,7 +13591,7 @@ WebsocketImplementation={
13591
13591
 
13592
13592
  send:(channelName, data, clientsRoomsTag=null)=>{
13593
13593
 
13594
- let clientSocket=nodeClientInstance.clientSocket;
13594
+ const clientSocket=nodeClientInstance.clientSocket;
13595
13595
 
13596
13596
 
13597
13597
  // // DBG
@@ -13643,7 +13643,10 @@ WebsocketImplementation={
13643
13643
  if(nodeClientInstance.hasConnectEventFired) return;
13644
13644
  nodeClientInstance.hasConnectEventFired=true;
13645
13645
 
13646
- let clientSocket=nodeClientInstance.clientSocket;
13646
+ const clientSocket=nodeClientInstance.clientSocket;
13647
+
13648
+ // DBG
13649
+ clientSocket.clientId=getUUID();
13647
13650
 
13648
13651
  doOnConnection(nodeClientInstance, clientSocket);
13649
13652
 
@@ -13653,11 +13656,6 @@ WebsocketImplementation={
13653
13656
  });
13654
13657
 
13655
13658
 
13656
- ////
13657
- // TODO : FIXME
13658
-
13659
-
13660
-
13661
13659
  };
13662
13660
 
13663
13661
  if(!WebsocketImplementation.useSocketIOImplementation) nodeClientInstance.clientSocket.addEventListener("open",doAllOnConnection);
@@ -13757,7 +13755,7 @@ WebsocketImplementation={
13757
13755
 
13758
13756
  send:(channelName, data, clientsRoomsTag=null)=>{
13759
13757
 
13760
- let clientSocket=browserInstance.clientSocket;
13758
+ const clientSocket=browserInstance.clientSocket;
13761
13759
 
13762
13760
 
13763
13761
  // // DBG
@@ -13806,10 +13804,13 @@ WebsocketImplementation={
13806
13804
  if(browserInstance.hasConnectEventFired) return;
13807
13805
  browserInstance.hasConnectEventFired=true;
13808
13806
 
13809
- doOnConnection(browserInstance, clientSocket);
13807
+ const clientSocket=browserInstance.clientSocket;
13810
13808
 
13811
13809
  // DBG
13812
13810
  clientSocket.clientId=getUUID();
13811
+
13812
+ doOnConnection(browserInstance, clientSocket);
13813
+
13813
13814
 
13814
13815
  };
13815
13816
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.216",
3
+ "version": "0.0.217",
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)",