aotrautils 0.0.1158 → 0.0.1159

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 (19/03/2025-23:30:09)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -458,7 +458,7 @@ window.aotestMethods.iterateOverScenariiInTest=function(test, doOnEachIteration=
458
458
  if(!doOnEachIteration) return;
459
459
  return foreach(test,(scenario,scenarioName)=>{
460
460
  const result=doOnEachIteration(test,scenario,scenarioName);
461
- if(result) return result;
461
+ if(!nothing(result)) return result;
462
462
  },(scenario,scenarioName)=>{ return window.aotestMethods.isScenarioName(scenarioName); });
463
463
  };
464
464
 
@@ -1896,6 +1896,7 @@ window.nothing=function(nullable, insist=false){
1896
1896
  // classical (ie. non-associative) array...:
1897
1897
  // NO : USE empty() instead: if(isArray(nullable)) return (nullable.length <= 0);
1898
1898
 
1899
+ // Case parameter is something :
1899
1900
  return false;
1900
1901
  }
1901
1902
 
@@ -4815,7 +4816,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4815
4816
 
4816
4817
 
4817
4818
 
4818
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/03/2025-23:30:09)»*/
4819
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
4819
4820
  /*-----------------------------------------------------------------------------*/
4820
4821
  /* ## Utility global methods in a browser (htmljs) client environment.
4821
4822
  *
@@ -13387,7 +13388,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
13387
13388
 
13388
13389
 
13389
13390
 
13390
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/03/2025-23:30:09)»*/
13391
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
13391
13392
  /*-----------------------------------------------------------------------------*/
13392
13393
 
13393
13394
 
@@ -14626,7 +14627,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14626
14627
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14627
14628
 
14628
14629
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14629
- /*utils AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:30:09)»*/
14630
+ /*utils AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
14630
14631
  /*-----------------------------------------------------------------------------*/
14631
14632
 
14632
14633
 
@@ -14770,7 +14771,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
14770
14771
 
14771
14772
 
14772
14773
 
14773
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:30:09)»*/
14774
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:40:54)»*/
14774
14775
  /*-----------------------------------------------------------------------------*/
14775
14776
 
14776
14777
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1158",
3
+ "version": "0.0.1159",
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)",