From 6b056d4f80b0e1d250b503dae0016136adab3278 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Tue, 8 Feb 2022 15:29:22 +0100 Subject: [PATCH] Client & Version headers (#468) --- jslib | 2 +- src/bw.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jslib b/jslib index 6b8508579f..8130fce404 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 6b8508579f89b4c54afa6aab2b7155aac70fb8a9 +Subproject commit 8130fce40459d6597239eb283e1c8dfc28edb16f diff --git a/src/bw.ts b/src/bw.ts index 4cd4b58d5e..17711dc638 100644 --- a/src/bw.ts +++ b/src/bw.ts @@ -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