@duckduckgo/autoconsent 10.11.0 → 10.12.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 CHANGED
@@ -1,3 +1,37 @@
1
+ # v10.12.1 (Mon Jul 29 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - Add netbeat.de [#471](https://github.com/duckduckgo/autoconsent/pull/471) ([@seia-soto](https://github.com/seia-soto) [@muodov](https://github.com/muodov))
6
+ - 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))
7
+
8
+ #### Authors: 2
9
+
10
+ - HoJeong Go ([@seia-soto](https://github.com/seia-soto))
11
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
12
+
13
+ ---
14
+
15
+ # v10.12.0 (Tue Jul 23 2024)
16
+
17
+ #### 🚀 Enhancement
18
+
19
+ - Support check24-partnerprogramm.de [#465](https://github.com/duckduckgo/autoconsent/pull/465) ([@seia-soto](https://github.com/seia-soto))
20
+ - Support Acris CMP [#464](https://github.com/duckduckgo/autoconsent/pull/464) ([@seia-soto](https://github.com/seia-soto) [@muodov](https://github.com/muodov))
21
+
22
+ #### 🐛 Bug Fix
23
+
24
+ - Monthly Coverage data update [#463](https://github.com/duckduckgo/autoconsent/pull/463) (dax@duckduckgo.com [@sammacbeth](https://github.com/sammacbeth))
25
+
26
+ #### Authors: 4
27
+
28
+ - Dax the Deployer (dax@duckduckgo.com)
29
+ - HoJeong Go ([@seia-soto](https://github.com/seia-soto))
30
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
31
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
32
+
33
+ ---
34
+
1
35
  # v10.11.0 (Mon Jul 01 2024)
2
36
 
3
37
  #### 🚀 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: [ ... ],