Separate connection related data from host data

Split out host specific data from RegisterHostData that is not related
to the establishment of a connection to the controller into it's own
HostInfoUpdate event.  This allows this data to be updated when the
config values they are taken from are changed.
This commit is contained in:
Hornwitser committed 2024-01-15 22:19:38 +01:00
1 parent 790f880e98
commit 688ddc529b
8 files changed
+94 -42

No files matched your search

-2
View File
@@ -108,7 +108,6 @@ Host handshake for establishing a new connection session.
- `token: string` - Authentication token.
- `version: string` - The protocol version of the host, e.g. "2.0.0".
- `name: string` - Name of the host.
- `id: integer` - ID of the host.
- `plugins: Object<string, string>` -
Object mapping plugin names to plugin version for plugins that are available on the host.
@@ -242,7 +241,6 @@ Host registering a new connection session.
"data": {
"token": "xyzabc123",
"version": "2.0.0",
"name": "Foo",
"id": 123
}
}