aotrautils-srv 0.0.56 → 0.0.59

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-01:26:53)»*/
3
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-00:15:56)»*/
4
4
  /*-----------------------------------------------------------------------------*/
5
5
 
6
6
 
@@ -340,9 +340,11 @@ WebsocketImplementation={
340
340
 
341
341
  nodeServerInstance.receptionEntryPoints.push(receptionEntryPoint);
342
342
 
343
- // // DBG
344
- // console.log("ADD RECEPTION ENTRY POINT channelName:«"+channelName+"»! nodeServerInstance.receptionEntryPoints.length:",nodeServerInstance.receptionEntryPoints.length);
345
-
343
+
344
+ // DBG
345
+ console.log("ADD RECEPTION ENTRY POINT channelName:«"+channelName+"»! nodeServerInstance.receptionEntryPoints.length:",nodeServerInstance.receptionEntryPoints.length);
346
+
347
+
346
348
  return nodeServerInstance;
347
349
  },
348
350
 
@@ -417,8 +419,8 @@ WebsocketImplementation={
417
419
  console.log("SERVER : ON CONNECTION !");
418
420
 
419
421
 
420
- // if(contains(nodeServerInstance.clientsSockets, clientSocket)) return;
421
- // nodeServerInstance.clientsSockets.push(clientSocket);
422
+ // if(contains(nodeServerInstance.clientsSockets, clientSocket)) return;
423
+ // nodeServerInstance.clientsSockets.push(clientSocket);
422
424
 
423
425
 
424
426
  // DBG
@@ -804,8 +806,8 @@ WebsocketImplementation={
804
806
  let dataWrapped={channelName:channelName, data:data};
805
807
 
806
808
 
807
- // // DBG
808
- // console.log("(BROWSER) SENDING... : dataWrapped :",dataWrapped);
809
+ // DBG
810
+ console.log("(BROWSER) SENDING... : dataWrapped :",dataWrapped);
809
811
 
810
812
 
811
813
  dataWrapped=JSON.stringify(dataWrapped);
@@ -979,7 +981,7 @@ initNodeServer=function(doOnClientConnection=null, doOnFinalizeServer=null, /*OP
979
981
  // TRACE
980
982
  console.log("Server launched.");
981
983
  console.log("Usage : node <server.js> conf {port:[port], sslCertPath:[ssl certificate path | unsecure ], sslKeyPath:[ssl key path], serverConfig:[JSON server configuration]}");
982
- console.log("Or (to generate password hash) : node <server.js> hash <clientId@repositoryName> <clearText>");
984
+ console.log("Or (to generate password hash) : node <server.js> hash <clientId@repositoryName> <clearTextSecretString>");
983
985
  // EXAMPLE : node orita-srv.js hash orita.global@saltkey 1234567890
984
986
  console.log("Server launched.");
985
987
 
@@ -1298,7 +1300,7 @@ function getListManager(config){
1298
1300
 
1299
1301
 
1300
1302
 
1301
- /*utils COMMONS library associated with aotra version : «1.0.0.000 (12/07/2022-01:26:53)»*/
1303
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-00:15:56)»*/
1302
1304
  /*-----------------------------------------------------------------------------*/
1303
1305
 
1304
1306
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.56",
3
+ "version": "0.0.59",
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)",