@solana/web3.js 1.87.5 → 1.87.6
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.browser.cjs.js +1 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +1 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +1 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +1 -1
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +1 -1
- package/lib/index.native.js.map +1 -1
- package/package.json +3 -3
- package/src/utils/makeWebsocketUrl.ts +1 -1
package/lib/index.cjs.js
CHANGED
|
@@ -5833,7 +5833,7 @@ function makeWebsocketUrl(endpoint) {
|
|
|
5833
5833
|
const startPort = portWithColon == null ? null : parseInt(portWithColon.slice(1), 10);
|
|
5834
5834
|
const websocketPort =
|
|
5835
5835
|
// Only shift the port by +1 as a convention for ws(s) only if given endpoint
|
|
5836
|
-
// is
|
|
5836
|
+
// is explicitly specifying the endpoint port (HTTP-based RPC), assuming
|
|
5837
5837
|
// we're directly trying to connect to solana-validator's ws listening port.
|
|
5838
5838
|
// When the endpoint omits the port, we're connecting to the protocol
|
|
5839
5839
|
// default ports: http(80) or https(443) and it's assumed we're behind a reverse
|