mirror of
https://github.com/bitwarden/cli
synced 2025-12-06 04:23:19 +00:00
[chore] Update jslib
This commit is contained in:
2
jslib
2
jslib
Submodule jslib updated: cc285e5ea7...54c6a4b3c3
@@ -50,6 +50,11 @@ import { Program } from "./program";
|
||||
import { SendProgram } from "./send.program";
|
||||
import { VaultProgram } from "./vault.program";
|
||||
|
||||
import {
|
||||
Account,
|
||||
AccountFactory
|
||||
} from "jslib-common/models/domain/account";
|
||||
|
||||
// Polyfills
|
||||
(global as any).DOMParser = new jsdom.JSDOM().window.DOMParser;
|
||||
|
||||
@@ -136,7 +141,8 @@ export class Main {
|
||||
this.storageService,
|
||||
this.secureStorageService,
|
||||
this.logService,
|
||||
this.stateMigrationService
|
||||
this.stateMigrationService,
|
||||
new AccountFactory(Account),
|
||||
);
|
||||
|
||||
this.cryptoService = new CryptoService(
|
||||
|
||||
@@ -12,7 +12,6 @@ import { PasswordGenerationService } from "jslib-common/abstractions/passwordGen
|
||||
import { PlatformUtilsService } from "jslib-common/abstractions/platformUtils.service";
|
||||
import { PolicyService } from "jslib-common/abstractions/policy.service";
|
||||
import { StateService } from "jslib-common/abstractions/state.service";
|
||||
import { SyncService } from "jslib-common/abstractions/sync.service";
|
||||
|
||||
import { MessageResponse } from "jslib-node/cli/models/response/messageResponse";
|
||||
|
||||
@@ -27,7 +26,6 @@ export class LoginCommand extends BaseLoginCommand {
|
||||
authService: AuthService,
|
||||
apiService: ApiService,
|
||||
cryptoFunctionService: CryptoFunctionService,
|
||||
syncService: SyncService,
|
||||
i18nService: I18nService,
|
||||
environmentService: EnvironmentService,
|
||||
passwordGenerationService: PasswordGenerationService,
|
||||
@@ -35,7 +33,7 @@ export class LoginCommand extends BaseLoginCommand {
|
||||
stateService: StateService,
|
||||
cryptoService: CryptoService,
|
||||
policyService: PolicyService,
|
||||
keyConnectorService: KeyConnectorService,
|
||||
private keyConnectorService: KeyConnectorService,
|
||||
private logoutCallback: () => Promise<void>
|
||||
) {
|
||||
super(
|
||||
@@ -50,8 +48,6 @@ export class LoginCommand extends BaseLoginCommand {
|
||||
cryptoService,
|
||||
policyService,
|
||||
"cli",
|
||||
syncService,
|
||||
keyConnectorService
|
||||
);
|
||||
this.logout = this.logoutCallback;
|
||||
this.validatedParams = async () => {
|
||||
|
||||
@@ -149,7 +149,6 @@ export class Program extends BaseProgram {
|
||||
this.main.authService,
|
||||
this.main.apiService,
|
||||
this.main.cryptoFunctionService,
|
||||
this.main.syncService,
|
||||
this.main.i18nService,
|
||||
this.main.environmentService,
|
||||
this.main.passwordGenerationService,
|
||||
|
||||
Reference in New Issue
Block a user