aotrautils 0.0.813 → 0.0.815
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 +7 -13
- 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 (22/02/2024-00:03:18)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -3736,13 +3736,7 @@ getUUID=function(mode=null){
|
|
|
3736
3736
|
window.instanciate=function(className=null){
|
|
3737
3737
|
let newObj={};
|
|
3738
3738
|
|
|
3739
|
-
if(!className) return newObj;
|
|
3740
|
-
|
|
3741
|
-
// DBG
|
|
3742
|
-
if(!className.startsWith)
|
|
3743
|
-
lognow(">>>>>>>>>>>>>>>>className:",className);
|
|
3744
|
-
|
|
3745
|
-
|
|
3739
|
+
if(!className || !className.startsWith) return newObj;
|
|
3746
3740
|
|
|
3747
3741
|
if(className.startsWith("HTML")){
|
|
3748
3742
|
if(typeof(document)!=="undefined"){
|
|
@@ -5289,7 +5283,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
|
5289
5283
|
|
|
5290
5284
|
|
|
5291
5285
|
|
|
5292
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (
|
|
5286
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (22/02/2024-00:03:18)»*/
|
|
5293
5287
|
/*-----------------------------------------------------------------------------*/
|
|
5294
5288
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5295
5289
|
*
|
|
@@ -13502,7 +13496,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13502
13496
|
|
|
13503
13497
|
|
|
13504
13498
|
|
|
13505
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (
|
|
13499
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (22/02/2024-00:03:18)»*/
|
|
13506
13500
|
/*-----------------------------------------------------------------------------*/
|
|
13507
13501
|
|
|
13508
13502
|
|
|
@@ -14741,7 +14735,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14741
14735
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14742
14736
|
|
|
14743
14737
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14744
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (
|
|
14738
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (22/02/2024-00:03:18)»*/
|
|
14745
14739
|
/*-----------------------------------------------------------------------------*/
|
|
14746
14740
|
|
|
14747
14741
|
|
|
@@ -16476,11 +16470,11 @@ performHTTPRequestNode=function(completeURL,httpMethod="GET",headers={},requestB
|
|
|
16476
16470
|
|
|
16477
16471
|
try{
|
|
16478
16472
|
const responseData=parseJSON(responseDataStr);
|
|
16479
|
-
resolve(responseData, response, responseDataStr);
|
|
16473
|
+
resolve( {responseData:responseData, response:response, responseDataStr:responseDataStr} );
|
|
16480
16474
|
}catch(error){
|
|
16481
16475
|
// DBG
|
|
16482
16476
|
lognow("WARN : Could not JSON parse the response data ! Must deal with the string:«"+responseDataStr+"»", error);
|
|
16483
|
-
resolve(
|
|
16477
|
+
resolve( {response:response, responseDataStr:responseDataStr} );
|
|
16484
16478
|
return;
|
|
16485
16479
|
}
|
|
16486
16480
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.815",
|
|
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)",
|