In version 3.9.3, the version constant is defined as:
export declare const version = "__MEDIASOUP_CLIENT_VERSION__";
instead of the expected version string. This appears to be a build or packaging issue where the placeholder was not properly replaced during the release process.
In the previous version (3.9.2), the value was correctly set:
In mediasoup-client 3.9.3, the generated lib/ folder (which is the one present in the NPM package and contains transpiled .js files and TypeScript declarations in .d.ts files) the version constant is ok. You cna verify that within mediasoup-client/lib folder there is NO MEDIASOUP_CLIENT_VERSION string at all.
So the problem is probably that you are somehow using mediasoup-client-aiortc with the latest version of mediasoup-client which is not supported without pending changes in mediasoup-client-aiortc, but again: latest mediasoup-client-aiortc doesn’t depend on mediasoup-client 3.9.3 but on 3.9.1, so this is something in your local setup in which you are updating mediasoup-client version in latest mediasoup-client-aiortc code, but that’s not how it is supposed to be,.
I took a closer look, and I believe there might be a misunderstanding. The __MEDIASOUP_CLIENT_VERSION__ string does exist in mediasoup-client/lib, specifically in lib/index.js and lib/index.d.ts.