aotrautils 0.0.1887 → 0.0.1889

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-22:24:51)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (19/06/2026-22:43:56)»*/
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-22:24:51)»*/
5473
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (19/06/2026-22:43:56)»*/
5474
5474
  /*-----------------------------------------------------------------------------*/
5475
5475
  /* ## Utility global methods in a browser (htmljs) client environment.
5476
5476
  *
@@ -13288,7 +13288,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13288
13288
 
13289
13289
 
13290
13290
 
13291
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/06/2026-22:24:51)»*/
13291
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (19/06/2026-22:43:56)»*/
13292
13292
  /*-----------------------------------------------------------------------------*/
13293
13293
 
13294
13294
 
@@ -14373,10 +14373,10 @@ function rayVsUnitSphereClosestPoint(p, r) {
14373
14373
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14374
14374
 
14375
14375
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14376
- /*utils 3D library associated with aotra version : «1_29072022-2359 (19/06/2026-22:24:51)»*/
14376
+ /*utils 3D library associated with aotra version : «1_29072022-2359 (19/06/2026-22:43:56)»*/
14377
14377
  /*-----------------------------------------------------------------------------*/
14378
14378
 
14379
- /*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-22:24:51)»*/
14379
+ /*utils AI library associated with aotra version : «1_29072022-2359 (19/06/2026-22:43:56)»*/
14380
14380
  /*-----------------------------------------------------------------------------*/
14381
14381
 
14382
14382
 
@@ -14636,7 +14636,7 @@ getLLMAPIClient=(modelName, apiURL, agentRole, defaultPrompt, llmProviderName=DE
14636
14636
 
14637
14637
 
14638
14638
 
14639
- /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-22:24:51)»*/
14639
+ /*utils CONSOLE library associated with aotra version : «1_29072022-2359 (19/06/2026-22:43:56)»*/
14640
14640
  /*-----------------------------------------------------------------------------*/
14641
14641
 
14642
14642
 
@@ -16998,16 +16998,17 @@ WebsocketImplementation={
16998
16998
  // NODE SERVER MODE ONLY :
16999
16999
  let serverSocket;
17000
17000
  if(!WebsocketImplementation.useSocketIOImplementation){
17001
-
17002
- // if(typeof(WebSocketServer)==="undefined")
17003
- // window.WebSocketServer=require("ws");
17004
- // if(typeof(WebSocketServer)==="undefined")
17005
- // // TRACE
17006
- // lognow("ERROR : «ws» CONSOLE SERVER library not found. Cannot launch nodejs server. Aborting.");
17007
- // serverSocket=new window.WebSocketServer.WebSocketServer({
17001
+
17002
+ if(typeof(WebSocketServer)==="undefined")
17003
+ window.WebSocketServer=require("ws");
17004
+ if(typeof(WebSocketServer)==="undefined")
17005
+ // TRACE
17006
+ lognow("ERROR : «ws» CONSOLE SERVER library not found. Cannot launch nodejs server. Aborting.");
17008
17007
 
17009
- // ??? :
17010
- serverSocket=new WebSocket.Server({
17008
+ // DOES NOT WORK ANYMORE :
17009
+ // serverSocket=new WebSocket.Server({
17010
+ serverSocket=new WebSocketServer.Server({
17011
+ // serverSocket=new window.WebSocketServer.WebSocketServer({
17011
17012
  server:listenableServer,
17012
17013
  perMessageDeflate: false,
17013
17014
  });
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.1887",
3
+ "version": "0.0.1889",
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)",