summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src/shared')
-rw-r--r--gui/src/shared/ipc-schema.ts8
-rw-r--r--gui/src/shared/ipc-types.ts2
2 files changed, 4 insertions, 6 deletions
diff --git a/gui/src/shared/ipc-schema.ts b/gui/src/shared/ipc-schema.ts
index 62a3afc948..3f0d86d995 100644
--- a/gui/src/shared/ipc-schema.ts
+++ b/gui/src/shared/ipc-schema.ts
@@ -107,11 +107,9 @@ export const ipcSchema = {
windowFocus: {
'': notifyRenderer<boolean>(),
},
- daemonConnected: {
- '': notifyRenderer<void>(),
- },
- daemonDisconnected: {
- '': notifyRenderer<string | undefined>(),
+ daemon: {
+ connected: notifyRenderer<void>(),
+ disconnected: notifyRenderer<void>(),
},
location: {
'': notifyRenderer<ILocation>(),
diff --git a/gui/src/shared/ipc-types.ts b/gui/src/shared/ipc-types.ts
index 7781551ed5..691d54b61b 100644
--- a/gui/src/shared/ipc-types.ts
+++ b/gui/src/shared/ipc-types.ts
@@ -1,6 +1,6 @@
export interface ICurrentAppVersionInfo {
gui: string;
- daemon: string;
+ daemon?: string;
isConsistent: boolean;
isBeta: boolean;
}