@solana/web3.js 1.41.8 → 1.41.9

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
@@ -7232,6 +7232,7 @@ class Connection {
7232
7232
 
7233
7233
 
7234
7234
  _wsOnError(err) {
7235
+ this._rpcWebSocketConnected = false;
7235
7236
  console.error('ws error:', err.message);
7236
7237
  }
7237
7238
  /**
@@ -7240,6 +7241,7 @@ class Connection {
7240
7241
 
7241
7242
 
7242
7243
  _wsOnClose(code) {
7244
+ this._rpcWebSocketConnected = false;
7243
7245
  this._rpcWebSocketGeneration++;
7244
7246
 
7245
7247
  if (this._rpcWebSocketHeartbeat) {