devtools-protocol 0.0.1666840 → 0.0.1670834

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.
@@ -18156,7 +18156,7 @@
18156
18156
  "properties": [
18157
18157
  {
18158
18158
  "name": "refreshResult",
18159
- "description": "The result of a refresh.",
18159
+ "description": "The result of a refresh.\nLINT.IfChange(DeviceBoundSessionRefreshResult)",
18160
18160
  "type": "string",
18161
18161
  "enum": [
18162
18162
  "Refreshed",
@@ -18166,12 +18166,13 @@
18166
18166
  "FatalError",
18167
18167
  "SigningQuotaExceeded",
18168
18168
  "RefreshedAsWaiter",
18169
- "TransientSigningError"
18169
+ "TransientSigningError",
18170
+ "InScopeRefreshNotYetNeeded"
18170
18171
  ]
18171
18172
  },
18172
18173
  {
18173
18174
  "name": "fetchResult",
18174
- "description": "If there was a fetch attempt, the result of that.",
18175
+ "description": "LINT.ThenChange(//net/device_bound_sessions/refresh_result.h:DeviceBoundSessionRefreshResult,//content/browser/devtools/protocol/network_handler.cc:DeviceBoundSessionRefreshResult)\nIf there was a fetch attempt, the result of that.",
18175
18176
  "optional": true,
18176
18177
  "$ref": "DeviceBoundSessionFetchResult"
18177
18178
  },
@@ -30535,7 +30536,8 @@
30535
30536
  },
30536
30537
  {
30537
30538
  "name": "signCount",
30538
- "description": "Signature counter. This is incremented by one for each successful\nassertion.\nSee https://w3c.github.io/webauthn/#signature-counter",
30539
+ "description": "Signature counter. Must be equal to or greater than -1.\nIf -1, the credential won't have an associated signature counter, and\nevery assertion operation will report a value of 0.\nSee https://w3c.github.io/webauthn/#signature-counter",
30540
+ "optional": true,
30539
30541
  "type": "integer"
30540
30542
  },
30541
30543
  {
@@ -30799,6 +30801,12 @@
30799
30801
  "name": "generateCmtgKeyOnNextOperation",
30800
30802
  "optional": true,
30801
30803
  "type": "boolean"
30804
+ },
30805
+ {
30806
+ "name": "signCount",
30807
+ "description": "Must be equal to or greater than -1.\nIf -1, the signature counter is removed from the credential, and every\nassertion operation will report a value of 0.\nSee https://w3c.github.io/webauthn/#signature-counter",
30808
+ "optional": true,
30809
+ "type": "integer"
30802
30810
  }
30803
30811
  ]
30804
30812
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1666840",
3
+ "version": "0.0.1670834",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2258,6 +2258,7 @@ domain Network
2258
2258
  experimental type RefreshEventDetails extends object
2259
2259
  properties
2260
2260
  # The result of a refresh.
2261
+ # LINT.IfChange(DeviceBoundSessionRefreshResult)
2261
2262
  enum refreshResult
2262
2263
  Refreshed
2263
2264
  InitializedService
@@ -2267,6 +2268,8 @@ domain Network
2267
2268
  SigningQuotaExceeded
2268
2269
  RefreshedAsWaiter
2269
2270
  TransientSigningError
2271
+ InScopeRefreshNotYetNeeded
2272
+ # LINT.ThenChange(//net/device_bound_sessions/refresh_result.h:DeviceBoundSessionRefreshResult,//content/browser/devtools/protocol/network_handler.cc:DeviceBoundSessionRefreshResult)
2270
2273
  # If there was a fetch attempt, the result of that.
2271
2274
  optional DeviceBoundSessionFetchResult fetchResult
2272
2275
  # The session display if there was a newly created session. This is populated
@@ -98,10 +98,11 @@ experimental domain WebAuthn
98
98
  # An opaque byte sequence with a maximum size of 64 bytes mapping the
99
99
  # credential to a specific user.
100
100
  optional binary userHandle
101
- # Signature counter. This is incremented by one for each successful
102
- # assertion.
101
+ # Signature counter. Must be equal to or greater than -1.
102
+ # If -1, the credential won't have an associated signature counter, and
103
+ # every assertion operation will report a value of 0.
103
104
  # See https://w3c.github.io/webauthn/#signature-counter
104
- integer signCount
105
+ optional integer signCount
105
106
  # The large blob associated with the credential.
106
107
  # See https://w3c.github.io/webauthn/#sctn-large-blob-extension
107
108
  optional binary largeBlob
@@ -224,6 +225,11 @@ experimental domain WebAuthn
224
225
  optional boolean backupState
225
226
  optional integer activeCmtgKeyIndex
226
227
  optional boolean generateCmtgKeyOnNextOperation
228
+ # Must be equal to or greater than -1.
229
+ # If -1, the signature counter is removed from the credential, and every
230
+ # assertion operation will report a value of 0.
231
+ # See https://w3c.github.io/webauthn/#signature-counter
232
+ optional integer signCount
227
233
 
228
234
  # Triggered when a credential is added to an authenticator.
229
235
  event credentialAdded
@@ -14223,6 +14223,7 @@ export namespace Protocol {
14223
14223
  SigningQuotaExceeded = 'SigningQuotaExceeded',
14224
14224
  RefreshedAsWaiter = 'RefreshedAsWaiter',
14225
14225
  TransientSigningError = 'TransientSigningError',
14226
+ InScopeRefreshNotYetNeeded = 'InScopeRefreshNotYetNeeded',
14226
14227
  }
14227
14228
 
14228
14229
  /**
@@ -14233,7 +14234,7 @@ export namespace Protocol {
14233
14234
  /**
14234
14235
  * The result of a refresh.
14235
14236
  */
14236
- refreshResult: ('Refreshed' | 'InitializedService' | 'Unreachable' | 'ServerError' | 'FatalError' | 'SigningQuotaExceeded' | 'RefreshedAsWaiter' | 'TransientSigningError');
14237
+ refreshResult: ('Refreshed' | 'InitializedService' | 'Unreachable' | 'ServerError' | 'FatalError' | 'SigningQuotaExceeded' | 'RefreshedAsWaiter' | 'TransientSigningError' | 'InScopeRefreshNotYetNeeded');
14237
14238
  /**
14238
14239
  * If there was a fetch attempt, the result of that.
14239
14240
  */
@@ -22007,11 +22008,12 @@ export namespace Protocol {
22007
22008
  */
22008
22009
  userHandle?: string;
22009
22010
  /**
22010
- * Signature counter. This is incremented by one for each successful
22011
- * assertion.
22011
+ * Signature counter. Must be equal to or greater than -1.
22012
+ * If -1, the credential won't have an associated signature counter, and
22013
+ * every assertion operation will report a value of 0.
22012
22014
  * See https://w3c.github.io/webauthn/#signature-counter
22013
22015
  */
22014
- signCount: integer;
22016
+ signCount?: integer;
22015
22017
  /**
22016
22018
  * The large blob associated with the credential.
22017
22019
  * See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)
@@ -22144,6 +22146,13 @@ export namespace Protocol {
22144
22146
  backupState?: boolean;
22145
22147
  activeCmtgKeyIndex?: integer;
22146
22148
  generateCmtgKeyOnNextOperation?: boolean;
22149
+ /**
22150
+ * Must be equal to or greater than -1.
22151
+ * If -1, the signature counter is removed from the credential, and every
22152
+ * assertion operation will report a value of 0.
22153
+ * See https://w3c.github.io/webauthn/#signature-counter
22154
+ */
22155
+ signCount?: integer;
22147
22156
  }
22148
22157
 
22149
22158
  /**