@types/sharedworker 0.0.58 → 0.0.59

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
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
28
28
 
29
29
  ## Deploy Metadata
30
30
 
31
- You can read what changed in version 0.0.58 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.58.
31
+ You can read what changed in version 0.0.59 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.59.
package/index.d.ts CHANGED
@@ -820,6 +820,8 @@ interface Crypto {
820
820
  /** Available only in secure contexts. */
821
821
  readonly subtle: SubtleCrypto;
822
822
  getRandomValues<T extends ArrayBufferView | null>(array: T): T;
823
+ /** Available only in secure contexts. */
824
+ randomUUID(): string;
823
825
  }
824
826
 
825
827
  declare var Crypto: {
@@ -1833,6 +1835,7 @@ interface IDBTransactionEventMap {
1833
1835
  interface IDBTransaction extends EventTarget {
1834
1836
  /** Returns the transaction's connection. */
1835
1837
  readonly db: IDBDatabase;
1838
+ readonly durability: IDBTransactionDurability;
1836
1839
  /** If the transaction was aborted, returns the error (a DOMException) providing the reason. */
1837
1840
  readonly error: DOMException | null;
1838
1841
  /** Returns the mode the transaction was created with ("readonly" or "readwrite"), or "versionchange" for an upgrade transaction. */
@@ -2911,6 +2914,13 @@ interface WEBGL_lose_context {
2911
2914
  restoreContext(): void;
2912
2915
  }
2913
2916
 
2917
+ interface WEBGL_multi_draw {
2918
+ multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
2919
+ multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | GLint[], firstsOffset: GLuint, countsList: Int32Array | GLsizei[], countsOffset: GLuint, drawcount: GLsizei): void;
2920
+ multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, instanceCountsList: Int32Array | GLsizei[], instanceCountsOffset: GLuint, drawcount: GLsizei): void;
2921
+ multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | GLint[], countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | GLsizei[], offsetsOffset: GLuint, drawcount: GLsizei): void;
2922
+ }
2923
+
2914
2924
  interface WebGL2RenderingContext extends WebGL2RenderingContextBase, WebGL2RenderingContextOverloads, WebGLRenderingContextBase {
2915
2925
  }
2916
2926
 
@@ -5454,6 +5464,7 @@ type FontFaceSetLoadStatus = "loaded" | "loading";
5454
5464
  type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
5455
5465
  type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
5456
5466
  type IDBRequestReadyState = "done" | "pending";
5467
+ type IDBTransactionDurability = "default" | "relaxed" | "strict";
5457
5468
  type IDBTransactionMode = "readonly" | "readwrite" | "versionchange";
5458
5469
  type ImageOrientation = "flipY" | "none";
5459
5470
  type KeyFormat = "jwk" | "pkcs8" | "raw" | "spki";
package/iterable.d.ts CHANGED
@@ -80,6 +80,13 @@ interface WEBGL_draw_buffers {
80
80
  drawBuffersWEBGL(buffers: Iterable<GLenum>): void;
81
81
  }
82
82
 
83
+ interface WEBGL_multi_draw {
84
+ multiDrawArraysInstancedWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
85
+ multiDrawArraysWEBGL(mode: GLenum, firstsList: Int32Array | Iterable<GLint>, firstsOffset: GLuint, countsList: Int32Array | Iterable<GLsizei>, countsOffset: GLuint, drawcount: GLsizei): void;
86
+ multiDrawElementsInstancedWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, instanceCountsList: Int32Array | Iterable<GLsizei>, instanceCountsOffset: GLuint, drawcount: GLsizei): void;
87
+ multiDrawElementsWEBGL(mode: GLenum, countsList: Int32Array | Iterable<GLint>, countsOffset: GLuint, type: GLenum, offsetsList: Int32Array | Iterable<GLsizei>, offsetsOffset: GLuint, drawcount: GLsizei): void;
88
+ }
89
+
83
90
  interface WebGL2RenderingContextBase {
84
91
  clearBufferfv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLfloat>, srcOffset?: GLuint): void;
85
92
  clearBufferiv(buffer: GLenum, drawbuffer: GLint, values: Iterable<GLint>, srcOffset?: GLuint): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "MIT",
6
6
  "contributors": [],