@ultimat3/realtime 22.3.6 → 22.5.0
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/package.json +4 -4
- package/src/sync-upgrade.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ultimat3/realtime",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.5.0",
|
|
4
4
|
"description": "Three-tier realtime: channels, live queries, local-first sync — one protocol, one mutator shape",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"test": "bun test"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@ultimat3/core": "22.
|
|
42
|
-
"@ultimat3/entity": "22.
|
|
43
|
-
"@ultimat3/query": "22.
|
|
41
|
+
"@ultimat3/core": "22.5.0",
|
|
42
|
+
"@ultimat3/entity": "22.5.0",
|
|
43
|
+
"@ultimat3/query": "22.5.0",
|
|
44
44
|
"nats": "2.29.3"
|
|
45
45
|
}
|
|
46
46
|
}
|
package/src/sync-upgrade.ts
CHANGED
|
@@ -85,7 +85,7 @@ export async function handleUpgrade(
|
|
|
85
85
|
// its sockets to the rest of the fleet.
|
|
86
86
|
if (url.pathname === '/healthz') return json(healthzPayload());
|
|
87
87
|
if (url.pathname === '/readyz') {
|
|
88
|
-
const payload = readyzPayload();
|
|
88
|
+
const payload = readyzPayload({ deep: url.searchParams.get('deep') === '1' });
|
|
89
89
|
return deps.ready() ? json(payload) : json({ status: 503, body: payload.body });
|
|
90
90
|
}
|
|
91
91
|
if (url.pathname !== deps.path) return new Response('not found', { status: 404 });
|