aotrautils-srv 0.0.1987 → 0.0.1988

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 (13/09/2026-22:17:27)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (13/09/2026-22:24:45)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5475,7 +5475,7 @@ window.AOTRAUTILS_LIB_IS_LOADED=true;
5475
5475
 
5476
5476
 
5477
5477
 
5478
- /*utils AI library associated with aotra version : «1_29072022-2359 (13/09/2026-22:17:27)»*/
5478
+ /*utils AI library associated with aotra version : «1_29072022-2359 (13/09/2026-22:24:45)»*/
5479
5479
  /*-----------------------------------------------------------------------------*/
5480
5480
 
5481
5481
 
@@ -5739,7 +5739,7 @@ window.getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProvider
5739
5739
 
5740
5740
 
5741
5741
 
5742
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (13/09/2026-22:17:27)»*/
5742
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (13/09/2026-22:24:45)»*/
5743
5743
  /*-----------------------------------------------------------------------------*/
5744
5744
 
5745
5745
 
@@ -9008,7 +9008,8 @@ window.performHTTPRequest=function(completeURL, httpMethod="GET", headers={}, re
9008
9008
 
9009
9009
  // Handle errors
9010
9010
  request.on("error", (error) => {
9011
- reject({error:error, httpStatus:null});
9011
+ const status=response.statusCode;
9012
+ reject({error:error, httpStatus:status});
9012
9013
  });
9013
9014
 
9014
9015
  // Not the same way to send parameters, with POST/PUT http method :
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1987",
3
+ "version": "0.0.1988",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "aotrautils-srv",
9
- "version": "0.0.1987",
9
+ "version": "0.0.1988",
10
10
  "license": "HGPL-1.0",
11
11
  "dependencies": {
12
12
  "atob": "^2.1.2",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1987",
3
+ "version": "0.0.1988",
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)",