@types/webworker 0.0.48 → 0.0.49

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 CHANGED
@@ -45,4 +45,4 @@ This project does not respect semantic versioning as almost every change could p
45
45
 
46
46
  ## Deploy Metadata
47
47
 
48
- You can read what changed in version 0.0.48 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.48.
48
+ You can read what changed in version 0.0.49 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.49.
package/index.d.ts CHANGED
@@ -8,6 +8,10 @@
8
8
  /// Worker APIs
9
9
  /////////////////////////////
10
10
 
11
+ interface AacEncoderConfig {
12
+ format?: AacBitstreamFormat;
13
+ }
14
+
11
15
  interface AddEventListenerOptions extends EventListenerOptions {
12
16
  once?: boolean;
13
17
  passive?: boolean;
@@ -88,6 +92,7 @@ interface AudioDecoderSupport {
88
92
  }
89
93
 
90
94
  interface AudioEncoderConfig {
95
+ aac?: AacEncoderConfig;
91
96
  bitrate?: number;
92
97
  bitrateMode?: BitrateMode;
93
98
  codec: string;
@@ -13455,6 +13460,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
13455
13460
  type URLPatternInput = string | URLPatternInit;
13456
13461
  type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
13457
13462
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
13463
+ type AacBitstreamFormat = "aac" | "adts";
13458
13464
  type AlphaOption = "discard" | "keep";
13459
13465
  type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
13460
13466
  type AvcBitstreamFormat = "annexb" | "avc";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/webworker",
3
- "version": "0.0.48",
3
+ "version": "0.0.49",
4
4
  "description": "Types for the global scope of Web Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -5,6 +5,10 @@
5
5
  /// Worker APIs
6
6
  /////////////////////////////
7
7
 
8
+ interface AacEncoderConfig {
9
+ format?: AacBitstreamFormat;
10
+ }
11
+
8
12
  interface AddEventListenerOptions extends EventListenerOptions {
9
13
  once?: boolean;
10
14
  passive?: boolean;
@@ -85,6 +89,7 @@ interface AudioDecoderSupport {
85
89
  }
86
90
 
87
91
  interface AudioEncoderConfig {
92
+ aac?: AacEncoderConfig;
88
93
  bitrate?: number;
89
94
  bitrateMode?: BitrateMode;
90
95
  codec: string;
@@ -13452,6 +13457,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
13452
13457
  type URLPatternInput = string | URLPatternInit;
13453
13458
  type Uint32List = Uint32Array | GLuint[];
13454
13459
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
13460
+ type AacBitstreamFormat = "aac" | "adts";
13455
13461
  type AlphaOption = "discard" | "keep";
13456
13462
  type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
13457
13463
  type AvcBitstreamFormat = "annexb" | "avc";
package/ts5.6/index.d.ts CHANGED
@@ -5,6 +5,10 @@
5
5
  /// Worker APIs
6
6
  /////////////////////////////
7
7
 
8
+ interface AacEncoderConfig {
9
+ format?: AacBitstreamFormat;
10
+ }
11
+
8
12
  interface AddEventListenerOptions extends EventListenerOptions {
9
13
  once?: boolean;
10
14
  passive?: boolean;
@@ -85,6 +89,7 @@ interface AudioDecoderSupport {
85
89
  }
86
90
 
87
91
  interface AudioEncoderConfig {
92
+ aac?: AacEncoderConfig;
88
93
  bitrate?: number;
89
94
  bitrateMode?: BitrateMode;
90
95
  codec: string;
@@ -13452,6 +13457,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
13452
13457
  type URLPatternInput = string | URLPatternInit;
13453
13458
  type Uint32List = Uint32Array | GLuint[];
13454
13459
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
13460
+ type AacBitstreamFormat = "aac" | "adts";
13455
13461
  type AlphaOption = "discard" | "keep";
13456
13462
  type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
13457
13463
  type AvcBitstreamFormat = "annexb" | "avc";
package/ts5.9/index.d.ts CHANGED
@@ -5,6 +5,10 @@
5
5
  /// Worker APIs
6
6
  /////////////////////////////
7
7
 
8
+ interface AacEncoderConfig {
9
+ format?: AacBitstreamFormat;
10
+ }
11
+
8
12
  interface AddEventListenerOptions extends EventListenerOptions {
9
13
  once?: boolean;
10
14
  passive?: boolean;
@@ -85,6 +89,7 @@ interface AudioDecoderSupport {
85
89
  }
86
90
 
87
91
  interface AudioEncoderConfig {
92
+ aac?: AacEncoderConfig;
88
93
  bitrate?: number;
89
94
  bitrateMode?: BitrateMode;
90
95
  codec: string;
@@ -13452,6 +13457,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
13452
13457
  type URLPatternInput = string | URLPatternInit;
13453
13458
  type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
13454
13459
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
13460
+ type AacBitstreamFormat = "aac" | "adts";
13455
13461
  type AlphaOption = "discard" | "keep";
13456
13462
  type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
13457
13463
  type AvcBitstreamFormat = "annexb" | "avc";