aotrautils 0.0.1872 → 0.0.1875

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:52)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/06/2026-18:37:25)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5470,7 +5470,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5470
5470
 
5471
5471
 
5472
5472
 
5473
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/06/2026-01:49:52)»*/
5473
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/06/2026-18:37:25)»*/
5474
5474
  /*-----------------------------------------------------------------------------*/
5475
5475
  /* ## Utility global methods in a browser (htmljs) client environment.
5476
5476
  *
@@ -13294,7 +13294,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13294
13294
 
13295
13295
 
13296
13296
 
13297
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/06/2026-01:49:52)»*/
13297
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/06/2026-18:37:25)»*/
13298
13298
  /*-----------------------------------------------------------------------------*/
13299
13299
 
13300
13300
 
@@ -14379,10 +14379,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
14379
14379
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14380
14380
 
14381
14381
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14382
- /*utils 3D library associated with aotra version : «1_29072022-2359 (19/06/2026-01:49:52)»*/
14382
+ /*utils 3D library associated with aotra version : «1_29072022-2359 (19/06/2026-18:37:25)»*/
14383
14383
  /*-----------------------------------------------------------------------------*/
14384
14384
 
14385
- /*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-01:49:52)»*/
14385
+ /*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-18:37:25)»*/
14386
14386
  /*-----------------------------------------------------------------------------*/
14387
14387
 
14388
14388
 
@@ -14642,7 +14642,7 @@ getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProviderName=DE
14642
14642
 
14643
14643
 
14644
14644
 
14645
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-01:49:52)»*/
14645
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-18:37:25)»*/
14646
14646
  /*-----------------------------------------------------------------------------*/
14647
14647
 
14648
14648
 
@@ -16928,10 +16928,6 @@ WebsocketImplementation={
16928
16928
 
16929
16929
  window.WebSocket=require("ws");
16930
16930
 
16931
- //DBG
16932
- lognow(">>>>>window.WebSocket:", window.WebSocket);
16933
-
16934
-
16935
16931
  if(typeof(WebSocket)==="undefined"){
16936
16932
  // TRACE
16937
16933
  console.log("ERROR : «ws» CONSOLE/BROWSER CLIENT/SERVER library not found. Cannot launch nodejs server. Aborting.");
@@ -17012,23 +17008,16 @@ WebsocketImplementation={
17012
17008
  let serverSocket;
17013
17009
  if(!WebsocketImplementation.useSocketIOImplementation){
17014
17010
 
17015
-
17016
- //DBG
17017
- lognow("(getServer())>>>>>window.WebSocket:", window.WebSocket);
17018
-
17019
- // DOES NOT WORK ANYMORE :
17020
- // serverSocket=new WebSocket.Server({ "server":listenableServer });
17021
17011
 
17022
17012
  if(typeof(WebSocketServer)==="undefined")
17023
17013
  window.WebSocketServer=require("ws");
17024
17014
  if(typeof(WebSocketServer)==="undefined")
17025
17015
  // TRACE
17026
- console.log("ERROR : «ws» CONSOLE SERVER library not found. Cannot launch nodejs server. Aborting.");
17016
+ lognow("ERROR : «ws» CONSOLE SERVER library not found. Cannot launch nodejs server. Aborting.");
17027
17017
 
17028
- // DBG
17029
- lognow("FUUUUCK (getServer())>>>>>window.WebSocketServer:", window.WebSocketServer);
17030
-
17031
- serverSocket=new window.WebSocketServer({ "server":listenableServer });
17018
+ serverSocket=new window.WebSocketServer.WebSocketServer({ "server":listenableServer });
17019
+ // DOES NOT WORK ANYMORE :
17020
+ // serverSocket=new WebSocket.Server({ "server":listenableServer });
17032
17021
 
17033
17022
 
17034
17023
  }else{
@@ -17118,7 +17107,7 @@ WebsocketImplementation={
17118
17107
 
17119
17108
  clientSocket.addEventListener("error", error=>{
17120
17109
  // TRACE
17121
- lognow("ERROR : (NODEJS) A WebSocket client error occurred while trying to connect to server:", error.message);
17110
+ lognow("ERROR : (NODEJS) A WebSocket client error occurred while trying to connect to server: error:", error);
17122
17111
  });
17123
17112
 
17124
17113
  }else{
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1872",
3
+ "version": "0.0.1875",
4
4
  "main": "aotrautils.build.js",
5
5
  "description": "A library for vanilla javascript utils (client-side) used in aotra javascript CMS",
6
6
  "author": "Jeremie Ratomposon <info@alqemia.com> (https://alqemia.com)",