@rool-dev/sdk 0.3.10-dev.65d6b10 → 0.3.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.
@@ -6,7 +6,7 @@ import { createClient } from 'graphql-sse';
6
6
  const INITIAL_RECONNECT_DELAY = 1000;
7
7
  const MAX_RECONNECT_DELAY = 30000;
8
8
  const RECONNECT_MULTIPLIER = 2;
9
- const HEARTBEAT_TIMEOUT = 35_000; // Server sends heartbeats every 30s; reconnect if none arrives within 35s
9
+ const HEARTBEAT_TIMEOUT = 15_000; // Server sends heartbeats every 10s; reconnect if none arrives within 15s
10
10
  export class ClientSubscriptionManager {
11
11
  config;
12
12
  client = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rool-dev/sdk",
3
- "version": "0.3.10-dev.65d6b10",
3
+ "version": "0.3.11",
4
4
  "description": "TypeScript SDK for working with Rool Spaces",
5
5
  "packageManager": "pnpm@10.17.1",
6
6
  "type": "module",