aotrautils 0.0.1761 → 0.0.1763

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/06/2025-02:19:39)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (14/06/2025-02:33:17)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -3947,7 +3947,7 @@ window.setByDottedPath=(obj, path, value)=>{
3947
3947
  if(!contains(path,".")){
3948
3948
  obj[path]=value;
3949
3949
  }
3950
-
3950
+
3951
3951
  const pathParts=path.split(".");
3952
3952
  let currentObject=obj;
3953
3953
  for(let i=0; i<pathParts.length-1; i++) {
@@ -3960,7 +3960,6 @@ window.setByDottedPath=(obj, path, value)=>{
3960
3960
  }
3961
3961
  currentObject=currentObject[part];
3962
3962
 
3963
-
3964
3963
  if(isString(currentObject)){
3965
3964
  // Here we are trying to set a value inside an object, but the attribute is actually a JSON string !
3966
3965
  try{
@@ -3976,9 +3975,8 @@ window.setByDottedPath=(obj, path, value)=>{
3976
3975
  }
3977
3976
  const lastAttributeNameInPath=pathParts[pathParts.length-1];
3978
3977
  currentObject[lastAttributeNameInPath]=value;
3979
-
3980
- };
3981
3978
 
3979
+ };
3982
3980
 
3983
3981
 
3984
3982
 
@@ -5011,7 +5009,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5011
5009
 
5012
5010
 
5013
5011
 
5014
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (14/06/2025-02:19:39)»*/
5012
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (14/06/2025-02:33:17)»*/
5015
5013
  /*-----------------------------------------------------------------------------*/
5016
5014
  /* ## Utility global methods in a browser (htmljs) client environment.
5017
5015
  *
@@ -13612,7 +13610,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
13612
13610
 
13613
13611
 
13614
13612
 
13615
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (14/06/2025-02:19:39)»*/
13613
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (14/06/2025-02:33:17)»*/
13616
13614
  /*-----------------------------------------------------------------------------*/
13617
13615
 
13618
13616
 
@@ -14851,7 +14849,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14851
14849
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14852
14850
 
14853
14851
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14854
- /*utils AI library associated with aotra version : «1_29072022-2359 (14/06/2025-02:19:39)»*/
14852
+ /*utils AI library associated with aotra version : «1_29072022-2359 (14/06/2025-02:33:17)»*/
14855
14853
  /*-----------------------------------------------------------------------------*/
14856
14854
 
14857
14855
 
@@ -14997,7 +14995,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
14997
14995
 
14998
14996
 
14999
14997
 
15000
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (14/06/2025-02:19:39)»*/
14998
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (14/06/2025-02:33:17)»*/
15001
14999
  /*-----------------------------------------------------------------------------*/
15002
15000
 
15003
15001
 
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1761",
3
+ "version": "0.0.1763",
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)",