switch to optional Transport.setProtocolVersion

This commit is contained in:
Olivier Chafik 2025-06-13 13:36:04 +01:00
commit 33257f14d4
No known key found for this signature in database

View file

@ -77,9 +77,7 @@ export interface Transport {
sessionId?: string;
/**
* The protocol version used for the connection.
*
* Only set after the initialize response was received.
* Sets the protocol version used for the connection (called when the initialize response is received).
*/
protocolVersion?: string;
setProtocolVersion?: (version: string) => void;
}