chrome-types 0.1.113 → 0.1.116

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 +55 -5
  2. package/index.d.ts +54 -5
  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 Sat May 28 2022 22:29:04 GMT+0000 (Coordinated Universal Time)
18
- // Built at b64ff3d560c2aa416b84e53ebf3929696119c772
17
+ // Generated on Wed Jun 15 2022 22:31:01 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 13faf30b4364e931be6bdcc2ec446135967a5cf1
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -1786,12 +1786,10 @@ declare namespace chrome {
1786
1786
  Specifies IDs of devices that should be active. If either the input or output list is not set, devices in that category are unaffected.
1787
1787
 
1788
1788
  It is an error to pass in a non-existent device ID.
1789
-
1790
- **NOTE:** While the method signature allows device IDs to be passed as a list of strings, this method of setting active devices is deprecated and should not be relied upon to work. Please use {@link DeviceIdLists} instead.
1791
1789
  */
1792
1790
  export function setActiveDevices(
1793
1791
 
1794
- ids: DeviceIdLists | string[],
1792
+ ids: DeviceIdLists,
1795
1793
 
1796
1794
  callback: () => void,
1797
1795
  ): void;
@@ -6724,6 +6722,7 @@ declare namespace chrome {
6724
6722
  * @since Chrome 46
6725
6723
  * @chrome-permission certificateProvider
6726
6724
  * @chrome-platform chromeos
6725
+ * @chrome-platform lacros
6727
6726
  */
6728
6727
  export namespace certificateProvider {
6729
6728
 
@@ -11001,6 +11000,56 @@ declare namespace chrome {
11001
11000
  ): void;
11002
11001
  }
11003
11002
 
11003
+ /**
11004
+ * Use the `chrome.devtools.recorder` API to customize the Recorder panel in DevTools.
11005
+ *
11006
+ * @since Pending
11007
+ */
11008
+ export namespace devtools.recorder {
11009
+
11010
+ /**
11011
+ * A plugin interface that the Recorder panel invokes to customize the Recorder panel.
11012
+ */
11013
+ export interface RecorderExtensionPlugin {
11014
+
11015
+ /**
11016
+ * Converts a recording from the Recorder panel format into a string.
11017
+ *
11018
+ * @param recording A recording of the user interaction with the page. This should match [Puppeteer's recording schema](https://github.com/puppeteer/replay/blob/main/docs/api/interfaces/Schema.UserFlow.md).
11019
+ */
11020
+ stringify(
11021
+
11022
+ recording: {},
11023
+ ): void;
11024
+
11025
+ /**
11026
+ * Converts a step of the recording from the Recorder panel format into a string.
11027
+ *
11028
+ * @param step A step of the recording of a user interaction with the page. This should match [Puppeteer's step schema](https://github.com/puppeteer/replay/blob/main/docs/api/modules/Schema.md#step).
11029
+ */
11030
+ stringifyStep(
11031
+
11032
+ step: {},
11033
+ ): void;
11034
+ }
11035
+
11036
+ /**
11037
+ * Registers a Recorder extension plugin.
11038
+ *
11039
+ * @param plugin An instance implementing the RecorderExtensionPlugin interface.
11040
+ * @param name The name of the plugin.
11041
+ * @param mediaType The media type of the string content that the plugin produces.
11042
+ */
11043
+ export function registerRecorderExtensionPlugin(
11044
+
11045
+ plugin: RecorderExtensionPlugin,
11046
+
11047
+ name: string,
11048
+
11049
+ mediaType: string,
11050
+ ): void;
11051
+ }
11052
+
11004
11053
  /**
11005
11054
  * Use the `chrome.diagnostics` API to query various properties of the environment that may be useful for diagnostics.
11006
11055
  *
@@ -18585,6 +18634,7 @@ declare namespace chrome {
18585
18634
  * @chrome-permission networking.onc
18586
18635
  * @chrome-platform-apps
18587
18636
  * @chrome-platform chromeos
18637
+ * @chrome-platform lacros
18588
18638
  */
18589
18639
  export namespace networking.onc {
18590
18640
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Sat May 28 2022 22:29:00 GMT+0000 (Coordinated Universal Time)
18
- // Built at b64ff3d560c2aa416b84e53ebf3929696119c772
17
+ // Generated on Wed Jun 15 2022 22:30:55 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 13faf30b4364e931be6bdcc2ec446135967a5cf1
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -1037,12 +1037,10 @@ declare namespace chrome {
1037
1037
  Specifies IDs of devices that should be active. If either the input or output list is not set, devices in that category are unaffected.
1038
1038
 
1039
1039
  It is an error to pass in a non-existent device ID.
1040
-
1041
- **NOTE:** While the method signature allows device IDs to be passed as a list of strings, this method of setting active devices is deprecated and should not be relied upon to work. Please use {@link DeviceIdLists} instead.
1042
1040
  */
1043
1041
  export function setActiveDevices(
1044
1042
 
1045
- ids: DeviceIdLists | string[],
1043
+ ids: DeviceIdLists,
1046
1044
 
1047
1045
  callback: () => void,
1048
1046
  ): void;
@@ -3656,6 +3654,7 @@ declare namespace chrome {
3656
3654
  * @since Chrome 46
3657
3655
  * @chrome-permission certificateProvider
3658
3656
  * @chrome-platform chromeos
3657
+ * @chrome-platform lacros
3659
3658
  */
3660
3659
  export namespace certificateProvider {
3661
3660
 
@@ -7275,6 +7274,56 @@ declare namespace chrome {
7275
7274
  ): void;
7276
7275
  }
7277
7276
 
7277
+ /**
7278
+ * Use the `chrome.devtools.recorder` API to customize the Recorder panel in DevTools.
7279
+ *
7280
+ * @since Pending
7281
+ */
7282
+ export namespace devtools.recorder {
7283
+
7284
+ /**
7285
+ * A plugin interface that the Recorder panel invokes to customize the Recorder panel.
7286
+ */
7287
+ export interface RecorderExtensionPlugin {
7288
+
7289
+ /**
7290
+ * Converts a recording from the Recorder panel format into a string.
7291
+ *
7292
+ * @param recording A recording of the user interaction with the page. This should match [Puppeteer's recording schema](https://github.com/puppeteer/replay/blob/main/docs/api/interfaces/Schema.UserFlow.md).
7293
+ */
7294
+ stringify(
7295
+
7296
+ recording: {},
7297
+ ): void;
7298
+
7299
+ /**
7300
+ * Converts a step of the recording from the Recorder panel format into a string.
7301
+ *
7302
+ * @param step A step of the recording of a user interaction with the page. This should match [Puppeteer's step schema](https://github.com/puppeteer/replay/blob/main/docs/api/modules/Schema.md#step).
7303
+ */
7304
+ stringifyStep(
7305
+
7306
+ step: {},
7307
+ ): void;
7308
+ }
7309
+
7310
+ /**
7311
+ * Registers a Recorder extension plugin.
7312
+ *
7313
+ * @param plugin An instance implementing the RecorderExtensionPlugin interface.
7314
+ * @param name The name of the plugin.
7315
+ * @param mediaType The media type of the string content that the plugin produces.
7316
+ */
7317
+ export function registerRecorderExtensionPlugin(
7318
+
7319
+ plugin: RecorderExtensionPlugin,
7320
+
7321
+ name: string,
7322
+
7323
+ mediaType: string,
7324
+ ): void;
7325
+ }
7326
+
7278
7327
  /**
7279
7328
  * Use the `chrome.dns` API for dns resolution.
7280
7329
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "d4298a8a56506b42"
8
+ "build-hash": "96f19349742ea5b1"
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.113"
19
+ "version": "0.1.116"
20
20
  }