@serwist/core 9.0.0-preview.2 → 9.0.0-preview.3
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/clientsClaim.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PartialCacheNameDetails } from "./_private/cacheNames.js";
|
|
2
2
|
/**
|
|
3
|
-
* Modifies the default cache names used by
|
|
3
|
+
* Modifies the default cache names used by Serwist packages.
|
|
4
4
|
* Cache names are generated as `<prefix>-<Cache Name>-<suffix>`.
|
|
5
5
|
*
|
|
6
6
|
* @param details
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/core",
|
|
3
|
-
"version": "9.0.0-preview.
|
|
3
|
+
"version": "9.0.0-preview.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "This module is used by a number of the other Serwist modules to share common code.",
|
|
6
6
|
"files": [
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"rollup": "4.9.6",
|
|
42
42
|
"typescript": "5.4.0-dev.20240206",
|
|
43
|
-
"@serwist/constants": "9.0.0-preview.
|
|
43
|
+
"@serwist/constants": "9.0.0-preview.3"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
46
|
"typescript": ">=5.0.0"
|
package/src/clientsClaim.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
declare let self: ServiceWorkerGlobalScope;
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Claims any currently available clients once the service worker
|
|
14
14
|
* becomes active. This is normally used in conjunction with `skipWaiting()`.
|
|
15
15
|
*/
|
|
16
16
|
function clientsClaim(): void {
|
|
@@ -12,7 +12,7 @@ import type { PartialCacheNameDetails } from "./_private/cacheNames.js";
|
|
|
12
12
|
import { cacheNames } from "./_private/cacheNames.js";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* Modifies the default cache names used by
|
|
15
|
+
* Modifies the default cache names used by Serwist packages.
|
|
16
16
|
* Cache names are generated as `<prefix>-<Cache Name>-<suffix>`.
|
|
17
17
|
*
|
|
18
18
|
* @param details
|