devtools-protocol 0.0.1258865 → 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.
@@ -20488,15 +20488,23 @@
20488
20488
  "properties": [
20489
20489
  {
20490
20490
  "name": "creationTime",
20491
+ "description": "Time when the origin's shared storage was last created.",
20491
20492
  "$ref": "Network.TimeSinceEpoch"
20492
20493
  },
20493
20494
  {
20494
20495
  "name": "length",
20496
+ "description": "Number of key-value pairs stored in origin's shared storage.",
20495
20497
  "type": "integer"
20496
20498
  },
20497
20499
  {
20498
20500
  "name": "remainingBudget",
20501
+ "description": "Current amount of bits of entropy remaining in the navigation budget.",
20499
20502
  "type": "number"
20503
+ },
20504
+ {
20505
+ "name": "bytesUsed",
20506
+ "description": "Total number of bytes stored as key-value pairs in origin's shared\nstorage.",
20507
+ "type": "integer"
20500
20508
  }
20501
20509
  ]
20502
20510
  },
@@ -24237,6 +24245,18 @@
24237
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)",
24238
24246
  "optional": true,
24239
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"
24240
24260
  }
24241
24261
  ]
24242
24262
  }
@@ -24416,6 +24436,30 @@
24416
24436
  "type": "boolean"
24417
24437
  }
24418
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
+ ]
24419
24463
  }
24420
24464
  ],
24421
24465
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1258865",
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",
@@ -9679,9 +9679,15 @@ experimental domain Storage
9679
9679
  # Details for an origin's shared storage.
9680
9680
  type SharedStorageMetadata extends object
9681
9681
  properties
9682
+ # Time when the origin's shared storage was last created.
9682
9683
  Network.TimeSinceEpoch creationTime
9684
+ # Number of key-value pairs stored in origin's shared storage.
9683
9685
  integer length
9686
+ # Current amount of bits of entropy remaining in the navigation budget.
9684
9687
  number remainingBudget
9688
+ # Total number of bytes stored as key-value pairs in origin's shared
9689
+ # storage.
9690
+ integer bytesUsed
9685
9691
 
9686
9692
  # Pair of reporting metadata details for a candidate URL for `selectURL()`.
9687
9693
  type SharedStorageReportingMetadata extends object
@@ -11404,6 +11410,14 @@ experimental domain WebAuthn
11404
11410
  # The large blob associated with the credential.
11405
11411
  # See https://w3c.github.io/webauthn/#sctn-large-blob-extension
11406
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
11407
11421
 
11408
11422
  # Enable the WebAuthn domain and start intercepting credential storage and
11409
11423
  # retrieval with a virtual authenticator.
@@ -11492,6 +11506,15 @@ experimental domain WebAuthn
11492
11506
  AuthenticatorId authenticatorId
11493
11507
  boolean enabled
11494
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
+
11495
11518
  # Triggered when a credential is added to an authenticator.
11496
11519
  event credentialAdded
11497
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
  */
@@ -15360,9 +15360,23 @@ export namespace Protocol {
15360
15360
  * Details for an origin's shared storage.
15361
15361
  */
15362
15362
  export interface SharedStorageMetadata {
15363
+ /**
15364
+ * Time when the origin's shared storage was last created.
15365
+ */
15363
15366
  creationTime: Network.TimeSinceEpoch;
15367
+ /**
15368
+ * Number of key-value pairs stored in origin's shared storage.
15369
+ */
15364
15370
  length: integer;
15371
+ /**
15372
+ * Current amount of bits of entropy remaining in the navigation budget.
15373
+ */
15365
15374
  remainingBudget: number;
15375
+ /**
15376
+ * Total number of bytes stored as key-value pairs in origin's shared
15377
+ * storage.
15378
+ */
15379
+ bytesUsed: integer;
15366
15380
  }
15367
15381
 
15368
15382
  /**
@@ -17578,6 +17592,18 @@ export namespace Protocol {
17578
17592
  * See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)
17579
17593
  */
17580
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;
17581
17607
  }
17582
17608
 
17583
17609
  export interface EnableRequest {
@@ -17663,6 +17689,13 @@ export namespace Protocol {
17663
17689
  enabled: boolean;
17664
17690
  }
17665
17691
 
17692
+ export interface SetCredentialPropertiesRequest {
17693
+ authenticatorId: AuthenticatorId;
17694
+ credentialId: string;
17695
+ backupEligibility?: boolean;
17696
+ backupState?: boolean;
17697
+ }
17698
+
17666
17699
  /**
17667
17700
  * Triggered when a credential is added to an authenticator.
17668
17701
  */