@types/webworker 0.0.47 → 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.47 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fwebworker%400.0.47.
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;
@@ -270,6 +275,7 @@ interface EncodedVideoChunkInit {
270
275
 
271
276
  interface EncodedVideoChunkMetadata {
272
277
  decoderConfig?: VideoDecoderConfig;
278
+ svc?: SvcOutputMetadata;
273
279
  }
274
280
 
275
281
  interface ErrorEventInit extends EventInit {
@@ -860,6 +866,10 @@ interface StructuredSerializeOptions {
860
866
  transfer?: Transferable[];
861
867
  }
862
868
 
869
+ interface SvcOutputMetadata {
870
+ temporalLayerId?: number;
871
+ }
872
+
863
873
  interface TaskControllerInit {
864
874
  priority?: TaskPriority;
865
875
  }
@@ -13450,6 +13460,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
13450
13460
  type URLPatternInput = string | URLPatternInit;
13451
13461
  type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
13452
13462
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
13463
+ type AacBitstreamFormat = "aac" | "adts";
13453
13464
  type AlphaOption = "discard" | "keep";
13454
13465
  type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
13455
13466
  type AvcBitstreamFormat = "annexb" | "avc";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/webworker",
3
- "version": "0.0.47",
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;
@@ -267,6 +272,7 @@ interface EncodedVideoChunkInit {
267
272
 
268
273
  interface EncodedVideoChunkMetadata {
269
274
  decoderConfig?: VideoDecoderConfig;
275
+ svc?: SvcOutputMetadata;
270
276
  }
271
277
 
272
278
  interface ErrorEventInit extends EventInit {
@@ -857,6 +863,10 @@ interface StructuredSerializeOptions {
857
863
  transfer?: Transferable[];
858
864
  }
859
865
 
866
+ interface SvcOutputMetadata {
867
+ temporalLayerId?: number;
868
+ }
869
+
860
870
  interface TaskControllerInit {
861
871
  priority?: TaskPriority;
862
872
  }
@@ -13447,6 +13457,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
13447
13457
  type URLPatternInput = string | URLPatternInit;
13448
13458
  type Uint32List = Uint32Array | GLuint[];
13449
13459
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
13460
+ type AacBitstreamFormat = "aac" | "adts";
13450
13461
  type AlphaOption = "discard" | "keep";
13451
13462
  type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
13452
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;
@@ -267,6 +272,7 @@ interface EncodedVideoChunkInit {
267
272
 
268
273
  interface EncodedVideoChunkMetadata {
269
274
  decoderConfig?: VideoDecoderConfig;
275
+ svc?: SvcOutputMetadata;
270
276
  }
271
277
 
272
278
  interface ErrorEventInit extends EventInit {
@@ -857,6 +863,10 @@ interface StructuredSerializeOptions {
857
863
  transfer?: Transferable[];
858
864
  }
859
865
 
866
+ interface SvcOutputMetadata {
867
+ temporalLayerId?: number;
868
+ }
869
+
860
870
  interface TaskControllerInit {
861
871
  priority?: TaskPriority;
862
872
  }
@@ -13447,6 +13457,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
13447
13457
  type URLPatternInput = string | URLPatternInit;
13448
13458
  type Uint32List = Uint32Array | GLuint[];
13449
13459
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
13460
+ type AacBitstreamFormat = "aac" | "adts";
13450
13461
  type AlphaOption = "discard" | "keep";
13451
13462
  type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
13452
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;
@@ -267,6 +272,7 @@ interface EncodedVideoChunkInit {
267
272
 
268
273
  interface EncodedVideoChunkMetadata {
269
274
  decoderConfig?: VideoDecoderConfig;
275
+ svc?: SvcOutputMetadata;
270
276
  }
271
277
 
272
278
  interface ErrorEventInit extends EventInit {
@@ -857,6 +863,10 @@ interface StructuredSerializeOptions {
857
863
  transfer?: Transferable[];
858
864
  }
859
865
 
866
+ interface SvcOutputMetadata {
867
+ temporalLayerId?: number;
868
+ }
869
+
860
870
  interface TaskControllerInit {
861
871
  priority?: TaskPriority;
862
872
  }
@@ -13447,6 +13457,7 @@ type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | MediaSourceHan
13447
13457
  type URLPatternInput = string | URLPatternInit;
13448
13458
  type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
13449
13459
  type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
13460
+ type AacBitstreamFormat = "aac" | "adts";
13450
13461
  type AlphaOption = "discard" | "keep";
13451
13462
  type AudioSampleFormat = "f32" | "f32-planar" | "s16" | "s16-planar" | "s32" | "s32-planar" | "u8" | "u8-planar";
13452
13463
  type AvcBitstreamFormat = "annexb" | "avc";