devtools-protocol 0.0.1101329 → 0.0.1101985

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.
@@ -16219,6 +16219,18 @@
16219
16219
  }
16220
16220
  ]
16221
16221
  },
16222
+ {
16223
+ "id": "AutoResponseMode",
16224
+ "description": "Enum of possible auto-reponse for permisison / prompt dialogs.",
16225
+ "experimental": true,
16226
+ "type": "string",
16227
+ "enum": [
16228
+ "none",
16229
+ "autoAccept",
16230
+ "autoReject",
16231
+ "autoOptOut"
16232
+ ]
16233
+ },
16222
16234
  {
16223
16235
  "id": "NavigationType",
16224
16236
  "description": "The type of a frameNavigated event.",
@@ -16744,7 +16756,9 @@
16744
16756
  },
16745
16757
  {
16746
16758
  "name": "getManifestIcons",
16759
+ "description": "Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.",
16747
16760
  "experimental": true,
16761
+ "deprecated": true,
16748
16762
  "returns": [
16749
16763
  {
16750
16764
  "name": "primaryIcon",
@@ -17633,13 +17647,7 @@
17633
17647
  "parameters": [
17634
17648
  {
17635
17649
  "name": "mode",
17636
- "type": "string",
17637
- "enum": [
17638
- "none",
17639
- "autoAccept",
17640
- "autoReject",
17641
- "autoOptOut"
17642
- ]
17650
+ "$ref": "AutoResponseMode"
17643
17651
  }
17644
17652
  ]
17645
17653
  },
@@ -17650,12 +17658,7 @@
17650
17658
  "parameters": [
17651
17659
  {
17652
17660
  "name": "mode",
17653
- "type": "string",
17654
- "enum": [
17655
- "none",
17656
- "autoaccept",
17657
- "autoreject"
17658
- ]
17661
+ "$ref": "AutoResponseMode"
17659
17662
  }
17660
17663
  ]
17661
17664
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1101329",
3
+ "version": "0.0.1101985",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7735,7 +7735,8 @@ domain Page
7735
7735
  returns
7736
7736
  array of InstallabilityError installabilityErrors
7737
7737
 
7738
- experimental command getManifestIcons
7738
+ # Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
7739
+ experimental deprecated command getManifestIcons
7739
7740
  returns
7740
7741
  optional binary primaryIcon
7741
7742
 
@@ -8149,24 +8150,25 @@ domain Page
8149
8150
  # Clears seeded compilation cache.
8150
8151
  experimental command clearCompilationCache
8151
8152
 
8152
- # Sets the Secure Payment Confirmation transaction mode.
8153
+ # Enum of possible auto-reponse for permisison / prompt dialogs.
8154
+ experimental type AutoResponseMode extends string
8155
+ enum
8156
+ none
8157
+ autoAccept
8158
+ autoReject
8159
+ autoOptOut
8160
+
8161
+ # Sets the Secure Payment Confirmation transaction mode.
8153
8162
  # https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
8154
8163
  experimental command setSPCTransactionMode
8155
8164
  parameters
8156
- enum mode
8157
- none
8158
- autoAccept
8159
- autoReject
8160
- autoOptOut
8165
+ AutoResponseMode mode
8161
8166
 
8162
8167
  # Extensions for Custom Handlers API:
8163
8168
  # https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
8164
8169
  experimental command setRPHRegistrationMode
8165
8170
  parameters
8166
- enum mode
8167
- none
8168
- autoaccept
8169
- autoreject
8171
+ AutoResponseMode mode
8170
8172
 
8171
8173
  # Generates a report for testing.
8172
8174
  experimental command generateTestReport
@@ -3523,6 +3523,9 @@ export namespace ProtocolMapping {
3523
3523
  paramsType: [];
3524
3524
  returnType: Protocol.Page.GetInstallabilityErrorsResponse;
3525
3525
  };
3526
+ /**
3527
+ * Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
3528
+ */
3526
3529
  'Page.getManifestIcons': {
3527
3530
  paramsType: [];
3528
3531
  returnType: Protocol.Page.GetManifestIconsResponse;
@@ -2716,6 +2716,9 @@ export namespace ProtocolProxyApi {
2716
2716
 
2717
2717
  getInstallabilityErrors(): Promise<Protocol.Page.GetInstallabilityErrorsResponse>;
2718
2718
 
2719
+ /**
2720
+ * Deprecated because it's not guaranteed that the returned icon is in fact the one used for PWA installation.
2721
+ */
2719
2722
  getManifestIcons(): Promise<Protocol.Page.GetManifestIconsResponse>;
2720
2723
 
2721
2724
  /**
@@ -12845,6 +12845,11 @@ export namespace Protocol {
12845
12845
  eager?: boolean;
12846
12846
  }
12847
12847
 
12848
+ /**
12849
+ * Enum of possible auto-reponse for permisison / prompt dialogs.
12850
+ */
12851
+ export type AutoResponseMode = ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
12852
+
12848
12853
  /**
12849
12854
  * The type of a frameNavigated event.
12850
12855
  */
@@ -13594,31 +13599,12 @@ export namespace Protocol {
13594
13599
  data: string;
13595
13600
  }
13596
13601
 
13597
- export const enum SetSPCTransactionModeRequestMode {
13598
- None = 'none',
13599
- AutoAccept = 'autoAccept',
13600
- AutoReject = 'autoReject',
13601
- AutoOptOut = 'autoOptOut',
13602
- }
13603
-
13604
13602
  export interface SetSPCTransactionModeRequest {
13605
- /**
13606
- * (SetSPCTransactionModeRequestMode enum)
13607
- */
13608
- mode: ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
13609
- }
13610
-
13611
- export const enum SetRPHRegistrationModeRequestMode {
13612
- None = 'none',
13613
- Autoaccept = 'autoaccept',
13614
- Autoreject = 'autoreject',
13603
+ mode: AutoResponseMode;
13615
13604
  }
13616
13605
 
13617
13606
  export interface SetRPHRegistrationModeRequest {
13618
- /**
13619
- * (SetRPHRegistrationModeRequestMode enum)
13620
- */
13621
- mode: ('none' | 'autoaccept' | 'autoreject');
13607
+ mode: AutoResponseMode;
13622
13608
  }
13623
13609
 
13624
13610
  export interface GenerateTestReportRequest {