aotrautils-srv 0.0.910 → 0.0.912

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 (07/04/2024-16:01:40)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (07/04/2024-16:06:07)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5216,12 +5216,11 @@ class OpenAIAPIClient{
5216
5216
  "Content-Type": "application/json",
5217
5217
  };
5218
5218
  const parameters={
5219
- model:self.modelName,
5220
- messages,
5219
+ model:this.modelName,
5220
+ messages:messages,
5221
5221
  };
5222
5222
 
5223
- const self=this;
5224
- return performHTTPRequestNode(self.apiURL,"POST",headers,parameters).then((responseObj)=>{
5223
+ return performHTTPRequestNode(this.apiURL,"POST",headers,parameters).then((responseObj)=>{
5225
5224
  const responseData=responseObj.responseData;
5226
5225
  //const response=responseObj.response;
5227
5226
  //const responseDataStr=responseObj.responseDataStr;
@@ -5328,7 +5327,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5328
5327
 
5329
5328
 
5330
5329
 
5331
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/04/2024-16:01:40)»*/
5330
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/04/2024-16:06:07)»*/
5332
5331
  /*-----------------------------------------------------------------------------*/
5333
5332
 
5334
5333
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.910",
3
+ "version": "0.0.912",
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)",