aotrautils-srv 0.0.1870 → 0.0.1872

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-01:49:32)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/06/2026-01:56:09)»*/
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-01:49:32)»*/
5473
+ /*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-01:56:09)»*/
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-01:49:32)»*/
5733
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-01:56:09)»*/
5734
5734
  /*-----------------------------------------------------------------------------*/
5735
5735
 
5736
5736
 
@@ -8101,11 +8101,6 @@ WebsocketImplementation={
8101
8101
  if(!WebsocketImplementation.useSocketIOImplementation){
8102
8102
 
8103
8103
 
8104
- //DBG
8105
- lognow("(getServer())>>>>>window.WebSocket:", window.WebSocket);
8106
-
8107
- // DOES NOT WORK ANYMORE :
8108
- // serverSocket=new WebSocket.Server({ "server":listenableServer });
8109
8104
 
8110
8105
  if(typeof(WebSocketServer)==="undefined")
8111
8106
  window.WebSocketServer=require("ws");
@@ -8113,10 +8108,9 @@ WebsocketImplementation={
8113
8108
  // TRACE
8114
8109
  console.log("ERROR : «ws» CONSOLE SERVER library not found. Cannot launch nodejs server. Aborting.");
8115
8110
 
8116
- // DBG
8117
- lognow("FUUUUCK (getServer())>>>>>window.WebSocketServer:", window.WebSocketServer);
8118
-
8119
- serverSocket=new window.WebSocketServer({ "server":listenableServer });
8111
+ serverSocket=new window.WebSocketServer.WebSocketServer({ "server":listenableServer });
8112
+ // DOES NOT WORK ANYMORE :
8113
+ // serverSocket=new WebSocket.Server({ "server":listenableServer });
8120
8114
 
8121
8115
 
8122
8116
  }else{
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.1870",
3
+ "version": "0.0.1872",
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)",