Allow semver range for @livekit/protocol#1405
Conversation
|
|
we're relying on exact versions within the SDK implementation, we don't want to support a range for that reason, sorry. |
I hear you – so if the protocol follows semver, using an exact minimum version would suffice, wouldn't it? Alas, a minimum version range seems to work fine for https://github.com/livekit/node-sdks/blob/a1d26a149340535b132b6360d397f01cd6bd374c/packages/livekit-server-sdk/package.json#L45, why wouldn't it be for livekit-client SDK? Would just like to understand this better. This may also have implications on the feasibility / stability of a manual dedupe. |
|
the protocol repo doesn't strictly follow semver. Secondly, and more importantly, the issue you're running into is one of type mismatch. |
Harmonizing it with livekit-server-sdk, allowing for a semver range so package managers can resolve to a single compatible version instead of two (which is currently the case).
Hence i'd like to re-raise this, to save consumers from having to manually dedupe their dependencies each time.
For further information, see #1356 (comment) and #1356 (comment)