@solana/web3.js 1.91.8 → 1.91.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
@@ -14,8 +14,8 @@ var require$$0$2 = require('https');
14
14
  var superstruct = require('superstruct');
15
15
  var RpcClient = require('jayson/lib/client/browser');
16
16
  var nodeFetch = require('node-fetch');
17
- var RpcWebSocketCommonClient = require('rpc-websockets/dist/lib/client');
18
- var WebsocketFactory = require('rpc-websockets/dist/lib/client/websocket');
17
+ var RpcWebSocketCommonClient = require('rpc-websockets/dist/lib/client.cjs');
18
+ var WebsocketFactory = require('rpc-websockets/dist/lib/client/websocket.cjs');
19
19
  var sha3 = require('@noble/hashes/sha3');
20
20
  var secp256k1 = require('@noble/curves/secp256k1');
21
21
 
@@ -4280,7 +4280,7 @@ function makeWebsocketUrl(endpoint) {
4280
4280
  const websocketPort =
4281
4281
  // Only shift the port by +1 as a convention for ws(s) only if given endpoint
4282
4282
  // is explicitly specifying the endpoint port (HTTP-based RPC), assuming
4283
- // we're directly trying to connect to solana-validator's ws listening port.
4283
+ // we're directly trying to connect to agave-validator's ws listening port.
4284
4284
  // When the endpoint omits the port, we're connecting to the protocol
4285
4285
  // default ports: http(80) or https(443) and it's assumed we're behind a reverse
4286
4286
  // proxy which manages WebSocket upgrade and backend port redirection.