aotrautils-srv 0.0.626 → 0.0.628

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-19:48:58)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (02/10/2023-20:09:03)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5115,7 +5115,10 @@ class OpenAIAPIClient{
5115
5115
  }
5116
5116
 
5117
5117
 
5118
-
5118
+ // Nodejs compatibility :
5119
+ getOpenAIAPIClient=(modelName, apiURL, agentRole, prompt)=>{
5120
+ return new OpenAIAPIClient(modelName, apiURL, agentRole, prompt);
5121
+ };
5119
5122
 
5120
5123
 
5121
5124
 
@@ -5127,8 +5130,9 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5127
5130
 
5128
5131
 
5129
5132
 
5133
+
5130
5134
 
5131
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (02/10/2023-19:48:58)»*/
5135
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (02/10/2023-20:09:03)»*/
5132
5136
  /*-----------------------------------------------------------------------------*/
5133
5137
 
5134
5138
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.626",
3
+ "version": "0.0.628",
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)",