aotrautils-srv 0.0.1589 → 0.0.1590

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 (11/05/2025-14:58:41)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (11/05/2025-15:03:26)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4895,7 +4895,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4895
4895
 
4896
4896
 
4897
4897
 
4898
- /*utils AI library associated with aotra version : «1_29072022-2359 (11/05/2025-14:58:41)»*/
4898
+ /*utils AI library associated with aotra version : «1_29072022-2359 (11/05/2025-15:03:26)»*/
4899
4899
  /*-----------------------------------------------------------------------------*/
4900
4900
 
4901
4901
 
@@ -5041,7 +5041,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
5041
5041
 
5042
5042
 
5043
5043
 
5044
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (11/05/2025-14:58:41)»*/
5044
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (11/05/2025-15:03:26)»*/
5045
5045
  /*-----------------------------------------------------------------------------*/
5046
5046
 
5047
5047
 
@@ -6089,7 +6089,7 @@ performHTTPRequest=function(completeURL, httpMethod="GET", headers={}, requestBo
6089
6089
  // DBG
6090
6090
  lognow("unformatted API URL : "+completeURL);
6091
6091
 
6092
- completeURL=appendGetParameters(completeURL, requestBodyOrNamedArgs);
6092
+ completeURL=appendGetParameters(completeURL, isString(requestBodyOrNamedArgs)?parseJSON(requestBodyOrNamedArgs):requestBodyOrNamedArgs);
6093
6093
 
6094
6094
  // DBG
6095
6095
  lognow("formatted API URL : "+completeURL);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1589",
3
+ "version": "0.0.1590",
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)",