@types/web 0.0.307 → 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 +58 -3
- package/package.json +1 -1
- package/ts5.5/index.d.ts +58 -3
- package/ts5.6/index.d.ts +58 -3
- package/ts5.9/index.d.ts +58 -3
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 {
|
|
@@ -1561,6 +1605,7 @@ interface PointerLockOptions {
|
|
|
1561
1605
|
}
|
|
1562
1606
|
|
|
1563
1607
|
interface PopStateEventInit extends EventInit {
|
|
1608
|
+
hasUAVisualTransition?: boolean;
|
|
1564
1609
|
state?: any;
|
|
1565
1610
|
}
|
|
1566
1611
|
|
|
@@ -2109,6 +2154,15 @@ interface RegistrationOptions {
|
|
|
2109
2154
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2110
2155
|
}
|
|
2111
2156
|
|
|
2157
|
+
interface RegistrationResponseJSON {
|
|
2158
|
+
authenticatorAttachment?: string;
|
|
2159
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
2160
|
+
id: string;
|
|
2161
|
+
rawId: Base64URLString;
|
|
2162
|
+
response: AuthenticatorAttestationResponseJSON;
|
|
2163
|
+
type: string;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2112
2166
|
interface Report {
|
|
2113
2167
|
body?: ReportBody | null;
|
|
2114
2168
|
type?: string;
|
|
@@ -2671,6 +2725,7 @@ interface WebGLContextAttributes {
|
|
|
2671
2725
|
premultipliedAlpha?: boolean;
|
|
2672
2726
|
preserveDrawingBuffer?: boolean;
|
|
2673
2727
|
stencil?: boolean;
|
|
2728
|
+
xrCompatible?: boolean;
|
|
2674
2729
|
}
|
|
2675
2730
|
|
|
2676
2731
|
interface WebGLContextEventInit extends EventInit {
|
|
@@ -26975,7 +27030,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26975
27030
|
*
|
|
26976
27031
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26977
27032
|
*/
|
|
26978
|
-
toJSON():
|
|
27033
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26979
27034
|
}
|
|
26980
27035
|
|
|
26981
27036
|
declare var PublicKeyCredential: {
|
|
@@ -28372,7 +28427,7 @@ interface Range extends AbstractRange {
|
|
|
28372
28427
|
*/
|
|
28373
28428
|
comparePoint(node: Node, offset: number): number;
|
|
28374
28429
|
/**
|
|
28375
|
-
* The **`Range.createContextualFragment()`** method
|
|
28430
|
+
* The **`Range.createContextualFragment()`** method of the Range interface returns a DocumentFragment representing the parsed input HTML or XML.
|
|
28376
28431
|
*
|
|
28377
28432
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
|
|
28378
28433
|
*/
|
|
@@ -42420,7 +42475,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42420
42475
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42421
42476
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42422
42477
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42423
|
-
type PublicKeyCredentialJSON = any;
|
|
42424
42478
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42425
42479
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42426
42480
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42513,6 +42567,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42513
42567
|
type IDBRequestReadyState = "done" | "pending";
|
|
42514
42568
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42515
42569
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42570
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42516
42571
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42517
42572
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42518
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 {
|
|
@@ -1558,6 +1602,7 @@ interface PointerLockOptions {
|
|
|
1558
1602
|
}
|
|
1559
1603
|
|
|
1560
1604
|
interface PopStateEventInit extends EventInit {
|
|
1605
|
+
hasUAVisualTransition?: boolean;
|
|
1561
1606
|
state?: any;
|
|
1562
1607
|
}
|
|
1563
1608
|
|
|
@@ -2106,6 +2151,15 @@ interface RegistrationOptions {
|
|
|
2106
2151
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2107
2152
|
}
|
|
2108
2153
|
|
|
2154
|
+
interface RegistrationResponseJSON {
|
|
2155
|
+
authenticatorAttachment?: string;
|
|
2156
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
2157
|
+
id: string;
|
|
2158
|
+
rawId: Base64URLString;
|
|
2159
|
+
response: AuthenticatorAttestationResponseJSON;
|
|
2160
|
+
type: string;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2109
2163
|
interface Report {
|
|
2110
2164
|
body?: ReportBody | null;
|
|
2111
2165
|
type?: string;
|
|
@@ -2668,6 +2722,7 @@ interface WebGLContextAttributes {
|
|
|
2668
2722
|
premultipliedAlpha?: boolean;
|
|
2669
2723
|
preserveDrawingBuffer?: boolean;
|
|
2670
2724
|
stencil?: boolean;
|
|
2725
|
+
xrCompatible?: boolean;
|
|
2671
2726
|
}
|
|
2672
2727
|
|
|
2673
2728
|
interface WebGLContextEventInit extends EventInit {
|
|
@@ -26951,7 +27006,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26951
27006
|
*
|
|
26952
27007
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26953
27008
|
*/
|
|
26954
|
-
toJSON():
|
|
27009
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26955
27010
|
}
|
|
26956
27011
|
|
|
26957
27012
|
declare var PublicKeyCredential: {
|
|
@@ -28348,7 +28403,7 @@ interface Range extends AbstractRange {
|
|
|
28348
28403
|
*/
|
|
28349
28404
|
comparePoint(node: Node, offset: number): number;
|
|
28350
28405
|
/**
|
|
28351
|
-
* The **`Range.createContextualFragment()`** method
|
|
28406
|
+
* The **`Range.createContextualFragment()`** method of the Range interface returns a DocumentFragment representing the parsed input HTML or XML.
|
|
28352
28407
|
*
|
|
28353
28408
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
|
|
28354
28409
|
*/
|
|
@@ -42394,7 +42449,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42394
42449
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42395
42450
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42396
42451
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42397
|
-
type PublicKeyCredentialJSON = any;
|
|
42398
42452
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42399
42453
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42400
42454
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42487,6 +42541,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42487
42541
|
type IDBRequestReadyState = "done" | "pending";
|
|
42488
42542
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42489
42543
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42544
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42490
42545
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42491
42546
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42492
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 {
|
|
@@ -1558,6 +1602,7 @@ interface PointerLockOptions {
|
|
|
1558
1602
|
}
|
|
1559
1603
|
|
|
1560
1604
|
interface PopStateEventInit extends EventInit {
|
|
1605
|
+
hasUAVisualTransition?: boolean;
|
|
1561
1606
|
state?: any;
|
|
1562
1607
|
}
|
|
1563
1608
|
|
|
@@ -2106,6 +2151,15 @@ interface RegistrationOptions {
|
|
|
2106
2151
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2107
2152
|
}
|
|
2108
2153
|
|
|
2154
|
+
interface RegistrationResponseJSON {
|
|
2155
|
+
authenticatorAttachment?: string;
|
|
2156
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
2157
|
+
id: string;
|
|
2158
|
+
rawId: Base64URLString;
|
|
2159
|
+
response: AuthenticatorAttestationResponseJSON;
|
|
2160
|
+
type: string;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2109
2163
|
interface Report {
|
|
2110
2164
|
body?: ReportBody | null;
|
|
2111
2165
|
type?: string;
|
|
@@ -2668,6 +2722,7 @@ interface WebGLContextAttributes {
|
|
|
2668
2722
|
premultipliedAlpha?: boolean;
|
|
2669
2723
|
preserveDrawingBuffer?: boolean;
|
|
2670
2724
|
stencil?: boolean;
|
|
2725
|
+
xrCompatible?: boolean;
|
|
2671
2726
|
}
|
|
2672
2727
|
|
|
2673
2728
|
interface WebGLContextEventInit extends EventInit {
|
|
@@ -26972,7 +27027,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26972
27027
|
*
|
|
26973
27028
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26974
27029
|
*/
|
|
26975
|
-
toJSON():
|
|
27030
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26976
27031
|
}
|
|
26977
27032
|
|
|
26978
27033
|
declare var PublicKeyCredential: {
|
|
@@ -28369,7 +28424,7 @@ interface Range extends AbstractRange {
|
|
|
28369
28424
|
*/
|
|
28370
28425
|
comparePoint(node: Node, offset: number): number;
|
|
28371
28426
|
/**
|
|
28372
|
-
* The **`Range.createContextualFragment()`** method
|
|
28427
|
+
* The **`Range.createContextualFragment()`** method of the Range interface returns a DocumentFragment representing the parsed input HTML or XML.
|
|
28373
28428
|
*
|
|
28374
28429
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
|
|
28375
28430
|
*/
|
|
@@ -42417,7 +42472,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42417
42472
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42418
42473
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42419
42474
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42420
|
-
type PublicKeyCredentialJSON = any;
|
|
42421
42475
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42422
42476
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42423
42477
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42510,6 +42564,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42510
42564
|
type IDBRequestReadyState = "done" | "pending";
|
|
42511
42565
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42512
42566
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42567
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42513
42568
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42514
42569
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42515
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 {
|
|
@@ -1558,6 +1602,7 @@ interface PointerLockOptions {
|
|
|
1558
1602
|
}
|
|
1559
1603
|
|
|
1560
1604
|
interface PopStateEventInit extends EventInit {
|
|
1605
|
+
hasUAVisualTransition?: boolean;
|
|
1561
1606
|
state?: any;
|
|
1562
1607
|
}
|
|
1563
1608
|
|
|
@@ -2106,6 +2151,15 @@ interface RegistrationOptions {
|
|
|
2106
2151
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
2107
2152
|
}
|
|
2108
2153
|
|
|
2154
|
+
interface RegistrationResponseJSON {
|
|
2155
|
+
authenticatorAttachment?: string;
|
|
2156
|
+
clientExtensionResults: AuthenticationExtensionsClientOutputsJSON;
|
|
2157
|
+
id: string;
|
|
2158
|
+
rawId: Base64URLString;
|
|
2159
|
+
response: AuthenticatorAttestationResponseJSON;
|
|
2160
|
+
type: string;
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2109
2163
|
interface Report {
|
|
2110
2164
|
body?: ReportBody | null;
|
|
2111
2165
|
type?: string;
|
|
@@ -2668,6 +2722,7 @@ interface WebGLContextAttributes {
|
|
|
2668
2722
|
premultipliedAlpha?: boolean;
|
|
2669
2723
|
preserveDrawingBuffer?: boolean;
|
|
2670
2724
|
stencil?: boolean;
|
|
2725
|
+
xrCompatible?: boolean;
|
|
2671
2726
|
}
|
|
2672
2727
|
|
|
2673
2728
|
interface WebGLContextEventInit extends EventInit {
|
|
@@ -26972,7 +27027,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26972
27027
|
*
|
|
26973
27028
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26974
27029
|
*/
|
|
26975
|
-
toJSON():
|
|
27030
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26976
27031
|
}
|
|
26977
27032
|
|
|
26978
27033
|
declare var PublicKeyCredential: {
|
|
@@ -28369,7 +28424,7 @@ interface Range extends AbstractRange {
|
|
|
28369
28424
|
*/
|
|
28370
28425
|
comparePoint(node: Node, offset: number): number;
|
|
28371
28426
|
/**
|
|
28372
|
-
* The **`Range.createContextualFragment()`** method
|
|
28427
|
+
* The **`Range.createContextualFragment()`** method of the Range interface returns a DocumentFragment representing the parsed input HTML or XML.
|
|
28373
28428
|
*
|
|
28374
28429
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Range/createContextualFragment)
|
|
28375
28430
|
*/
|
|
@@ -42417,7 +42472,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42417
42472
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42418
42473
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42419
42474
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42420
|
-
type PublicKeyCredentialJSON = any;
|
|
42421
42475
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42422
42476
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42423
42477
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42510,6 +42564,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42510
42564
|
type IDBRequestReadyState = "done" | "pending";
|
|
42511
42565
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42512
42566
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42567
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42513
42568
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42514
42569
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42515
42570
|
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";
|