chore: upgrade deps
This commit is contained in:
@@ -4,7 +4,6 @@ declare global {
|
||||
interface Window {
|
||||
bugsnagApiKey?: string;
|
||||
dashboardUrl?: string;
|
||||
defaultFilesHost: string;
|
||||
defaultSyncServer: string;
|
||||
devAccountEmail?: string;
|
||||
devAccountPassword?: string;
|
||||
@@ -30,7 +29,6 @@ import { isDev } from './utils';
|
||||
|
||||
const startApplication: StartApplication = async function startApplication(
|
||||
defaultSyncServerHost: string,
|
||||
defaultFilesHostHost: string,
|
||||
bridge: Bridge,
|
||||
enableUnfinishedFeatures: boolean,
|
||||
webSocketUrl: string
|
||||
@@ -40,7 +38,6 @@ const startApplication: StartApplication = async function startApplication(
|
||||
|
||||
const mainApplicationGroup = new ApplicationGroup(
|
||||
defaultSyncServerHost,
|
||||
defaultFilesHostHost,
|
||||
bridge,
|
||||
enableUnfinishedFeatures ? Runtime.Dev : Runtime.Prod,
|
||||
webSocketUrl
|
||||
@@ -75,7 +72,6 @@ const startApplication: StartApplication = async function startApplication(
|
||||
if (IsWebPlatform) {
|
||||
startApplication(
|
||||
window.defaultSyncServer,
|
||||
window.defaultFilesHost,
|
||||
new BrowserBridge(WebAppVersion),
|
||||
window.enabledUnfinishedFeatures,
|
||||
window.websocketUrl
|
||||
|
||||
@@ -2,7 +2,6 @@ import { Bridge } from './services/bridge';
|
||||
|
||||
export type StartApplication = (
|
||||
defaultSyncServerHost: string,
|
||||
defaultFilesHostHost: string,
|
||||
bridge: Bridge,
|
||||
enableUnfinishedFeatures: boolean,
|
||||
webSocketUrl: string
|
||||
|
||||
@@ -48,7 +48,6 @@ export class WebApplication extends SNApplication {
|
||||
platform: Platform,
|
||||
identifier: string,
|
||||
defaultSyncServerHost: string,
|
||||
defaultFilesHostHost: string,
|
||||
public bridge: Bridge,
|
||||
webSocketUrl: string,
|
||||
runtime: Runtime
|
||||
@@ -61,7 +60,6 @@ export class WebApplication extends SNApplication {
|
||||
alertService: new AlertService(),
|
||||
identifier,
|
||||
defaultHost: defaultSyncServerHost,
|
||||
defaultFilesHost: defaultFilesHostHost,
|
||||
appVersion: bridge.appVersion,
|
||||
webSocketUrl: webSocketUrl,
|
||||
runtime,
|
||||
|
||||
@@ -21,7 +21,6 @@ import { InternalEventBus } from '@standardnotes/services';
|
||||
export class ApplicationGroup extends SNApplicationGroup {
|
||||
constructor(
|
||||
private defaultSyncServerHost: string,
|
||||
private defaultFilesHostHost: string,
|
||||
private bridge: Bridge,
|
||||
private runtime: Runtime,
|
||||
private webSocketUrl: string
|
||||
@@ -52,7 +51,6 @@ export class ApplicationGroup extends SNApplicationGroup {
|
||||
platform,
|
||||
descriptor.identifier,
|
||||
this.defaultSyncServerHost,
|
||||
this.defaultFilesHostHost,
|
||||
this.bridge,
|
||||
this.webSocketUrl,
|
||||
this.runtime
|
||||
|
||||
Reference in New Issue
Block a user