aotrautils 0.0.1841 → 0.0.1842
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 +15 -8
- 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 (09/04/2026-01:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (09/04/2026-01:57:45)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4131,13 +4131,20 @@ window.instanciate=function(className=null){
|
|
|
4131
4131
|
if(!classInWindow){
|
|
4132
4132
|
// TRACE
|
|
4133
4133
|
lognow(`ERROR : CAUTION : «${className}» class does not seem to be registered in the global object. Cannot instanciate it.`);
|
|
4134
|
-
|
|
4134
|
+
|
|
4135
|
+
// TODO : FIXME : I don't like that at all, to use eval(...), but on today I know of no other solution... :
|
|
4136
|
+
newObj=eval("new "+className+"();");
|
|
4137
|
+
|
|
4135
4138
|
}
|
|
4136
4139
|
}else{
|
|
4137
4140
|
// TRACE
|
|
4138
4141
|
lognow(`ERROR : CAUTION : «${className}» class does not seem to be accessible in the globalThis nor window object, and global object does not exist. Cannot instanciate it.`);
|
|
4139
|
-
|
|
4142
|
+
|
|
4143
|
+
// TODO : FIXME : I don't like that at all, to use eval(...), but on today I know of no other solution... :
|
|
4144
|
+
newObj=eval("new "+className+"();");
|
|
4145
|
+
|
|
4140
4146
|
}
|
|
4147
|
+
return newObj;
|
|
4141
4148
|
}
|
|
4142
4149
|
}
|
|
4143
4150
|
|
|
@@ -5402,7 +5409,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5402
5409
|
|
|
5403
5410
|
|
|
5404
5411
|
|
|
5405
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (09/04/2026-01:
|
|
5412
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (09/04/2026-01:57:45)»*/
|
|
5406
5413
|
/*-----------------------------------------------------------------------------*/
|
|
5407
5414
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5408
5415
|
*
|
|
@@ -13228,7 +13235,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13228
13235
|
|
|
13229
13236
|
|
|
13230
13237
|
|
|
13231
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (09/04/2026-01:
|
|
13238
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (09/04/2026-01:57:45)»*/
|
|
13232
13239
|
/*-----------------------------------------------------------------------------*/
|
|
13233
13240
|
|
|
13234
13241
|
|
|
@@ -14557,10 +14564,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14557
14564
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14558
14565
|
|
|
14559
14566
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14560
|
-
/*utils 3D library associated with aotra version : «1_29072022-2359 (09/04/2026-01:
|
|
14567
|
+
/*utils 3D library associated with aotra version : «1_29072022-2359 (09/04/2026-01:57:45)»*/
|
|
14561
14568
|
/*-----------------------------------------------------------------------------*/
|
|
14562
14569
|
|
|
14563
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (09/04/2026-01:
|
|
14570
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (09/04/2026-01:57:45)»*/
|
|
14564
14571
|
/*-----------------------------------------------------------------------------*/
|
|
14565
14572
|
|
|
14566
14573
|
|
|
@@ -14706,7 +14713,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
|
14706
14713
|
|
|
14707
14714
|
|
|
14708
14715
|
|
|
14709
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (09/04/2026-01:
|
|
14716
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (09/04/2026-01:57:45)»*/
|
|
14710
14717
|
/*-----------------------------------------------------------------------------*/
|
|
14711
14718
|
|
|
14712
14719
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1842",
|
|
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)",
|