@types/web 0.0.79 → 0.0.81

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.79 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.79.
50
+ You can read what changed in version 0.0.81 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.81.
package/index.d.ts CHANGED
@@ -823,7 +823,6 @@ interface MediaTrackCapabilities {
823
823
  aspectRatio?: DoubleRange;
824
824
  autoGainControl?: boolean[];
825
825
  channelCount?: ULongRange;
826
- cursor?: string[];
827
826
  deviceId?: string;
828
827
  displaySurface?: string;
829
828
  echoCancellation?: boolean[];
@@ -831,10 +830,7 @@ interface MediaTrackCapabilities {
831
830
  frameRate?: DoubleRange;
832
831
  groupId?: string;
833
832
  height?: ULongRange;
834
- latency?: DoubleRange;
835
- logicalSurface?: boolean;
836
833
  noiseSuppression?: boolean[];
837
- resizeMode?: string[];
838
834
  sampleRate?: ULongRange;
839
835
  sampleSize?: ULongRange;
840
836
  width?: ULongRange;
@@ -845,16 +841,15 @@ interface MediaTrackConstraintSet {
845
841
  autoGainControl?: ConstrainBoolean;
846
842
  channelCount?: ConstrainULong;
847
843
  deviceId?: ConstrainDOMString;
844
+ displaySurface?: ConstrainDOMString;
848
845
  echoCancellation?: ConstrainBoolean;
849
846
  facingMode?: ConstrainDOMString;
850
847
  frameRate?: ConstrainDouble;
851
848
  groupId?: ConstrainDOMString;
852
849
  height?: ConstrainULong;
853
- latency?: ConstrainDouble;
854
850
  noiseSuppression?: ConstrainBoolean;
855
851
  sampleRate?: ConstrainULong;
856
852
  sampleSize?: ConstrainULong;
857
- suppressLocalAudioPlayback?: ConstrainBoolean;
858
853
  width?: ConstrainULong;
859
854
  }
860
855
 
@@ -865,14 +860,15 @@ interface MediaTrackConstraints extends MediaTrackConstraintSet {
865
860
  interface MediaTrackSettings {
866
861
  aspectRatio?: number;
867
862
  autoGainControl?: boolean;
863
+ channelCount?: number;
868
864
  deviceId?: string;
865
+ displaySurface?: string;
869
866
  echoCancellation?: boolean;
870
867
  facingMode?: string;
871
868
  frameRate?: number;
872
869
  groupId?: string;
873
870
  height?: number;
874
871
  noiseSuppression?: boolean;
875
- restrictOwnAudio?: boolean;
876
872
  sampleRate?: number;
877
873
  sampleSize?: number;
878
874
  width?: number;
@@ -881,7 +877,9 @@ interface MediaTrackSettings {
881
877
  interface MediaTrackSupportedConstraints {
882
878
  aspectRatio?: boolean;
883
879
  autoGainControl?: boolean;
880
+ channelCount?: boolean;
884
881
  deviceId?: boolean;
882
+ displaySurface?: boolean;
885
883
  echoCancellation?: boolean;
886
884
  facingMode?: boolean;
887
885
  frameRate?: boolean;
@@ -890,7 +888,6 @@ interface MediaTrackSupportedConstraints {
890
888
  noiseSuppression?: boolean;
891
889
  sampleRate?: boolean;
892
890
  sampleSize?: boolean;
893
- suppressLocalAudioPlayback?: boolean;
894
891
  width?: boolean;
895
892
  }
896
893
 
@@ -2736,6 +2733,7 @@ interface CSSKeyframesRule extends CSSRule {
2736
2733
  appendRule(rule: string): void;
2737
2734
  deleteRule(select: string): void;
2738
2735
  findRule(select: string): CSSKeyframeRule | null;
2736
+ [index: number]: CSSKeyframeRule;
2739
2737
  }
2740
2738
 
2741
2739
  declare var CSSKeyframesRule: {
@@ -3854,7 +3852,7 @@ interface Crypto {
3854
3852
  readonly subtle: SubtleCrypto;
3855
3853
  getRandomValues<T extends ArrayBufferView | null>(array: T): T;
3856
3854
  /** Available only in secure contexts. */
3857
- randomUUID(): string;
3855
+ randomUUID(): `${string}-${string}-${string}-${string}-${string}`;
3858
3856
  }
3859
3857
 
3860
3858
  declare var Crypto: {
package/iterable.d.ts CHANGED
@@ -14,6 +14,10 @@ interface BaseAudioContext {
14
14
  createPeriodicWave(real: Iterable<number>, imag: Iterable<number>, constraints?: PeriodicWaveConstraints): PeriodicWave;
15
15
  }
16
16
 
17
+ interface CSSKeyframesRule {
18
+ [Symbol.iterator](): IterableIterator<CSSKeyframeRule>;
19
+ }
20
+
17
21
  interface CSSRuleList {
18
22
  [Symbol.iterator](): IterableIterator<CSSRule>;
19
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],