Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@serwist/background-sync

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@serwist/background-sync - npm Package Compare versions

Comparing version 9.0.0-preview.10 to 9.0.0-preview.11

10

dist/Queue.d.ts

@@ -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

3

dist/StorableRequest.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc