aotrautils-srv 0.0.58 → 0.0.61

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 SERVER library associated with aotra version : «1.0.0.000 (12/07/2022-23:38:30)»*/
3
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-01:27:57)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -806,14 +806,15 @@ WebsocketImplementation={
806
806
  let dataWrapped={channelName:channelName, data:data};
807
807
 
808
808
 
809
- // // DBG
810
- // console.log("(BROWSER) SENDING... : dataWrapped :",dataWrapped);
809
+ // DBG
810
+ console.log("(BROWSER) SENDING... : dataWrapped :",dataWrapped);
811
+ console.log("(BROWSER) SENDING... : clientSocket :",clientSocket);
811
812
 
812
813
 
813
814
  dataWrapped=JSON.stringify(dataWrapped);
814
815
 
815
816
 
816
- // TODO : FIXME : Use one single interface !
817
+ // TODO : FIXME : Use one single interface !
817
818
  if(!WebsocketImplementation.useSocketIOImplementation) clientSocket.send(dataWrapped);
818
819
  else clientSocket.emit(channelName,dataWrapped);
819
820
 
@@ -954,7 +955,7 @@ launchNodeHTTPServer=function(port, doOnConnect=null, doOnFinalizeServer=null, /
954
955
  }
955
956
 
956
957
 
957
- const server=WebsocketImplementation.getStatic(true).getServer(listenableServer);
958
+ const server=WebsocketImplementation.getStatic(true, /*DEBUG*/true).getServer(listenableServer);
958
959
 
959
960
  // When a client connects, we execute the callback :
960
961
  // CAUTION : MUST BE CALLED ONLY ONCE !
@@ -1300,7 +1301,7 @@ function getListManager(config){
1300
1301
 
1301
1302
 
1302
1303
 
1303
- /*utils COMMONS library associated with aotra version : «1.0.0.000 (12/07/2022-23:38:30)»*/
1304
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-01:27:57)»*/
1304
1305
  /*-----------------------------------------------------------------------------*/
1305
1306
 
1306
1307
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.58",
3
+ "version": "0.0.61",
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)",