aotrautils 0.0.629 → 0.0.631
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 (02/10/2023-
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1_29072022-2359 (02/10/2023-20:05:31)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -5052,7 +5052,7 @@ window.stringifyObject=function(objectToStringify){
|
|
|
5052
5052
|
|
|
5053
5053
|
|
|
5054
5054
|
|
|
5055
|
-
class
|
|
5055
|
+
class OpenAIAPIClient{
|
|
5056
5056
|
|
|
5057
5057
|
construct(modelName, apiURL, agentRole, prompt){
|
|
5058
5058
|
|
|
@@ -5126,9 +5126,12 @@ class OpenAPIClient{
|
|
|
5126
5126
|
AOTRAUTILS_LIB_IS_LOADED=true;
|
|
5127
5127
|
|
|
5128
5128
|
|
|
5129
|
+
// Nodejs compatibility :
|
|
5130
|
+
if(typeof(module)!=="undefined")
|
|
5131
|
+
module.exports = { OpenAIAPIClient : OpenAIAPIClient };
|
|
5132
|
+
|
|
5129
5133
|
|
|
5130
|
-
|
|
5131
|
-
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (02/10/2023-19:46:25)»*/
|
|
5134
|
+
/*utils CLIENT library associated with aotra version : «1_29072022-2359 (02/10/2023-20:05:31)»*/
|
|
5132
5135
|
/*-----------------------------------------------------------------------------*/
|
|
5133
5136
|
/* ## Utility global methods in a browser (htmljs) client environment.
|
|
5134
5137
|
*
|
|
@@ -13363,7 +13366,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
|
|
|
13363
13366
|
|
|
13364
13367
|
|
|
13365
13368
|
|
|
13366
|
-
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (02/10/2023-
|
|
13369
|
+
/*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (02/10/2023-20:05:31)»*/
|
|
13367
13370
|
/*-----------------------------------------------------------------------------*/
|
|
13368
13371
|
|
|
13369
13372
|
|
|
@@ -14602,7 +14605,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
|
|
|
14602
14605
|
// MUST REMAIN AT THE END OF THIS LIBRARY FILE !
|
|
14603
14606
|
|
|
14604
14607
|
AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
|
|
14605
|
-
/*utils SERVER library associated with aotra version : «1_29072022-2359 (02/10/2023-
|
|
14608
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (02/10/2023-20:05:31)»*/
|
|
14606
14609
|
/*-----------------------------------------------------------------------------*/
|
|
14607
14610
|
|
|
14608
14611
|
|
aotrautils/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.631",
|
|
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)",
|