chrome-types 0.1.395 → 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 +53 -2
  2. package/index.d.ts +53 -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 Tue Dec 09 2025 22:33:36 GMT+0000 (Coordinated Universal Time)
18
- // Built at 37a83c6fd7602164fef01baa0d3c8cc51c4730ad
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
 
@@ -8199,6 +8199,36 @@ declare namespace chrome {
8199
8199
  */
8200
8200
  excludedRequestDomains?: string[];
8201
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
+
8202
8232
  /**
8203
8233
  * The rule will only match network requests originating from the list of `domains`.
8204
8234
  *
@@ -8509,6 +8539,13 @@ declare namespace chrome {
8509
8539
  */
8510
8540
  tabId?: number;
8511
8541
 
8542
+ /**
8543
+ * The associated top-level frame URL (if any) for the request.
8544
+ *
8545
+ * @since Pending
8546
+ */
8547
+ topUrl?: string;
8548
+
8512
8549
  /**
8513
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"]}`
8514
8551
  *
@@ -31061,6 +31098,13 @@ declare namespace chrome {
31061
31098
  */
31062
31099
  groupId: number;
31063
31100
 
31101
+ /**
31102
+ * The ID of the Split View that the tab belongs to.
31103
+ *
31104
+ * @since Pending
31105
+ */
31106
+ splitViewId?: number;
31107
+
31064
31108
  /**
31065
31109
  * The ID of the window that contains the tab.
31066
31110
  */
@@ -31239,6 +31283,13 @@ declare namespace chrome {
31239
31283
  */
31240
31284
  export const MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND: 2;
31241
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
+
31242
31293
  /**
31243
31294
  * An ID that represents the absence of a browser tab.
31244
31295
  *
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Tue Dec 09 2025 22:33:31 GMT+0000 (Coordinated Universal Time)
18
- // Built at 37a83c6fd7602164fef01baa0d3c8cc51c4730ad
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
 
@@ -4948,6 +4948,36 @@ declare namespace chrome {
4948
4948
  */
4949
4949
  excludedRequestDomains?: string[];
4950
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
+
4951
4981
  /**
4952
4982
  * The rule will only match network requests originating from the list of `domains`.
4953
4983
  *
@@ -5258,6 +5288,13 @@ declare namespace chrome {
5258
5288
  */
5259
5289
  tabId?: number;
5260
5290
 
5291
+ /**
5292
+ * The associated top-level frame URL (if any) for the request.
5293
+ *
5294
+ * @since Pending
5295
+ */
5296
+ topUrl?: string;
5297
+
5261
5298
  /**
5262
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"]}`
5263
5300
  *
@@ -22224,6 +22261,13 @@ declare namespace chrome {
22224
22261
  */
22225
22262
  groupId: number;
22226
22263
 
22264
+ /**
22265
+ * The ID of the Split View that the tab belongs to.
22266
+ *
22267
+ * @since Pending
22268
+ */
22269
+ splitViewId?: number;
22270
+
22227
22271
  /**
22228
22272
  * The ID of the window that contains the tab.
22229
22273
  */
@@ -22402,6 +22446,13 @@ declare namespace chrome {
22402
22446
  */
22403
22447
  export const MAX_CAPTURE_VISIBLE_TAB_CALLS_PER_SECOND: 2;
22404
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
+
22405
22456
  /**
22406
22457
  * An ID that represents the absence of a browser tab.
22407
22458
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "ce2f531a7385b078"
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.395"
19
+ "version": "0.1.396"
20
20
  }