aotrautils-srv 0.0.700 → 0.0.702

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-18:42:34)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (21/10/2023-18:45:59)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5121,10 +5121,10 @@ class OpenAIAPIClient{
5121
5121
  // }
5122
5122
 
5123
5123
 
5124
- launchRequest(AIAPIKey, messages){
5124
+ async launchRequest(AIAPIKey, messages){
5125
5125
 
5126
5126
  const self=this;
5127
- return fetch(self.apiURL, {
5127
+ return await fetch(self.apiURL, {
5128
5128
  method: "POST",
5129
5129
  headers: {
5130
5130
  "Authorization": "Bearer "+AIAPIKey,
@@ -5189,7 +5189,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5189
5189
 
5190
5190
 
5191
5191
 
5192
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-18:42:34)»*/
5192
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/10/2023-18:45:59)»*/
5193
5193
  /*-----------------------------------------------------------------------------*/
5194
5194
 
5195
5195
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.700",
3
+ "version": "0.0.702",
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)",