@dxos/protocols 0.1.25-next.3c6b542 → 0.1.26

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAkDhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAma7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,sywEAAsywE,CAAC,CAAC,CAAC;AAC/1wE,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/proto/gen/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAkD9C,OAAO,aAAa,MAAM,kBAAkB,CAAC;AA6Z7C,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,i+qIAAi+qI,CAAC,CAAC;AACxgrI,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAkB,UAAU,EAAE,aAAa,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/protocols",
3
- "version": "0.1.25-next.3c6b542",
3
+ "version": "0.1.26",
4
4
  "description": "Protobuf definitions for DXOS protocols.",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -33,10 +33,10 @@
33
33
  "src"
34
34
  ],
35
35
  "dependencies": {
36
- "@dxos/codec-protobuf": "0.1.25-next.3c6b542",
37
- "@dxos/hypercore": "0.1.25-next.3c6b542",
38
- "@dxos/keys": "0.1.25-next.3c6b542",
39
- "@dxos/timeframe": "0.1.25-next.3c6b542"
36
+ "@dxos/codec-protobuf": "0.1.26",
37
+ "@dxos/hypercore": "0.1.26",
38
+ "@dxos/keys": "0.1.26",
39
+ "@dxos/timeframe": "0.1.26"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/debug": "^4.1.7",
@@ -104,7 +104,6 @@ message Runtime {
104
104
  /// Milliseconds
105
105
  optional int32 invitation_expiration = 5;
106
106
 
107
- /// Location of the remote client host.
108
107
  optional string remote_source = 6;
109
108
  }
110
109
 
@@ -6,8 +6,6 @@ syntax = "proto3";
6
6
 
7
7
  import "google/protobuf/empty.proto";
8
8
 
9
- import "dxos/keys.proto";
10
-
11
9
  package dxos.iframe;
12
10
 
13
11
  message StartRequest {
@@ -23,40 +21,4 @@ service IframeService {
23
21
  service WorkerService {
24
22
  rpc Start(StartRequest) returns (google.protobuf.Empty);
25
23
  rpc Stop(google.protobuf.Empty) returns (google.protobuf.Empty);
26
- }
27
-
28
- enum ShellDisplay {
29
- NONE = 0;
30
- FULLSCREEN = 1;
31
- }
32
-
33
- message AppContextRequest {
34
- ShellDisplay display = 1;
35
- optional dxos.keys.PublicKey space_key = 2;
36
- optional string invitation_code = 3;
37
- }
38
-
39
- /// App RPCs for the shell.
40
- service AppService {
41
- rpc SetContext(AppContextRequest) returns (google.protobuf.Empty);
42
- }
43
-
44
- enum ShellLayout {
45
- DEFAULT = 0;
46
- AUTH = 1;
47
- CURRENT_SPACE = 2;
48
- SPACE_LIST = 3;
49
- JOIN_SPACE = 4;
50
- DEVICES_LIST = 5;
51
- }
52
-
53
- message LayoutRequest {
54
- ShellLayout layout = 1;
55
- optional string invitation_code = 2;
56
- optional dxos.keys.PublicKey space_key = 3;
57
- }
58
-
59
- /// Shell UI RPCs.
60
- service ShellService {
61
- rpc SetLayout(LayoutRequest) returns (google.protobuf.Empty);
62
- }
24
+ }
@@ -269,8 +269,6 @@ export namespace Runtime {
269
269
  */
270
270
  invitationExpiration?: number;
271
271
  /**
272
- * Location of the remote client host.
273
- *
274
272
  * Options:
275
273
  * - proto3_optional = true
276
274
  */
@@ -74,75 +74,3 @@ export interface WorkerService {
74
74
  start: (request: StartRequest) => Promise<void>;
75
75
  stop: (request: void) => Promise<void>;
76
76
  }
77
- /**
78
- * Defined in:
79
- * {@link file://./../../dxos/iframe.proto}
80
- */
81
- export enum ShellDisplay {
82
- NONE = 0,
83
- FULLSCREEN = 1
84
- }
85
- /**
86
- * Defined in:
87
- * {@link file://./../../dxos/iframe.proto}
88
- */
89
- export interface AppContextRequest {
90
- display: ShellDisplay;
91
- /**
92
- * Options:
93
- * - proto3_optional = true
94
- */
95
- spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
96
- /**
97
- * Options:
98
- * - proto3_optional = true
99
- */
100
- invitationCode?: string;
101
- }
102
- /**
103
- * App RPCs for the shell.
104
- *
105
- * Defined in:
106
- * {@link file://./../../dxos/iframe.proto}
107
- */
108
- export interface AppService {
109
- setContext: (request: AppContextRequest) => Promise<void>;
110
- }
111
- /**
112
- * Defined in:
113
- * {@link file://./../../dxos/iframe.proto}
114
- */
115
- export enum ShellLayout {
116
- DEFAULT = 0,
117
- AUTH = 1,
118
- CURRENT_SPACE = 2,
119
- SPACE_LIST = 3,
120
- JOIN_SPACE = 4,
121
- DEVICES_LIST = 5
122
- }
123
- /**
124
- * Defined in:
125
- * {@link file://./../../dxos/iframe.proto}
126
- */
127
- export interface LayoutRequest {
128
- layout: ShellLayout;
129
- /**
130
- * Options:
131
- * - proto3_optional = true
132
- */
133
- invitationCode?: string;
134
- /**
135
- * Options:
136
- * - proto3_optional = true
137
- */
138
- spaceKey?: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
139
- }
140
- /**
141
- * Shell UI RPCs.
142
- *
143
- * Defined in:
144
- * {@link file://./../../dxos/iframe.proto}
145
- */
146
- export interface ShellService {
147
- setLayout: (request: LayoutRequest) => Promise<void>;
148
- }