diff --git a/packages/client-sdk-web/src/internal/client-metadata-provider.ts b/packages/client-sdk-web/src/internal/client-metadata-provider.ts index 7fb570dba..a76f1cbb7 100644 --- a/packages/client-sdk-web/src/internal/client-metadata-provider.ts +++ b/packages/client-sdk-web/src/internal/client-metadata-provider.ts @@ -36,9 +36,9 @@ export class ClientMetadataProvider { metadata[ 'agent' ] = `${ClientMetadataProvider.agentName}:${this.clientType}:${version}`; - metadata['runtime-version'] = `javascript-web:${getBrowserName( - navigator.userAgent - )}`; + metadata['runtime-version'] = `${ + ClientMetadataProvider.agentName + }:${getBrowserName(navigator.userAgent)}`; } if (this.readConcern) { metadata['read-concern'] = this.readConcern;