devtools-protocol 0.0.937072 → 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.
@@ -1496,6 +1496,7 @@
1496
1496
  {
1497
1497
  "name": "message",
1498
1498
  "description": "The content of the deprecation issue (this won't be translated),\ne.g. \"window.inefficientLegacyStorageMethod will be removed in M97,\naround January 2022. Please use Web Storage or Indexed Database\ninstead. This standard was abandoned in January, 1970. See\nhttps://www.chromestatus.com/feature/5684870116278272 for more details.\"",
1499
+ "deprecated": true,
1499
1500
  "optional": true,
1500
1501
  "type": "string"
1501
1502
  }
@@ -10482,8 +10483,8 @@
10482
10483
  },
10483
10484
  {
10484
10485
  "name": "timestamp",
10485
- "description": "Issuance date.",
10486
- "$ref": "TimeSinceEpoch"
10486
+ "description": "Issuance date. Unlike TimeSinceEpoch, this contains the number of\nmilliseconds since January 1, 1970, UTC, not the number of seconds.",
10487
+ "type": "number"
10487
10488
  },
10488
10489
  {
10489
10490
  "name": "hashAlgorithm",
@@ -16614,6 +16615,22 @@
16614
16615
  "description": "Clears seeded compilation cache.",
16615
16616
  "experimental": true
16616
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
+ },
16617
16634
  {
16618
16635
  "name": "generateTestReport",
16619
16636
  "description": "Generates a report for testing.",
@@ -17784,7 +17801,8 @@
17784
17801
  },
17785
17802
  {
17786
17803
  "name": "explanations",
17787
- "description": "List of explanations for the security state. If the overall security state is `insecure` or\n`warning`, at least one corresponding explanation should be included.",
17804
+ "description": "Previously a list of explanations for the security state. Now always\nempty.",
17805
+ "deprecated": true,
17788
17806
  "type": "array",
17789
17807
  "items": {
17790
17808
  "$ref": "SecurityStateExplanation"
@@ -17798,7 +17816,8 @@
17798
17816
  },
17799
17817
  {
17800
17818
  "name": "summary",
17801
- "description": "Overrides user-visible description of the state.",
17819
+ "description": "Overrides user-visible description of the state. Always omitted.",
17820
+ "deprecated": true,
17802
17821
  "optional": true,
17803
17822
  "type": "string"
17804
17823
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.937072",
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",
@@ -723,7 +723,7 @@ experimental domain Audits
723
723
  # around January 2022. Please use Web Storage or Indexed Database
724
724
  # instead. This standard was abandoned in January, 1970. See
725
725
  # https://www.chromestatus.com/feature/5684870116278272 for more details."
726
- optional string message
726
+ deprecated optional string message
727
727
 
728
728
  # A unique identifier for the type of issue. Each type may use one of the
729
729
  # optional fields in InspectorIssueDetails to convey more specific
@@ -4784,8 +4784,9 @@ domain Network
4784
4784
  string logDescription
4785
4785
  # Log ID.
4786
4786
  string logId
4787
- # Issuance date.
4788
- TimeSinceEpoch timestamp
4787
+ # Issuance date. Unlike TimeSinceEpoch, this contains the number of
4788
+ # milliseconds since January 1, 1970, UTC, not the number of seconds.
4789
+ number timestamp
4789
4790
  # Hash algorithm.
4790
4791
  string hashAlgorithm
4791
4792
  # Signature algorithm.
@@ -7644,6 +7645,15 @@ domain Page
7644
7645
  # Clears seeded compilation cache.
7645
7646
  experimental command clearCompilationCache
7646
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
+
7647
7657
  # Generates a report for testing.
7648
7658
  experimental command generateTestReport
7649
7659
  parameters
@@ -8342,13 +8352,13 @@ domain Security
8342
8352
  SecurityState securityState
8343
8353
  # True if the page was loaded over cryptographic transport such as HTTPS.
8344
8354
  deprecated boolean schemeIsCryptographic
8345
- # List of explanations for the security state. If the overall security state is `insecure` or
8346
- # `warning`, at least one corresponding explanation should be included.
8347
- array of SecurityStateExplanation explanations
8355
+ # Previously a list of explanations for the security state. Now always
8356
+ # empty.
8357
+ deprecated array of SecurityStateExplanation explanations
8348
8358
  # Information about insecure content on the page.
8349
8359
  deprecated InsecureContentStatus insecureContentStatus
8350
- # Overrides user-visible description of the state.
8351
- optional string summary
8360
+ # Overrides user-visible description of the state. Always omitted.
8361
+ deprecated optional string summary
8352
8362
 
8353
8363
  experimental domain ServiceWorker
8354
8364
  depends on Target
@@ -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
  */
@@ -9092,9 +9092,10 @@ export namespace Protocol {
9092
9092
  */
9093
9093
  logId: string;
9094
9094
  /**
9095
- * Issuance date.
9095
+ * Issuance date. Unlike TimeSinceEpoch, this contains the number of
9096
+ * milliseconds since January 1, 1970, UTC, not the number of seconds.
9096
9097
  */
9097
- timestamp: TimeSinceEpoch;
9098
+ timestamp: number;
9098
9099
  /**
9099
9100
  * Hash algorithm.
9100
9101
  */
@@ -12944,6 +12945,19 @@ export namespace Protocol {
12944
12945
  data: string;
12945
12946
  }
12946
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
+
12947
12961
  export interface GenerateTestReportRequest {
12948
12962
  /**
12949
12963
  * Message to be displayed in the report.
@@ -13765,8 +13779,8 @@ export namespace Protocol {
13765
13779
  */
13766
13780
  schemeIsCryptographic: boolean;
13767
13781
  /**
13768
- * List of explanations for the security state. If the overall security state is `insecure` or
13769
- * `warning`, at least one corresponding explanation should be included.
13782
+ * Previously a list of explanations for the security state. Now always
13783
+ * empty.
13770
13784
  */
13771
13785
  explanations: SecurityStateExplanation[];
13772
13786
  /**
@@ -13774,7 +13788,7 @@ export namespace Protocol {
13774
13788
  */
13775
13789
  insecureContentStatus: InsecureContentStatus;
13776
13790
  /**
13777
- * Overrides user-visible description of the state.
13791
+ * Overrides user-visible description of the state. Always omitted.
13778
13792
  */
13779
13793
  summary?: string;
13780
13794
  }