aotrautils-srv 0.0.512 → 0.0.513

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 (07/03/2023-00:40:57)»*/
3
+ /*utils COMMONS library associated with aotra version : «1_29072022-2359 (07/03/2023-01:07:38)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -4866,7 +4866,7 @@ AOTRAUTILS_LIB_IS_LOADED=true;
4866
4866
 
4867
4867
 
4868
4868
 
4869
- /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/03/2023-00:40:57)»*/
4869
+ /*utils SERVER library associated with aotra version : «1_29072022-2359 (07/03/2023-01:07:38)»*/
4870
4870
  /*-----------------------------------------------------------------------------*/
4871
4871
 
4872
4872
 
@@ -5426,6 +5426,7 @@ WebsocketImplementation={
5426
5426
 
5427
5427
  // DBG
5428
5428
  lognow("DEBUG : Starting ping-pong with client : clientSocket.clientId:",clientSocket.clientId);
5429
+ lognow("DEBUG : WebsocketImplementation.useSocketIOImplementation:",WebsocketImplementation.useSocketIOImplementation);
5429
5430
  lognow("DEBUG : clientSocket.readyState:",clientSocket.readyState);
5430
5431
 
5431
5432
 
@@ -5461,8 +5462,8 @@ WebsocketImplementation={
5461
5462
 
5462
5463
  clientSocket.isConnectionAlive=false;
5463
5464
 
5464
- // DBG
5465
- lognow("(SERVER) DEBUG : SENDING PING");
5465
+ // // DBG
5466
+ // lognow("(SERVER) DEBUG : SENDING PING");
5466
5467
 
5467
5468
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.ping();
5468
5469
  // OLD :
@@ -5733,7 +5734,7 @@ WebsocketImplementation={
5733
5734
  lognow("DEBUG : CLIENT : nodeClientInstance.clientSocket.on(connect)");
5734
5735
 
5735
5736
 
5736
- // Node client ping handling :
5737
+ // Node client ping handling : (SocketIO implementation only)
5737
5738
  if(WebsocketImplementation.useSocketIOImplementation){
5738
5739
  nodeClientInstance.receive("protocol",(message)=>{
5739
5740
  if(message.type!=="ping") return;
@@ -5976,7 +5977,7 @@ WebsocketImplementation={
5976
5977
 
5977
5978
 
5978
5979
 
5979
- // Browser client ping handling :
5980
+ // Browser client ping handling : (SocketIO implementation only)
5980
5981
  if(WebsocketImplementation.useSocketIOImplementation){
5981
5982
  browserInstance.receive("protocol",(message)=>{
5982
5983
  if(message.type!=="ping") return;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.512",
3
+ "version": "0.0.513",
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)",