We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27998ad commit 9d6c614Copy full SHA for 9d6c614
packages/core/src/internal/bolt-agent/browser/bolt-agent.ts
@@ -22,8 +22,8 @@ export function fromVersion (version: string): string {
22
const APP_VERSION = window.navigator.appVersion
23
24
//APP_VERSION looks like 5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
25
- const OS = APP_VERSION.split(" ")[0];
+ const OS = APP_VERSION.split("(")[1].split(")")[0];
26
27
- return `neo4j-javascript/${version} ${OS} `
+ return `neo4j-javascript/${version} (${OS})`
28
}
29
/* eslint-enable */
0 commit comments