aotrautils 0.0.258 → 0.0.259

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_29072022-2359 (27/09/2022-01:30:21)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (27/09/2022-01:39:12)»*/
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 (27/09/2022-01:30:21)»*/
4830
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (27/09/2022-01:39:12)»*/
4831
4831
  /*-----------------------------------------------------------------------------*/
4832
4832
  /* ## Utility global methods in a browser (htmljs) client environment.
4833
4833
  *
@@ -12031,7 +12031,7 @@ createOritaMainClient=function(
12031
12031
  oritaClient.client.socketToServer.receive("communication", (message)=>{
12032
12032
 
12033
12033
  // We execute eventual on message events listeners :
12034
- foreach(onCommunicationEventListeners, (e)=>{
12034
+ foreach(oritaClient.onCommunicationEventListeners, (e)=>{
12035
12035
  if(!e.condition || e.condition(message)) e.execute(message);
12036
12036
  });
12037
12037
 
@@ -12051,7 +12051,7 @@ createOritaMainClient=function(
12051
12051
  oritaClient.microClientsInfos={};
12052
12052
  oritaClient.inputsGPIO={};
12053
12053
  oritaClient.outputsGPIO={};
12054
-
12054
+ oritaClient.onCommunicationEventListeners=onCommunicationEventListeners;
12055
12055
 
12056
12056
 
12057
12057
 
@@ -12945,7 +12945,7 @@ createOritaMicroClient=function(url, port, isNode=false){
12945
12945
  };
12946
12946
 
12947
12947
 
12948
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (27/09/2022-01:30:21)»*/
12948
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (27/09/2022-01:39:12)»*/
12949
12949
  /*-----------------------------------------------------------------------------*/
12950
12950
 
12951
12951
 
@@ -14173,7 +14173,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14173
14173
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14174
14174
 
14175
14175
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14176
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/09/2022-01:30:21)»*/
14176
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (27/09/2022-01:39:12)»*/
14177
14177
  /*-----------------------------------------------------------------------------*/
14178
14178
 
14179
14179
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.258",
3
+ "version": "0.0.259",
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)",