aotrautils-srv 0.0.1669 → 0.0.1671

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 (01/06/2025-03:25:26)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (01/06/2025-03:40:35)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4932,8 +4932,9 @@ window.parseJSON=function(strParam){
4932
4932
  var obj=eval("(" + str + ")");
4933
4933
  return obj;
4934
4934
  } catch (error2){
4935
+ // !!! SILENT ERROR !!!
4935
4936
  // TRACE
4936
- log(error2);
4937
+ // log(error2);
4937
4938
  throw new Error("ERROR : Error parsing string «" + strParam + "» as JSON. Last-chance fallback failed." +
4938
4939
  " CHECK IF THERE IS ANY «'» SINGLE QUOTE CHARACTER IN YOUR LITERALS STRINGS, AND REPLACE IT WITH «´» ACUTE CHARACTER INSTEAD.");
4939
4940
  }
@@ -4987,7 +4988,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4987
4988
 
4988
4989
 
4989
4990
 
4990
- /*utils AI library associated with aotra version : «1_29072022-2359 (01/06/2025-03:25:26)»*/
4991
+ /*utils AI library associated with aotra version : «1_29072022-2359 (01/06/2025-03:40:35)»*/
4991
4992
  /*-----------------------------------------------------------------------------*/
4992
4993
 
4993
4994
 
@@ -5133,7 +5134,7 @@ getOpenAIAPIClient=(modelName, apiURL, agentRole, defaultPrompt)=>{
5133
5134
 
5134
5135
 
5135
5136
 
5136
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (01/06/2025-03:25:26)»*/
5137
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (01/06/2025-03:40:35)»*/
5137
5138
  /*-----------------------------------------------------------------------------*/
5138
5139
 
5139
5140
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1669",
3
+ "version": "0.0.1671",
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)",