devtools-protocol 0.0.1655900 → 0.0.1656784

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.
@@ -10677,7 +10677,7 @@
10677
10677
  "experimental": true,
10678
10678
  "types": [
10679
10679
  {
10680
- "id": "VirtualWalletBehavior",
10680
+ "id": "VirtualWalletAction",
10681
10681
  "description": "The type of virtual wallet action.",
10682
10682
  "type": "string",
10683
10683
  "enum": [
@@ -10694,19 +10694,19 @@
10694
10694
  "description": "Sets the behavior of the virtual wallet for digital credential requests\nissued from this frame.",
10695
10695
  "parameters": [
10696
10696
  {
10697
- "name": "behavior",
10698
- "description": "The behavior of the virtual wallet.",
10699
- "$ref": "VirtualWalletBehavior"
10697
+ "name": "action",
10698
+ "description": "The action of the virtual wallet.",
10699
+ "$ref": "VirtualWalletAction"
10700
10700
  },
10701
10701
  {
10702
10702
  "name": "protocol",
10703
- "description": "The protocol identifier (e.g. \"openid4vp\"). Required when |behavior| is\n\"respond\", forbidden otherwise.",
10703
+ "description": "The protocol identifier (e.g. \"openid4vp\"). Required when |action| is\n\"respond\", forbidden otherwise.",
10704
10704
  "optional": true,
10705
10705
  "type": "string"
10706
10706
  },
10707
10707
  {
10708
10708
  "name": "response",
10709
- "description": "The response data object returned by the wallet.\nRequired when |behavior| is \"respond\", forbidden otherwise.",
10709
+ "description": "The response data object returned by the wallet.\nRequired when |action| is \"respond\", forbidden otherwise.",
10710
10710
  "optional": true,
10711
10711
  "type": "object"
10712
10712
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1655900",
3
+ "version": "0.0.1656784",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7,7 +7,7 @@
7
7
  # This domain allows interacting with the Digital Credentials API for automation.
8
8
  experimental domain DigitalCredentials
9
9
  # The type of virtual wallet action.
10
- type VirtualWalletBehavior extends string
10
+ type VirtualWalletAction extends string
11
11
  enum
12
12
  respond
13
13
  decline
@@ -18,11 +18,11 @@ experimental domain DigitalCredentials
18
18
  # issued from this frame.
19
19
  command setVirtualWalletBehavior
20
20
  parameters
21
- # The behavior of the virtual wallet.
22
- VirtualWalletBehavior behavior
23
- # The protocol identifier (e.g. "openid4vp"). Required when |behavior| is
21
+ # The action of the virtual wallet.
22
+ VirtualWalletAction action
23
+ # The protocol identifier (e.g. "openid4vp"). Required when |action| is
24
24
  # "respond", forbidden otherwise.
25
25
  optional string protocol
26
26
  # The response data object returned by the wallet.
27
- # Required when |behavior| is "respond", forbidden otherwise.
27
+ # Required when |action| is "respond", forbidden otherwise.
28
28
  optional object response
@@ -9242,21 +9242,21 @@ export namespace Protocol {
9242
9242
  /**
9243
9243
  * The type of virtual wallet action.
9244
9244
  */
9245
- export type VirtualWalletBehavior = ('respond' | 'decline' | 'wait' | 'clear');
9245
+ export type VirtualWalletAction = ('respond' | 'decline' | 'wait' | 'clear');
9246
9246
 
9247
9247
  export interface SetVirtualWalletBehaviorRequest {
9248
9248
  /**
9249
- * The behavior of the virtual wallet.
9249
+ * The action of the virtual wallet.
9250
9250
  */
9251
- behavior: VirtualWalletBehavior;
9251
+ action: VirtualWalletAction;
9252
9252
  /**
9253
- * The protocol identifier (e.g. "openid4vp"). Required when |behavior| is
9253
+ * The protocol identifier (e.g. "openid4vp"). Required when |action| is
9254
9254
  * "respond", forbidden otherwise.
9255
9255
  */
9256
9256
  protocol?: string;
9257
9257
  /**
9258
9258
  * The response data object returned by the wallet.
9259
- * Required when |behavior| is "respond", forbidden otherwise.
9259
+ * Required when |action| is "respond", forbidden otherwise.
9260
9260
  */
9261
9261
  response?: any;
9262
9262
  }