@types/web 0.0.295 → 0.0.296

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
@@ -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.295 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.295.
50
+ You can read what changed in version 0.0.296 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.296.
package/index.d.ts CHANGED
@@ -630,7 +630,7 @@ interface EffectTiming {
630
630
  }
631
631
 
632
632
  interface ElementCreationOptions {
633
- customElementRegistry?: CustomElementRegistry;
633
+ customElementRegistry?: CustomElementRegistry | null;
634
634
  is?: string;
635
635
  }
636
636
 
@@ -27028,7 +27028,7 @@ interface RTCEncodedVideoFrame {
27028
27028
  *
27029
27029
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
27030
27030
  */
27031
- readonly type: RTCEncodedVideoFrameType;
27031
+ readonly type: EncodedVideoChunkType;
27032
27032
  /**
27033
27033
  * The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.
27034
27034
  *
@@ -42083,7 +42083,6 @@ type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
42083
42083
  type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
42084
42084
  type RTCDtlsRole = "client" | "server" | "unknown";
42085
42085
  type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
42086
- type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
42087
42086
  type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
42088
42087
  type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
42089
42088
  type RTCIceComponent = "rtcp" | "rtp";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.295",
3
+ "version": "0.0.296",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -627,7 +627,7 @@ interface EffectTiming {
627
627
  }
628
628
 
629
629
  interface ElementCreationOptions {
630
- customElementRegistry?: CustomElementRegistry;
630
+ customElementRegistry?: CustomElementRegistry | null;
631
631
  is?: string;
632
632
  }
633
633
 
@@ -27004,7 +27004,7 @@ interface RTCEncodedVideoFrame {
27004
27004
  *
27005
27005
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
27006
27006
  */
27007
- readonly type: RTCEncodedVideoFrameType;
27007
+ readonly type: EncodedVideoChunkType;
27008
27008
  /**
27009
27009
  * The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.
27010
27010
  *
@@ -42057,7 +42057,6 @@ type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
42057
42057
  type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
42058
42058
  type RTCDtlsRole = "client" | "server" | "unknown";
42059
42059
  type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
42060
- type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
42061
42060
  type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
42062
42061
  type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
42063
42062
  type RTCIceComponent = "rtcp" | "rtp";
package/ts5.6/index.d.ts CHANGED
@@ -627,7 +627,7 @@ interface EffectTiming {
627
627
  }
628
628
 
629
629
  interface ElementCreationOptions {
630
- customElementRegistry?: CustomElementRegistry;
630
+ customElementRegistry?: CustomElementRegistry | null;
631
631
  is?: string;
632
632
  }
633
633
 
@@ -27025,7 +27025,7 @@ interface RTCEncodedVideoFrame {
27025
27025
  *
27026
27026
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
27027
27027
  */
27028
- readonly type: RTCEncodedVideoFrameType;
27028
+ readonly type: EncodedVideoChunkType;
27029
27029
  /**
27030
27030
  * The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.
27031
27031
  *
@@ -42080,7 +42080,6 @@ type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
42080
42080
  type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
42081
42081
  type RTCDtlsRole = "client" | "server" | "unknown";
42082
42082
  type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
42083
- type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
42084
42083
  type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
42085
42084
  type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
42086
42085
  type RTCIceComponent = "rtcp" | "rtp";
package/ts5.9/index.d.ts CHANGED
@@ -627,7 +627,7 @@ interface EffectTiming {
627
627
  }
628
628
 
629
629
  interface ElementCreationOptions {
630
- customElementRegistry?: CustomElementRegistry;
630
+ customElementRegistry?: CustomElementRegistry | null;
631
631
  is?: string;
632
632
  }
633
633
 
@@ -27025,7 +27025,7 @@ interface RTCEncodedVideoFrame {
27025
27025
  *
27026
27026
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/RTCEncodedVideoFrame/type)
27027
27027
  */
27028
- readonly type: RTCEncodedVideoFrameType;
27028
+ readonly type: EncodedVideoChunkType;
27029
27029
  /**
27030
27030
  * The **`getMetadata()`** method of the RTCEncodedVideoFrame interface returns an object containing the metadata associated with the frame.
27031
27031
  *
@@ -42080,7 +42080,6 @@ type RTCDataChannelState = "closed" | "closing" | "connecting" | "open";
42080
42080
  type RTCDegradationPreference = "balanced" | "maintain-framerate" | "maintain-resolution";
42081
42081
  type RTCDtlsRole = "client" | "server" | "unknown";
42082
42082
  type RTCDtlsTransportState = "closed" | "connected" | "connecting" | "failed" | "new";
42083
- type RTCEncodedVideoFrameType = "delta" | "empty" | "key";
42084
42083
  type RTCErrorDetailType = "data-channel-failure" | "dtls-failure" | "fingerprint-failure" | "hardware-encoder-error" | "hardware-encoder-not-available" | "sctp-failure" | "sdp-syntax-error";
42085
42084
  type RTCIceCandidateType = "host" | "prflx" | "relay" | "srflx";
42086
42085
  type RTCIceComponent = "rtcp" | "rtp";