@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.cjs.js CHANGED
@@ -7976,6 +7976,11 @@ class Connection {
7976
7976
  this._rpcWebSocketConnected = false;
7977
7977
  this._rpcWebSocketGeneration++;
7978
7978
 
7979
+ if (this._rpcWebSocketIdleTimeout) {
7980
+ clearTimeout(this._rpcWebSocketIdleTimeout);
7981
+ this._rpcWebSocketIdleTimeout = null;
7982
+ }
7983
+
7979
7984
  if (this._rpcWebSocketHeartbeat) {
7980
7985
  clearInterval(this._rpcWebSocketHeartbeat);
7981
7986
  this._rpcWebSocketHeartbeat = null;