aotrautils-srv 0.0.678 → 0.0.679

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:16:50)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (21/10/2023-17:19:44)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5056,9 +5056,6 @@ class OpenAIAPIClient{
5056
5056
  //DBG
5057
5057
  lognow("------------self.apiURL:",self.apiURL);
5058
5058
 
5059
-
5060
- //return await (()=>{
5061
-
5062
5059
 
5063
5060
  const result=await this.launchRequest();
5064
5061
 
@@ -5066,12 +5063,12 @@ class OpenAIAPIClient{
5066
5063
  console.log("! RESULT text :",result);
5067
5064
 
5068
5065
  return result;
5069
- //})();
5070
5066
  }
5071
5067
 
5072
5068
 
5073
5069
  launchRequest(){
5074
5070
 
5071
+ const self=this;
5075
5072
  const p=new Promise((resolve,reject)=>{
5076
5073
 
5077
5074
  fetch(self.apiURL, {
@@ -5144,7 +5141,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5144
5141
 
5145
5142
 
5146
5143
 
5147
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-17:16:50)»*/
5144
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-17:19:44)»*/
5148
5145
  /*-----------------------------------------------------------------------------*/
5149
5146
 
5150
5147
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.678",
3
+ "version": "0.0.679",
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)",