aotrautils 0.0.1752 → 0.0.1754
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.
- aotrautils/aotrautils.build.js +11 -10
- aotrautils/package.json +1 -1
aotrautils/aotrautils.build.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (13/06/2025-23:25:36)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -3948,16 +3948,17 @@ window.setByDottedPath=(obj, path, value)=>{
|
|
3948
3948
|
obj[path]=value;
|
3949
3949
|
}
|
3950
3950
|
let currentObject=obj;
|
3951
|
-
const
|
3952
|
-
for(let i=0; i<
|
3953
|
-
const part=
|
3951
|
+
const pathParts=path.split(".");
|
3952
|
+
for(let i=0; i<pathParts.length-1; i++) {
|
3953
|
+
const part=pathParts[i];
|
3954
3954
|
if(!(part in currentObject)) {
|
3955
|
-
const nextIsIndex=(!isNaN(
|
3955
|
+
const nextIsIndex=(!isNaN(pathParts[i + 1]));
|
3956
3956
|
currentObject[part]=(nextIsIndex ? [] : {});
|
3957
3957
|
}
|
3958
3958
|
currentObject=currentObject[part];
|
3959
3959
|
}
|
3960
|
-
|
3960
|
+
const lastAttributeNameInPath=pathParts[pathParts.length - 1];
|
3961
|
+
currentObject[lastAttributeNameInPath]=value;
|
3961
3962
|
};
|
3962
3963
|
|
3963
3964
|
|
@@ -4991,7 +4992,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4991
4992
|
|
4992
4993
|
|
4993
4994
|
|
4994
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
4995
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (13/06/2025-23:25:36)»*/
|
4995
4996
|
/*-----------------------------------------------------------------------------*/
|
4996
4997
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
4997
4998
|
*
|
@@ -13592,7 +13593,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
|
|
13592
13593
|
|
13593
13594
|
|
13594
13595
|
|
13595
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
13596
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (13/06/2025-23:25:36)»*/
|
13596
13597
|
/*-----------------------------------------------------------------------------*/
|
13597
13598
|
|
13598
13599
|
|
@@ -14831,7 +14832,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
14831
14832
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
14832
14833
|
|
14833
14834
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
14834
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
14835
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (13/06/2025-23:25:36)»*/
|
14835
14836
|
/*-----------------------------------------------------------------------------*/
|
14836
14837
|
|
14837
14838
|
|
@@ -14977,7 +14978,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
14977
14978
|
|
14978
14979
|
|
14979
14980
|
|
14980
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (
|
14981
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (13/06/2025-23:25:36)»*/
|
14981
14982
|
/*-----------------------------------------------------------------------------*/
|
14982
14983
|
|
14983
14984
|
|
aotrautils/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1754",
|
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)",
|