aotrautils-srv 0.0.148 → 0.0.151

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