@solana/web3.js 1.66.0 → 1.66.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
@@ -6811,7 +6811,7 @@ class Connection {
6811
6811
 
6812
6812
  _wsOnClose(code) {
6813
6813
  this._rpcWebSocketConnected = false;
6814
- this._rpcWebSocketGeneration++;
6814
+ this._rpcWebSocketGeneration = (this._rpcWebSocketGeneration + 1) % Number.MAX_SAFE_INTEGER;
6815
6815
 
6816
6816
  if (this._rpcWebSocketIdleTimeout) {
6817
6817
  clearTimeout(this._rpcWebSocketIdleTimeout);