@types/audioworklet 0.0.35 → 0.0.37

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +58 -59
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.35 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.35.
31
+ You can read what changed in version 0.0.37 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Faudioworklet%400.0.37.
package/index.d.ts CHANGED
@@ -270,61 +270,61 @@ interface DOMException extends Error {
270
270
  readonly code: number;
271
271
  readonly message: string;
272
272
  readonly name: string;
273
- readonly ABORT_ERR: number;
274
- readonly DATA_CLONE_ERR: number;
275
- readonly DOMSTRING_SIZE_ERR: number;
276
- readonly HIERARCHY_REQUEST_ERR: number;
277
- readonly INDEX_SIZE_ERR: number;
278
- readonly INUSE_ATTRIBUTE_ERR: number;
279
- readonly INVALID_ACCESS_ERR: number;
280
- readonly INVALID_CHARACTER_ERR: number;
281
- readonly INVALID_MODIFICATION_ERR: number;
282
- readonly INVALID_NODE_TYPE_ERR: number;
283
- readonly INVALID_STATE_ERR: number;
284
- readonly NAMESPACE_ERR: number;
285
- readonly NETWORK_ERR: number;
286
- readonly NOT_FOUND_ERR: number;
287
- readonly NOT_SUPPORTED_ERR: number;
288
- readonly NO_DATA_ALLOWED_ERR: number;
289
- readonly NO_MODIFICATION_ALLOWED_ERR: number;
290
- readonly QUOTA_EXCEEDED_ERR: number;
291
- readonly SECURITY_ERR: number;
292
- readonly SYNTAX_ERR: number;
293
- readonly TIMEOUT_ERR: number;
294
- readonly TYPE_MISMATCH_ERR: number;
295
- readonly URL_MISMATCH_ERR: number;
296
- readonly VALIDATION_ERR: number;
297
- readonly WRONG_DOCUMENT_ERR: number;
273
+ readonly INDEX_SIZE_ERR: 1;
274
+ readonly DOMSTRING_SIZE_ERR: 2;
275
+ readonly HIERARCHY_REQUEST_ERR: 3;
276
+ readonly WRONG_DOCUMENT_ERR: 4;
277
+ readonly INVALID_CHARACTER_ERR: 5;
278
+ readonly NO_DATA_ALLOWED_ERR: 6;
279
+ readonly NO_MODIFICATION_ALLOWED_ERR: 7;
280
+ readonly NOT_FOUND_ERR: 8;
281
+ readonly NOT_SUPPORTED_ERR: 9;
282
+ readonly INUSE_ATTRIBUTE_ERR: 10;
283
+ readonly INVALID_STATE_ERR: 11;
284
+ readonly SYNTAX_ERR: 12;
285
+ readonly INVALID_MODIFICATION_ERR: 13;
286
+ readonly NAMESPACE_ERR: 14;
287
+ readonly INVALID_ACCESS_ERR: 15;
288
+ readonly VALIDATION_ERR: 16;
289
+ readonly TYPE_MISMATCH_ERR: 17;
290
+ readonly SECURITY_ERR: 18;
291
+ readonly NETWORK_ERR: 19;
292
+ readonly ABORT_ERR: 20;
293
+ readonly URL_MISMATCH_ERR: 21;
294
+ readonly QUOTA_EXCEEDED_ERR: 22;
295
+ readonly TIMEOUT_ERR: 23;
296
+ readonly INVALID_NODE_TYPE_ERR: 24;
297
+ readonly DATA_CLONE_ERR: 25;
298
298
  }
299
299
 
300
300
  declare var DOMException: {
301
301
  prototype: DOMException;
302
302
  new(message?: string, name?: string): DOMException;
303
- readonly ABORT_ERR: number;
304
- readonly DATA_CLONE_ERR: number;
305
- readonly DOMSTRING_SIZE_ERR: number;
306
- readonly HIERARCHY_REQUEST_ERR: number;
307
- readonly INDEX_SIZE_ERR: number;
308
- readonly INUSE_ATTRIBUTE_ERR: number;
309
- readonly INVALID_ACCESS_ERR: number;
310
- readonly INVALID_CHARACTER_ERR: number;
311
- readonly INVALID_MODIFICATION_ERR: number;
312
- readonly INVALID_NODE_TYPE_ERR: number;
313
- readonly INVALID_STATE_ERR: number;
314
- readonly NAMESPACE_ERR: number;
315
- readonly NETWORK_ERR: number;
316
- readonly NOT_FOUND_ERR: number;
317
- readonly NOT_SUPPORTED_ERR: number;
318
- readonly NO_DATA_ALLOWED_ERR: number;
319
- readonly NO_MODIFICATION_ALLOWED_ERR: number;
320
- readonly QUOTA_EXCEEDED_ERR: number;
321
- readonly SECURITY_ERR: number;
322
- readonly SYNTAX_ERR: number;
323
- readonly TIMEOUT_ERR: number;
324
- readonly TYPE_MISMATCH_ERR: number;
325
- readonly URL_MISMATCH_ERR: number;
326
- readonly VALIDATION_ERR: number;
327
- readonly WRONG_DOCUMENT_ERR: number;
303
+ readonly INDEX_SIZE_ERR: 1;
304
+ readonly DOMSTRING_SIZE_ERR: 2;
305
+ readonly HIERARCHY_REQUEST_ERR: 3;
306
+ readonly WRONG_DOCUMENT_ERR: 4;
307
+ readonly INVALID_CHARACTER_ERR: 5;
308
+ readonly NO_DATA_ALLOWED_ERR: 6;
309
+ readonly NO_MODIFICATION_ALLOWED_ERR: 7;
310
+ readonly NOT_FOUND_ERR: 8;
311
+ readonly NOT_SUPPORTED_ERR: 9;
312
+ readonly INUSE_ATTRIBUTE_ERR: 10;
313
+ readonly INVALID_STATE_ERR: 11;
314
+ readonly SYNTAX_ERR: 12;
315
+ readonly INVALID_MODIFICATION_ERR: 13;
316
+ readonly NAMESPACE_ERR: 14;
317
+ readonly INVALID_ACCESS_ERR: 15;
318
+ readonly VALIDATION_ERR: 16;
319
+ readonly TYPE_MISMATCH_ERR: 17;
320
+ readonly SECURITY_ERR: 18;
321
+ readonly NETWORK_ERR: 19;
322
+ readonly ABORT_ERR: 20;
323
+ readonly URL_MISMATCH_ERR: 21;
324
+ readonly QUOTA_EXCEEDED_ERR: 22;
325
+ readonly TIMEOUT_ERR: 23;
326
+ readonly INVALID_NODE_TYPE_ERR: 24;
327
+ readonly DATA_CLONE_ERR: 25;
328
328
  };
329
329
 
330
330
  /** Events providing information related to errors in scripts or in files. */
@@ -379,19 +379,19 @@ interface Event {
379
379
  stopImmediatePropagation(): void;
380
380
  /** When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. */
381
381
  stopPropagation(): void;
382
- readonly AT_TARGET: number;
383
- readonly BUBBLING_PHASE: number;
384
- readonly CAPTURING_PHASE: number;
385
- readonly NONE: number;
382
+ readonly NONE: 0;
383
+ readonly CAPTURING_PHASE: 1;
384
+ readonly AT_TARGET: 2;
385
+ readonly BUBBLING_PHASE: 3;
386
386
  }
387
387
 
388
388
  declare var Event: {
389
389
  prototype: Event;
390
390
  new(type: string, eventInitDict?: EventInit): Event;
391
- readonly AT_TARGET: number;
392
- readonly BUBBLING_PHASE: number;
393
- readonly CAPTURING_PHASE: number;
394
- readonly NONE: number;
391
+ readonly NONE: 0;
392
+ readonly CAPTURING_PHASE: 1;
393
+ readonly AT_TARGET: 2;
394
+ readonly BUBBLING_PHASE: 3;
395
395
  };
396
396
 
397
397
  interface EventListener {
@@ -715,7 +715,6 @@ interface URLSearchParams {
715
715
  declare var URLSearchParams: {
716
716
  prototype: URLSearchParams;
717
717
  new(init?: string[][] | Record<string, string> | string | URLSearchParams): URLSearchParams;
718
- toString(): string;
719
718
  };
720
719
 
721
720
  /** Available only in secure contexts. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/audioworklet",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "Types for the global scope of Audio Worklets",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],