aotrautils-srv 0.0.57 → 0.0.60
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 (
|
|
3
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (13/07/2022-00:29:04)»*/
|
|
4
4
|
/*-----------------------------------------------------------------------------*/
|
|
5
5
|
|
|
6
6
|
|
|
@@ -340,9 +340,11 @@ WebsocketImplementation={
|
|
|
340
340
|
|
|
341
341
|
nodeServerInstance.receptionEntryPoints.push(receptionEntryPoint);
|
|
342
342
|
|
|
343
|
-
|
|
344
|
-
//
|
|
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
|
-
//
|
|
421
|
-
//
|
|
422
|
+
// if(contains(nodeServerInstance.clientsSockets, clientSocket)) return;
|
|
423
|
+
// nodeServerInstance.clientsSockets.push(clientSocket);
|
|
422
424
|
|
|
423
425
|
|
|
424
426
|
// DBG
|
|
@@ -804,8 +806,9 @@ WebsocketImplementation={
|
|
|
804
806
|
let dataWrapped={channelName:channelName, data:data};
|
|
805
807
|
|
|
806
808
|
|
|
807
|
-
//
|
|
808
|
-
|
|
809
|
+
// DBG
|
|
810
|
+
console.log("(BROWSER) SENDING... : dataWrapped :",dataWrapped);
|
|
811
|
+
console.log("(BROWSER) SENDING... : clientSocket :",clientSocket);
|
|
809
812
|
|
|
810
813
|
|
|
811
814
|
dataWrapped=JSON.stringify(dataWrapped);
|
|
@@ -1298,7 +1301,7 @@ function getListManager(config){
|
|
|
1298
1301
|
|
|
1299
1302
|
|
|
1300
1303
|
|
|
1301
|
-
/*utils COMMONS library associated with aotra version : «1.0.0.000 (
|
|
1304
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (13/07/2022-00:29:04)»*/
|
|
1302
1305
|
/*-----------------------------------------------------------------------------*/
|
|
1303
1306
|
|
|
1304
1307
|
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
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)",
|