mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
CLI user agent
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: 83d6b2449c...e16cb9b801
@@ -95,7 +95,9 @@ export class Main {
|
|||||||
this.tokenService = new TokenService(this.storageService);
|
this.tokenService = new TokenService(this.storageService);
|
||||||
this.messagingService = new NoopMessagingService();
|
this.messagingService = new NoopMessagingService();
|
||||||
this.apiService = new NodeApiService(this.tokenService, this.platformUtilsService,
|
this.apiService = new NodeApiService(this.tokenService, this.platformUtilsService,
|
||||||
async (expired: boolean) => await this.logout());
|
async (expired: boolean) => await this.logout(),
|
||||||
|
'Bitwarden_CLI/' + this.platformUtilsService.getApplicationVersion() +
|
||||||
|
' (' + this.platformUtilsService.getDeviceString().toUpperCase() + ')');
|
||||||
this.environmentService = new EnvironmentService(this.apiService, this.storageService, null);
|
this.environmentService = new EnvironmentService(this.apiService, this.storageService, null);
|
||||||
this.userService = new UserService(this.tokenService, this.storageService);
|
this.userService = new UserService(this.tokenService, this.storageService);
|
||||||
this.containerService = new ContainerService(this.cryptoService);
|
this.containerService = new ContainerService(this.cryptoService);
|
||||||
|
|||||||
Reference in New Issue
Block a user