aotrautils-srv 0.0.625 → 0.0.627
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.
|
@@ -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:35)»*/
|
|
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 SERVER library associated with aotra version : «1_29072022-2359 (02/10/2023-19:46:29)»*/
|
|
5134
|
+
/*utils SERVER library associated with aotra version : «1_29072022-2359 (02/10/2023-20:05:35)»*/
|
|
5132
5135
|
/*-----------------------------------------------------------------------------*/
|
|
5133
5136
|
|
|
5134
5137
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.627",
|
|
4
4
|
"main": "aotrautils-srv.build.js",
|
|
5
5
|
"description": "A library for vanilla javascript utils (server-side) used in aotra javascript CMS",
|
|
6
6
|
"author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",
|