aotrautils-srv 0.0.1270 → 0.0.1272

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 (03/04/2025-00:39:22)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (03/04/2025-00:58:44)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -493,6 +493,11 @@ window.aotestMethods.iterateOverScenariiInTest=function(test, doOnEachIteration=
493
493
  return loopResultI;
494
494
  }
495
495
 
496
+ // CAUTION !!! BUG : WE CANNOT USE foreach() INSIDE THE ITERATION FUNCTION OF THIS FUNCTION !!!
497
+ // USE THIS INSTEAD :
498
+ // for (const key of Object.keys(obj)) {
499
+ // const item=obj[key];
500
+ // }
496
501
  /*public*/window.aotestMethods.iterateOverScenarii=function(allTests, doOnIteration, testsType=null, filter=null, mustTerminate=null){
497
502
 
498
503
  if(testsType){
@@ -4897,7 +4902,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4897
4902
 
4898
4903
 
4899
4904
 
4900
- /*utils AI library associated with aotra version : «1_29072022-2359 (03/04/2025-00:39:22)»*/
4905
+ /*utils AI library associated with aotra version : «1_29072022-2359 (03/04/2025-00:58:44)»*/
4901
4906
  /*-----------------------------------------------------------------------------*/
4902
4907
 
4903
4908
 
@@ -5041,7 +5046,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
5041
5046
 
5042
5047
 
5043
5048
 
5044
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (03/04/2025-00:39:22)»*/
5049
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (03/04/2025-00:58:44)»*/
5045
5050
  /*-----------------------------------------------------------------------------*/
5046
5051
 
5047
5052
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1270",
3
+ "version": "0.0.1272",
4
4
  "main": "aotrautils-srv.build.js",
5
5
  "description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",