aotrautils 0.0.1595 → 0.0.1597

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 (12/05/2025-23:41:39)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (13/05/2025-00:29:57)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -480,18 +480,14 @@ window.aotestMethods.getNumberOfScenariiInGlobal=function(allTestsBagForClientRe
480
480
  return currentScenariiNumber;
481
481
  }
482
482
  window.aotestMethods.iterateOverScenarii=function(allTests, doOnIteration, testsType=null, filterFunction=null, mustTerminateFunction=null){
483
- if(testsType){
484
- if(testsType==="*"){
485
- return foreach(allTests,(allTestsByType,t)=>{
486
- const loopResult=window.aotestMethods.doForAllTestsByType(allTestsByType, doOnIteration, filterFunction, mustTerminateFunction);
487
- if(loopResult)
488
- return loopResult;
489
- });
490
- }
491
- const allTestsByType=allTests[testsType];
492
- return window.aotestMethods.doForAllTestsByType(allTestsByType, doOnIteration, filterFunction, mustTerminateFunction);
483
+ if(!testsType || testsType==="*"){
484
+ return foreach(allTests,(allTestsByType,t)=>{
485
+ const loopResult=window.aotestMethods.doForAllTestsByType(allTestsByType, doOnIteration, filterFunction, mustTerminateFunction);
486
+ if(loopResult)
487
+ return loopResult;
488
+ });
493
489
  }
494
- const allTestsByType=allTests;
490
+ const allTestsByType=allTests[testsType];
495
491
  return window.aotestMethods.doForAllTestsByType(allTestsByType, doOnIteration, filterFunction, mustTerminateFunction);
496
492
  };
497
493
 
@@ -583,7 +579,6 @@ window.aotestMethods.iterateOverScenariiInSingleTest=function(test, doOnEachIter
583
579
  scenario[itemNameOrIndex]=doOnIterationForValue(item, itemNameOrIndex, valuePath);
584
580
  }
585
581
  }
586
-
587
582
  });
588
583
 
589
584
  };
@@ -4926,7 +4921,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4926
4921
 
4927
4922
 
4928
4923
 
4929
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (12/05/2025-23:41:39)»*/
4924
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (13/05/2025-00:29:57)»*/
4930
4925
  /*-----------------------------------------------------------------------------*/
4931
4926
  /* ## Utility global methods in a browser (htmljs) client environment.
4932
4927
  *
@@ -13528,7 +13523,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
13528
13523
 
13529
13524
 
13530
13525
 
13531
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (12/05/2025-23:41:39)»*/
13526
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (13/05/2025-00:29:57)»*/
13532
13527
  /*-----------------------------------------------------------------------------*/
13533
13528
 
13534
13529
 
@@ -14767,7 +14762,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14767
14762
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14768
14763
 
14769
14764
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14770
- /*utils AI library associated with aotra version : «1_29072022-2359 (12/05/2025-23:41:39)»*/
14765
+ /*utils AI library associated with aotra version : «1_29072022-2359 (13/05/2025-00:29:57)»*/
14771
14766
  /*-----------------------------------------------------------------------------*/
14772
14767
 
14773
14768
 
@@ -14913,7 +14908,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
14913
14908
 
14914
14909
 
14915
14910
 
14916
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (12/05/2025-23:41:39)»*/
14911
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (13/05/2025-00:29:57)»*/
14917
14912
  /*-----------------------------------------------------------------------------*/
14918
14913
 
14919
14914
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1595",
3
+ "version": "0.0.1597",
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)",