aotrautils-srv 0.0.219 → 0.0.222

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 (22/07/2022-00:32:06)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (22/07/2022-01:01:02)»*/
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 (22/07/2022-00:32:06)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (22/07/2022-01:01:02)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5312,6 +5312,10 @@ WebsocketImplementation={
5312
5312
  // nodeServerInstance.clientsSockets.push(clientSocket);
5313
5313
 
5314
5314
 
5315
+ // DBG
5316
+ clientSocket.clientId=getUUID();
5317
+
5318
+
5315
5319
  // DBG
5316
5320
  console.log("nodeServerInstance.receptionEntryPoints.length:",nodeServerInstance.receptionEntryPoints.length);
5317
5321
 
@@ -5535,7 +5539,7 @@ WebsocketImplementation={
5535
5539
 
5536
5540
  send:(channelName, data, clientsRoomsTag=null)=>{
5537
5541
 
5538
- let clientSocket=nodeClientInstance.clientSocket;
5542
+ const clientSocket=nodeClientInstance.clientSocket;
5539
5543
 
5540
5544
 
5541
5545
  // // DBG
@@ -5587,7 +5591,7 @@ WebsocketImplementation={
5587
5591
  if(nodeClientInstance.hasConnectEventFired) return;
5588
5592
  nodeClientInstance.hasConnectEventFired=true;
5589
5593
 
5590
- let clientSocket=nodeClientInstance.clientSocket;
5594
+ const clientSocket=nodeClientInstance.clientSocket;
5591
5595
 
5592
5596
  doOnConnection(nodeClientInstance, clientSocket);
5593
5597
 
@@ -5597,11 +5601,6 @@ WebsocketImplementation={
5597
5601
  });
5598
5602
 
5599
5603
 
5600
- ////
5601
- // TODO : FIXME
5602
-
5603
-
5604
-
5605
5604
  };
5606
5605
 
5607
5606
  if(!WebsocketImplementation.useSocketIOImplementation) nodeClientInstance.clientSocket.addEventListener("open",doAllOnConnection);
@@ -5701,7 +5700,7 @@ WebsocketImplementation={
5701
5700
 
5702
5701
  send:(channelName, data, clientsRoomsTag=null)=>{
5703
5702
 
5704
- let clientSocket=browserInstance.clientSocket;
5703
+ const clientSocket=browserInstance.clientSocket;
5705
5704
 
5706
5705
 
5707
5706
  // // DBG
@@ -5750,10 +5749,11 @@ WebsocketImplementation={
5750
5749
  if(browserInstance.hasConnectEventFired) return;
5751
5750
  browserInstance.hasConnectEventFired=true;
5752
5751
 
5752
+ const clientSocket=browserInstance.clientSocket;
5753
+
5754
+
5753
5755
  doOnConnection(browserInstance, clientSocket);
5754
5756
 
5755
- // DBG
5756
- clientSocket.clientId=getUUID();
5757
5757
 
5758
5758
  };
5759
5759
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.219",
3
+ "version": "0.0.222",
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)",