@whotracksme/reporting 5.1.27 → 5.1.28

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/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # v5.1.28 (Tue Oct 29 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Fix: page store tab active listener [#110](https://github.com/whotracksme/webextension-packages/pull/110) ([@chrmod](https://github.com/chrmod))
6
+
7
+ #### Authors: 1
8
+
9
+ - Krzysztof Modras ([@chrmod](https://github.com/chrmod))
10
+
11
+ ---
12
+
1
13
  # v5.1.27 (Wed Oct 23 2024)
2
14
 
3
15
  #### 🐛 Bug Fix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whotracksme/reporting",
3
- "version": "5.1.27",
3
+ "version": "5.1.28",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "scripts": {
@@ -172,7 +172,8 @@ export default class PageStore {
172
172
  this.#pages.set(page.id, page);
173
173
  }
174
174
  } else if (this.#pages.has(previousTabId)) {
175
- const page = new Page(previousTabId);
175
+ const previousPage = this.#pages.get(previousTabId);
176
+ const page = new Page(previousPage);
176
177
  page.setActive(false);
177
178
  this.#pages.set(page.id, page);
178
179
  }