@types/serviceworker 0.0.83 → 0.0.84

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 +7 -6
  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.83 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.83.
31
+ You can read what changed in version 0.0.84 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.84.
package/index.d.ts CHANGED
@@ -587,16 +587,16 @@ interface RsaPssParams extends Algorithm {
587
587
  interface SecurityPolicyViolationEventInit extends EventInit {
588
588
  blockedURI?: string;
589
589
  columnNumber?: number;
590
- disposition: SecurityPolicyViolationEventDisposition;
591
- documentURI: string;
592
- effectiveDirective: string;
590
+ disposition?: SecurityPolicyViolationEventDisposition;
591
+ documentURI?: string;
592
+ effectiveDirective?: string;
593
593
  lineNumber?: number;
594
- originalPolicy: string;
594
+ originalPolicy?: string;
595
595
  referrer?: string;
596
596
  sample?: string;
597
597
  sourceFile?: string;
598
- statusCode: number;
599
- violatedDirective: string;
598
+ statusCode?: number;
599
+ violatedDirective?: string;
600
600
  }
601
601
 
602
602
  interface StorageEstimate {
@@ -4883,6 +4883,7 @@ interface ServiceWorkerGlobalScopeEventMap extends WorkerGlobalScopeEventMap {
4883
4883
 
4884
4884
  /**
4885
4885
  * This ServiceWorker API interface represents the global execution context of a service worker.
4886
+ * Available only in secure contexts.
4886
4887
  *
4887
4888
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerGlobalScope)
4888
4889
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],