@duckduckgo/autoconsent 16.43.1 → 16.43.2

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Autoconsent",
4
- "version": "2026.9.29",
4
+ "version": "2026.9.30",
5
5
  "background": {
6
6
  "scripts": [
7
7
  "background.bundle.js"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "manifest_version": 3,
3
3
  "name": "Autoconsent",
4
- "version": "2026.9.29",
4
+ "version": "2026.9.30",
5
5
  "background": {
6
6
  "service_worker": "background.bundle.js"
7
7
  },
@@ -66,7 +66,7 @@ Returns true if the given selector matches one or more elements.
66
66
  "check": "any" | "all" | "none"
67
67
  }
68
68
  ```
69
- Returns true if elements matched by ElementSelector are currently visible on the page. If `check` is `all` (default), every element must be visible. If `check` is `none`, no element should be visible. Visibility check is a CSS-based heuristic.
69
+ Returns true if elements matched by ElementSelector are currently visible on the page. If `check` is `all` (default), every element must be visible. If `check` is `none`, no element should be visible. Visibility check is a CSS-based heuristic. Prehiding does not affect this check.
70
70
 
71
71
  ## Wait for element
72
72
 
@@ -87,7 +87,7 @@ Waits until `selector` exists in the page. After `timeout` ms the step fails.
87
87
  "check": "any" | "all" | "none"
88
88
  }
89
89
  ```
90
- Waits until element is visible in the page. After `timeout` ms the step fails.
90
+ Waits until element is visible in the page. After `timeout` ms the step fails. To wait until an element is not visible, use `check: "none"`, not `negated`.
91
91
 
92
92
  ## Click an element
93
93
  ```javascript
@@ -183,7 +183,7 @@ The optional `stylesheetId` is a marker used to prevent duplicate inserts when t
183
183
  "cookieContains": "substring"
184
184
  }
185
185
  ```
186
- Checks if the substring is present in the document.cookie string.
186
+ Checks if the substring is present in the document.cookie string. `HttpOnly` cookies are not in this string.
187
187
 
188
188
  ## Eval
189
189
 
@@ -234,7 +234,7 @@ Evaluates a list of steps in order. If any return true (success), then the step
234
234
  }
235
235
  ```
236
236
 
237
- If `negated` is true, the result will be inverted. For example, `{ "exists": ".my-class", "negated": true }` will return true if `.my-class` does not exist.
237
+ If `negated` is true, the result will be inverted. For example, `{ "exists": ".my-class", "negated": true }` will return true if `.my-class` does not exist. The result is inverted after the step is complete, so `negated` does not change what a waiting step waits for.
238
238
 
239
239
  ## Optional actions
240
240
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckduckgo/autoconsent",
3
- "version": "16.43.1",
3
+ "version": "16.43.2",
4
4
  "description": "",
5
5
  "types": "./dist/types/web.d.ts",
6
6
  "exports": {