aotrautils-srv 0.0.232 → 0.0.233

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 (30/07/2022-14:13:06)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (30/07/2022-14:17:12)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4827,7 +4827,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4827
4827
 
4828
4828
 
4829
4829
 
4830
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (30/07/2022-14:13:06)»*/
4830
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (30/07/2022-14:17:12)»*/
4831
4831
  /*-----------------------------------------------------------------------------*/
4832
4832
 
4833
4833
 
@@ -5496,13 +5496,13 @@ WebsocketImplementation={
5496
5496
 
5497
5497
  // OLD SYNTAX: clientSocket=Socket.connect(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5498
5498
  // NO : clientSocket=new Socket.Client(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5499
- clientSocket=io(serverURL + ":" + port,{timeout: timeout, secure: isSecure});
5500
- clientSocket.connect();
5499
+ clientSocket=io(serverURL + ":" + port,{timeout: timeout, secure: isSecure, autoConnect:true});
5500
+ // DOES NOT WORK : clientSocket.connect();
5501
5501
  }
5502
5502
  }
5503
5503
 
5504
5504
  // DBG
5505
- lognow("DEBUG : CLIENT : clientSocket created:",clientSocket);
5505
+ lognow("DEBUG : CLIENT : clientSocket created:"+clientSocket.connected);
5506
5506
 
5507
5507
 
5508
5508
  // NODE CLIENT INSTANCE :
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.232",
3
+ "version": "0.0.233",
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)",