aotrautils-srv 0.0.806 → 0.0.808

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/02/2024-23:52:00)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (22/02/2024-00:04:35)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5283,7 +5283,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5283
5283
 
5284
5284
 
5285
5285
 
5286
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (21/02/2024-23:52:00)»*/
5286
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (22/02/2024-00:04:35)»*/
5287
5287
  /*-----------------------------------------------------------------------------*/
5288
5288
 
5289
5289
 
@@ -7018,11 +7018,11 @@ performHTTPRequestNode=function(completeURL,httpMethod="GET",headers={},requestB
7018
7018
 
7019
7019
  try{
7020
7020
  const responseData=parseJSON(responseDataStr);
7021
- resolve(responseData, response, responseDataStr);
7021
+ resolve( {responseData:responseData, response:response, responseDataStr:responseDataStr} );
7022
7022
  }catch(error){
7023
7023
  // DBG
7024
7024
  lognow("WARN : Could not JSON parse the response data ! Must deal with the string:«"+responseDataStr+"»", error);
7025
- resolve(responseDataStr, response, responseDataStr);
7025
+ resolve( {response:response, responseDataStr:responseDataStr} );
7026
7026
  return;
7027
7027
  }
7028
7028
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.806",
3
+ "version": "0.0.808",
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)",