@types/web 0.0.308 → 0.0.310
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 -3
- package/package.json +1 -1
- package/ts5.5/index.d.ts +55 -3
- package/ts5.6/index.d.ts +55 -3
- package/ts5.9/index.d.ts +55 -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.310 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.310.
|
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;
|
|
@@ -26870,7 +26923,6 @@ interface PopoverTargetAttributes {
|
|
|
26870
26923
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProcessingInstruction)
|
|
26871
26924
|
*/
|
|
26872
26925
|
interface ProcessingInstruction extends CharacterData, LinkStyle {
|
|
26873
|
-
readonly ownerDocument: Document;
|
|
26874
26926
|
/**
|
|
26875
26927
|
* The read-only **`target`** property of the ProcessingInstruction interface represent the application to which the ProcessingInstruction is targeted.
|
|
26876
26928
|
*
|
|
@@ -26977,7 +27029,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26977
27029
|
*
|
|
26978
27030
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26979
27031
|
*/
|
|
26980
|
-
toJSON():
|
|
27032
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26981
27033
|
}
|
|
26982
27034
|
|
|
26983
27035
|
declare var PublicKeyCredential: {
|
|
@@ -42422,7 +42474,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42422
42474
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42423
42475
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42424
42476
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42425
|
-
type PublicKeyCredentialJSON = any;
|
|
42426
42477
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42427
42478
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42428
42479
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42515,6 +42566,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42515
42566
|
type IDBRequestReadyState = "done" | "pending";
|
|
42516
42567
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42517
42568
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42569
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42518
42570
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42519
42571
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42520
42572
|
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;
|
|
@@ -26846,7 +26899,6 @@ interface PopoverTargetAttributes {
|
|
|
26846
26899
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProcessingInstruction)
|
|
26847
26900
|
*/
|
|
26848
26901
|
interface ProcessingInstruction extends CharacterData, LinkStyle {
|
|
26849
|
-
readonly ownerDocument: Document;
|
|
26850
26902
|
/**
|
|
26851
26903
|
* The read-only **`target`** property of the ProcessingInstruction interface represent the application to which the ProcessingInstruction is targeted.
|
|
26852
26904
|
*
|
|
@@ -26953,7 +27005,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26953
27005
|
*
|
|
26954
27006
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26955
27007
|
*/
|
|
26956
|
-
toJSON():
|
|
27008
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26957
27009
|
}
|
|
26958
27010
|
|
|
26959
27011
|
declare var PublicKeyCredential: {
|
|
@@ -42396,7 +42448,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42396
42448
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42397
42449
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42398
42450
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42399
|
-
type PublicKeyCredentialJSON = any;
|
|
42400
42451
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42401
42452
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42402
42453
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42489,6 +42540,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42489
42540
|
type IDBRequestReadyState = "done" | "pending";
|
|
42490
42541
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42491
42542
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42543
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42492
42544
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42493
42545
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42494
42546
|
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;
|
|
@@ -26867,7 +26920,6 @@ interface PopoverTargetAttributes {
|
|
|
26867
26920
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProcessingInstruction)
|
|
26868
26921
|
*/
|
|
26869
26922
|
interface ProcessingInstruction extends CharacterData, LinkStyle {
|
|
26870
|
-
readonly ownerDocument: Document;
|
|
26871
26923
|
/**
|
|
26872
26924
|
* The read-only **`target`** property of the ProcessingInstruction interface represent the application to which the ProcessingInstruction is targeted.
|
|
26873
26925
|
*
|
|
@@ -26974,7 +27026,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26974
27026
|
*
|
|
26975
27027
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26976
27028
|
*/
|
|
26977
|
-
toJSON():
|
|
27029
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26978
27030
|
}
|
|
26979
27031
|
|
|
26980
27032
|
declare var PublicKeyCredential: {
|
|
@@ -42419,7 +42471,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42419
42471
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42420
42472
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42421
42473
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42422
|
-
type PublicKeyCredentialJSON = any;
|
|
42423
42474
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42424
42475
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42425
42476
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42512,6 +42563,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42512
42563
|
type IDBRequestReadyState = "done" | "pending";
|
|
42513
42564
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42514
42565
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42566
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42515
42567
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42516
42568
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42517
42569
|
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;
|
|
@@ -26867,7 +26920,6 @@ interface PopoverTargetAttributes {
|
|
|
26867
26920
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ProcessingInstruction)
|
|
26868
26921
|
*/
|
|
26869
26922
|
interface ProcessingInstruction extends CharacterData, LinkStyle {
|
|
26870
|
-
readonly ownerDocument: Document;
|
|
26871
26923
|
/**
|
|
26872
26924
|
* The read-only **`target`** property of the ProcessingInstruction interface represent the application to which the ProcessingInstruction is targeted.
|
|
26873
26925
|
*
|
|
@@ -26974,7 +27026,7 @@ interface PublicKeyCredential extends Credential {
|
|
|
26974
27026
|
*
|
|
26975
27027
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/PublicKeyCredential/toJSON)
|
|
26976
27028
|
*/
|
|
26977
|
-
toJSON():
|
|
27029
|
+
toJSON(): RegistrationResponseJSON | AuthenticationResponseJSON;
|
|
26978
27030
|
}
|
|
26979
27031
|
|
|
26980
27032
|
declare var PublicKeyCredential: {
|
|
@@ -42419,7 +42471,6 @@ type OptionalPostfixToken<T extends string> = ` ${T}` | "";
|
|
|
42419
42471
|
type OptionalPrefixToken<T extends string> = `${T} ` | "";
|
|
42420
42472
|
type PerformanceEntryList = PerformanceEntry[];
|
|
42421
42473
|
type PublicKeyCredentialClientCapabilities = Record<string, boolean>;
|
|
42422
|
-
type PublicKeyCredentialJSON = any;
|
|
42423
42474
|
type RTCRtpTransform = RTCRtpScriptTransform;
|
|
42424
42475
|
type ReadableStreamController<T> = ReadableStreamDefaultController<T> | ReadableByteStreamController;
|
|
42425
42476
|
type ReadableStreamReadResult<T> = ReadableStreamReadValueResult<T> | ReadableStreamReadDoneResult<T>;
|
|
@@ -42512,6 +42563,7 @@ type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
|
|
|
42512
42563
|
type IDBRequestReadyState = "done" | "pending";
|
|
42513
42564
|
type IDBTransactionDurability = "default" | "relaxed" | "strict";
|
|
42514
42565
|
type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
|
|
42566
|
+
type ImageDataPixelFormat = "rgba-float16" | "rgba-unorm8";
|
|
42515
42567
|
type ImageOrientation = "flipY" | "from-image" | "none";
|
|
42516
42568
|
type ImageSmoothingQuality = "high" | "low" | "medium";
|
|
42517
42569
|
type InsertPosition = "afterbegin" | "afterend" | "beforebegin" | "beforeend";
|