@types/sharedworker 0.0.56 → 0.0.57

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 +4 -5
  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.56 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.56.
31
+ You can read what changed in version 0.0.57 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fsharedworker%400.0.57.
package/index.d.ts CHANGED
@@ -325,7 +325,7 @@ interface NotificationOptions {
325
325
  requireInteraction?: boolean;
326
326
  silent?: boolean;
327
327
  tag?: string;
328
- timestamp?: DOMTimeStamp;
328
+ timestamp?: EpochTimeStamp;
329
329
  vibrate?: VibratePattern;
330
330
  }
331
331
 
@@ -370,7 +370,7 @@ interface PromiseRejectionEventInit extends EventInit {
370
370
 
371
371
  interface PushSubscriptionJSON {
372
372
  endpoint?: string;
373
- expirationTime?: DOMTimeStamp | null;
373
+ expirationTime?: EpochTimeStamp | null;
374
374
  keys?: Record<string, string>;
375
375
  }
376
376
 
@@ -2309,7 +2309,7 @@ declare var PromiseRejectionEvent: {
2309
2309
  */
2310
2310
  interface PushManager {
2311
2311
  getSubscription(): Promise<PushSubscription | null>;
2312
- permissionState(options?: PushSubscriptionOptionsInit): Promise<PushPermissionState>;
2312
+ permissionState(options?: PushSubscriptionOptionsInit): Promise<PermissionState>;
2313
2313
  subscribe(options?: PushSubscriptionOptionsInit): Promise<PushSubscription>;
2314
2314
  }
2315
2315
 
@@ -5408,7 +5408,7 @@ type BodyInit = ReadableStream | XMLHttpRequestBodyInit;
5408
5408
  type BufferSource = ArrayBufferView | ArrayBuffer;
5409
5409
  type CanvasImageSource = ImageBitmap | OffscreenCanvas;
5410
5410
  type DOMHighResTimeStamp = number;
5411
- type DOMTimeStamp = number;
5411
+ type EpochTimeStamp = number;
5412
5412
  type EventListenerOrEventListenerObject = EventListener | EventListenerObject;
5413
5413
  type Float32List = Float32Array | GLfloat[];
5414
5414
  type FormDataEntryValue = File | string;
@@ -5468,7 +5468,6 @@ type PermissionState = "denied" | "granted" | "prompt";
5468
5468
  type PredefinedColorSpace = "display-p3" | "srgb";
5469
5469
  type PremultiplyAlpha = "default" | "none" | "premultiply";
5470
5470
  type PushEncryptionKeyName = "auth" | "p256dh";
5471
- type PushPermissionState = "denied" | "granted" | "prompt";
5472
5471
  type ReferrerPolicy = "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url";
5473
5472
  type RequestCache = "default" | "force-cache" | "no-cache" | "no-store" | "only-if-cached" | "reload";
5474
5473
  type RequestCredentials = "include" | "omit" | "same-origin";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedworker",
3
- "version": "0.0.56",
3
+ "version": "0.0.57",
4
4
  "description": "Types for the global scope of Shared Workers",
5
5
  "license": "MIT",
6
6
  "contributors": [],