chrome-types 0.1.394 → 0.1.396

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. package/_all.d.ts +58 -2
  2. package/index.d.ts +58 -2
  3. package/package.json +2 -2
package/_all.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Dec 04 2025 22:33:56 GMT+0000 (Coordinated Universal Time)
18
- // Built at 9603e7feda67cf521577f506ec5e9673afbba66b
17
+ // Generated on Thu Dec 11 2025 14:51:27 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 959329d992b1c527b58275c5310816f1296b0e1f
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -7954,6 +7954,11 @@ declare namespace chrome {
7954
7954
  */
7955
7955
  export type UnsupportedRegexReason = "syntaxError" | "memoryLimitExceeded";
7956
7956
 
7957
+ /**
7958
+ * @since Pending
7959
+ */
7960
+ export type RuleConditionKeys = "urlFilter" | "regexFilter" | "isUrlFilterCaseSensitive" | "initiatorDomains" | "excludedInitiatorDomains" | "requestDomains" | "excludedRequestDomains" | "topDomains" | "excludedTopDomains" | "domains" | "excludedDomains" | "resourceTypes" | "excludedResourceTypes" | "requestMethods" | "excludedRequestMethods" | "domainType" | "tabIds" | "excludedTabIds" | "responseHeaders" | "excludedResponseHeaders";
7961
+
7957
7962
  export interface Ruleset {
7958
7963
 
7959
7964
  /**
@@ -8194,6 +8199,36 @@ declare namespace chrome {
8194
8199
  */
8195
8200
  excludedRequestDomains?: string[];
8196
8201
 
8202
+ /**
8203
+ * 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.
8204
+ *
8205
+ * Notes:
8206
+ *
8207
+ * * Sub-domains like "a.example.com" are also allowed.
8208
+ * * The entries must consist of only ascii characters.
8209
+ * * Use punycode encoding for internationalized domains.
8210
+ * * Sub-domains of the listed domains are also matched.
8211
+ * * For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
8212
+ *
8213
+ * @since Pending
8214
+ */
8215
+ topDomains?: string[];
8216
+
8217
+ /**
8218
+ * 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`.
8219
+ *
8220
+ * Notes:
8221
+ *
8222
+ * * Sub-domains like "a.example.com" are also allowed.
8223
+ * * The entries must consist of only ascii characters.
8224
+ * * Use punycode encoding for internationalized domains.
8225
+ * * Sub-domains of the listed domains are also excluded.
8226
+ * * For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
8227
+ *
8228
+ * @since Pending
8229
+ */
8230
+ excludedTopDomains?: string[];
8231
+
8197
8232
  /**
8198
8233
  * The rule will only match network requests originating from the list of `domains`.
8199
8234
  *
@@ -8504,6 +8539,13 @@ declare namespace chrome {
8504
8539
  */
8505
8540
  tabId?: number;
8506
8541
 
8542
+ /**
8543
+ * The associated top-level frame URL (if any) for the request.
8544
+ *
8545
+ * @since Pending
8546
+ */
8547
+ topUrl?: string;
8548
+
8507
8549
  /**
8508
8550
  * The headers provided by a hypothetical response if the request does not get blocked or redirected before it is sent. Represented as an object which maps a header name to a list of string values. If not specified, the hypothetical response would return empty response headers, which can match rules which match on the non-existence of headers. E.g. `{"content-type": ["text/html; charset=utf-8", "multipart/form-data"]}`
8509
8551
  *
@@ -31056,6 +31098,13 @@ declare namespace chrome {
31056
31098
  */
31057
31099
  groupId: number;
31058
31100
 
31101
+ /**
31102
+ * The ID of the Split View that the tab belongs to.
31103
+ *
31104
+ * @since Pending
31105
+ */
31106
+ splitViewId?: number;
31107
+
31059
31108
  /**
31060
31109
  * The ID of the window that contains the tab.
31061
31110
  */
@@ -31234,6 +31283,13 @@ declare namespace chrome {
31234
31283
  */
31235
31284
  export const MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND: 2;
31236
31285
 
31286
+ /**
31287
+ * An ID that represents the absence of a split tab.
31288
+ *
31289
+ * @since Pending
31290
+ */
31291
+ export const SPLIT_VIEW_ID_NONE: -1;
31292
+
31237
31293
  /**
31238
31294
  * An ID that represents the absence of a browser tab.
31239
31295
  *
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Dec 04 2025 22:33:51 GMT+0000 (Coordinated Universal Time)
18
- // Built at 9603e7feda67cf521577f506ec5e9673afbba66b
17
+ // Generated on Thu Dec 11 2025 14:51:22 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 959329d992b1c527b58275c5310816f1296b0e1f
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -4703,6 +4703,11 @@ declare namespace chrome {
4703
4703
  */
4704
4704
  export type UnsupportedRegexReason = "syntaxError" | "memoryLimitExceeded";
4705
4705
 
4706
+ /**
4707
+ * @since Pending
4708
+ */
4709
+ export type RuleConditionKeys = "urlFilter" | "regexFilter" | "isUrlFilterCaseSensitive" | "initiatorDomains" | "excludedInitiatorDomains" | "requestDomains" | "excludedRequestDomains" | "topDomains" | "excludedTopDomains" | "domains" | "excludedDomains" | "resourceTypes" | "excludedResourceTypes" | "requestMethods" | "excludedRequestMethods" | "domainType" | "tabIds" | "excludedTabIds" | "responseHeaders" | "excludedResponseHeaders";
4710
+
4706
4711
  export interface Ruleset {
4707
4712
 
4708
4713
  /**
@@ -4943,6 +4948,36 @@ declare namespace chrome {
4943
4948
  */
4944
4949
  excludedRequestDomains?: string[];
4945
4950
 
4951
+ /**
4952
+ * 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.
4953
+ *
4954
+ * Notes:
4955
+ *
4956
+ * * Sub-domains like "a.example.com" are also allowed.
4957
+ * * The entries must consist of only ascii characters.
4958
+ * * Use punycode encoding for internationalized domains.
4959
+ * * Sub-domains of the listed domains are also matched.
4960
+ * * For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
4961
+ *
4962
+ * @since Pending
4963
+ */
4964
+ topDomains?: string[];
4965
+
4966
+ /**
4967
+ * 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`.
4968
+ *
4969
+ * Notes:
4970
+ *
4971
+ * * Sub-domains like "a.example.com" are also allowed.
4972
+ * * The entries must consist of only ascii characters.
4973
+ * * Use punycode encoding for internationalized domains.
4974
+ * * Sub-domains of the listed domains are also excluded.
4975
+ * * For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
4976
+ *
4977
+ * @since Pending
4978
+ */
4979
+ excludedTopDomains?: string[];
4980
+
4946
4981
  /**
4947
4982
  * The rule will only match network requests originating from the list of `domains`.
4948
4983
  *
@@ -5253,6 +5288,13 @@ declare namespace chrome {
5253
5288
  */
5254
5289
  tabId?: number;
5255
5290
 
5291
+ /**
5292
+ * The associated top-level frame URL (if any) for the request.
5293
+ *
5294
+ * @since Pending
5295
+ */
5296
+ topUrl?: string;
5297
+
5256
5298
  /**
5257
5299
  * The headers provided by a hypothetical response if the request does not get blocked or redirected before it is sent. Represented as an object which maps a header name to a list of string values. If not specified, the hypothetical response would return empty response headers, which can match rules which match on the non-existence of headers. E.g. `{"content-type": ["text/html; charset=utf-8", "multipart/form-data"]}`
5258
5300
  *
@@ -22219,6 +22261,13 @@ declare namespace chrome {
22219
22261
  */
22220
22262
  groupId: number;
22221
22263
 
22264
+ /**
22265
+ * The ID of the Split View that the tab belongs to.
22266
+ *
22267
+ * @since Pending
22268
+ */
22269
+ splitViewId?: number;
22270
+
22222
22271
  /**
22223
22272
  * The ID of the window that contains the tab.
22224
22273
  */
@@ -22397,6 +22446,13 @@ declare namespace chrome {
22397
22446
  */
22398
22447
  export const MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND: 2;
22399
22448
 
22449
+ /**
22450
+ * An ID that represents the absence of a split tab.
22451
+ *
22452
+ * @since Pending
22453
+ */
22454
+ export const SPLIT_VIEW_ID_NONE: -1;
22455
+
22400
22456
  /**
22401
22457
  * An ID that represents the absence of a browser tab.
22402
22458
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "5b05dad1f2f11d67"
8
+ "build-hash": "ada2256bf1ce80b2"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/GoogleChrome/chrome-types/issues"
17
17
  },
18
18
  "homepage": "https://github.com/GoogleChrome/chrome-types",
19
- "version": "0.1.394"
19
+ "version": "0.1.396"
20
20
  }