devtools-protocol 0.0.1220723 → 0.0.1222075

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.
@@ -24551,7 +24551,7 @@
24551
24551
  },
24552
24552
  {
24553
24553
  "id": "DialogType",
24554
- "description": "Whether the dialog shown is an account chooser or an auto re-authentication dialog.",
24554
+ "description": "The types of FedCM dialogs.",
24555
24555
  "type": "string",
24556
24556
  "enum": [
24557
24557
  "AccountChooser",
@@ -24559,6 +24559,14 @@
24559
24559
  "ConfirmIdpLogin"
24560
24560
  ]
24561
24561
  },
24562
+ {
24563
+ "id": "DialogButton",
24564
+ "description": "The buttons on the FedCM dialog.",
24565
+ "type": "string",
24566
+ "enum": [
24567
+ "ConfirmIdpLoginContinue"
24568
+ ]
24569
+ },
24562
24570
  {
24563
24571
  "id": "Account",
24564
24572
  "description": "Corresponds to IdentityRequestAccount",
@@ -24671,12 +24679,15 @@
24671
24679
  ]
24672
24680
  },
24673
24681
  {
24674
- "name": "confirmIdpLogin",
24675
- "description": "Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had\nclicked the continue button.",
24682
+ "name": "clickDialogButton",
24676
24683
  "parameters": [
24677
24684
  {
24678
24685
  "name": "dialogId",
24679
24686
  "type": "string"
24687
+ },
24688
+ {
24689
+ "name": "dialogButton",
24690
+ "$ref": "DialogButton"
24680
24691
  }
24681
24692
  ]
24682
24693
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1220723",
3
+ "version": "0.0.1222075",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -11615,13 +11615,18 @@ experimental domain FedCm
11615
11615
  SignIn
11616
11616
  SignUp
11617
11617
 
11618
- # Whether the dialog shown is an account chooser or an auto re-authentication dialog.
11618
+ # The types of FedCM dialogs.
11619
11619
  type DialogType extends string
11620
11620
  enum
11621
11621
  AccountChooser
11622
11622
  AutoReauthn
11623
11623
  ConfirmIdpLogin
11624
11624
 
11625
+ # The buttons on the FedCM dialog.
11626
+ type DialogButton extends string
11627
+ enum
11628
+ ConfirmIdpLoginContinue
11629
+
11625
11630
  # Corresponds to IdentityRequestAccount
11626
11631
  type Account extends object
11627
11632
  properties
@@ -11661,11 +11666,10 @@ experimental domain FedCm
11661
11666
  string dialogId
11662
11667
  integer accountIndex
11663
11668
 
11664
- # Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
11665
- # clicked the continue button.
11666
- command confirmIdpLogin
11669
+ command clickDialogButton
11667
11670
  parameters
11668
11671
  string dialogId
11672
+ DialogButton dialogButton
11669
11673
 
11670
11674
  command dismissDialog
11671
11675
  parameters
@@ -4826,12 +4826,8 @@ export namespace ProtocolMapping {
4826
4826
  paramsType: [Protocol.FedCm.SelectAccountRequest];
4827
4827
  returnType: void;
4828
4828
  };
4829
- /**
4830
- * Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
4831
- * clicked the continue button.
4832
- */
4833
- 'FedCm.confirmIdpLogin': {
4834
- paramsType: [Protocol.FedCm.ConfirmIdpLoginRequest];
4829
+ 'FedCm.clickDialogButton': {
4830
+ paramsType: [Protocol.FedCm.ClickDialogButtonRequest];
4835
4831
  returnType: void;
4836
4832
  };
4837
4833
  'FedCm.dismissDialog': {
@@ -4111,11 +4111,7 @@ export namespace ProtocolProxyApi {
4111
4111
 
4112
4112
  selectAccount(params: Protocol.FedCm.SelectAccountRequest): Promise<void>;
4113
4113
 
4114
- /**
4115
- * Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
4116
- * clicked the continue button.
4117
- */
4118
- confirmIdpLogin(params: Protocol.FedCm.ConfirmIdpLoginRequest): Promise<void>;
4114
+ clickDialogButton(params: Protocol.FedCm.ClickDialogButtonRequest): Promise<void>;
4119
4115
 
4120
4116
  dismissDialog(params: Protocol.FedCm.DismissDialogRequest): Promise<void>;
4121
4117
 
@@ -17735,10 +17735,15 @@ export namespace Protocol {
17735
17735
  export type LoginState = ('SignIn' | 'SignUp');
17736
17736
 
17737
17737
  /**
17738
- * Whether the dialog shown is an account chooser or an auto re-authentication dialog.
17738
+ * The types of FedCM dialogs.
17739
17739
  */
17740
17740
  export type DialogType = ('AccountChooser' | 'AutoReauthn' | 'ConfirmIdpLogin');
17741
17741
 
17742
+ /**
17743
+ * The buttons on the FedCM dialog.
17744
+ */
17745
+ export type DialogButton = ('ConfirmIdpLoginContinue');
17746
+
17742
17747
  /**
17743
17748
  * Corresponds to IdentityRequestAccount
17744
17749
  */
@@ -17772,8 +17777,9 @@ export namespace Protocol {
17772
17777
  accountIndex: integer;
17773
17778
  }
17774
17779
 
17775
- export interface ConfirmIdpLoginRequest {
17780
+ export interface ClickDialogButtonRequest {
17776
17781
  dialogId: string;
17782
+ dialogButton: DialogButton;
17777
17783
  }
17778
17784
 
17779
17785
  export interface DismissDialogRequest {