refactor(web): dependency management (#2386)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { RootKeyInterface } from '@standardnotes/models'
|
||||
import { DiskStorageService } from '../Storage/DiskStorageService'
|
||||
import { removeFromArray } from '@standardnotes/utils'
|
||||
import { isValidProtectionSessionLength } from '../Protection/ProtectionService'
|
||||
import { isValidProtectionSessionLength } from '../Protection/isValidProtectionSessionLength'
|
||||
import {
|
||||
AbstractService,
|
||||
ChallengeServiceInterface,
|
||||
@@ -158,10 +158,6 @@ export class ChallengeService extends AbstractService implements ChallengeServic
|
||||
return { wrappingKey }
|
||||
}
|
||||
|
||||
public isPasscodeLocked(): Promise<boolean> {
|
||||
return this.encryptionService.isPasscodeLocked()
|
||||
}
|
||||
|
||||
public addChallengeObserver(challenge: Challenge, observer: ChallengeObserver): () => void {
|
||||
const observers = this.challengeObservers[challenge.id] || []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user