@livestore/common 0.0.56-dev.1 → 0.0.56-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ export * from './devtools-bridge.js'
7
7
 
8
8
  export namespace WebBridge {
9
9
  export class AppHostReady extends Schema.TaggedStruct('LSD.WebBridge.AppHostReady', {
10
- channelId: Schema.String,
10
+ appHostId: Schema.String,
11
11
  isLeader: Schema.Boolean,
12
12
  }) {}
13
13
 
@@ -17,9 +17,9 @@ export namespace WebBridge {
17
17
 
18
18
  export class ConnectToDevtools extends Schema.TaggedStruct('LSD.WebBridge.ConnectToDevtools', {
19
19
  devtoolsId: Schema.String,
20
- channelId: Schema.String,
20
+ appHostId: Schema.String,
21
21
  /**
22
- * Given the m:n relationship between devtools and app hosts and the fact that channelIds are usually
22
+ * Given the m:n relationship between devtools and app hosts and the fact that appHostIds are usually
23
23
  * sticky, we generate a new unique id for the lifetime of the web bridge.
24
24
  */
25
25
  webBridgeId: Schema.String,
@@ -27,11 +27,11 @@ export namespace WebBridge {
27
27
  }) {}
28
28
 
29
29
  export class AppHostWillDisconnect extends Schema.TaggedStruct('LSD.WebBridge.AppHostWillDisconnect', {
30
- channelId: Schema.String,
30
+ appHostId: Schema.String,
31
31
  }) {}
32
32
 
33
33
  // export class DevtoolsWillDisconnect extends Schema.TaggedStruct('LSD.WebBridge.DevtoolsWillDisconnect', {
34
- // channelId: Schema.String,
34
+ // appHostId: Schema.String,
35
35
  // }) {}
36
36
 
37
37
  export class All extends Schema.Union(AppHostReady, DevtoolsReady, ConnectToDevtools, AppHostWillDisconnect) {}