devtools-protocol 0.0.1111422 → 0.0.1112051

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.
@@ -22962,6 +22962,24 @@
22962
22962
  ]
22963
22963
  }
22964
22964
  ]
22965
+ },
22966
+ {
22967
+ "domain": "FedCm",
22968
+ "description": "This domain allows interacting with the FedCM dialog.",
22969
+ "experimental": true,
22970
+ "events": [
22971
+ {
22972
+ "name": "dialogShown"
22973
+ }
22974
+ ],
22975
+ "commands": [
22976
+ {
22977
+ "name": "enable"
22978
+ },
22979
+ {
22980
+ "name": "disable"
22981
+ }
22982
+ ]
22965
22983
  }
22966
22984
  ]
22967
22985
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1111422",
3
+ "version": "0.0.1112051",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -10857,3 +10857,10 @@ experimental domain Preload
10857
10857
  event ruleSetRemoved
10858
10858
  parameters
10859
10859
  RuleSetId id
10860
+
10861
+ # This domain allows interacting with the FedCM dialog.
10862
+ experimental domain FedCm
10863
+ event dialogShown
10864
+
10865
+ command enable
10866
+ command disable
@@ -724,6 +724,7 @@ export namespace ProtocolMapping {
724
724
  */
725
725
  'Preload.ruleSetUpdated': [Protocol.Preload.RuleSetUpdatedEvent];
726
726
  'Preload.ruleSetRemoved': [Protocol.Preload.RuleSetRemovedEvent];
727
+ 'FedCm.dialogShown': [];
727
728
  }
728
729
 
729
730
  export interface Commands {
@@ -4647,6 +4648,14 @@ export namespace ProtocolMapping {
4647
4648
  paramsType: [];
4648
4649
  returnType: void;
4649
4650
  };
4651
+ 'FedCm.enable': {
4652
+ paramsType: [];
4653
+ returnType: void;
4654
+ };
4655
+ 'FedCm.disable': {
4656
+ paramsType: [];
4657
+ returnType: void;
4658
+ };
4650
4659
  }
4651
4660
  }
4652
4661
 
@@ -106,6 +106,8 @@ export namespace ProtocolProxyApi {
106
106
 
107
107
  Preload: PreloadApi;
108
108
 
109
+ FedCm: FedCmApi;
110
+
109
111
  }
110
112
 
111
113
 
@@ -3963,6 +3965,15 @@ export namespace ProtocolProxyApi {
3963
3965
  on(event: 'ruleSetRemoved', listener: (params: Protocol.Preload.RuleSetRemovedEvent) => void): void;
3964
3966
 
3965
3967
  }
3968
+
3969
+ export interface FedCmApi {
3970
+ enable(): Promise<void>;
3971
+
3972
+ disable(): Promise<void>;
3973
+
3974
+ on(event: 'dialogShown', listener: () => void): void;
3975
+
3976
+ }
3966
3977
  }
3967
3978
 
3968
3979
  export default ProtocolProxyApi;
@@ -16949,6 +16949,12 @@ export namespace Protocol {
16949
16949
  id: RuleSetId;
16950
16950
  }
16951
16951
  }
16952
+
16953
+ /**
16954
+ * This domain allows interacting with the FedCM dialog.
16955
+ */
16956
+ export namespace FedCm {
16957
+ }
16952
16958
  }
16953
16959
 
16954
16960
  export default Protocol;