@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.browser.cjs.js +3 -3
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +3 -3
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +3 -3
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +3 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +372 -439
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +2 -2
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +3 -3
- package/lib/index.native.js.map +1 -1
- package/package.json +4 -4
- package/src/__forks__/browser/rpc-websocket-factory.ts +1 -1
- package/src/__forks__/react-native/rpc-websocket-factory.ts +1 -1
- package/src/rpc-websocket-factory.ts +2 -2
- package/src/rpc-websocket.ts +6 -6
- package/src/utils/makeWebsocketUrl.ts +1 -1
package/lib/index.browser.cjs.js
CHANGED
|
@@ -10,8 +10,8 @@ var BufferLayout = require('@solana/buffer-layout');
|
|
|
10
10
|
var bigintBuffer = require('bigint-buffer');
|
|
11
11
|
var superstruct = require('superstruct');
|
|
12
12
|
var RpcClient = require('jayson/lib/client/browser');
|
|
13
|
-
var RpcWebSocketCommonClient = require('rpc-websockets/dist/lib/client');
|
|
14
|
-
var createRpc = require('rpc-websockets/dist/lib/client/websocket.browser');
|
|
13
|
+
var RpcWebSocketCommonClient = require('rpc-websockets/dist/lib/client.cjs');
|
|
14
|
+
var createRpc = require('rpc-websockets/dist/lib/client/websocket.browser.cjs');
|
|
15
15
|
var sha3 = require('@noble/hashes/sha3');
|
|
16
16
|
var secp256k1 = require('@noble/curves/secp256k1');
|
|
17
17
|
|
|
@@ -3606,7 +3606,7 @@ function makeWebsocketUrl(endpoint) {
|
|
|
3606
3606
|
const websocketPort =
|
|
3607
3607
|
// Only shift the port by +1 as a convention for ws(s) only if given endpoint
|
|
3608
3608
|
// is explicitly specifying the endpoint port (HTTP-based RPC), assuming
|
|
3609
|
-
// we're directly trying to connect to
|
|
3609
|
+
// we're directly trying to connect to agave-validator's ws listening port.
|
|
3610
3610
|
// When the endpoint omits the port, we're connecting to the protocol
|
|
3611
3611
|
// default ports: http(80) or https(443) and it's assumed we're behind a reverse
|
|
3612
3612
|
// proxy which manages WebSocket upgrade and backend port redirection.
|