@solana/web3.js 1.87.4 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.87.4",
3
+ "version": "1.87.6",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
@@ -75,8 +75,8 @@
75
75
  "@babel/plugin-transform-class-properties": "^7.22.5",
76
76
  "@babel/plugin-transform-private-methods": "^7.22.5",
77
77
  "@babel/plugin-transform-private-property-in-object": "^7.22.11",
78
- "@babel/plugin-transform-runtime": "^7.23.2",
79
- "@babel/preset-env": "^7.23.2",
78
+ "@babel/plugin-transform-runtime": "^7.23.3",
79
+ "@babel/preset-env": "^7.23.3",
80
80
  "@babel/preset-typescript": "^7.23.2",
81
81
  "@rollup/plugin-alias": "^4.0.3",
82
82
  "@rollup/plugin-babel": "^6.0.4",
package/src/connection.ts CHANGED
@@ -2524,7 +2524,7 @@ const GetTransactionRpcResult = jsonRpcResult(
2524
2524
  nullable(
2525
2525
  pick({
2526
2526
  slot: number(),
2527
- meta: ConfirmedTransactionMetaResult,
2527
+ meta: nullable(ConfirmedTransactionMetaResult),
2528
2528
  blockTime: optional(nullable(number())),
2529
2529
  transaction: ConfirmedTransactionResult,
2530
2530
  version: optional(TransactionVersionStruct),
@@ -16,7 +16,7 @@ export function makeWebsocketUrl(endpoint: string) {
16
16
  portWithColon == null ? null : parseInt(portWithColon.slice(1), 10);
17
17
  const websocketPort =
18
18
  // Only shift the port by +1 as a convention for ws(s) only if given endpoint
19
- // is explictly specifying the endpoint port (HTTP-based RPC), assuming
19
+ // is explicitly specifying the endpoint port (HTTP-based RPC), assuming
20
20
  // we're directly trying to connect to solana-validator's ws listening port.
21
21
  // When the endpoint omits the port, we're connecting to the protocol
22
22
  // default ports: http(80) or https(443) and it's assumed we're behind a reverse