@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.esm.js CHANGED
@@ -13,8 +13,8 @@ import require$$0$2, { Agent as Agent$1 } from 'https';
13
13
  import { coerce, instance, string, tuple, literal, unknown, type, number, array, nullable, optional, boolean, record, union, create, any, assert as assert$1 } from 'superstruct';
14
14
  import RpcClient from 'jayson/lib/client/browser';
15
15
  import * as nodeFetch from 'node-fetch';
16
- import RpcWebSocketCommonClient from 'rpc-websockets/dist/lib/client';
17
- import WebsocketFactory from 'rpc-websockets/dist/lib/client/websocket';
16
+ import RpcWebSocketCommonClient from 'rpc-websockets/dist/lib/client.cjs';
17
+ import WebsocketFactory from 'rpc-websockets/dist/lib/client/websocket.cjs';
18
18
  import { keccak_256 } from '@noble/hashes/sha3';
19
19
  import { secp256k1 } from '@noble/curves/secp256k1';
20
20
 
@@ -4248,7 +4248,7 @@ function makeWebsocketUrl(endpoint) {
4248
4248
  const websocketPort =
4249
4249
  // Only shift the port by +1 as a convention for ws(s) only if given endpoint
4250
4250
  // is explicitly specifying the endpoint port (HTTP-based RPC), assuming
4251
- // we're directly trying to connect to solana-validator's ws listening port.
4251
+ // we're directly trying to connect to agave-validator's ws listening port.
4252
4252
  // When the endpoint omits the port, we're connecting to the protocol
4253
4253
  // default ports: http(80) or https(443) and it's assumed we're behind a reverse
4254
4254
  // proxy which manages WebSocket upgrade and backend port redirection.