chrome-types 0.1.296 → 0.1.298

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 +24 -6
  2. package/index.d.ts +24 -6
  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 Mon Jul 29 2024 16:29:25 GMT+0000 (Coordinated Universal Time)
18
- // Built at f91b9ddb02bf6da75c33f3e5657c454f0fa32e7a
17
+ // Generated on Thu Aug 15 2024 22:30:59 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 6f20f98bf0a6cffcf90b7bfea75406b993fdedf8
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -7939,7 +7939,7 @@ declare namespace chrome {
7939
7939
  }
7940
7940
 
7941
7941
  /**
7942
- * @since Pending
7942
+ * @since Chrome 128
7943
7943
  */
7944
7944
  export interface HeaderInfo {
7945
7945
 
@@ -8128,14 +8128,14 @@ declare namespace chrome {
8128
8128
  /**
8129
8129
  * Rule matches if the request matches any response header condition in this list (if specified).
8130
8130
  *
8131
- * @since Pending
8131
+ * @since Chrome 128
8132
8132
  */
8133
8133
  responseHeaders?: HeaderInfo[];
8134
8134
 
8135
8135
  /**
8136
8136
  * Rule does not match if the request matches any response header condition in this list (if specified). If both `excludedResponseHeaders` and `responseHeaders` are specified, then the `excludedResponseHeaders` property takes precedence.
8137
8137
  *
8138
- * @since Pending
8138
+ * @since Chrome 128
8139
8139
  */
8140
8140
  excludedResponseHeaders?: HeaderInfo[];
8141
8141
  }
@@ -10158,6 +10158,24 @@ declare namespace chrome {
10158
10158
  ): void;
10159
10159
  }
10160
10160
 
10161
+ /**
10162
+ * Use the `chrome.devtools.performance` API to listen to recording status updates in the Performance panel in DevTools.
10163
+ *
10164
+ * @since Pending
10165
+ */
10166
+ export namespace devtools.performance {
10167
+
10168
+ /**
10169
+ * Fired when the Performance panel starts recording.
10170
+ */
10171
+ export const onProfilingStarted: events.Event<() => void>;
10172
+
10173
+ /**
10174
+ * Fired when the Performance panel stops recording.
10175
+ */
10176
+ export const onProfilingStopped: events.Event<() => void>;
10177
+ }
10178
+
10161
10179
  /**
10162
10180
  * Use the `chrome.devtools.recorder` API to customize the Recorder panel in DevTools.
10163
10181
  *
@@ -11655,7 +11673,7 @@ declare namespace chrome {
11655
11673
  /**
11656
11674
  * The size of the returned icon. The icon will be square with dimensions size \* size pixels. The default and largest size for the icon is 32x32 pixels. The only supported sizes are 16 and 32. It is an error to specify any other size.
11657
11675
  */
11658
- size?: 16 | 32;
11676
+ size?: number;
11659
11677
  }
11660
11678
 
11661
11679
  /**
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Mon Jul 29 2024 16:29:20 GMT+0000 (Coordinated Universal Time)
18
- // Built at f91b9ddb02bf6da75c33f3e5657c454f0fa32e7a
17
+ // Generated on Thu Aug 15 2024 22:30:54 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 6f20f98bf0a6cffcf90b7bfea75406b993fdedf8
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -4685,7 +4685,7 @@ declare namespace chrome {
4685
4685
  }
4686
4686
 
4687
4687
  /**
4688
- * @since Pending
4688
+ * @since Chrome 128
4689
4689
  */
4690
4690
  export interface HeaderInfo {
4691
4691
 
@@ -4874,14 +4874,14 @@ declare namespace chrome {
4874
4874
  /**
4875
4875
  * Rule matches if the request matches any response header condition in this list (if specified).
4876
4876
  *
4877
- * @since Pending
4877
+ * @since Chrome 128
4878
4878
  */
4879
4879
  responseHeaders?: HeaderInfo[];
4880
4880
 
4881
4881
  /**
4882
4882
  * Rule does not match if the request matches any response header condition in this list (if specified). If both `excludedResponseHeaders` and `responseHeaders` are specified, then the `excludedResponseHeaders` property takes precedence.
4883
4883
  *
4884
- * @since Pending
4884
+ * @since Chrome 128
4885
4885
  */
4886
4886
  excludedResponseHeaders?: HeaderInfo[];
4887
4887
  }
@@ -6355,6 +6355,24 @@ declare namespace chrome {
6355
6355
  ): void;
6356
6356
  }
6357
6357
 
6358
+ /**
6359
+ * Use the `chrome.devtools.performance` API to listen to recording status updates in the Performance panel in DevTools.
6360
+ *
6361
+ * @since Pending
6362
+ */
6363
+ export namespace devtools.performance {
6364
+
6365
+ /**
6366
+ * Fired when the Performance panel starts recording.
6367
+ */
6368
+ export const onProfilingStarted: events.Event<() => void>;
6369
+
6370
+ /**
6371
+ * Fired when the Performance panel stops recording.
6372
+ */
6373
+ export const onProfilingStopped: events.Event<() => void>;
6374
+ }
6375
+
6358
6376
  /**
6359
6377
  * Use the `chrome.devtools.recorder` API to customize the Recorder panel in DevTools.
6360
6378
  *
@@ -7785,7 +7803,7 @@ declare namespace chrome {
7785
7803
  /**
7786
7804
  * The size of the returned icon. The icon will be square with dimensions size \* size pixels. The default and largest size for the icon is 32x32 pixels. The only supported sizes are 16 and 32. It is an error to specify any other size.
7787
7805
  */
7788
- size?: 16 | 32;
7806
+ size?: number;
7789
7807
  }
7790
7808
 
7791
7809
  /**
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "aa0df01c55268c67"
8
+ "build-hash": "f725319476082cc4"
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.296"
19
+ "version": "0.1.298"
20
20
  }