@solana/web3.js 1.66.0 → 1.66.2

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.iife.js CHANGED
@@ -19296,7 +19296,7 @@ var solanaWeb3 = (function (exports) {
19296
19296
  const res = create(unsafeRes, jsonRpcResultAndContext(nullable(number())));
19297
19297
 
19298
19298
  if ('error' in res) {
19299
- throw new SolanaJSONRPCError(res.error, 'failed to get slot');
19299
+ throw new SolanaJSONRPCError(res.error, 'failed to get fee for message');
19300
19300
  }
19301
19301
 
19302
19302
  if (res.result === null) {
@@ -20401,7 +20401,7 @@ var solanaWeb3 = (function (exports) {
20401
20401
 
20402
20402
  _wsOnClose(code) {
20403
20403
  this._rpcWebSocketConnected = false;
20404
- this._rpcWebSocketGeneration++;
20404
+ this._rpcWebSocketGeneration = (this._rpcWebSocketGeneration + 1) % Number.MAX_SAFE_INTEGER;
20405
20405
 
20406
20406
  if (this._rpcWebSocketIdleTimeout) {
20407
20407
  clearTimeout(this._rpcWebSocketIdleTimeout);