@pipeit/fastlane 0.1.4 → 0.1.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.
Binary file
Binary file
Binary file
package/index.d.ts CHANGED
@@ -9,6 +9,13 @@ export interface TpuClientConfig {
9
9
  rpcUrl: string
10
10
  /** WebSocket URL for slot update subscriptions. */
11
11
  wsUrl: string
12
+ /**
13
+ * Optional gRPC URL for Yellowstone slot subscriptions.
14
+ * When set, this takes precedence over WebSocket tracking.
15
+ */
16
+ grpcUrl?: string
17
+ /** Optional gRPC x-token for authenticated Yellowstone endpoints. */
18
+ grpcXToken?: string
12
19
  /** Number of upcoming leaders to send transactions to (default: 2). */
13
20
  fanout?: number
14
21
  /** Whether to pre-warm connections to upcoming leaders (default: true). */
@@ -85,6 +92,7 @@ export declare class TpuClient {
85
92
  /**
86
93
  * Sends a serialized transaction to TPU endpoints (single attempt).
87
94
  *
95
+ * Uses slot-aware leader selection when available, falling back to fanout.
88
96
  * Returns detailed per-leader results including retry statistics.
89
97
  * For higher landing rates, use `send_until_confirmed` instead.
90
98
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipeit/fastlane",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Native QUIC client for direct Solana TPU transaction submission",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",