@solana/web3.js 1.50.0 → 1.50.1

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/lib/index.esm.js CHANGED
@@ -7942,6 +7942,11 @@ class Connection {
7942
7942
  this._rpcWebSocketConnected = false;
7943
7943
  this._rpcWebSocketGeneration++;
7944
7944
 
7945
+ if (this._rpcWebSocketIdleTimeout) {
7946
+ clearTimeout(this._rpcWebSocketIdleTimeout);
7947
+ this._rpcWebSocketIdleTimeout = null;
7948
+ }
7949
+
7945
7950
  if (this._rpcWebSocketHeartbeat) {
7946
7951
  clearInterval(this._rpcWebSocketHeartbeat);
7947
7952
  this._rpcWebSocketHeartbeat = null;