@serwist/background-sync 9.5.7 → 9.5.9
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/dist/index.d.mts +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +9 -10
- package/dist/index.d.ts +0 -3
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -1
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { BackgroundSyncPlugin, BackgroundSyncQueue as Queue, BackgroundSyncQueueEntry as QueueEntry, BackgroundSyncQueueOptions as QueueOptions, BackgroundSyncQueueStore as QueueStore, StorableRequest } from "serwist";
|
|
2
|
+
export { BackgroundSyncPlugin, Queue, type QueueEntry, type QueueOptions, QueueStore, StorableRequest };
|
package/dist/index.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/background-sync",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A module that queues failed requests and uses the Background Synchronization API to replay them when the network is available.",
|
|
6
6
|
"files": [
|
|
@@ -24,22 +24,21 @@
|
|
|
24
24
|
"repository": "https://github.com/serwist/serwist",
|
|
25
25
|
"bugs": "https://github.com/serwist/serwist/issues",
|
|
26
26
|
"homepage": "https://serwist.pages.dev",
|
|
27
|
-
"main": "./dist/index.
|
|
28
|
-
"types": "./dist/index.d.
|
|
27
|
+
"main": "./dist/index.mjs",
|
|
28
|
+
"types": "./dist/index.d.mts",
|
|
29
29
|
"exports": {
|
|
30
30
|
".": {
|
|
31
|
-
"types": "./dist/index.d.
|
|
32
|
-
"default": "./dist/index.
|
|
31
|
+
"types": "./dist/index.d.mts",
|
|
32
|
+
"default": "./dist/index.mjs"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"serwist": "9.5.
|
|
36
|
+
"serwist": "9.5.9"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"cross-env": "10.1.0",
|
|
40
|
-
"
|
|
41
|
-
"typescript": "
|
|
42
|
-
"@serwist/configs": "9.5.7"
|
|
40
|
+
"tsdown": "0.21.10",
|
|
41
|
+
"typescript": "6.0.3"
|
|
43
42
|
},
|
|
44
43
|
"peerDependencies": {
|
|
45
44
|
"typescript": ">=5.0.0"
|
|
@@ -50,7 +49,7 @@
|
|
|
50
49
|
}
|
|
51
50
|
},
|
|
52
51
|
"scripts": {
|
|
53
|
-
"build": "rimraf dist && NODE_ENV=production
|
|
52
|
+
"build": "rimraf dist && NODE_ENV=production tsdown",
|
|
54
53
|
"lint": "biome lint ./src",
|
|
55
54
|
"typecheck": "tsc"
|
|
56
55
|
}
|
package/dist/index.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export type { BackgroundSyncQueueEntry as QueueEntry, BackgroundSyncQueueOptions as QueueOptions } from "serwist";
|
|
2
|
-
export { BackgroundSyncPlugin, BackgroundSyncQueue as Queue, BackgroundSyncQueueStore as QueueStore, StorableRequest } from "serwist";
|
|
3
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,wBAAwB,IAAI,UAAU,EAAE,0BAA0B,IAAI,YAAY,EAAE,MAAM,SAAS,CAAC;AAClH,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,IAAI,KAAK,EAAE,wBAAwB,IAAI,UAAU,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { BackgroundSyncPlugin, BackgroundSyncQueue as Queue, BackgroundSyncQueueStore as QueueStore, StorableRequest } from 'serwist';
|