@xh/hoist 73.0.0-SNAPSHOT.1747084971867 → 73.0.0-SNAPSHOT.1747085252742

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xh/hoist",
3
- "version": "73.0.0-SNAPSHOT.1747084971867",
3
+ "version": "73.0.0-SNAPSHOT.1747085252742",
4
4
  "description": "Hoist add-on for building and deploying React Applications.",
5
5
  "repository": "github:xh/hoist-react",
6
6
  "homepage": "https://xh.io",
@@ -220,7 +220,7 @@ export class WebSocketService extends HoistService {
220
220
  }
221
221
 
222
222
  // 3) Unhappy path -- attempt a (throttled) reconnect.
223
- if (!olderThan(this._lastHeartbeatReconnectAttempt, this.HEARTBEAT_RECONNECT_INTERVAL)) {
223
+ if (olderThan(this._lastHeartbeatReconnectAttempt, this.HEARTBEAT_RECONNECT_INTERVAL)) {
224
224
  this._lastHeartbeatReconnectAttempt = new Date();
225
225
  this.logWarn('Heartbeat found websocket not connected - attempting to reconnect...');
226
226
  this.noteTelemetryEvent('heartbeatReconnectAttempt');