@types/serviceworker 0.0.148 → 0.0.150

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Service workers essentially act as proxy servers that sit between web applications, the browser, and the network (when available). They are intended, among other things, to enable the creation of effective offline experiences, intercept network requests and take appropriate action based on whether the network is available, and update assets residing on the server. They will also allow access to push notifications and background sync APIs.
4
4
 
5
- From [MDN Web Docs: Service Worker API](https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API)
5
+ From [MDN Web Docs: Service Worker API](https://developer.mozilla.org/docs/Web/API/Service_Worker_API)
6
6
 
7
7
  This package contains type definitions which will set up the global environment for your TypeScript project to match the runtime environment of a Service Worker. The APIs inside `@types/serviceworker` are [generated from](https://github.com/microsoft/TypeScript-DOM-lib-generator/) the specifications for JavaScript. Given the size and state of constant change in web browsers, `@types/serviceworker` only has APIs which have passed a certain level of standardization and are available in at least two of the most popular browser engines.
8
8
 
@@ -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.148 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.148.
31
+ You can read what changed in version 0.0.150 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.150.
package/index.d.ts CHANGED
@@ -4471,13 +4471,13 @@ interface IDBIndex {
4471
4471
  *
4472
4472
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
4473
4473
  */
4474
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4474
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4475
4475
  /**
4476
4476
  * The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.
4477
4477
  *
4478
4478
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
4479
4479
  */
4480
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4480
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4481
4481
  /**
4482
4482
  * The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
4483
4483
  *
@@ -4653,13 +4653,13 @@ interface IDBObjectStore {
4653
4653
  *
4654
4654
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
4655
4655
  */
4656
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4656
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4657
4657
  /**
4658
4658
  * The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
4659
4659
  *
4660
4660
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
4661
4661
  */
4662
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4662
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4663
4663
  /**
4664
4664
  * The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
4665
4665
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.148",
3
+ "version": "0.0.150",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -4471,13 +4471,13 @@ interface IDBIndex {
4471
4471
  *
4472
4472
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
4473
4473
  */
4474
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4474
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4475
4475
  /**
4476
4476
  * The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.
4477
4477
  *
4478
4478
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
4479
4479
  */
4480
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4480
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4481
4481
  /**
4482
4482
  * The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
4483
4483
  *
@@ -4653,13 +4653,13 @@ interface IDBObjectStore {
4653
4653
  *
4654
4654
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
4655
4655
  */
4656
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4656
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4657
4657
  /**
4658
4658
  * The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
4659
4659
  *
4660
4660
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
4661
4661
  */
4662
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4662
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4663
4663
  /**
4664
4664
  * The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
4665
4665
  *
package/ts5.6/index.d.ts CHANGED
@@ -4471,13 +4471,13 @@ interface IDBIndex {
4471
4471
  *
4472
4472
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAll)
4473
4473
  */
4474
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4474
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4475
4475
  /**
4476
4476
  * The **`getAllKeys()`** method of the IDBIndex interface asynchronously retrieves the primary keys of all objects inside the index, setting them as the `result` of the request object.
4477
4477
  *
4478
4478
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBIndex/getAllKeys)
4479
4479
  */
4480
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4480
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4481
4481
  /**
4482
4482
  * The **`getKey()`** method of the IDBIndex interface returns an IDBRequest object, and, in a separate thread, finds either the primary key that corresponds to the given key in this index or the first corresponding primary key, if `key` is set to an IDBKeyRange.
4483
4483
  *
@@ -4653,13 +4653,13 @@ interface IDBObjectStore {
4653
4653
  *
4654
4654
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAll)
4655
4655
  */
4656
- getAll(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4656
+ getAll(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<any[]>;
4657
4657
  /**
4658
4658
  * The `getAllKeys()` method of the IDBObjectStore interface returns an IDBRequest object retrieves record keys for all objects in the object store matching the specified parameter or all objects in the store if no parameters are given.
4659
4659
  *
4660
4660
  * [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBObjectStore/getAllKeys)
4661
4661
  */
4662
- getAllKeys(query?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4662
+ getAllKeys(queryOrOptions?: IDBValidKey | IDBKeyRange | null, count?: number): IDBRequest<IDBValidKey[]>;
4663
4663
  /**
4664
4664
  * The **`getKey()`** method of the IDBObjectStore interface returns an IDBRequest object, and, in a separate thread, returns the key selected by the specified query.
4665
4665
  *