@types/serviceworker 0.0.79 → 0.0.80

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 +2 -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.79 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.79.
31
+ You can read what changed in version 0.0.80 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.80.
package/index.d.ts CHANGED
@@ -538,6 +538,7 @@ interface RequestInit {
538
538
  method?: string;
539
539
  /** A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. */
540
540
  mode?: RequestMode;
541
+ priority?: RequestPriority;
541
542
  /** 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. */
542
543
  redirect?: RequestRedirect;
543
544
  /** A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. */
@@ -8637,6 +8638,7 @@ type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-
8637
8638
  type RequestCredentials = "include" | "omit" | "same-origin";
8638
8639
  type RequestDestination = "" | "audio" | "audioworklet" | "document" | "embed" | "font" | "frame" | "iframe" | "image" | "manifest" | "object" | "paintworklet" | "report" | "script" | "sharedworker" | "style" | "track" | "video" | "worker" | "xslt";
8639
8640
  type RequestMode = "cors" | "navigate" | "no-cors" | "same-origin";
8641
+ type RequestPriority = "auto" | "high" | "low";
8640
8642
  type RequestRedirect = "error" | "follow" | "manual";
8641
8643
  type ResizeQuality = "high" | "low" | "medium" | "pixelated";
8642
8644
  type ResponseType = "basic" | "cors" | "default" | "error" | "opaque" | "opaqueredirect";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.79",
3
+ "version": "0.0.80",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],