@rigxyz/tapd 0.6.9 → 0.6.11
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
CHANGED
|
@@ -864,7 +864,10 @@ type StartSubscriptionOptions = {
|
|
|
864
864
|
stateDbPath: string;
|
|
865
865
|
mode: ApplyMode;
|
|
866
866
|
fetch?: typeof fetch;
|
|
867
|
+
/** Poll interval while the SSE stream is down (or disabled). */
|
|
867
868
|
pollSeconds?: number;
|
|
869
|
+
/** Poll interval while the SSE stream is up: the stream delivers changes, polling is only a safety net. */
|
|
870
|
+
healthyPollSeconds?: number;
|
|
868
871
|
/** Test seam — disable SSE (poll-only). */
|
|
869
872
|
noSse?: boolean;
|
|
870
873
|
sseHeartbeatTimeoutMs?: number;
|
|
@@ -999,6 +1002,8 @@ type SseSubscriberOptions = {
|
|
|
999
1002
|
pathGlobs: string[];
|
|
1000
1003
|
}) => void;
|
|
1001
1004
|
onError?: (err: Error) => void;
|
|
1005
|
+
/** The stream is down: a connection failed or ended, and a reconnect is scheduled. */
|
|
1006
|
+
onDisconnected?: () => void;
|
|
1002
1007
|
fetch?: FetchLike;
|
|
1003
1008
|
/** Watchdog window. Default 45s — matches a server heartbeat of 15s × 3. */
|
|
1004
1009
|
heartbeatTimeoutMs?: number;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rigxyz/tapd",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.11",
|
|
4
4
|
"description": "Local daemon for the hosted Tap relay — watches files, hashes content, uploads/downloads objects, applies remote changes. Pairs with @rigxyz/cli for shared-rig sync.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Dylan Bourgeois <dtsbourg@gmail.com>",
|