aotrautils 0.0.1160 → 0.0.1161

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:52:43)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -2049,7 +2049,7 @@ window.foreach=function(arrayOfValues,doOnEachFunction,
2049
2049
  if(filterFunction && !filterFunction(item,i)) continue;
2050
2050
  }
2051
2051
  var returnedObjectOrCommand=doOnEachFunction(item,i);
2052
- if(returnedObjectOrCommand){
2052
+ if(!nothing(returnedObjectOrCommand)){
2053
2053
  if(returnedObjectOrCommand==="continue"){
2054
2054
  continue;
2055
2055
  }else if(returnedObjectOrCommand==="break" || returnedObjectOrCommand==="return"){
@@ -2112,7 +2112,7 @@ window.foreach=function(arrayOfValues,doOnEachFunction,
2112
2112
  if(filterFunction && !filterFunction(item,key)) continue;
2113
2113
  }
2114
2114
  var returnedObjectOrCommand=doOnEachFunction(item,key,cnt);
2115
- if(returnedObjectOrCommand){
2115
+ if(!nothing(returnedObjectOrCommand)){
2116
2116
  if(returnedObjectOrCommand==="continue"){
2117
2117
  continue;
2118
2118
  }else if(returnedObjectOrCommand==="break" || returnedObjectOrCommand==="return"){
@@ -4819,7 +4819,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4819
4819
 
4820
4820
 
4821
4821
 
4822
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
4822
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
4823
4823
  /*-----------------------------------------------------------------------------*/
4824
4824
  /* ## Utility global methods in a browser (htmljs) client environment.
4825
4825
  *
@@ -13391,7 +13391,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
13391
13391
 
13392
13392
 
13393
13393
 
13394
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
13394
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
13395
13395
  /*-----------------------------------------------------------------------------*/
13396
13396
 
13397
13397
 
@@ -14630,7 +14630,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14630
14630
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14631
14631
 
14632
14632
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14633
- /*utils AI library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
14633
+ /*utils AI library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
14634
14634
  /*-----------------------------------------------------------------------------*/
14635
14635
 
14636
14636
 
@@ -14774,7 +14774,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
14774
14774
 
14775
14775
 
14776
14776
 
14777
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (19/03/2025-23:52:43)»*/
14777
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (20/03/2025-13:33:18)»*/
14778
14778
  /*-----------------------------------------------------------------------------*/
14779
14779
 
14780
14780
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1160",
3
+ "version": "0.0.1161",
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)",