aotrautils-srv 0.0.1879 → 0.0.1880

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 (19/06/2026-19:31:16)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/06/2026-20:10:52)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5470,7 +5470,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5470
5470
 
5471
5471
 
5472
5472
 
5473
- /*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-19:31:16)»*/
5473
+ /*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-20:10:52)»*/
5474
5474
  /*-----------------------------------------------------------------------------*/
5475
5475
 
5476
5476
 
@@ -5730,7 +5730,7 @@ getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProviderName=DE
5730
5730
 
5731
5731
 
5732
5732
 
5733
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-19:31:16)»*/
5733
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-20:10:52)»*/
5734
5734
  /*-----------------------------------------------------------------------------*/
5735
5735
 
5736
5736
 
@@ -8186,9 +8186,13 @@ WebsocketImplementation={
8186
8186
  return null;
8187
8187
  }
8188
8188
 
8189
+ // TRACE
8190
+ lognow("INFO : CLIENT : Trying to establish connection to server (serverURL:«"+serverURL+"» ; port:«"+port+"» ; isSecure:«"+isSecure+"»)");
8191
+
8192
+
8189
8193
  clientSocket=new WebSocket(serverURL+":"+port,/*WORKAROUND:*/{
8190
8194
  // CAUTION : SECURITY BREACH :
8191
- // BUT ALSO NECESSARY TO ALLOW SELF-SIGNED CERTIFICATES USAGE WITH THE YESBOT SYSTEM !
8195
+ // BUT ALSO NECESSARY TO ALLOW SELF-SIGNED CERTIFICATES USAGE WITH THE YESBOT SYSTEM ON DEV ENVIRONMENTS !
8192
8196
  rejectUnauthorized:false, // (THIS IS A KNOWN SECURITY BREACH)
8193
8197
  secure: isSecure
8194
8198
  });
@@ -9075,7 +9079,7 @@ initClient=function(isNodeContext=true, useSocketIOImplementation=/*DEBUG*/false
9075
9079
  aotraClient.client.start=function(){
9076
9080
 
9077
9081
  // DBG
9078
- lognow("INFO : Setting up client :... (url:«"+url+"»;port:«"+port+"»)");
9082
+ lognow("INFO : Setting up client :... (url:«"+url+"» ; port:«"+port+"»)");
9079
9083
 
9080
9084
  let socketToServerClientInstance=WebsocketImplementation.getStatic(isNodeContext, useSocketIOImplementation).connectToServer(url, port, isSecure, timeout);
9081
9085
  if(!socketToServerClientInstance){
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1879",
3
+ "version": "0.0.1880",
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)",