devtools-protocol 0.0.1259648 → 0.0.1260275

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.
@@ -24245,6 +24245,18 @@
24245
24245
  "description": "The large blob associated with the credential.\nSee https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)",
24246
24246
  "optional": true,
24247
24247
  "type": "string"
24248
+ },
24249
+ {
24250
+ "name": "backupEligibility",
24251
+ "description": "Assertions returned by this credential will have the backup eligibility\n(BE) flag set to this value. Defaults to the authenticator's\ndefaultBackupEligibility value.",
24252
+ "optional": true,
24253
+ "type": "boolean"
24254
+ },
24255
+ {
24256
+ "name": "backupState",
24257
+ "description": "Assertions returned by this credential will have the backup state (BS)\nflag set to this value. Defaults to the authenticator's\ndefaultBackupState value.",
24258
+ "optional": true,
24259
+ "type": "boolean"
24248
24260
  }
24249
24261
  ]
24250
24262
  }
@@ -24424,6 +24436,30 @@
24424
24436
  "type": "boolean"
24425
24437
  }
24426
24438
  ]
24439
+ },
24440
+ {
24441
+ "name": "setCredentialProperties",
24442
+ "description": "Allows setting credential properties.\nhttps://w3c.github.io/webauthn/#sctn-automation-set-credential-properties",
24443
+ "parameters": [
24444
+ {
24445
+ "name": "authenticatorId",
24446
+ "$ref": "AuthenticatorId"
24447
+ },
24448
+ {
24449
+ "name": "credentialId",
24450
+ "type": "string"
24451
+ },
24452
+ {
24453
+ "name": "backupEligibility",
24454
+ "optional": true,
24455
+ "type": "boolean"
24456
+ },
24457
+ {
24458
+ "name": "backupState",
24459
+ "optional": true,
24460
+ "type": "boolean"
24461
+ }
24462
+ ]
24427
24463
  }
24428
24464
  ],
24429
24465
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1259648",
3
+ "version": "0.0.1260275",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -11410,6 +11410,14 @@ experimental domain WebAuthn
11410
11410
  # The large blob associated with the credential.
11411
11411
  # See https://w3c.github.io/webauthn/#sctn-large-blob-extension
11412
11412
  optional binary largeBlob
11413
+ # Assertions returned by this credential will have the backup eligibility
11414
+ # (BE) flag set to this value. Defaults to the authenticator's
11415
+ # defaultBackupEligibility value.
11416
+ optional boolean backupEligibility
11417
+ # Assertions returned by this credential will have the backup state (BS)
11418
+ # flag set to this value. Defaults to the authenticator's
11419
+ # defaultBackupState value.
11420
+ optional boolean backupState
11413
11421
 
11414
11422
  # Enable the WebAuthn domain and start intercepting credential storage and
11415
11423
  # retrieval with a virtual authenticator.
@@ -11498,6 +11506,15 @@ experimental domain WebAuthn
11498
11506
  AuthenticatorId authenticatorId
11499
11507
  boolean enabled
11500
11508
 
11509
+ # Allows setting credential properties.
11510
+ # https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
11511
+ command setCredentialProperties
11512
+ parameters
11513
+ AuthenticatorId authenticatorId
11514
+ binary credentialId
11515
+ optional boolean backupEligibility
11516
+ optional boolean backupState
11517
+
11501
11518
  # Triggered when a credential is added to an authenticator.
11502
11519
  event credentialAdded
11503
11520
  parameters
@@ -4786,6 +4786,14 @@ export namespace ProtocolMapping {
4786
4786
  paramsType: [Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest];
4787
4787
  returnType: void;
4788
4788
  };
4789
+ /**
4790
+ * Allows setting credential properties.
4791
+ * https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
4792
+ */
4793
+ 'WebAuthn.setCredentialProperties': {
4794
+ paramsType: [Protocol.WebAuthn.SetCredentialPropertiesRequest];
4795
+ returnType: void;
4796
+ };
4789
4797
  /**
4790
4798
  * Enables the Media domain
4791
4799
  */
@@ -4005,6 +4005,12 @@ export namespace ProtocolProxyApi {
4005
4005
  */
4006
4006
  setAutomaticPresenceSimulation(params: Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest): Promise<void>;
4007
4007
 
4008
+ /**
4009
+ * Allows setting credential properties.
4010
+ * https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
4011
+ */
4012
+ setCredentialProperties(params: Protocol.WebAuthn.SetCredentialPropertiesRequest): Promise<void>;
4013
+
4008
4014
  /**
4009
4015
  * Triggered when a credential is added to an authenticator.
4010
4016
  */
@@ -4353,6 +4353,12 @@ export namespace ProtocolTestsProxyApi {
4353
4353
  */
4354
4354
  setAutomaticPresenceSimulation(params: Protocol.WebAuthn.SetAutomaticPresenceSimulationRequest): Promise<void>;
4355
4355
 
4356
+ /**
4357
+ * Allows setting credential properties.
4358
+ * https://w3c.github.io/webauthn/#sctn-automation-set-credential-properties
4359
+ */
4360
+ setCredentialProperties(params: Protocol.WebAuthn.SetCredentialPropertiesRequest): Promise<void>;
4361
+
4356
4362
  /**
4357
4363
  * Triggered when a credential is added to an authenticator.
4358
4364
  */
@@ -17592,6 +17592,18 @@ export namespace Protocol {
17592
17592
  * See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)
17593
17593
  */
17594
17594
  largeBlob?: string;
17595
+ /**
17596
+ * Assertions returned by this credential will have the backup eligibility
17597
+ * (BE) flag set to this value. Defaults to the authenticator's
17598
+ * defaultBackupEligibility value.
17599
+ */
17600
+ backupEligibility?: boolean;
17601
+ /**
17602
+ * Assertions returned by this credential will have the backup state (BS)
17603
+ * flag set to this value. Defaults to the authenticator's
17604
+ * defaultBackupState value.
17605
+ */
17606
+ backupState?: boolean;
17595
17607
  }
17596
17608
 
17597
17609
  export interface EnableRequest {
@@ -17677,6 +17689,13 @@ export namespace Protocol {
17677
17689
  enabled: boolean;
17678
17690
  }
17679
17691
 
17692
+ export interface SetCredentialPropertiesRequest {
17693
+ authenticatorId: AuthenticatorId;
17694
+ credentialId: string;
17695
+ backupEligibility?: boolean;
17696
+ backupState?: boolean;
17697
+ }
17698
+
17680
17699
  /**
17681
17700
  * Triggered when a credential is added to an authenticator.
17682
17701
  */