devtools-protocol 0.0.1510016 → 0.0.1510116

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.
@@ -2454,7 +2454,7 @@
2454
2454
  "properties": [
2455
2455
  {
2456
2456
  "name": "name",
2457
- "description": "address field name, for example GIVEN_NAME.",
2457
+ "description": "address field name, for example GIVEN_NAME.\nThe full list of supported field names:\nhttps://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38",
2458
2458
  "type": "string"
2459
2459
  },
2460
2460
  {
@@ -2602,8 +2602,15 @@
2602
2602
  },
2603
2603
  {
2604
2604
  "name": "card",
2605
- "description": "Credit card information to fill out the form. Credit card data is not saved.",
2605
+ "description": "Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.",
2606
+ "optional": true,
2606
2607
  "$ref": "CreditCard"
2608
+ },
2609
+ {
2610
+ "name": "address",
2611
+ "description": "Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.",
2612
+ "optional": true,
2613
+ "$ref": "Address"
2607
2614
  }
2608
2615
  ]
2609
2616
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1510016",
3
+ "version": "0.0.1510116",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -22,6 +22,8 @@ experimental domain Autofill
22
22
  type AddressField extends object
23
23
  properties
24
24
  # address field name, for example GIVEN_NAME.
25
+ # The full list of supported field names:
26
+ # https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38
25
27
  string name
26
28
  # address field value, for example Jon Doe.
27
29
  string value
@@ -90,8 +92,10 @@ experimental domain Autofill
90
92
  DOM.BackendNodeId fieldId
91
93
  # Identifies the frame that field belongs to.
92
94
  optional Page.FrameId frameId
93
- # Credit card information to fill out the form. Credit card data is not saved.
94
- CreditCard card
95
+ # Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.
96
+ optional CreditCard card
97
+ # Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.
98
+ optional Address address
95
99
 
96
100
  # Set addresses so that developers can verify their forms implementation.
97
101
  command setAddresses
@@ -4020,6 +4020,8 @@ export namespace Protocol {
4020
4020
  export interface AddressField {
4021
4021
  /**
4022
4022
  * address field name, for example GIVEN_NAME.
4023
+ * The full list of supported field names:
4024
+ * https://source.chromium.org/chromium/chromium/src/+/main:components/autofill/core/browser/field_types.cc;l=38
4023
4025
  */
4024
4026
  name: string;
4025
4027
  /**
@@ -4108,9 +4110,13 @@ export namespace Protocol {
4108
4110
  */
4109
4111
  frameId?: Page.FrameId;
4110
4112
  /**
4111
- * Credit card information to fill out the form. Credit card data is not saved.
4113
+ * Credit card information to fill out the form. Credit card data is not saved. Mutually exclusive with `address`.
4112
4114
  */
4113
- card: CreditCard;
4115
+ card?: CreditCard;
4116
+ /**
4117
+ * Address to fill out the form. Address data is not saved. Mutually exclusive with `card`.
4118
+ */
4119
+ address?: Address;
4114
4120
  }
4115
4121
 
4116
4122
  export interface SetAddressesRequest {