aotrautils-srv 0.0.147 → 0.0.150
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 (17/07/2022-03:
|
|
3
|
+
/*utils COMMONS library associated with aotra version : «1.0.0.000 (17/07/2022-03:39:41)»*/
|
|
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 (17/07/2022-03:
|
|
4831
|
+
/*utils SERVER library associated with aotra version : «1.0.0.000 (17/07/2022-03:39:41)»*/
|
|
4832
4832
|
/*-----------------------------------------------------------------------------*/
|
|
4833
4833
|
|
|
4834
4834
|
|
|
@@ -5182,18 +5182,25 @@ WebsocketImplementation={
|
|
|
5182
5182
|
|
|
5183
5183
|
// DBG
|
|
5184
5184
|
lognow(" Channel information:dataWrapped",dataWrapped);
|
|
5185
|
-
lognow(" Channel information:dataWrapped.channelName"
|
|
5186
|
-
lognow(" Channel information:receptionEntryPoint.channelName"
|
|
5185
|
+
lognow(" Channel information:dataWrapped.channelName«"+receptionEntryPoint.channelName+"»");
|
|
5186
|
+
lognow(" Channel information:receptionEntryPoint.channelName«"+receptionEntryPoint.channelName+"»");
|
|
5187
|
+
lognow(" C1",(dataWrapped.channelName!=receptionEntryPoint.channelName));
|
|
5188
|
+
lognow(" C2",(dataWrapped.channelName!==receptionEntryPoint.channelName));
|
|
5189
|
+
lognow(" C11",(dataWrapped.channelName==receptionEntryPoint.channelName));
|
|
5190
|
+
lognow(" C22",(dataWrapped.channelName===receptionEntryPoint.channelName));
|
|
5191
|
+
|
|
5192
|
+
////
|
|
5193
|
+
// CURRENT 5 : PROBLEM IS HERE :
|
|
5187
5194
|
|
|
5188
|
-
|
|
5189
5195
|
// Channel information is stored in exchanged data :
|
|
5190
|
-
if(dataWrapped.channelName
|
|
5196
|
+
if(dataWrapped.channelName!=receptionEntryPoint.channelName) return;
|
|
5197
|
+
|
|
5191
5198
|
|
|
5192
5199
|
const clientSocket=clientSocketParam;
|
|
5193
5200
|
|
|
5194
5201
|
|
|
5195
5202
|
// DBG
|
|
5196
|
-
lognow("receptionEntryPoint.clientsRoomsTag:",receptionEntryPoint.clientsRoomsTag);
|
|
5203
|
+
lognow(" receptionEntryPoint.clientsRoomsTag:",receptionEntryPoint.clientsRoomsTag);
|
|
5197
5204
|
|
|
5198
5205
|
// TODO : FIXME : Use one single interface !
|
|
5199
5206
|
// Room information is stored in client socket object :
|
aotrautils-srv/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aotrautils-srv",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.150",
|
|
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)",
|