aotrautils-srv 0.0.1359 → 0.0.1361

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 (12/04/2025-02:41:55)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (12/04/2025-02:44:23)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4898,7 +4898,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4898
4898
 
4899
4899
 
4900
4900
 
4901
- /*utils AI library associated with aotra version : «1_29072022-2359 (12/04/2025-02:41:55)»*/
4901
+ /*utils AI library associated with aotra version : «1_29072022-2359 (12/04/2025-02:44:23)»*/
4902
4902
  /*-----------------------------------------------------------------------------*/
4903
4903
 
4904
4904
 
@@ -5042,7 +5042,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
5042
5042
 
5043
5043
 
5044
5044
 
5045
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (12/04/2025-02:41:55)»*/
5045
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (12/04/2025-02:44:23)»*/
5046
5046
  /*-----------------------------------------------------------------------------*/
5047
5047
 
5048
5048
 
@@ -6895,7 +6895,7 @@ performHTTPRequest=function(completeURL,httpMethod="GET",headers={},requestBodyO
6895
6895
  }
6896
6896
 
6897
6897
  // CAUTION : .request(...) => statusCode, .fetch(...) => status (performHTTPRequest(...) uses fetch(...))
6898
- const status=response.status;
6898
+ const status=response.statusCode;
6899
6899
  if(status!=200){
6900
6900
  const error=nonull(response.statusMessage, "No error message for error code "+status);
6901
6901
  // TRACE
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1359",
3
+ "version": "0.0.1361",
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)",