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