Merge pull request #1471 from Hinton/hotfix/update-jslib

Update jslib (PR 185)
This commit is contained in:
Chad Scharf 2020-11-23 15:34:55 -05:00 committed by GitHub
commit cf3f9aa9bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit f44e99d74dc011c026525d171f7d2940b60b6587
Subproject commit 0a73b6fca83b33573cf6ea0a41899ead34c23c46

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;
}