@types/web 0.0.308 → 0.0.309
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.
- package/README.md +1 -1
- package/index.d.ts +55 -2
- package/package.json +1 -1
- package/ts5.5/index.d.ts +55 -2
- package/ts5.6/index.d.ts +55 -2
- package/ts5.9/index.d.ts +55 -2
package/README.md
CHANGED
|
@@ -47,4 +47,4 @@ Prior to `@types/web` the web APIs were deployed with a version of TypeScript, a
|
|
|
47
47
|
|
|
48
48
|
## Deploy Metadata
|
|
49
49
|
|
|
50
|
-
You can read what changed in version 0.0.
|
|
50
|
+
You can read what changed in version 0.0.309 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.309.
|
package/index.d.ts
CHANGED
|
@@ -223,6 +223,13 @@ interface AuthenticationExtensionsClientOutputs {
|
|
|
223
223
|
prf?: AuthenticationExtensionsPRFOutputs;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
|
+
interface AuthenticationExtensionsClientOutputsJSON {
|
|
227
|
+
appid?: boolean;
|
|
228
|
+
credProps?: CredentialPropertiesOutput;
|
|
229
|
+
largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON;
|
|
230
|
+
prf?: AuthenticationExtensionsPRFOutputsJSON;
|
|
231
|
+
}
|
|
232
|
+
|
|
226
233
|
interface AuthenticationExtensionsLargeBlobInputs {
|
|
227
234
|
read?: boolean;
|
|
228
235
|
support?: string;
|
|
@@ -241,6 +248,12 @@ interface AuthenticationExtensionsLargeBlobOutputs {
|
|
|
241
248
|
written?: boolean;
|
|
242
249
|
}
|
|
243
250
|
|
|
251
|
+
interface AuthenticationExtensionsLargeBlobOutputsJSON {
|
|
252
|
+
blob?: Base64URLString;
|
|
253
|
+
supported?: boolean;
|
|
254
|
+
written?: boolean;
|
|
255
|
+
}
|
|
256
|
+
|
|
244
257
|
interface AuthenticationExtensionsPRFInputs {
|
|
245
258
|
eval?: AuthenticationExtensionsPRFValues;
|
|
246
259
|
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
|
|
@@ -256,6 +269,11 @@ interface AuthenticationExtensionsPRFOutputs {
|
|
|
256
269
|
results?: AuthenticationExtensionsPRFValues;
|
|
257
270
|
}
|
|
258
271
|
|
|
272
|
+
interface AuthenticationExtensionsPRFOutputsJSON {
|
|
273
|
+
enabled?: boolean;
|
|
274
|
+
results?: AuthenticationExtensionsPRFValuesJSON;
|
|
275
|
+
}
|
|
276
|
+
|
|
259
277
|
interface AuthenticationExtensionsPRFValues {
|
|
260
278
|
first: BufferSource;
|
|
261
279
|
second?: BufferSource;
|
|
@@ -266,6 +284,31 @@ interface AuthenticationExtensionsPRFValuesJSON {
|
|
|
266
284
|
second?: Base64URLString;
|
|
267
285
|
}
|
|
268
286
|
|
|
287
|
+
interface AuthenticationResponseJSON {
|
|
288
|
+
authenticatorAttachment?: string;
|
|
289
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
290
|
+
id: string;
|
|
291
|
+
rawId: Base64URLString;
|
|
292
|
+
response: AuthenticatorAssertionResponseJSON;
|
|
293
|
+
type: string;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
interface AuthenticatorAssertionResponseJSON {
|
|
297
|
+
authenticatorData: Base64URLString;
|
|
298
|
+
clientDataJSON: Base64URLString;
|
|
299
|
+
signature: Base64URLString;
|
|
300
|
+
userHandle?: Base64URLString;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
interface AuthenticatorAttestationResponseJSON {
|
|
304
|
+
attestationObject: Base64URLString;
|
|
305
|
+
authenticatorData: Base64URLString;
|
|
306
|
+
clientDataJSON: Base64URLString;
|
|
307
|
+
publicKey?: Base64URLString;
|
|
308
|
+
publicKeyAlgorithm: COSEAlgorithmIdentifier;
|
|
309
|
+
transports: string[];
|
|
310
|
+
}
|
|
311
|
+
|
|
269
312
|
interface AuthenticatorSelectionCriteria {
|
|
270
313
|
authenticatorAttachment?: AuthenticatorAttachment;
|
|
271
314
|
requireResidentKey?: boolean;
|
|
@@ -881,6 +924,7 @@ interface ImageBitmapRenderingContextSettings {
|
|
|
881
924
|
|
|
882
925
|
interface ImageDataSettings {
|
|
883
926
|
colorSpace?: PredefinedColorSpace;
|
|
927
|
+
pixelFormat?: ImageDataPixelFormat;
|
|
884
928
|
}
|
|
885
929
|
|
|
886
930
|
interface ImageDecodeOptions {
|
|
@@ -2110,6 +2154,15 @@ interface RegistrationOptions {
|
|
|
2110
2154
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2111
2155
|
}
|
|
2112
2156
|
|
|
2157
|
+
interface RegistrationResponseJSON {
|
|
2158
|
+
authenticatorAttachment?: string;
|
|
2159
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
2160
|
+
id: string;
|
|
2161
|
+
rawId: Base64URLString;
|
|
2162
|
+
response: AuthenticatorAttestationResponseJSON;
|
|
2163
|
+
type: string;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2113
2166
|
interface Report {
|
|
2114
2167
|
body?: ReportBody | null;
|
|
2115
2168
|
type?: string;
|
|
@@ -26977,7 +27030,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26977
27030
|
*
|
|
26978
27031
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26979
27032
|
*/
|
|
26980
|
-
toJSON():
|
|
27033
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26981
27034
|
}
|
|
26982
27035
|
|
|
26983
27036
|
declare var PublicKeyCredential: {
|
|
@@ -42422,7 +42475,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42422
42475
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42423
42476
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42424
42477
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42425
|
-
type PublicKeyCredentialJSON = any;
|
|
42426
42478
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42427
42479
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42428
42480
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42515,6 +42567,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42515
42567
|
type IDBRequestReadyState = "done" | "pending";
|
|
42516
42568
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42517
42569
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42570
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42518
42571
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42519
42572
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42520
42573
|
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -220,6 +220,13 @@ interface AuthenticationExtensionsClientOutputs {
|
|
|
220
220
|
prf?: AuthenticationExtensionsPRFOutputs;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
interface AuthenticationExtensionsClientOutputsJSON {
|
|
224
|
+
appid?: boolean;
|
|
225
|
+
credProps?: CredentialPropertiesOutput;
|
|
226
|
+
largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON;
|
|
227
|
+
prf?: AuthenticationExtensionsPRFOutputsJSON;
|
|
228
|
+
}
|
|
229
|
+
|
|
223
230
|
interface AuthenticationExtensionsLargeBlobInputs {
|
|
224
231
|
read?: boolean;
|
|
225
232
|
support?: string;
|
|
@@ -238,6 +245,12 @@ interface AuthenticationExtensionsLargeBlobOutputs {
|
|
|
238
245
|
written?: boolean;
|
|
239
246
|
}
|
|
240
247
|
|
|
248
|
+
interface AuthenticationExtensionsLargeBlobOutputsJSON {
|
|
249
|
+
blob?: Base64URLString;
|
|
250
|
+
supported?: boolean;
|
|
251
|
+
written?: boolean;
|
|
252
|
+
}
|
|
253
|
+
|
|
241
254
|
interface AuthenticationExtensionsPRFInputs {
|
|
242
255
|
eval?: AuthenticationExtensionsPRFValues;
|
|
243
256
|
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
|
|
@@ -253,6 +266,11 @@ interface AuthenticationExtensionsPRFOutputs {
|
|
|
253
266
|
results?: AuthenticationExtensionsPRFValues;
|
|
254
267
|
}
|
|
255
268
|
|
|
269
|
+
interface AuthenticationExtensionsPRFOutputsJSON {
|
|
270
|
+
enabled?: boolean;
|
|
271
|
+
results?: AuthenticationExtensionsPRFValuesJSON;
|
|
272
|
+
}
|
|
273
|
+
|
|
256
274
|
interface AuthenticationExtensionsPRFValues {
|
|
257
275
|
first: BufferSource;
|
|
258
276
|
second?: BufferSource;
|
|
@@ -263,6 +281,31 @@ interface AuthenticationExtensionsPRFValuesJSON {
|
|
|
263
281
|
second?: Base64URLString;
|
|
264
282
|
}
|
|
265
283
|
|
|
284
|
+
interface AuthenticationResponseJSON {
|
|
285
|
+
authenticatorAttachment?: string;
|
|
286
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
287
|
+
id: string;
|
|
288
|
+
rawId: Base64URLString;
|
|
289
|
+
response: AuthenticatorAssertionResponseJSON;
|
|
290
|
+
type: string;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
interface AuthenticatorAssertionResponseJSON {
|
|
294
|
+
authenticatorData: Base64URLString;
|
|
295
|
+
clientDataJSON: Base64URLString;
|
|
296
|
+
signature: Base64URLString;
|
|
297
|
+
userHandle?: Base64URLString;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
interface AuthenticatorAttestationResponseJSON {
|
|
301
|
+
attestationObject: Base64URLString;
|
|
302
|
+
authenticatorData: Base64URLString;
|
|
303
|
+
clientDataJSON: Base64URLString;
|
|
304
|
+
publicKey?: Base64URLString;
|
|
305
|
+
publicKeyAlgorithm: COSEAlgorithmIdentifier;
|
|
306
|
+
transports: string[];
|
|
307
|
+
}
|
|
308
|
+
|
|
266
309
|
interface AuthenticatorSelectionCriteria {
|
|
267
310
|
authenticatorAttachment?: AuthenticatorAttachment;
|
|
268
311
|
requireResidentKey?: boolean;
|
|
@@ -878,6 +921,7 @@ interface ImageBitmapRenderingContextSettings {
|
|
|
878
921
|
|
|
879
922
|
interface ImageDataSettings {
|
|
880
923
|
colorSpace?: PredefinedColorSpace;
|
|
924
|
+
pixelFormat?: ImageDataPixelFormat;
|
|
881
925
|
}
|
|
882
926
|
|
|
883
927
|
interface ImageDecodeOptions {
|
|
@@ -2107,6 +2151,15 @@ interface RegistrationOptions {
|
|
|
2107
2151
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2108
2152
|
}
|
|
2109
2153
|
|
|
2154
|
+
interface RegistrationResponseJSON {
|
|
2155
|
+
authenticatorAttachment?: string;
|
|
2156
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
2157
|
+
id: string;
|
|
2158
|
+
rawId: Base64URLString;
|
|
2159
|
+
response: AuthenticatorAttestationResponseJSON;
|
|
2160
|
+
type: string;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2110
2163
|
interface Report {
|
|
2111
2164
|
body?: ReportBody | null;
|
|
2112
2165
|
type?: string;
|
|
@@ -26953,7 +27006,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26953
27006
|
*
|
|
26954
27007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26955
27008
|
*/
|
|
26956
|
-
toJSON():
|
|
27009
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26957
27010
|
}
|
|
26958
27011
|
|
|
26959
27012
|
declare var PublicKeyCredential: {
|
|
@@ -42396,7 +42449,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42396
42449
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42397
42450
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42398
42451
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42399
|
-
type PublicKeyCredentialJSON = any;
|
|
42400
42452
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42401
42453
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42402
42454
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42489,6 +42541,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42489
42541
|
type IDBRequestReadyState = "done" | "pending";
|
|
42490
42542
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42491
42543
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42544
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42492
42545
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42493
42546
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42494
42547
|
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -220,6 +220,13 @@ interface AuthenticationExtensionsClientOutputs {
|
|
|
220
220
|
prf?: AuthenticationExtensionsPRFOutputs;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
interface AuthenticationExtensionsClientOutputsJSON {
|
|
224
|
+
appid?: boolean;
|
|
225
|
+
credProps?: CredentialPropertiesOutput;
|
|
226
|
+
largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON;
|
|
227
|
+
prf?: AuthenticationExtensionsPRFOutputsJSON;
|
|
228
|
+
}
|
|
229
|
+
|
|
223
230
|
interface AuthenticationExtensionsLargeBlobInputs {
|
|
224
231
|
read?: boolean;
|
|
225
232
|
support?: string;
|
|
@@ -238,6 +245,12 @@ interface AuthenticationExtensionsLargeBlobOutputs {
|
|
|
238
245
|
written?: boolean;
|
|
239
246
|
}
|
|
240
247
|
|
|
248
|
+
interface AuthenticationExtensionsLargeBlobOutputsJSON {
|
|
249
|
+
blob?: Base64URLString;
|
|
250
|
+
supported?: boolean;
|
|
251
|
+
written?: boolean;
|
|
252
|
+
}
|
|
253
|
+
|
|
241
254
|
interface AuthenticationExtensionsPRFInputs {
|
|
242
255
|
eval?: AuthenticationExtensionsPRFValues;
|
|
243
256
|
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
|
|
@@ -253,6 +266,11 @@ interface AuthenticationExtensionsPRFOutputs {
|
|
|
253
266
|
results?: AuthenticationExtensionsPRFValues;
|
|
254
267
|
}
|
|
255
268
|
|
|
269
|
+
interface AuthenticationExtensionsPRFOutputsJSON {
|
|
270
|
+
enabled?: boolean;
|
|
271
|
+
results?: AuthenticationExtensionsPRFValuesJSON;
|
|
272
|
+
}
|
|
273
|
+
|
|
256
274
|
interface AuthenticationExtensionsPRFValues {
|
|
257
275
|
first: BufferSource;
|
|
258
276
|
second?: BufferSource;
|
|
@@ -263,6 +281,31 @@ interface AuthenticationExtensionsPRFValuesJSON {
|
|
|
263
281
|
second?: Base64URLString;
|
|
264
282
|
}
|
|
265
283
|
|
|
284
|
+
interface AuthenticationResponseJSON {
|
|
285
|
+
authenticatorAttachment?: string;
|
|
286
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
287
|
+
id: string;
|
|
288
|
+
rawId: Base64URLString;
|
|
289
|
+
response: AuthenticatorAssertionResponseJSON;
|
|
290
|
+
type: string;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
interface AuthenticatorAssertionResponseJSON {
|
|
294
|
+
authenticatorData: Base64URLString;
|
|
295
|
+
clientDataJSON: Base64URLString;
|
|
296
|
+
signature: Base64URLString;
|
|
297
|
+
userHandle?: Base64URLString;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
interface AuthenticatorAttestationResponseJSON {
|
|
301
|
+
attestationObject: Base64URLString;
|
|
302
|
+
authenticatorData: Base64URLString;
|
|
303
|
+
clientDataJSON: Base64URLString;
|
|
304
|
+
publicKey?: Base64URLString;
|
|
305
|
+
publicKeyAlgorithm: COSEAlgorithmIdentifier;
|
|
306
|
+
transports: string[];
|
|
307
|
+
}
|
|
308
|
+
|
|
266
309
|
interface AuthenticatorSelectionCriteria {
|
|
267
310
|
authenticatorAttachment?: AuthenticatorAttachment;
|
|
268
311
|
requireResidentKey?: boolean;
|
|
@@ -878,6 +921,7 @@ interface ImageBitmapRenderingContextSettings {
|
|
|
878
921
|
|
|
879
922
|
interface ImageDataSettings {
|
|
880
923
|
colorSpace?: PredefinedColorSpace;
|
|
924
|
+
pixelFormat?: ImageDataPixelFormat;
|
|
881
925
|
}
|
|
882
926
|
|
|
883
927
|
interface ImageDecodeOptions {
|
|
@@ -2107,6 +2151,15 @@ interface RegistrationOptions {
|
|
|
2107
2151
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2108
2152
|
}
|
|
2109
2153
|
|
|
2154
|
+
interface RegistrationResponseJSON {
|
|
2155
|
+
authenticatorAttachment?: string;
|
|
2156
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
2157
|
+
id: string;
|
|
2158
|
+
rawId: Base64URLString;
|
|
2159
|
+
response: AuthenticatorAttestationResponseJSON;
|
|
2160
|
+
type: string;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2110
2163
|
interface Report {
|
|
2111
2164
|
body?: ReportBody | null;
|
|
2112
2165
|
type?: string;
|
|
@@ -26974,7 +27027,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26974
27027
|
*
|
|
26975
27028
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26976
27029
|
*/
|
|
26977
|
-
toJSON():
|
|
27030
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26978
27031
|
}
|
|
26979
27032
|
|
|
26980
27033
|
declare var PublicKeyCredential: {
|
|
@@ -42419,7 +42472,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42419
42472
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42420
42473
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42421
42474
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42422
|
-
type PublicKeyCredentialJSON = any;
|
|
42423
42475
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42424
42476
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42425
42477
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42512,6 +42564,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42512
42564
|
type IDBRequestReadyState = "done" | "pending";
|
|
42513
42565
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42514
42566
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42567
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42515
42568
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42516
42569
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42517
42570
|
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -220,6 +220,13 @@ interface AuthenticationExtensionsClientOutputs {
|
|
|
220
220
|
prf?: AuthenticationExtensionsPRFOutputs;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
+
interface AuthenticationExtensionsClientOutputsJSON {
|
|
224
|
+
appid?: boolean;
|
|
225
|
+
credProps?: CredentialPropertiesOutput;
|
|
226
|
+
largeBlob?: AuthenticationExtensionsLargeBlobOutputsJSON;
|
|
227
|
+
prf?: AuthenticationExtensionsPRFOutputsJSON;
|
|
228
|
+
}
|
|
229
|
+
|
|
223
230
|
interface AuthenticationExtensionsLargeBlobInputs {
|
|
224
231
|
read?: boolean;
|
|
225
232
|
support?: string;
|
|
@@ -238,6 +245,12 @@ interface AuthenticationExtensionsLargeBlobOutputs {
|
|
|
238
245
|
written?: boolean;
|
|
239
246
|
}
|
|
240
247
|
|
|
248
|
+
interface AuthenticationExtensionsLargeBlobOutputsJSON {
|
|
249
|
+
blob?: Base64URLString;
|
|
250
|
+
supported?: boolean;
|
|
251
|
+
written?: boolean;
|
|
252
|
+
}
|
|
253
|
+
|
|
241
254
|
interface AuthenticationExtensionsPRFInputs {
|
|
242
255
|
eval?: AuthenticationExtensionsPRFValues;
|
|
243
256
|
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
|
|
@@ -253,6 +266,11 @@ interface AuthenticationExtensionsPRFOutputs {
|
|
|
253
266
|
results?: AuthenticationExtensionsPRFValues;
|
|
254
267
|
}
|
|
255
268
|
|
|
269
|
+
interface AuthenticationExtensionsPRFOutputsJSON {
|
|
270
|
+
enabled?: boolean;
|
|
271
|
+
results?: AuthenticationExtensionsPRFValuesJSON;
|
|
272
|
+
}
|
|
273
|
+
|
|
256
274
|
interface AuthenticationExtensionsPRFValues {
|
|
257
275
|
first: BufferSource;
|
|
258
276
|
second?: BufferSource;
|
|
@@ -263,6 +281,31 @@ interface AuthenticationExtensionsPRFValuesJSON {
|
|
|
263
281
|
second?: Base64URLString;
|
|
264
282
|
}
|
|
265
283
|
|
|
284
|
+
interface AuthenticationResponseJSON {
|
|
285
|
+
authenticatorAttachment?: string;
|
|
286
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
287
|
+
id: string;
|
|
288
|
+
rawId: Base64URLString;
|
|
289
|
+
response: AuthenticatorAssertionResponseJSON;
|
|
290
|
+
type: string;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
interface AuthenticatorAssertionResponseJSON {
|
|
294
|
+
authenticatorData: Base64URLString;
|
|
295
|
+
clientDataJSON: Base64URLString;
|
|
296
|
+
signature: Base64URLString;
|
|
297
|
+
userHandle?: Base64URLString;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
interface AuthenticatorAttestationResponseJSON {
|
|
301
|
+
attestationObject: Base64URLString;
|
|
302
|
+
authenticatorData: Base64URLString;
|
|
303
|
+
clientDataJSON: Base64URLString;
|
|
304
|
+
publicKey?: Base64URLString;
|
|
305
|
+
publicKeyAlgorithm: COSEAlgorithmIdentifier;
|
|
306
|
+
transports: string[];
|
|
307
|
+
}
|
|
308
|
+
|
|
266
309
|
interface AuthenticatorSelectionCriteria {
|
|
267
310
|
authenticatorAttachment?: AuthenticatorAttachment;
|
|
268
311
|
requireResidentKey?: boolean;
|
|
@@ -878,6 +921,7 @@ interface ImageBitmapRenderingContextSettings {
|
|
|
878
921
|
|
|
879
922
|
interface ImageDataSettings {
|
|
880
923
|
colorSpace?: PredefinedColorSpace;
|
|
924
|
+
pixelFormat?: ImageDataPixelFormat;
|
|
881
925
|
}
|
|
882
926
|
|
|
883
927
|
interface ImageDecodeOptions {
|
|
@@ -2107,6 +2151,15 @@ interface RegistrationOptions {
|
|
|
2107
2151
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2108
2152
|
}
|
|
2109
2153
|
|
|
2154
|
+
interface RegistrationResponseJSON {
|
|
2155
|
+
authenticatorAttachment?: string;
|
|
2156
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
2157
|
+
id: string;
|
|
2158
|
+
rawId: Base64URLString;
|
|
2159
|
+
response: AuthenticatorAttestationResponseJSON;
|
|
2160
|
+
type: string;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2110
2163
|
interface Report {
|
|
2111
2164
|
body?: ReportBody | null;
|
|
2112
2165
|
type?: string;
|
|
@@ -26974,7 +27027,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26974
27027
|
*
|
|
26975
27028
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26976
27029
|
*/
|
|
26977
|
-
toJSON():
|
|
27030
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26978
27031
|
}
|
|
26979
27032
|
|
|
26980
27033
|
declare var PublicKeyCredential: {
|
|
@@ -42419,7 +42472,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42419
42472
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42420
42473
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42421
42474
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42422
|
-
type PublicKeyCredentialJSON = any;
|
|
42423
42475
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42424
42476
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42425
42477
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42512,6 +42564,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42512
42564
|
type IDBRequestReadyState = "done" | "pending";
|
|
42513
42565
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42514
42566
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42567
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42515
42568
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42516
42569
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42517
42570
|
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";
|