aotrautils 0.0.1624 → 0.0.1625

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 (14/05/2025-15:44:46)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (14/05/2025-15:59:45)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4943,7 +4943,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4943
4943
 
4944
4944
 
4945
4945
 
4946
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (14/05/2025-15:44:46)»*/
4946
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (14/05/2025-15:59:45)»*/
4947
4947
  /*-----------------------------------------------------------------------------*/
4948
4948
  /* ## Utility global methods in a browser (htmljs) client environment.
4949
4949
  *
@@ -5037,10 +5037,6 @@ window.arePathsSimilar=function(path1, path2){
5037
5037
  const str1=getLastPathConcreteSegment(path1.trim().toLowerCase());
5038
5038
  const str2=getLastPathConcreteSegment(path2.trim().toLowerCase());
5039
5039
 
5040
- //const segments1=getPathConcreteSegments(path1.trim().toLowerCase());
5041
- //const segments2=getPathConcreteSegments(path2.trim().toLowerCase());
5042
- //return foreach(segments1, str1=>{
5043
- // return foreach(segments2, str2=>{
5044
5040
  if(!str1 && !str2) return false;
5045
5041
  if(!str1 && str2) return false;
5046
5042
  if(str1 && !str2) return false;
@@ -5052,9 +5048,7 @@ window.arePathsSimilar=function(path1, path2){
5052
5048
  if(str2.includes(sub)) return true;
5053
5049
  }
5054
5050
  }
5055
- return false;
5056
- // });
5057
- //});
5051
+ return false;
5058
5052
  }
5059
5053
 
5060
5054
  window.getLastPathConcreteSegment=function(urlPath){
@@ -13552,7 +13546,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
13552
13546
 
13553
13547
 
13554
13548
 
13555
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (14/05/2025-15:44:46)»*/
13549
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (14/05/2025-15:59:45)»*/
13556
13550
  /*-----------------------------------------------------------------------------*/
13557
13551
 
13558
13552
 
@@ -14791,7 +14785,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14791
14785
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14792
14786
 
14793
14787
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14794
- /*utils AI library associated with aotra version : «1_29072022-2359 (14/05/2025-15:44:46)»*/
14788
+ /*utils AI library associated with aotra version : «1_29072022-2359 (14/05/2025-15:59:45)»*/
14795
14789
  /*-----------------------------------------------------------------------------*/
14796
14790
 
14797
14791
 
@@ -14937,7 +14931,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
14937
14931
 
14938
14932
 
14939
14933
 
14940
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (14/05/2025-15:44:46)»*/
14934
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (14/05/2025-15:59:45)»*/
14941
14935
  /*-----------------------------------------------------------------------------*/
14942
14936
 
14943
14937
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1624",
3
+ "version": "0.0.1625",
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)",