@types/web 0.0.69 → 0.0.70

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 +42 -12
  3. package/package.json +1 -1
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.69 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.69.
50
+ You can read what changed in version 0.0.70 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.70.
package/index.d.ts CHANGED
@@ -1103,6 +1103,10 @@ interface PermissionDescriptor {
1103
1103
  name: PermissionName;
1104
1104
  }
1105
1105
 
1106
+ interface PictureInPictureEventInit extends EventInit {
1107
+ pictureInPictureWindow: PictureInPictureWindow;
1108
+ }
1109
+
1106
1110
  interface PointerEventInit extends MouseEventInit {
1107
1111
  coalescedEvents?: PointerEvent[];
1108
1112
  height?: number;
@@ -1979,6 +1983,7 @@ declare var AbortSignal: {
1979
1983
  prototype: AbortSignal;
1980
1984
  new(): AbortSignal;
1981
1985
  // abort(reason?: any): AbortSignal; - To be re-added in the future
1986
+ timeout(milliseconds: number): AbortSignal;
1982
1987
  };
1983
1988
 
1984
1989
  interface AbstractRange {
@@ -2364,6 +2369,8 @@ declare var AuthenticatorAssertionResponse: {
2364
2369
  /** Available only in secure contexts. */
2365
2370
  interface AuthenticatorAttestationResponse extends AuthenticatorResponse {
2366
2371
  readonly attestationObject: ArrayBuffer;
2372
+ getAuthenticatorData(): ArrayBuffer;
2373
+ getTransports(): string[];
2367
2374
  }
2368
2375
 
2369
2376
  declare var AuthenticatorAttestationResponse: {
@@ -4526,6 +4533,7 @@ interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShad
4526
4533
  createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent;
4527
4534
  createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent;
4528
4535
  createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent;
4536
+ createEvent(eventInterface: "PictureInPictureEvent"): PictureInPictureEvent;
4529
4537
  createEvent(eventInterface: "PointerEvent"): PointerEvent;
4530
4538
  createEvent(eventInterface: "PopStateEvent"): PopStateEvent;
4531
4539
  createEvent(eventInterface: "ProgressEvent"): ProgressEvent;
@@ -4819,6 +4827,13 @@ interface EXT_sRGB {
4819
4827
  interface EXT_shader_texture_lod {
4820
4828
  }
4821
4829
 
4830
+ interface EXT_texture_compression_bptc {
4831
+ readonly COMPRESSED_RGBA_BPTC_UNORM_EXT: GLenum;
4832
+ readonly COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT: GLenum;
4833
+ readonly COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT: GLenum;
4834
+ readonly COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT: GLenum;
4835
+ }
4836
+
4822
4837
  interface EXT_texture_compression_rgtc {
4823
4838
  readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum;
4824
4839
  readonly COMPRESSED_RED_RGTC1_EXT: GLenum;
@@ -10662,6 +10677,7 @@ interface PermissionStatusEventMap {
10662
10677
  }
10663
10678
 
10664
10679
  interface PermissionStatus extends EventTarget {
10680
+ readonly name: string;
10665
10681
  onchange: ((this: PermissionStatus, ev: Event) => any) | null;
10666
10682
  readonly state: PermissionState;
10667
10683
  addEventListener<K extends keyof PermissionStatusEventMap>(type: K, listener: (this: PermissionStatus, ev: PermissionStatusEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
@@ -10684,6 +10700,15 @@ declare var Permissions: {
10684
10700
  new(): Permissions;
10685
10701
  };
10686
10702
 
10703
+ interface PictureInPictureEvent extends Event {
10704
+ readonly pictureInPictureWindow: PictureInPictureWindow;
10705
+ }
10706
+
10707
+ declare var PictureInPictureEvent: {
10708
+ prototype: PictureInPictureEvent;
10709
+ new(type: string, eventInitDict: PictureInPictureEventInit): PictureInPictureEvent;
10710
+ };
10711
+
10687
10712
  interface PictureInPictureWindowEventMap {
10688
10713
  "resize": Event;
10689
10714
  }
@@ -10883,6 +10908,7 @@ declare var PushSubscription: {
10883
10908
  /** Available only in secure contexts. */
10884
10909
  interface PushSubscriptionOptions {
10885
10910
  readonly applicationServerKey: ArrayBuffer | null;
10911
+ readonly userVisibleOnly: boolean;
10886
10912
  }
10887
10913
 
10888
10914
  declare var PushSubscriptionOptions: {
@@ -15953,35 +15979,39 @@ interface WebGLRenderingContextBase {
15953
15979
  getBufferParameter(target: GLenum, pname: GLenum): any;
15954
15980
  getContextAttributes(): WebGLContextAttributes | null;
15955
15981
  getError(): GLenum;
15982
+ getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
15956
15983
  getExtension(extensionName: "EXT_blend_minmax"): EXT_blend_minmax | null;
15957
15984
  getExtension(extensionName: "EXT_color_buffer_float"): EXT_color_buffer_float | null;
15958
15985
  getExtension(extensionName: "EXT_color_buffer_half_float"): EXT_color_buffer_half_float | null;
15959
15986
  getExtension(extensionName: "EXT_float_blend"): EXT_float_blend | null;
15960
- getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
15961
15987
  getExtension(extensionName: "EXT_frag_depth"): EXT_frag_depth | null;
15962
- getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
15963
15988
  getExtension(extensionName: "EXT_sRGB"): EXT_sRGB | null;
15989
+ getExtension(extensionName: "EXT_shader_texture_lod"): EXT_shader_texture_lod | null;
15990
+ getExtension(extensionName: "EXT_texture_compression_bptc"): EXT_texture_compression_bptc | null;
15991
+ getExtension(extensionName: "EXT_texture_compression_rgtc"): EXT_texture_compression_rgtc | null;
15992
+ getExtension(extensionName: "EXT_texture_filter_anisotropic"): EXT_texture_filter_anisotropic | null;
15964
15993
  getExtension(extensionName: "KHR_parallel_shader_compile"): KHR_parallel_shader_compile | null;
15994
+ getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
15995
+ getExtension(extensionName: "OES_fbo_render_mipmap"): OES_fbo_render_mipmap | null;
15996
+ getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
15997
+ getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
15998
+ getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
15999
+ getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
16000
+ getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
15965
16001
  getExtension(extensionName: "OES_vertex_array_object"): OES_vertex_array_object | null;
15966
16002
  getExtension(extensionName: "OVR_multiview2"): OVR_multiview2 | null;
15967
16003
  getExtension(extensionName: "WEBGL_color_buffer_float"): WEBGL_color_buffer_float | null;
15968
16004
  getExtension(extensionName: "WEBGL_compressed_texture_astc"): WEBGL_compressed_texture_astc | null;
15969
16005
  getExtension(extensionName: "WEBGL_compressed_texture_etc"): WEBGL_compressed_texture_etc | null;
15970
16006
  getExtension(extensionName: "WEBGL_compressed_texture_etc1"): WEBGL_compressed_texture_etc1 | null;
16007
+ getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
15971
16008
  getExtension(extensionName: "WEBGL_compressed_texture_s3tc_srgb"): WEBGL_compressed_texture_s3tc_srgb | null;
16009
+ getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
15972
16010
  getExtension(extensionName: "WEBGL_debug_shaders"): WEBGL_debug_shaders | null;
16011
+ getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;
15973
16012
  getExtension(extensionName: "WEBGL_draw_buffers"): WEBGL_draw_buffers | null;
15974
16013
  getExtension(extensionName: "WEBGL_lose_context"): WEBGL_lose_context | null;
15975
- getExtension(extensionName: "WEBGL_depth_texture"): WEBGL_depth_texture | null;
15976
- getExtension(extensionName: "WEBGL_debug_renderer_info"): WEBGL_debug_renderer_info | null;
15977
- getExtension(extensionName: "WEBGL_compressed_texture_s3tc"): WEBGL_compressed_texture_s3tc | null;
15978
- getExtension(extensionName: "OES_texture_half_float_linear"): OES_texture_half_float_linear | null;
15979
- getExtension(extensionName: "OES_texture_half_float"): OES_texture_half_float | null;
15980
- getExtension(extensionName: "OES_texture_float_linear"): OES_texture_float_linear | null;
15981
- getExtension(extensionName: "OES_texture_float"): OES_texture_float | null;
15982
- getExtension(extensionName: "OES_standard_derivatives"): OES_standard_derivatives | null;
15983
- getExtension(extensionName: "OES_element_index_uint"): OES_element_index_uint | null;
15984
- getExtension(extensionName: "ANGLE_instanced_arrays"): ANGLE_instanced_arrays | null;
16014
+ getExtension(extensionName: "WEBGL_multi_draw"): WEBGL_multi_draw | null;
15985
16015
  getExtension(name: string): any;
15986
16016
  getFramebufferAttachmentParameter(target: GLenum, attachment: GLenum, pname: GLenum): any;
15987
16017
  getParameter(pname: GLenum): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/web",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "description": "Types for the DOM, and other web technologies in browsers",
5
5
  "license": "MIT",
6
6
  "contributors": [],