refactor: import crypto from sncrypto (dep of snjs)
This commit is contained in:
@@ -26,6 +26,7 @@ import {
|
|||||||
KeyboardManager
|
KeyboardManager
|
||||||
} from '@/services';
|
} from '@/services';
|
||||||
import { AppState } from '@/ui_models/app_state';
|
import { AppState } from '@/ui_models/app_state';
|
||||||
|
import { SNWebCrypto } from 'sncrypto/dist/sncrypto-web';
|
||||||
|
|
||||||
type WebServices = {
|
type WebServices = {
|
||||||
appState: AppState
|
appState: AppState
|
||||||
@@ -62,6 +63,7 @@ export class WebApplication extends SNApplication {
|
|||||||
Environment.Web,
|
Environment.Web,
|
||||||
platformFromString(getPlatformString()),
|
platformFromString(getPlatformString()),
|
||||||
deviceInterface,
|
deviceInterface,
|
||||||
|
new SNWebCrypto(),
|
||||||
namespace,
|
namespace,
|
||||||
undefined,
|
undefined,
|
||||||
[
|
[
|
||||||
|
|||||||
6
dist/javascripts/app.js
vendored
6
dist/javascripts/app.js
vendored
File diff suppressed because one or more lines are too long
2
dist/javascripts/app.js.map
vendored
2
dist/javascripts/app.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user