@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.
- package/dist/.tsbuildinfo +1 -1
- package/dist/adapter-types.d.ts +1 -1
- package/dist/devtools/devtools-bridge.d.ts +1 -1
- package/dist/devtools/devtools-messages.d.ts +47 -47
- package/dist/devtools/devtools-messages.js +2 -2
- package/dist/devtools/devtools-window-message.d.ts +2 -2
- package/dist/devtools/devtools-window-message.js +4 -4
- package/dist/devtools/index.d.ts +4 -4
- package/dist/devtools/index.js +5 -5
- package/dist/schema/mutations.d.ts +1 -1
- package/package.json +3 -3
- package/src/adapter-types.ts +1 -1
- package/src/devtools/devtools-bridge.ts +1 -1
- package/src/devtools/devtools-messages.ts +2 -2
- package/src/devtools/devtools-window-message.ts +4 -4
- package/src/devtools/index.ts +5 -5
package/src/devtools/index.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
20
|
+
appHostId: Schema.String,
|
|
21
21
|
/**
|
|
22
|
-
* Given the m:n relationship between devtools and app hosts and the fact that
|
|
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
|
-
|
|
30
|
+
appHostId: Schema.String,
|
|
31
31
|
}) {}
|
|
32
32
|
|
|
33
33
|
// export class DevtoolsWillDisconnect extends Schema.TaggedStruct('LSD.WebBridge.DevtoolsWillDisconnect', {
|
|
34
|
-
//
|
|
34
|
+
// appHostId: Schema.String,
|
|
35
35
|
// }) {}
|
|
36
36
|
|
|
37
37
|
export class All extends Schema.Union(AppHostReady, DevtoolsReady, ConnectToDevtools, AppHostWillDisconnect) {}
|