aotrautils-srv 0.0.230 → 0.0.231

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-13:26:39)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (30/07/2022-14:07:42)»*/
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-13:26:39)»*/
4830
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (30/07/2022-14:07:42)»*/
4831
4831
  /*-----------------------------------------------------------------------------*/
4832
4832
 
4833
4833
 
@@ -5600,6 +5600,9 @@ WebsocketImplementation={
5600
5600
 
5601
5601
  onConnectionToServer:(doOnConnection)=>{
5602
5602
 
5603
+ // DBG
5604
+ lognow("DEBUG : CLIENT : setting up onConnectionToServer.");
5605
+
5603
5606
  const doAllOnConnection=()=>{
5604
5607
 
5605
5608
  // To avoid triggering this event several times, depending on the implementation :
@@ -5608,6 +5611,7 @@ WebsocketImplementation={
5608
5611
 
5609
5612
  const clientSocket=nodeClientInstance.clientSocket;
5610
5613
 
5614
+
5611
5615
  // DBG
5612
5616
  lognow("DEBUG : CLIENT : doOnConnection !");
5613
5617
 
@@ -5621,11 +5625,17 @@ WebsocketImplementation={
5621
5625
 
5622
5626
 
5623
5627
  };
5628
+
5624
5629
 
5625
5630
  if(!WebsocketImplementation.useSocketIOImplementation) nodeClientInstance.clientSocket.addEventListener("open",doAllOnConnection);
5626
5631
  else nodeClientInstance.clientSocket.on("connect",doAllOnConnection);
5627
5632
 
5628
5633
 
5634
+ // DBG
5635
+ lognow("DEBUG : CLIENT : nodeClientInstance.clientSocket.on(connect)");
5636
+
5637
+
5638
+
5629
5639
  },
5630
5640
 
5631
5641
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.230",
3
+ "version": "0.0.231",
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)",