@@ -183,26 +183,57 @@ interface AudioWorkletNodeOptions extends AudioNodeOptions {
183
183
interface AuthenticationExtensionsClientInputs {
184
184
appid?: string;
185
185
credProps?: boolean;
186
+ credentialProtectionPolicy?: string;
187
+ enforceCredentialProtectionPolicy?: boolean;
186
188
hmacCreateSecret?: boolean;
189
+ largeBlob?: AuthenticationExtensionsLargeBlobInputs;
187
190
minPinLength?: boolean;
188
191
prf?: AuthenticationExtensionsPRFInputs;
189
192
}
190
193
191
194
interface AuthenticationExtensionsClientInputsJSON {
195
+ appid?: string;
196
+ credProps?: boolean;
197
+ largeBlob?: AuthenticationExtensionsLargeBlobInputsJSON;
198
+ prf?: AuthenticationExtensionsPRFInputsJSON;
192
199
}
193
200
194
201
interface AuthenticationExtensionsClientOutputs {
195
202
appid?: boolean;
196
203
credProps?: CredentialPropertiesOutput;
197
204
hmacCreateSecret?: boolean;
205
+ largeBlob?: AuthenticationExtensionsLargeBlobOutputs;
198
206
prf?: AuthenticationExtensionsPRFOutputs;
199
207
}
200
208
209
+ interface AuthenticationExtensionsLargeBlobInputs {
210
+ read?: boolean;
211
+ support?: string;
212
+ write?: BufferSource;
213
+ }
214
+
215
+ interface AuthenticationExtensionsLargeBlobInputsJSON {
216
+ read?: boolean;
217
+ support?: string;
218
+ write?: Base64URLString;
219
+ }
220
+
221
+ interface AuthenticationExtensionsLargeBlobOutputs {
222
+ blob?: ArrayBuffer;
223
+ supported?: boolean;
224
+ written?: boolean;
225
+ }
226
+
201
227
interface AuthenticationExtensionsPRFInputs {
202
228
eval?: AuthenticationExtensionsPRFValues;
203
229
evalByCredential?: Record<string, AuthenticationExtensionsPRFValues>;
204
230
}
205
231
232
+ interface AuthenticationExtensionsPRFInputsJSON {
233
+ eval?: AuthenticationExtensionsPRFValuesJSON;
234
+ evalByCredential?: Record<string, AuthenticationExtensionsPRFValuesJSON>;
235
+ }
236
+
206
237
interface AuthenticationExtensionsPRFOutputs {
207
238
enabled?: boolean;
208
239
results?: AuthenticationExtensionsPRFValues;
@@ -213,6 +244,11 @@ interface AuthenticationExtensionsPRFValues {
213
244
second?: BufferSource;
214
245
}
215
246
247
+ interface AuthenticationExtensionsPRFValuesJSON {
248
+ first: Base64URLString;
249
+ second?: Base64URLString;
250
+ }
251
+
216
252
interface AuthenticatorSelectionCriteria {
217
253
authenticatorAttachment?: AuthenticatorAttachment;
218
254
requireResidentKey?: boolean;
@@ -23634,7 +23670,7 @@ interface ServiceWorkerRegistration extends EventTarget {
23634
23670
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/unregister) */
23635
23671
unregister(): Promise<boolean>;
23636
23672
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerRegistration/update) */
23637
- update(): Promise<void >;
23673
+ update(): Promise<ServiceWorkerRegistration >;
23638
23674
addEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
23639
23675
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
23640
23676
removeEventListener<K extends keyof ServiceWorkerRegistrationEventMap>(type: K, listener: (this: ServiceWorkerRegistration, ev: ServiceWorkerRegistrationEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
0 commit comments