aotrautils 0.0.1392 → 0.0.1394
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 +6 -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 (19/04/2025-21:22:51)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -4832,21 +4832,17 @@ window.parseJSON=function(strParam){
|
|
4832
4832
|
return jQuery.parseJSON(str);
|
4833
4833
|
}
|
4834
4834
|
throw new Error("ERROR : No JSON subsystem found to parse the JSON string.");
|
4835
|
-
|
4836
4835
|
} catch (error){
|
4837
4836
|
// TRACE
|
4838
4837
|
log("WARN : Error parsing string «" + strParam + "» as JSON. Trying last-chance fallback.");
|
4839
4838
|
try {
|
4840
4839
|
var obj=eval("(" + str + ")");
|
4841
|
-
|
4842
4840
|
return obj;
|
4843
4841
|
} catch (error2){
|
4844
|
-
|
4845
4842
|
// TRACE
|
4846
4843
|
log(error2);
|
4847
|
-
|
4844
|
+
throw new Error("ERROR : Error parsing string «" + strParam + "» as JSON. Last-chance fallback failed." +
|
4848
4845
|
" CHECK IF THERE IS ANY «'» SINGLE QUOTE CHARACTER IN YOUR LITERALS STRINGS, AND REPLACE IT WITH «´» ACUTE CHARACTER INSTEAD.");
|
4849
|
-
|
4850
4846
|
}
|
4851
4847
|
|
4852
4848
|
}
|
@@ -4898,7 +4894,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4898
4894
|
|
4899
4895
|
|
4900
4896
|
|
4901
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
4897
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/04/2025-21:22:51)»*/
|
4902
4898
|
/*-----------------------------------------------------------------------------*/
|
4903
4899
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
4904
4900
|
*
|
@@ -13470,7 +13466,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
|
|
13470
13466
|
|
13471
13467
|
|
13472
13468
|
|
13473
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
13469
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/04/2025-21:22:51)»*/
|
13474
13470
|
/*-----------------------------------------------------------------------------*/
|
13475
13471
|
|
13476
13472
|
|
@@ -14709,7 +14705,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
14709
14705
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
14710
14706
|
|
14711
14707
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
14712
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (
|
14708
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (19/04/2025-21:22:51)»*/
|
14713
14709
|
/*-----------------------------------------------------------------------------*/
|
14714
14710
|
|
14715
14711
|
|
@@ -14855,7 +14851,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
14855
14851
|
|
14856
14852
|
|
14857
14853
|
|
14858
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
14854
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/04/2025-21:22:51)»*/
|
14859
14855
|
/*-----------------------------------------------------------------------------*/
|
14860
14856
|
|
14861
14857
|
|
aotrautils/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1394",
|
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)",
|