aotrautils-srv 0.0.204 → 0.0.205

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 (19/07/2022-02:12:38)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (19/07/2022-02:24:23)»*/
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 (19/07/2022-02:12:38)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (19/07/2022-02:24:23)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -5380,21 +5380,21 @@ WebsocketImplementation={
5380
5380
  }, nodeServerInstance.clientTimeoutMillis);
5381
5381
 
5382
5382
 
5383
- // OLD :
5384
- // if(!WebsocketImplementation.useSocketIOImplementation){
5385
- // clientSocket.on("pong",()=>{
5386
- // clientSocket.isAlive=true;
5387
- // });
5388
- // }else{
5389
- // clientSocket.on("ping",()=>{
5390
- // clientSocket.isAlive=true;
5391
- // });
5392
- // }
5393
-
5394
- nodeServerInstance.receive("protocol",(message)=>{
5395
- if(message.type!=="pong") return;
5396
- clientSocket.isAlive=true;
5397
- });
5383
+ // // OLD :
5384
+ // if(!WebsocketImplementation.useSocketIOImplementation){
5385
+ // clientSocket.on("pong",()=>{
5386
+ // clientSocket.isAlive=true;
5387
+ // });
5388
+ // }else{
5389
+ // clientSocket.on("ping",()=>{
5390
+ // clientSocket.isAlive=true;
5391
+ // });
5392
+ // }
5393
+
5394
+ nodeServerInstance.receive("protocol",(message)=>{
5395
+ if(message.type!=="pong") return;
5396
+ clientSocket.isAlive=true;
5397
+ });
5398
5398
 
5399
5399
 
5400
5400
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.204",
3
+ "version": "0.0.205",
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)",