aotrautils 0.0.121 → 0.0.122

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.0.0.000 (16/07/2022-15:46:31)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-16:00:17)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4828
4828
 
4829
4829
 
4830
4830
 
4831
- /*utils CLIENT library associated with aotra version : «1.0.0.000 (16/07/2022-15:46:31)»*/
4831
+ /*utils CLIENT library associated with aotra version : «1.0.0.000 (16/07/2022-16:00:17)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
  /* ## Utility global methods in a browser (htmljs) client environment.
4834
4834
  *
@@ -11678,7 +11678,7 @@ createFusrodaClient=function(doOnClientReady, doOnDataReception, urlParam=null,
11678
11678
 
11679
11679
 
11680
11680
 
11681
- /*utils GEOMETRY library associated with aotra version : «1.0.0.000 (16/07/2022-15:46:31)»*/
11681
+ /*utils GEOMETRY library associated with aotra version : «1.0.0.000 (16/07/2022-16:00:17)»*/
11682
11682
  /*-----------------------------------------------------------------------------*/
11683
11683
 
11684
11684
 
@@ -12884,7 +12884,7 @@ function rayVsUnitSphereClosestPoint(p, r) {
12884
12884
  // MUST REMAIN AT THE END OF THIS LIBRARY FILE !
12885
12885
 
12886
12886
  AOTRAUTILS_GEOMETRY_LIB_IS_LOADED=true;
12887
- /*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-15:46:31)»*/
12887
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-16:00:17)»*/
12888
12888
  /*-----------------------------------------------------------------------------*/
12889
12889
 
12890
12890
 
@@ -13153,7 +13153,7 @@ WebsocketImplementation={
13153
13153
  },
13154
13154
 
13155
13155
 
13156
- getServer:(listenableServer)=>{
13156
+ getServer:(listenableServer, port)=>{
13157
13157
 
13158
13158
  if(!WebsocketImplementation.isNodeContext){
13159
13159
  // TRACE
@@ -13185,7 +13185,7 @@ WebsocketImplementation={
13185
13185
  });
13186
13186
 
13187
13187
  // ////
13188
- serverSocket.listen();
13188
+ serverSocket.listen(port);
13189
13189
 
13190
13190
  }
13191
13191
 
@@ -13852,19 +13852,19 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
13852
13852
 
13853
13853
  let listenableServer;
13854
13854
  if(sslOptions){
13855
- let httpsServer=https.createServer(sslOptions, handler).listen(port);
13855
+ let httpsServer=https.createServer(sslOptions, handler); // OLD : .listen(port);
13856
13856
  // TRACE
13857
13857
  console.log("INFO : SERVER : HTTPS Server launched and listening on port " + port + "!");
13858
13858
  listenableServer=httpsServer;
13859
13859
  }else{
13860
- let httpServer=http.createServer(handler).listen(port);
13860
+ let httpServer=http.createServer(handler);// OLD : .listen(port);
13861
13861
  // TRACE
13862
13862
  console.log("INFO : SERVER : HTTP Server launched and listening on port " + port + "!");
13863
13863
  listenableServer=httpServer;
13864
13864
  }
13865
13865
 
13866
13866
 
13867
- const server=WebsocketImplementation.getStatic(true, /*DEBUG*/true).getServer(listenableServer);
13867
+ const server=WebsocketImplementation.getStatic(true, /*DEBUG*/true).getServer(listenableServer, port);
13868
13868
 
13869
13869
  // When a client connects, we execute the callback :
13870
13870
  // CAUTION : MUST BE CALLED ONLY ONCE !
aotrautils/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils",
3
- "version": "0.0.121",
3
+ "version": "0.0.122",
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)",