devtools-protocol 0.0.938504 → 0.0.938546

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.
@@ -16615,6 +16615,22 @@
16615
16615
  "description": "Clears seeded compilation cache.",
16616
16616
  "experimental": true
16617
16617
  },
16618
+ {
16619
+ "name": "setSPCTransactionMode",
16620
+ "description": "Sets the Secure Payment Confirmation transaction mode.\nhttps://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode",
16621
+ "experimental": true,
16622
+ "parameters": [
16623
+ {
16624
+ "name": "mode",
16625
+ "type": "string",
16626
+ "enum": [
16627
+ "none",
16628
+ "autoaccept",
16629
+ "autoreject"
16630
+ ]
16631
+ }
16632
+ ]
16633
+ },
16618
16634
  {
16619
16635
  "name": "generateTestReport",
16620
16636
  "description": "Generates a report for testing.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.938504",
3
+ "version": "0.0.938546",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7645,6 +7645,15 @@ domain Page
7645
7645
  # Clears seeded compilation cache.
7646
7646
  experimental command clearCompilationCache
7647
7647
 
7648
+ # Sets the Secure Payment Confirmation transaction mode.
7649
+ # https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
7650
+ experimental command setSPCTransactionMode
7651
+ parameters
7652
+ enum mode
7653
+ none
7654
+ autoaccept
7655
+ autoreject
7656
+
7648
7657
  # Generates a report for testing.
7649
7658
  experimental command generateTestReport
7650
7659
  parameters
@@ -3693,6 +3693,14 @@ export namespace ProtocolMapping {
3693
3693
  paramsType: [];
3694
3694
  returnType: void;
3695
3695
  };
3696
+ /**
3697
+ * Sets the Secure Payment Confirmation transaction mode.
3698
+ * https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
3699
+ */
3700
+ 'Page.setSPCTransactionMode': {
3701
+ paramsType: [Protocol.Page.SetSPCTransactionModeRequest];
3702
+ returnType: void;
3703
+ };
3696
3704
  /**
3697
3705
  * Generates a report for testing.
3698
3706
  */
@@ -2842,6 +2842,12 @@ export namespace ProtocolProxyApi {
2842
2842
  */
2843
2843
  clearCompilationCache(): Promise<void>;
2844
2844
 
2845
+ /**
2846
+ * Sets the Secure Payment Confirmation transaction mode.
2847
+ * https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
2848
+ */
2849
+ setSPCTransactionMode(params: Protocol.Page.SetSPCTransactionModeRequest): Promise<void>;
2850
+
2845
2851
  /**
2846
2852
  * Generates a report for testing.
2847
2853
  */
@@ -12945,6 +12945,19 @@ export namespace Protocol {
12945
12945
  data: string;
12946
12946
  }
12947
12947
 
12948
+ export const enum SetSPCTransactionModeRequestMode {
12949
+ None = 'none',
12950
+ Autoaccept = 'autoaccept',
12951
+ Autoreject = 'autoreject',
12952
+ }
12953
+
12954
+ export interface SetSPCTransactionModeRequest {
12955
+ /**
12956
+ * (SetSPCTransactionModeRequestMode enum)
12957
+ */
12958
+ mode: ('none' | 'autoaccept' | 'autoreject');
12959
+ }
12960
+
12948
12961
  export interface GenerateTestReportRequest {
12949
12962
  /**
12950
12963
  * Message to be displayed in the report.