aotrautils-srv 0.0.129 → 0.0.130

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-16:26:34)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (16/07/2022-16:41:40)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4828,7 +4828,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4828
4828
 
4829
4829
 
4830
4830
 
4831
- /*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-16:26:34)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (16/07/2022-16:41:40)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5417,7 +5417,6 @@ WebsocketImplementation={
5417
5417
  /*private*/connectToServerFromNode:(serverURL, port, isSecure, timeout)=>{
5418
5418
 
5419
5419
 
5420
-
5421
5420
  // NEW : ws :
5422
5421
  if(typeof(WebSocket)==="undefined"){
5423
5422
  // TRACE
@@ -5440,7 +5439,8 @@ WebsocketImplementation={
5440
5439
  // }
5441
5440
 
5442
5441
  // OLD SYNTAX: clientSocket=Socket.connect(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5443
- clientSocket=Socket(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5442
+ // clientSocket=new Socket.Client???(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5443
+ clientSocket=io(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5444
5444
 
5445
5445
  }
5446
5446
  }
@@ -5600,7 +5600,7 @@ WebsocketImplementation={
5600
5600
  // // TRACE
5601
5601
  // console.log("ERROR : Could not initialize socket !");
5602
5602
  // OLD SYNTAX :clientSocket=io.connect(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5603
- clientSocket=Socket(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5603
+ clientSocket=io(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5604
5604
 
5605
5605
  }
5606
5606
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.129",
3
+ "version": "0.0.130",
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)",