diff --git a/jslib/common/src/models/request/identityToken/passwordTokenRequest.ts b/jslib/common/src/models/request/identityToken/passwordTokenRequest.ts index c40e053c..60dbcd22 100644 --- a/jslib/common/src/models/request/identityToken/passwordTokenRequest.ts +++ b/jslib/common/src/models/request/identityToken/passwordTokenRequest.ts @@ -1,5 +1,4 @@ import { ClientType } from "../../../enums/clientType"; -import { Utils } from "../../../misc/utils"; import { CaptchaProtectedRequest } from "../captchaProtectedRequest"; import { DeviceRequest } from "../deviceRequest"; @@ -30,5 +29,4 @@ export class PasswordTokenRequest extends TokenRequest implements CaptchaProtect return obj; } - } diff --git a/jslib/common/src/services/state.service.ts b/jslib/common/src/services/state.service.ts index ea9824fe..d1b40929 100644 --- a/jslib/common/src/services/state.service.ts +++ b/jslib/common/src/services/state.service.ts @@ -38,8 +38,7 @@ const partialKeys = { export class StateService< TGlobalState extends GlobalState = GlobalState, TAccount extends Account = Account, -> implements StateServiceAbstraction -{ +> implements StateServiceAbstraction { protected accountsSubject = new BehaviorSubject<{ [userId: string]: TAccount }>({}); accounts$ = this.accountsSubject.asObservable(); diff --git a/jslib/node/src/cli/commands/update.command.ts b/jslib/node/src/cli/commands/update.command.ts index a92cbcc1..e09bdc2d 100644 --- a/jslib/node/src/cli/commands/update.command.ts +++ b/jslib/node/src/cli/commands/update.command.ts @@ -26,7 +26,7 @@ export class UpdateCommand { "https://api.github.com/repos/bitwarden/" + this.repoName + "/releases/latest", ); if (response.status === 200) { - const responseJson = await response.json(); + const responseJson = (await response.json()) as any; const res = new MessageResponse(null, null); const tagName: string = responseJson.tag_name;