@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.cjs.js CHANGED
@@ -7267,6 +7267,7 @@ class Connection {
7267
7267
 
7268
7268
 
7269
7269
  _wsOnError(err) {
7270
+ this._rpcWebSocketConnected = false;
7270
7271
  console.error('ws error:', err.message);
7271
7272
  }
7272
7273
  /**
@@ -7275,6 +7276,7 @@ class Connection {
7275
7276
 
7276
7277
 
7277
7278
  _wsOnClose(code) {
7279
+ this._rpcWebSocketConnected = false;
7278
7280
  this._rpcWebSocketGeneration++;
7279
7281
 
7280
7282
  if (this._rpcWebSocketHeartbeat) {