refactor: import crypto from sncrypto (dep of snjs)

This commit is contained in:
Mo Bitar
2020-06-05 11:05:36 -05:00
parent 78e4ae0a16
commit 9498f2e8f3
3 changed files with 6 additions and 4 deletions

View File

@@ -26,6 +26,7 @@ import {
KeyboardManager
} from '@/services';
import { AppState } from '@/ui_models/app_state';
import { SNWebCrypto } from 'sncrypto/dist/sncrypto-web';
type WebServices = {
appState: AppState
@@ -62,6 +63,7 @@ export class WebApplication extends SNApplication {
Environment.Web,
platformFromString(getPlatformString()),
deviceInterface,
new SNWebCrypto(),
namespace,
undefined,
[

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long