1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-25 16:59:17 +01:00

Client & Version headers (#468)

This commit is contained in:
Oscar Hinton 2022-02-08 15:29:22 +01:00 committed by GitHub
parent 220afb98c6
commit 6b056d4f80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 6b8508579f89b4c54afa6aab2b7155aac70fb8a9
Subproject commit 8130fce40459d6597239eb283e1c8dfc28edb16f

View File

@ -3,6 +3,7 @@ import * as fs from "fs";
import * as jsdom from "jsdom";
import * as path from "path";
import { ClientType } from "jslib-common/enums/clientType";
import { KeySuffixOptions } from "jslib-common/enums/keySuffixOptions";
import { LogLevelType } from "jslib-common/enums/logLevelType";
@ -122,7 +123,7 @@ export class Main {
}
this.i18nService = new I18nService("en", "./locales");
this.platformUtilsService = new CliPlatformUtilsService("cli", packageJson);
this.platformUtilsService = new CliPlatformUtilsService(ClientType.Cli, packageJson);
this.logService = new ConsoleLogService(
this.platformUtilsService.isDev(),
(level) => process.env.BITWARDENCLI_DEBUG !== "true" && level <= LogLevelType.Info