Client & Version headers (#468)
This commit is contained in:
parent
220afb98c6
commit
6b056d4f80
2
jslib
2
jslib
|
@ -1 +1 @@
|
|||
Subproject commit 6b8508579f89b4c54afa6aab2b7155aac70fb8a9
|
||||
Subproject commit 8130fce40459d6597239eb283e1c8dfc28edb16f
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue