@rigxyz/tapd 0.6.10 → 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
@@ -48,7 +48,7 @@ import {
48
48
  walk,
49
49
  writeBindingConfig,
50
50
  writeImportMount
51
- } from "./chunk-Q3PIHOTA.js";
51
+ } from "./chunk-25SEJXF5.js";
52
52
  export {
53
53
  AlreadyInitializedError,
54
54
  AlreadyJoinedError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rigxyz/tapd",
3
- "version": "0.6.10",
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>",