aotrautils 0.0.764 → 0.0.765

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 (10/02/2024-01:44:59)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (10/02/2024-01:54:44)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -5167,7 +5167,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
5167
5167
 
5168
5168
 
5169
5169
 
5170
- /*utils CLIENT library associated with aotra version : «1_29072022-2359 (10/02/2024-01:44:59)»*/
5170
+ /*utils CLIENT library associated with aotra version : «1_29072022-2359 (10/02/2024-01:54:44)»*/
5171
5171
  /*-----------------------------------------------------------------------------*/
5172
5172
  /* ## Utility global methods in a browser (htmljs) client environment.
5173
5173
  *
@@ -13380,7 +13380,7 @@ createOritaMicroClient=function(url, port, isNode=false, staticMicroClientIdPara
13380
13380
 
13381
13381
 
13382
13382
 
13383
- /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (10/02/2024-01:44:59)»*/
13383
+ /*utils GEOMETRY library associated with aotra version : «1_29072022-2359 (10/02/2024-01:54:44)»*/
13384
13384
  /*-----------------------------------------------------------------------------*/
13385
13385
 
13386
13386
 
@@ -14619,7 +14619,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
14619
14619
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
14620
14620
 
14621
14621
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
14622
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (10/02/2024-01:44:59)»*/
14622
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (10/02/2024-01:54:44)»*/
14623
14623
  /*-----------------------------------------------------------------------------*/
14624
14624
 
14625
14625
 
@@ -14994,11 +14994,14 @@ WebsocketImplementation={
14994
14994
 
14995
14995
  // clientsSockets:[],
14996
14996
  serverSocket:serverSocket,
14997
+ listenableServer:listenableServer,
14997
14998
 
14998
14999
  receptionEntryPoints:[],
14999
15000
 
15000
15001
  close:(doOnCloseServer)=>{
15001
- nodeServerInstance.serverSocket?.close(doOnCloseServer);
15002
+ nodeServerInstance.serverSocket?.close(()=>{
15003
+ nodeServerInstance.listenableServer?.close(doOnCloseServer);
15004
+ });
15002
15005
  },
15003
15006
 
15004
15007
  receive:(channelNameParam, doOnIncomingMessage, clientsRoomsTag=null)=>{
@@ -15874,6 +15877,9 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
15874
15877
  console.log("INFO : SERVER : HTTP Server launched and listening on port " + port + "!");
15875
15878
  listenableServer=httpServer;
15876
15879
  }
15880
+
15881
+ // DBG
15882
+ lognow("---------------listenableServer:",listenableServer);
15877
15883
 
15878
15884
 
15879
15885
  const server=WebsocketImplementation.getStatic(true).getServer(listenableServer);
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.764",
3
+ "version": "0.0.765",
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)",