devtools-protocol 0.0.1001819 → 0.0.1002782

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.
@@ -21492,7 +21492,15 @@
21492
21492
  "commands": [
21493
21493
  {
21494
21494
  "name": "enable",
21495
- "description": "Enable the WebAuthn domain and start intercepting credential storage and\nretrieval with a virtual authenticator."
21495
+ "description": "Enable the WebAuthn domain and start intercepting credential storage and\nretrieval with a virtual authenticator.",
21496
+ "parameters": [
21497
+ {
21498
+ "name": "enableUI",
21499
+ "description": "Whether to enable the WebAuthn user interface. Enabling the UI is\nrecommended for debugging and demo purposes, as it is closer to the real\nexperience. Disabling the UI is recommended for automated testing.\nSupported at the embedder's discretion if UI is available.\nDefaults to false.",
21500
+ "optional": true,
21501
+ "type": "boolean"
21502
+ }
21503
+ ]
21496
21504
  },
21497
21505
  {
21498
21506
  "name": "disable",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1001819",
3
+ "version": "0.0.1002782",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -10120,6 +10120,13 @@ experimental domain WebAuthn
10120
10120
  # Enable the WebAuthn domain and start intercepting credential storage and
10121
10121
  # retrieval with a virtual authenticator.
10122
10122
  command enable
10123
+ parameters
10124
+ # Whether to enable the WebAuthn user interface. Enabling the UI is
10125
+ # recommended for debugging and demo purposes, as it is closer to the real
10126
+ # experience. Disabling the UI is recommended for automated testing.
10127
+ # Supported at the embedder's discretion if UI is available.
10128
+ # Defaults to false.
10129
+ optional boolean enableUI
10123
10130
 
10124
10131
  # Disable the WebAuthn domain.
10125
10132
  command disable
@@ -4339,7 +4339,7 @@ export namespace ProtocolMapping {
4339
4339
  * retrieval with a virtual authenticator.
4340
4340
  */
4341
4341
  'WebAuthn.enable': {
4342
- paramsType: [];
4342
+ paramsType: [Protocol.WebAuthn.EnableRequest?];
4343
4343
  returnType: void;
4344
4344
  };
4345
4345
  /**
@@ -3677,7 +3677,7 @@ export namespace ProtocolProxyApi {
3677
3677
  * Enable the WebAuthn domain and start intercepting credential storage and
3678
3678
  * retrieval with a virtual authenticator.
3679
3679
  */
3680
- enable(): Promise<void>;
3680
+ enable(params: Protocol.WebAuthn.EnableRequest): Promise<void>;
3681
3681
 
3682
3682
  /**
3683
3683
  * Disable the WebAuthn domain.
@@ -15995,6 +15995,17 @@ export namespace Protocol {
15995
15995
  largeBlob?: string;
15996
15996
  }
15997
15997
 
15998
+ export interface EnableRequest {
15999
+ /**
16000
+ * Whether to enable the WebAuthn user interface. Enabling the UI is
16001
+ * recommended for debugging and demo purposes, as it is closer to the real
16002
+ * experience. Disabling the UI is recommended for automated testing.
16003
+ * Supported at the embedder's discretion if UI is available.
16004
+ * Defaults to false.
16005
+ */
16006
+ enableUI?: boolean;
16007
+ }
16008
+
15998
16009
  export interface AddVirtualAuthenticatorRequest {
15999
16010
  options: VirtualAuthenticatorOptions;
16000
16011
  }