@types/sharedworker 0.0.108 → 0.0.110

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 +3 -0
  3. package/package.json +1 -1
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.108 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.108.
31
+ You can read what changed in version 0.0.110 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.110.
package/index.d.ts CHANGED
@@ -504,6 +504,7 @@ interface RequestInit {
504
504
  method?: string;
505
505
  /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
506
506
  mode?: RequestMode;
507
+ priority?: RequestPriority;
507
508
  /** A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. */
508
509
  redirect?: RequestRedirect;
509
510
  /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
@@ -4677,6 +4678,7 @@ interface ServiceWorkerContainer extends EventTarget {
4677
4678
  oncontrollerchange: ((this: ServiceWorkerContainer, ev: Event) => any) | null;
4678
4679
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/message_event) */
4679
4680
  onmessage: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
4681
+ /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/messageerror_event) */
4680
4682
  onmessageerror: ((this: ServiceWorkerContainer, ev: MessageEvent) => any) | null;
4681
4683
  /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/ready) */
4682
4684
  readonly ready: Promise<ServiceWorkerRegistration>;
@@ -8641,6 +8643,7 @@ type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-
8641
8643
  type RequestCredentials = "include" | "omit" | "same-origin";
8642
8644
  type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
8643
8645
  type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
8646
+ type RequestPriority = "auto" | "high" | "low";
8644
8647
  type RequestRedirect = "error" | "follow" | "manual";
8645
8648
  type ResizeQuality = "high" | "low" | "medium" | "pixelated";
8646
8649
  type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.108",
3
+ "version": "0.0.110",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],