aotrautils 0.0.1407 → 0.0.1408
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
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
|
2
2
|
|
3
|
-
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/04/2025-22:
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/04/2025-22:08:59)»*/
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
5
5
|
|
6
6
|
|
@@ -4894,7 +4894,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
|
|
4894
4894
|
|
4895
4895
|
|
4896
4896
|
|
4897
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/04/2025-22:
|
4897
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/04/2025-22:08:59)»*/
|
4898
4898
|
/*-----------------------------------------------------------------------------*/
|
4899
4899
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
4900
4900
|
*
|
@@ -13466,7 +13466,7 @@ getAORTACClient=function(clientId=getUUID(), serverNodeOrigin="ws://127.0.0.1:40
|
|
13466
13466
|
|
13467
13467
|
|
13468
13468
|
|
13469
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/04/2025-22:
|
13469
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/04/2025-22:08:59)»*/
|
13470
13470
|
/*-----------------------------------------------------------------------------*/
|
13471
13471
|
|
13472
13472
|
|
@@ -14705,7 +14705,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
14705
14705
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
14706
14706
|
|
14707
14707
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
14708
|
-
/*utils AI library associated with aotra version : «1_29072022-2359 (19/04/2025-22:
|
14708
|
+
/*utils AI library associated with aotra version : «1_29072022-2359 (19/04/2025-22:08:59)»*/
|
14709
14709
|
/*-----------------------------------------------------------------------------*/
|
14710
14710
|
|
14711
14711
|
|
@@ -14851,7 +14851,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
|
|
14851
14851
|
|
14852
14852
|
|
14853
14853
|
|
14854
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/04/2025-22:
|
14854
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (19/04/2025-22:08:59)»*/
|
14855
14855
|
/*-----------------------------------------------------------------------------*/
|
14856
14856
|
|
14857
14857
|
|
@@ -16618,7 +16618,7 @@ performHTTPRequest=function(completeURL,httpMethod="GET",headers={},requestBodyO
|
|
16618
16618
|
// TRACE
|
16619
16619
|
lognow("INFO : We are not running in a browser context (isNodeContext:"+isNodeContext+";typeof(require):"+(typeof(require))+"). Using browser library.");
|
16620
16620
|
|
16621
|
-
const body=((contains(["POST","PUT"],httpMethod) && requestBodyOrNamedArgs)?
|
16621
|
+
const body=((contains(["POST","PUT"],httpMethod) && requestBodyOrNamedArgs)?requestBodyOrNamedArgsStr:null);
|
16622
16622
|
return new Promise((resolve,reject)=>{
|
16623
16623
|
fetch(completeURL, {
|
16624
16624
|
method: httpMethod,
|
@@ -16747,7 +16747,7 @@ performHTTPRequest=function(completeURL,httpMethod="GET",headers={},requestBodyO
|
|
16747
16747
|
if(contains(["POST","PUT"],httpMethod)){
|
16748
16748
|
// (We need to stringify parameters or else we'll have an error :)
|
16749
16749
|
if(!empty(requestBodyOrNamedArgs)){
|
16750
|
-
request.write(
|
16750
|
+
request.write(requestBodyOrNamedArgsStr);
|
16751
16751
|
}
|
16752
16752
|
}
|
16753
16753
|
|
aotrautils/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "aotrautils",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.1408",
|
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)",
|