@serwist/background-sync
Advanced tools
Comparing version 9.0.0-preview.10 to 9.0.0-preview.11
@@ -59,3 +59,3 @@ interface OnSyncCallbackOptions { | ||
*/ | ||
declare class Queue { | ||
export declare class Queue { | ||
private readonly _name; | ||
@@ -98,4 +98,3 @@ private readonly _onSync; | ||
* Removes and returns the last request in the queue (along with its | ||
* timestamp and any metadata). The returned object takes the form: | ||
* `{request, timestamp, metadata}`. | ||
* timestamp and any metadata). | ||
* | ||
@@ -107,4 +106,3 @@ * @returns | ||
* Removes and returns the first request in the queue (along with its | ||
* timestamp and any metadata). The returned object takes the form: | ||
* `{request, timestamp, metadata}`. | ||
* timestamp and any metadata). | ||
* | ||
@@ -172,3 +170,3 @@ * @returns | ||
} | ||
export { Queue }; | ||
export {}; | ||
//# sourceMappingURL=Queue.d.ts.map |
@@ -14,3 +14,3 @@ import type { MapLikeObject } from "@serwist/core"; | ||
*/ | ||
declare class StorableRequest { | ||
export declare class StorableRequest { | ||
private readonly _requestData; | ||
@@ -52,3 +52,2 @@ /** | ||
} | ||
export { StorableRequest }; | ||
//# sourceMappingURL=StorableRequest.d.ts.map |
{ | ||
"name": "@serwist/background-sync", | ||
"version": "9.0.0-preview.10", | ||
"version": "9.0.0-preview.11", | ||
"type": "module", | ||
@@ -34,3 +34,3 @@ "description": "A module that queues failed requests and uses the Background Synchronization API to replay them when the network is available", | ||
"idb": "8.0.0", | ||
"@serwist/core": "9.0.0-preview.10" | ||
"@serwist/core": "9.0.0-preview.11" | ||
}, | ||
@@ -41,3 +41,3 @@ "devDependencies": { | ||
"typescript": "5.4.0-dev.20240206", | ||
"@serwist/constants": "9.0.0-preview.10" | ||
"@serwist/constants": "9.0.0-preview.11" | ||
}, | ||
@@ -44,0 +44,0 @@ "peerDependencies": { |
@@ -1,1 +0,1 @@ | ||
This module's documentation can be found at https://developers.google.com/web/tools/workbox/modules/workbox-background-sync | ||
This module's documentation can be found at https://serwist.pages.dev/docs/background-sync |
@@ -104,3 +104,3 @@ /* | ||
*/ | ||
class Queue { | ||
export class Queue { | ||
private readonly _name: string; | ||
@@ -198,4 +198,3 @@ private readonly _onSync: OnSyncCallback; | ||
* Removes and returns the last request in the queue (along with its | ||
* timestamp and any metadata). The returned object takes the form: | ||
* `{request, timestamp, metadata}`. | ||
* timestamp and any metadata). | ||
* | ||
@@ -210,4 +209,3 @@ * @returns | ||
* Removes and returns the first request in the queue (along with its | ||
* timestamp and any metadata). The returned object takes the form: | ||
* `{request, timestamp, metadata}`. | ||
* timestamp and any metadata). | ||
* | ||
@@ -446,3 +444,1 @@ * @returns | ||
} | ||
export { Queue }; |
@@ -39,3 +39,3 @@ /* | ||
*/ | ||
class StorableRequest { | ||
export class StorableRequest { | ||
private readonly _requestData: RequestData; | ||
@@ -144,3 +144,1 @@ | ||
} | ||
export { StorableRequest }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
66625
1740
+ Added@serwist/core@9.0.0-preview.11(transitive)
- Removed@serwist/core@9.0.0-preview.10(transitive)