polfan-server-js-client 0.2.47 → 0.2.48

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "polfan-server-js-client",
3
- "version": "0.2.47",
3
+ "version": "0.2.48",
4
4
  "description": "JavaScript client library for handling communication with Polfan chat server.",
5
5
  "author": "Jarosław Żak",
6
6
  "license": "MIT",
@@ -39,10 +39,12 @@ export class IndexedCollection<KeyT, ValueT> {
39
39
  for (const id of ids) {
40
40
  this.items.delete(id);
41
41
  }
42
+ this._mutationCounter++;
42
43
  }
43
44
 
44
45
  public deleteAll(): void {
45
46
  this.items.clear();
47
+ this._mutationCounter++;
46
48
  }
47
49
 
48
50
  public findBy(field: keyof ValueT, valueToFind: any, limit: number = null): IndexedCollection<KeyT, ValueT> {