@types/chrome 0.1.33 → 0.1.35

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 +26 -0
  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: Sat, 10 Jan 2026 12:44:29 GMT
11
+ * Last updated: Tue, 20 Jan 2026 07:39:58 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
@@ -13952,6 +13952,32 @@ 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 matches one from the list of `excludedTopDomains`. If the list is empty or omitted, no domains are excluded. This takes precedence over `topDomains`.
13970
+ *
13971
+ * Notes:
13972
+ * - Sub-domains like "a.example.com" are also allowed.
13973
+ * - The entries must consist of only ascii characters.
13974
+ * - Use punycode encoding for internationalized domains.
13975
+ * - Sub-domains of the listed domains are also excluded.
13976
+ * - For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
13977
+ * @since Chrome 141
13978
+ */
13979
+ excludedTopDomains?: string[] | undefined;
13980
+
13955
13981
  /** Whether the `urlFilter` or `regexFilter` (whichever is specified) is case sensitive. Default is false. */
13956
13982
  isUrlFilterCaseSensitive?: boolean | undefined;
13957
13983
 
chrome/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/chrome",
3
- "version": "0.1.33",
3
+ "version": "0.1.35",
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": "492aaffbb03731cd1026f5a89857f2a2c7fc9898d59ea6e638a3c86a40f5789c",
97
+ "typesPublisherContentHash": "eb2d682926052cf9eb0bdebfd53407ac9beba2095b424d3242dcc5279fc21861",
98
98
  "typeScriptVersion": "5.2"
99
99
  }