aotrautils 0.0.1836 → 0.0.1837
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 +13 -6
- 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 (05/04/2026-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (05/04/2026-01:12:32)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -4116,6 +4116,13 @@ window.instanciate=function(className=null){
|
|
|
4116
4116
|
// If class name is a simple array, a simple «[]» is enough :
|
|
4117
4117
|
if(className==="Array") return [];
|
|
4118
4118
|
|
|
4119
|
+
|
|
4120
|
+
if(!window[className]){
|
|
4121
|
+
// TRACE
|
|
4122
|
+
lognow(`WARN : CAUTION : «${className}» class does not seem to be registered in the global window object. This can lead to problems instanciating it in a pure nodejs context.`);
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
|
|
4119
4126
|
try{
|
|
4120
4127
|
try{
|
|
4121
4128
|
newObj=Reflect.construct(window[className]);
|
|
@@ -5140,7 +5147,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5140
5147
|
|
|
5141
5148
|
|
|
5142
5149
|
|
|
5143
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (05/04/2026-
|
|
5150
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (05/04/2026-01:12:32)»*/
|
|
5144
5151
|
/*-----------------------------------------------------------------------------*/
|
|
5145
5152
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5146
5153
|
*
|
|
@@ -13220,7 +13227,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13220
13227
|
|
|
13221
13228
|
|
|
13222
13229
|
|
|
13223
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (05/04/2026-
|
|
13230
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (05/04/2026-01:12:32)»*/
|
|
13224
13231
|
/*-----------------------------------------------------------------------------*/
|
|
13225
13232
|
|
|
13226
13233
|
|
|
@@ -14549,10 +14556,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14549
14556
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14550
14557
|
|
|
14551
14558
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14552
|
-
/*utils 3D library associated with aotra version : «1_29072022-2359 (05/04/2026-
|
|
14559
|
+
/*utils 3D library associated with aotra version : «1_29072022-2359 (05/04/2026-01:12:32)»*/
|
|
14553
14560
|
/*-----------------------------------------------------------------------------*/
|
|
14554
14561
|
|
|
14555
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (05/04/2026-
|
|
14562
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (05/04/2026-01:12:32)»*/
|
|
14556
14563
|
/*-----------------------------------------------------------------------------*/
|
|
14557
14564
|
|
|
14558
14565
|
|
|
@@ -14698,7 +14705,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
|
14698
14705
|
|
|
14699
14706
|
|
|
14700
14707
|
|
|
14701
|
-
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (05/04/2026-
|
|
14708
|
+
/*utils CONSOLE library associated with aotra version : «1_29072022-2359 (05/04/2026-01:12:32)»*/
|
|
14702
14709
|
/*-----------------------------------------------------------------------------*/
|
|
14703
14710
|
|
|
14704
14711
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.1837",
|
|
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)",
|