devtools-protocol 0.0.1249869 → 0.0.1252439

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.
@@ -25069,6 +25069,15 @@
25069
25069
  "ErrorMoreDetails"
25070
25070
  ]
25071
25071
  },
25072
+ {
25073
+ "id": "AccountUrlType",
25074
+ "description": "The URLs that each account has",
25075
+ "type": "string",
25076
+ "enum": [
25077
+ "TermsOfService",
25078
+ "PrivacyPolicy"
25079
+ ]
25080
+ },
25072
25081
  {
25073
25082
  "id": "Account",
25074
25083
  "description": "Corresponds to IdentityRequestAccount",
@@ -25203,6 +25212,23 @@
25203
25212
  }
25204
25213
  ]
25205
25214
  },
25215
+ {
25216
+ "name": "openUrl",
25217
+ "parameters": [
25218
+ {
25219
+ "name": "dialogId",
25220
+ "type": "string"
25221
+ },
25222
+ {
25223
+ "name": "accountIndex",
25224
+ "type": "integer"
25225
+ },
25226
+ {
25227
+ "name": "accountUrlType",
25228
+ "$ref": "AccountUrlType"
25229
+ }
25230
+ ]
25231
+ },
25206
25232
  {
25207
25233
  "name": "dismissDialog",
25208
25234
  "parameters": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1249869",
3
+ "version": "0.0.1252439",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -11855,6 +11855,12 @@ experimental domain FedCm
11855
11855
  ErrorGotIt
11856
11856
  ErrorMoreDetails
11857
11857
 
11858
+ # The URLs that each account has
11859
+ type AccountUrlType extends string
11860
+ enum
11861
+ TermsOfService
11862
+ PrivacyPolicy
11863
+
11858
11864
  # Corresponds to IdentityRequestAccount
11859
11865
  type Account extends object
11860
11866
  properties
@@ -11905,6 +11911,12 @@ experimental domain FedCm
11905
11911
  string dialogId
11906
11912
  DialogButton dialogButton
11907
11913
 
11914
+ command openUrl
11915
+ parameters
11916
+ string dialogId
11917
+ integer accountIndex
11918
+ AccountUrlType accountUrlType
11919
+
11908
11920
  command dismissDialog
11909
11921
  parameters
11910
11922
  string dialogId
@@ -4852,6 +4852,10 @@ export namespace ProtocolMapping {
4852
4852
  paramsType: [Protocol.FedCm.ClickDialogButtonRequest];
4853
4853
  returnType: void;
4854
4854
  };
4855
+ 'FedCm.openUrl': {
4856
+ paramsType: [Protocol.FedCm.OpenUrlRequest];
4857
+ returnType: void;
4858
+ };
4855
4859
  'FedCm.dismissDialog': {
4856
4860
  paramsType: [Protocol.FedCm.DismissDialogRequest];
4857
4861
  returnType: void;
@@ -4131,6 +4131,8 @@ export namespace ProtocolProxyApi {
4131
4131
 
4132
4132
  clickDialogButton(params: Protocol.FedCm.ClickDialogButtonRequest): Promise<void>;
4133
4133
 
4134
+ openUrl(params: Protocol.FedCm.OpenUrlRequest): Promise<void>;
4135
+
4134
4136
  dismissDialog(params: Protocol.FedCm.DismissDialogRequest): Promise<void>;
4135
4137
 
4136
4138
  /**
@@ -4507,6 +4507,8 @@ export namespace ProtocolTestsProxyApi {
4507
4507
 
4508
4508
  clickDialogButton(params: Protocol.FedCm.ClickDialogButtonRequest): Promise<void>;
4509
4509
 
4510
+ openUrl(params: Protocol.FedCm.OpenUrlRequest): Promise<void>;
4511
+
4510
4512
  dismissDialog(params: Protocol.FedCm.DismissDialogRequest): Promise<void>;
4511
4513
 
4512
4514
  /**
@@ -17977,6 +17977,11 @@ export namespace Protocol {
17977
17977
  */
17978
17978
  export type DialogButton = ('ConfirmIdpLoginContinue' | 'ErrorGotIt' | 'ErrorMoreDetails');
17979
17979
 
17980
+ /**
17981
+ * The URLs that each account has
17982
+ */
17983
+ export type AccountUrlType = ('TermsOfService' | 'PrivacyPolicy');
17984
+
17980
17985
  /**
17981
17986
  * Corresponds to IdentityRequestAccount
17982
17987
  */
@@ -18015,6 +18020,12 @@ export namespace Protocol {
18015
18020
  dialogButton: DialogButton;
18016
18021
  }
18017
18022
 
18023
+ export interface OpenUrlRequest {
18024
+ dialogId: string;
18025
+ accountIndex: integer;
18026
+ accountUrlType: AccountUrlType;
18027
+ }
18028
+
18018
18029
  export interface DismissDialogRequest {
18019
18030
  dialogId: string;
18020
18031
  triggerCooldown?: boolean;