@types/chrome 0.1.32 → 0.1.34

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.
Files changed (3) hide show
  1. chrome/README.md +1 -1
  2. chrome/index.d.ts +29 -1
  3. chrome/package.json +2 -2
chrome/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (https://developer.chrome.com/
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 01 Dec 2025 20:34:48 GMT
11
+ * Last updated: Mon, 19 Jan 2026 00:04:09 GMT
12
12
  * Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
13
13
 
14
14
  # Credits
chrome/index.d.ts CHANGED
@@ -13162,7 +13162,7 @@ declare namespace chrome {
13162
13162
  * The UUID of the document making the request.
13163
13163
  * @since Chrome 106
13164
13164
  */
13165
- documentId: string;
13165
+ documentId?: string;
13166
13166
  /**
13167
13167
  * The lifecycle the document is in.
13168
13168
  * @since Chrome 106
@@ -13952,6 +13952,34 @@ declare namespace chrome {
13952
13952
  */
13953
13953
  excludedTabIds?: number[] | undefined;
13954
13954
 
13955
+ /**
13956
+ * The rule will only match network requests when the associated top-level frame's domain matches one from the list of `topDomains`. If the list is omitted, the rule is applied to requests associated with all top-level frame domains. An empty list is not allowed.
13957
+ *
13958
+ * Notes:
13959
+ * - Sub-domains like "a.example.com" are also allowed.
13960
+ * - The entries must consist of only ascii characters.
13961
+ * - Use punycode encoding for internationalized domains.
13962
+ * - Sub-domains of the listed domains are also matched.
13963
+ * - For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
13964
+ * @since Chrome 141
13965
+ */
13966
+ topDomains?: string[] | undefined;
13967
+
13968
+ /**
13969
+ * The rule will not match network requests when the associated top-level frame's domain
13970
+ * matches one from the list of excludedTopDomains. If the list is empty or omitted,
13971
+ * The rule will not match network requests when the associated top-level frame's domain matches one from the list of `excludedTopDomains`. If the list is empty or omitted, no domains are excluded. This takes precedence over `topDomains`.
13972
+ *
13973
+ * Notes:
13974
+ * - Sub-domains like "a.example.com" are also allowed.
13975
+ * - The entries must consist of only ascii characters.
13976
+ * - Use punycode encoding for internationalized domains.
13977
+ * - Sub-domains of the listed domains are also excluded.
13978
+ * - For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
13979
+ * @since Chrome 141
13980
+ */
13981
+ excludedTopDomains?: string[] | undefined;
13982
+
13955
13983
  /** Whether the `urlFilter` or `regexFilter` (whichever is specified) is case sensitive. Default is false. */
13956
13984
  isUrlFilterCaseSensitive?: boolean | undefined;
13957
13985
 
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.1.32",
3
+ "version": "0.1.34",
4
4
  "description": "TypeScript definitions for chrome",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
6
6
  "license": "MIT",
@@ -94,6 +94,6 @@
94
94
  "@types/har-format": "*"
95
95
  },
96
96
  "peerDependencies": {},
97
- "typesPublisherContentHash": "73ae308fb39a1401a1bb9b8d3540f18508b8574691e7f8a1becc916c785d1566",
97
+ "typesPublisherContentHash": "c45889239fbefb44673e090cc74c374796ba2ad4f3c44547c0ddf4d6d37f45b5",
98
98
  "typeScriptVersion": "5.2"
99
99
  }