@whotracksme/reporting 6.3.0 β 6.3.1
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 +12 -0
- package/package.json +1 -1
- package/reporting/src/request/index.js +5 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v6.3.1 (Wed Jan 29 2025)
|
|
2
|
+
|
|
3
|
+
#### π Bug Fix
|
|
4
|
+
|
|
5
|
+
- Fixed: TypeError: this.config is undefined [#155](https://github.com/whotracksme/webextension-packages/pull/155) ([@philipp-classen](https://github.com/philipp-classen))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Philipp ClaΓen ([@philipp-classen](https://github.com/philipp-classen))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v6.3.0 (Wed Jan 29 2025)
|
|
2
14
|
|
|
3
15
|
#### π Enhancement
|
package/package.json
CHANGED
|
@@ -252,17 +252,11 @@ export default class RequestReporter {
|
|
|
252
252
|
unload() {
|
|
253
253
|
this.ready = false;
|
|
254
254
|
|
|
255
|
-
this.config
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
if (this.tokenExaminer) {
|
|
261
|
-
this.tokenExaminer.unload();
|
|
262
|
-
}
|
|
263
|
-
if (this.tokenChecker) {
|
|
264
|
-
this.tokenChecker.unload();
|
|
265
|
-
}
|
|
255
|
+
this.config?.unload();
|
|
256
|
+
this.cookieContext?.unload();
|
|
257
|
+
this.tokenExaminer?.unload();
|
|
258
|
+
this.tokenChecker?.unload();
|
|
259
|
+
this.db?.unload();
|
|
266
260
|
|
|
267
261
|
chrome.webRequest.onBeforeRequest.removeListener(this.onBeforeRequest);
|
|
268
262
|
chrome.webRequest.onBeforeSendHeaders.removeListener(
|
|
@@ -272,9 +266,6 @@ export default class RequestReporter {
|
|
|
272
266
|
chrome.webRequest.onCompleted.removeListener(this.onCompleted);
|
|
273
267
|
chrome.webRequest.onErrorOccurred.removeListener(this.onErrorOccurred);
|
|
274
268
|
|
|
275
|
-
if (this.db) {
|
|
276
|
-
this.db.unload();
|
|
277
|
-
}
|
|
278
269
|
clearInterval(this.dayChangedInterval);
|
|
279
270
|
this.dayChangedInterval = null;
|
|
280
271
|
}
|