@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.esm.js
CHANGED
|
@@ -5799,7 +5799,7 @@ function makeWebsocketUrl(endpoint) {
|
|
|
5799
5799
|
const startPort = portWithColon == null ? null : parseInt(portWithColon.slice(1), 10);
|
|
5800
5800
|
const websocketPort =
|
|
5801
5801
|
// Only shift the port by +1 as a convention for ws(s) only if given endpoint
|
|
5802
|
-
// is
|
|
5802
|
+
// is explicitly specifying the endpoint port (HTTP-based RPC), assuming
|
|
5803
5803
|
// we're directly trying to connect to solana-validator's ws listening port.
|
|
5804
5804
|
// When the endpoint omits the port, we're connecting to the protocol
|
|
5805
5805
|
// default ports: http(80) or https(443) and it's assumed we're behind a reverse
|