chrome-types 0.1.395 → 0.1.397

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 +61 -10
  2. package/index.d.ts +61 -10
  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 Mon Dec 15 2025 22:33:47 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 03f290c5a6801ea2179d32674cfc8f40a9edae8e
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
  *
@@ -37270,7 +37321,7 @@ declare namespace chrome {
37270
37321
  *
37271
37322
  * @since Chrome 106
37272
37323
  */
37273
- documentId: string,
37324
+ documentId?: string,
37274
37325
 
37275
37326
  /**
37276
37327
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -37359,7 +37410,7 @@ declare namespace chrome {
37359
37410
  *
37360
37411
  * @since Chrome 106
37361
37412
  */
37362
- documentId: string,
37413
+ documentId?: string,
37363
37414
 
37364
37415
  /**
37365
37416
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -37451,7 +37502,7 @@ declare namespace chrome {
37451
37502
  *
37452
37503
  * @since Chrome 106
37453
37504
  */
37454
- documentId: string,
37505
+ documentId?: string,
37455
37506
 
37456
37507
  /**
37457
37508
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -37563,7 +37614,7 @@ declare namespace chrome {
37563
37614
  *
37564
37615
  * @since Chrome 106
37565
37616
  */
37566
- documentId: string,
37617
+ documentId?: string,
37567
37618
 
37568
37619
  /**
37569
37620
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -37695,7 +37746,7 @@ declare namespace chrome {
37695
37746
  *
37696
37747
  * @since Chrome 106
37697
37748
  */
37698
- documentId: string,
37749
+ documentId?: string,
37699
37750
 
37700
37751
  /**
37701
37752
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -37804,7 +37855,7 @@ declare namespace chrome {
37804
37855
  *
37805
37856
  * @since Chrome 106
37806
37857
  */
37807
- documentId: string,
37858
+ documentId?: string,
37808
37859
 
37809
37860
  /**
37810
37861
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -37918,7 +37969,7 @@ declare namespace chrome {
37918
37969
  *
37919
37970
  * @since Chrome 106
37920
37971
  */
37921
- documentId: string,
37972
+ documentId?: string,
37922
37973
 
37923
37974
  /**
37924
37975
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -38027,7 +38078,7 @@ declare namespace chrome {
38027
38078
  *
38028
38079
  * @since Chrome 106
38029
38080
  */
38030
- documentId: string,
38081
+ documentId?: string,
38031
38082
 
38032
38083
  /**
38033
38084
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
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 Mon Dec 15 2025 22:33:42 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 03f290c5a6801ea2179d32674cfc8f40a9edae8e
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
  *
@@ -27058,7 +27109,7 @@ declare namespace chrome {
27058
27109
  *
27059
27110
  * @since Chrome 106
27060
27111
  */
27061
- documentId: string,
27112
+ documentId?: string,
27062
27113
 
27063
27114
  /**
27064
27115
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -27147,7 +27198,7 @@ declare namespace chrome {
27147
27198
  *
27148
27199
  * @since Chrome 106
27149
27200
  */
27150
- documentId: string,
27201
+ documentId?: string,
27151
27202
 
27152
27203
  /**
27153
27204
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -27239,7 +27290,7 @@ declare namespace chrome {
27239
27290
  *
27240
27291
  * @since Chrome 106
27241
27292
  */
27242
- documentId: string,
27293
+ documentId?: string,
27243
27294
 
27244
27295
  /**
27245
27296
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -27351,7 +27402,7 @@ declare namespace chrome {
27351
27402
  *
27352
27403
  * @since Chrome 106
27353
27404
  */
27354
- documentId: string,
27405
+ documentId?: string,
27355
27406
 
27356
27407
  /**
27357
27408
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -27483,7 +27534,7 @@ declare namespace chrome {
27483
27534
  *
27484
27535
  * @since Chrome 106
27485
27536
  */
27486
- documentId: string,
27537
+ documentId?: string,
27487
27538
 
27488
27539
  /**
27489
27540
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -27592,7 +27643,7 @@ declare namespace chrome {
27592
27643
  *
27593
27644
  * @since Chrome 106
27594
27645
  */
27595
- documentId: string,
27646
+ documentId?: string,
27596
27647
 
27597
27648
  /**
27598
27649
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -27706,7 +27757,7 @@ declare namespace chrome {
27706
27757
  *
27707
27758
  * @since Chrome 106
27708
27759
  */
27709
- documentId: string,
27760
+ documentId?: string,
27710
27761
 
27711
27762
  /**
27712
27763
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
@@ -27815,7 +27866,7 @@ declare namespace chrome {
27815
27866
  *
27816
27867
  * @since Chrome 106
27817
27868
  */
27818
- documentId: string,
27869
+ documentId?: string,
27819
27870
 
27820
27871
  /**
27821
27872
  * The UUID of the parent document owning this frame. This is not set if there is no parent.
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": "ba512e5dbf10627b"
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.397"
20
20
  }