aotrautils-srv 0.0.211 → 0.0.212

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 (19/07/2022-03:36:03)»*/
3
+ /*utils COMMONS library associated with aotra version : «1.0.0.000 (19/07/2022-03:41:16)»*/
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 (19/07/2022-03:36:03)»*/
4831
+ /*utils SERVER library associated with aotra version : «1.0.0.000 (19/07/2022-03:41:16)»*/
4832
4832
  /*-----------------------------------------------------------------------------*/
4833
4833
 
4834
4834
 
@@ -6164,14 +6164,19 @@ class ListManager{
6164
6164
  return;
6165
6165
  }
6166
6166
  const numberOfItemsCurrently=getArraySize(this.itemsInfos);
6167
+
6168
+ // DBG
6169
+ lognow(">>>>>>>>>this.itemsInfos:",this.itemsInfos);
6170
+ lognow(">>>>>>>>>numberOfItemsCurrently:",numberOfItemsCurrently);
6171
+ lognow(">>>>>>>>>Object.keys(arrayOfValues):",Object.keys(this.itemsInfos));
6172
+
6173
+
6167
6174
  if(this.maxItemsNumber<=numberOfItemsCurrently){
6168
6175
  // TRACE
6169
6176
  lognow("ERROR : Cannot add item with id «"+id+"», list already full.");
6170
6177
  return;
6171
6178
  }
6172
6179
 
6173
- // DBG
6174
- lognow(">>>>>>>>>numberOfItemsCurrently:",numberOfItemsCurrently);
6175
6180
 
6176
6181
  if(numberOfItemsCurrently==0 && this.mode==="startAtConnexion"){
6177
6182
  this.startSession();
@@ -6200,7 +6205,7 @@ class ListManager{
6200
6205
  isClientActive(clientId){
6201
6206
 
6202
6207
  // DBG
6203
- lognow(" this.isSessionActive()",this.isSessionActive());
6208
+ lognow(" this.isSessionActive()"+this.isSessionActive());
6204
6209
 
6205
6210
  if(!this.isSessionActive()) return false;
6206
6211
  const clientPosition=this.getItemPosition(clientId);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aotrautils-srv",
3
- "version": "0.0.211",
3
+ "version": "0.0.212",
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)",