@serwist/broadcast-update 9.0.0-preview.24 → 9.0.0-preview.25
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.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +7 -7
- package/src/index.ts +2 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { BroadcastCacheUpdate, BroadcastUpdatePlugin, responsesAreSame,
|
|
2
|
-
export type { BroadcastCacheUpdateOptions, BroadcastPayload, BroadcastPayloadGenerator, BroadcastMessage } from "serwist
|
|
1
|
+
export { BroadcastCacheUpdate, BroadcastUpdatePlugin, responsesAreSame, BROADCAST_UPDATE_DEFAULT_HEADERS as defaultHeadersToCheck, } from "serwist";
|
|
2
|
+
export type { BroadcastCacheUpdateOptions, BroadcastPayload, BroadcastPayloadGenerator, BroadcastMessage } from "serwist";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,gCAAgC,IAAI,qBAAqB,GAC1D,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,2BAA2B,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { BroadcastCacheUpdate, BroadcastUpdatePlugin,
|
|
1
|
+
export { BroadcastCacheUpdate, BroadcastUpdatePlugin, BROADCAST_UPDATE_DEFAULT_HEADERS as defaultHeadersToCheck, responsesAreSame } from 'serwist';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serwist/broadcast-update",
|
|
3
|
-
"version": "9.0.0-preview.
|
|
3
|
+
"version": "9.0.0-preview.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A module that uses the Broadcast Channel API to announce when a cached response has updated.",
|
|
6
6
|
"files": [
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
],
|
|
18
18
|
"author": "Google's Web DevRel Team, Serwist's Team",
|
|
19
19
|
"license": "MIT",
|
|
20
|
-
"repository": "https://
|
|
21
|
-
"bugs": "https://
|
|
20
|
+
"repository": "https://github.com/serwist/serwist",
|
|
21
|
+
"bugs": "https://github.com/serwist/serwist/issues",
|
|
22
22
|
"homepage": "https://serwist.pages.dev",
|
|
23
23
|
"main": "./dist/index.js",
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"serwist": "9.0.0-preview.
|
|
32
|
+
"serwist": "9.0.0-preview.25"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"rollup": "4.14.
|
|
36
|
-
"typescript": "5.5.0-dev.
|
|
37
|
-
"@serwist/
|
|
35
|
+
"rollup": "4.14.3",
|
|
36
|
+
"typescript": "5.5.0-dev.20240415",
|
|
37
|
+
"@serwist/configs": "9.0.0-preview.25"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"typescript": ">=5.0.0"
|
package/src/index.ts
CHANGED
|
@@ -10,8 +10,6 @@ export {
|
|
|
10
10
|
BroadcastCacheUpdate,
|
|
11
11
|
BroadcastUpdatePlugin,
|
|
12
12
|
responsesAreSame,
|
|
13
|
-
BROADCAST_UPDATE_MESSAGE_META as CACHE_UPDATED_MESSAGE_META,
|
|
14
|
-
BROADCAST_UPDATE_MESSAGE_TYPE as CACHE_UPDATED_MESSAGE_TYPE,
|
|
15
13
|
BROADCAST_UPDATE_DEFAULT_HEADERS as defaultHeadersToCheck,
|
|
16
|
-
} from "serwist
|
|
17
|
-
export type { BroadcastCacheUpdateOptions, BroadcastPayload, BroadcastPayloadGenerator, BroadcastMessage } from "serwist
|
|
14
|
+
} from "serwist";
|
|
15
|
+
export type { BroadcastCacheUpdateOptions, BroadcastPayload, BroadcastPayloadGenerator, BroadcastMessage } from "serwist";
|