@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.
@@ -9,8 +9,8 @@ import { blob } from '@solana/buffer-layout';
9
9
  import { toBigIntLE, toBufferLE } from 'bigint-buffer';
10
10
  import { coerce, instance, string, tuple, literal, unknown, type, number, array, nullable, optional, boolean, record, union, create, any, assert as assert$1 } from 'superstruct';
11
11
  import RpcClient from 'jayson/lib/client/browser';
12
- import RpcWebSocketCommonClient from 'rpc-websockets/dist/lib/client';
13
- import createRpc from 'rpc-websockets/dist/lib/client/websocket.browser';
12
+ import RpcWebSocketCommonClient from 'rpc-websockets/dist/lib/client.cjs';
13
+ import createRpc from 'rpc-websockets/dist/lib/client/websocket.browser.cjs';
14
14
  import { keccak_256 } from '@noble/hashes/sha3';
15
15
  import { secp256k1 } from '@noble/curves/secp256k1';
16
16
 
@@ -3578,7 +3578,7 @@ function makeWebsocketUrl(endpoint) {
3578
3578
  const websocketPort =
3579
3579
  // Only shift the port by +1 as a convention for ws(s) only if given endpoint
3580
3580
  // is explicitly specifying the endpoint port (HTTP-based RPC), assuming
3581
- // we're directly trying to connect to solana-validator's ws listening port.
3581
+ // we're directly trying to connect to agave-validator's ws listening port.
3582
3582
  // When the endpoint omits the port, we're connecting to the protocol
3583
3583
  // default ports: http(80) or https(443) and it's assumed we're behind a reverse
3584
3584
  // proxy which manages WebSocket upgrade and backend port redirection.