@duckduckgo/autoconsent 10.12.0 → 10.13.0
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 +30 -0
- package/api.md +11 -1
- package/dist/addon-firefox/background.bundle.js +502 -3
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +119 -8
- package/dist/addon-mv3/background.bundle.js +502 -3
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +522 -4
- package/dist/addon-mv3/popup.html +1 -1
- package/dist/addon-mv3/rules.json +119 -8
- package/dist/autoconsent.playwright.js +1 -1
- package/dist/autoconsent.unit.js +119 -8
- package/package.json +4 -1
- package/rules/autoconsent/dpgmedia-nl.json +41 -0
- package/rules/autoconsent/holidaymedia.json +17 -0
- package/rules/autoconsent/netbeat-de.json +27 -0
- package/rules/autoconsent/usercentrics-api.json +21 -8
- package/rules/rules.json +119 -8
- package/tests/dpgmedia-nl.spec.ts +6 -0
- package/tests/holidaymedia.spec.ts +6 -0
- package/tests/netbeat-de.spec.ts +5 -0
- package/tests/usercentrics-api.spec.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
# v10.13.0 (Thu Aug 01 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Allow disabling test extension per site [#475](https://github.com/duckduckgo/autoconsent/pull/475) ([@muodov](https://github.com/muodov))
|
|
6
|
+
- Update UserCentrics API [#470](https://github.com/duckduckgo/autoconsent/pull/470) ([@seia-soto](https://github.com/seia-soto))
|
|
7
|
+
- Add chaletplus-com [#472](https://github.com/duckduckgo/autoconsent/pull/472) ([@seia-soto](https://github.com/seia-soto) [@muodov](https://github.com/muodov))
|
|
8
|
+
- Add dpgmedia.nl [#474](https://github.com/duckduckgo/autoconsent/pull/474) ([@seia-soto](https://github.com/seia-soto) [@muodov](https://github.com/muodov))
|
|
9
|
+
|
|
10
|
+
#### Authors: 2
|
|
11
|
+
|
|
12
|
+
- HoJeong Go ([@seia-soto](https://github.com/seia-soto))
|
|
13
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# v10.12.1 (Mon Jul 29 2024)
|
|
18
|
+
|
|
19
|
+
#### 🐛 Bug Fix
|
|
20
|
+
|
|
21
|
+
- Add netbeat.de [#471](https://github.com/duckduckgo/autoconsent/pull/471) ([@seia-soto](https://github.com/seia-soto) [@muodov](https://github.com/muodov))
|
|
22
|
+
- Update configuration object in `api.md` [#469](https://github.com/duckduckgo/autoconsent/pull/469) ([@seia-soto](https://github.com/seia-soto) [@muodov](https://github.com/muodov))
|
|
23
|
+
|
|
24
|
+
#### Authors: 2
|
|
25
|
+
|
|
26
|
+
- HoJeong Go ([@seia-soto](https://github.com/seia-soto))
|
|
27
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
1
31
|
# v10.12.0 (Tue Jul 23 2024)
|
|
2
32
|
|
|
3
33
|
#### 🚀 Enhancement
|
package/api.md
CHANGED
|
@@ -6,12 +6,22 @@ Most of autoconsent logic is contained in a content script that should be inject
|
|
|
6
6
|
```typescript
|
|
7
7
|
const consent = new AutoConsent( // make sure not to leak anything to the page globals
|
|
8
8
|
chrome.runtime.sendMessage, // pass a function to send messages to the background worker
|
|
9
|
-
{ // optionally, pass a config object
|
|
9
|
+
{ // optionally, pass a config object. See the Typescript definitions in /lib/types.ts for all available options
|
|
10
10
|
enabled: true,
|
|
11
11
|
autoAction: 'optOut',
|
|
12
12
|
disabledCmps: [],
|
|
13
13
|
enablePrehide: true,
|
|
14
|
+
enableCosmeticRules: true,
|
|
14
15
|
detectRetries: 20,
|
|
16
|
+
isMainWorld: false,
|
|
17
|
+
prehideTimeout: 2000,
|
|
18
|
+
logs: {
|
|
19
|
+
lifecycle: false,
|
|
20
|
+
rulesteps: false,
|
|
21
|
+
evals: false,
|
|
22
|
+
errors: true,
|
|
23
|
+
messages: false,
|
|
24
|
+
},
|
|
15
25
|
},
|
|
16
26
|
{ // optionally, pass JSON rules
|
|
17
27
|
autoconsent: [ ... ],
|