aotrautils-srv 0.0.677 → 0.0.678

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 (21/10/2023-17:13:32)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (21/10/2023-17:16:50)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5045,7 +5045,7 @@ class OpenAIAPIClient{
5045
5045
  this.prompt=prompt;
5046
5046
  }
5047
5047
 
5048
- getAnswer(AIAPIKey, additionalPrompt){
5048
+ async getAnswer(AIAPIKey, additionalPrompt){
5049
5049
 
5050
5050
  const self=this;
5051
5051
  const messages = [
@@ -5070,7 +5070,7 @@ class OpenAIAPIClient{
5070
5070
  }
5071
5071
 
5072
5072
 
5073
- async launchRequest(){
5073
+ launchRequest(){
5074
5074
 
5075
5075
  const p=new Promise((resolve,reject)=>{
5076
5076
 
@@ -5144,7 +5144,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5144
5144
 
5145
5145
 
5146
5146
 
5147
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-17:13:32)»*/
5147
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-17:16:50)»*/
5148
5148
  /*-----------------------------------------------------------------------------*/
5149
5149
 
5150
5150
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.677",
3
+ "version": "0.0.678",
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)",