Saltar al contenido principal

Function: protocolCompatible()

protocolCompatible(pluginProtocol, hostProtocol): boolean

Defined in: packages/plugin-sdk/src/kernel/version.ts:117

Protocol negotiation (rev4 §A4): majors must match exactly, the plugin's minor may not exceed the host's minor beyond what additive changes allow — a plugin requiring a newer minor than the host offers is rejected.

Parameters

pluginProtocol

string

hostProtocol

string

Returns

boolean