1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

Update jslib (PR 185)

This commit is contained in:
Hinton
2020-11-23 21:31:55 +01:00
parent 62196c9c34
commit dd4e6ce5d9
3 changed files with 6 additions and 2 deletions

2
jslib

Submodule jslib updated: f44e99d74d...0a73b6fca8

View File

@@ -155,7 +155,7 @@ export default class MainBackground {
this.i18nService = new I18nService(BrowserApi.getUILanguage(window));
this.cryptoFunctionService = new WebCryptoFunctionService(window, this.platformUtilsService);
this.cryptoService = new CryptoService(this.storageService, this.secureStorageService,
this.cryptoFunctionService);
this.cryptoFunctionService, this.platformUtilsService);
this.tokenService = new TokenService(this.storageService);
this.appIdService = new AppIdService(this.storageService);
this.apiService = new ApiService(this.tokenService, this.platformUtilsService,

View File

@@ -305,6 +305,10 @@ export default class BrowserPlatformUtilsService implements PlatformUtilsService
return null;
}
supportsSecureStorage(): boolean {
return false;
}
private isSafariExtension(): boolean {
return (window as any).safariAppExtension === true;
}