@dxos/protocols 0.1.48 → 0.1.49-next.55d8a92

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/protocols",
3
- "version": "0.1.48",
3
+ "version": "0.1.49-next.55d8a92",
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.48",
37
- "@dxos/hypercore": "0.1.48",
38
- "@dxos/keys": "0.1.48",
39
- "@dxos/timeframe": "0.1.48"
36
+ "@dxos/codec-protobuf": "0.1.49-next.55d8a92",
37
+ "@dxos/hypercore": "0.1.49-next.55d8a92",
38
+ "@dxos/keys": "0.1.49-next.55d8a92",
39
+ "@dxos/timeframe": "0.1.49-next.55d8a92"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/debug": "^4.1.7",
@@ -38,7 +38,7 @@ service DevtoolsHost {
38
38
  rpc ResetStorage(ResetStorageRequest) returns (google.protobuf.Empty);
39
39
 
40
40
  rpc GetSnapshots(google.protobuf.Empty) returns (GetSnapshotsResponse);
41
-
41
+
42
42
  // TODO(burdon): Single RPC with action.
43
43
  rpc EnableDebugLogging(EnableDebugLoggingRequest) returns (EnableDebugLoggingResponse);
44
44
  rpc DisableDebugLogging(EnableDebugLoggingRequest) returns (EnableDebugLoggingResponse);
@@ -91,7 +91,7 @@ message StorageInfo {
91
91
  string type = 1;
92
92
  uint32 storage_usage = 2;
93
93
  uint32 origin_usage = 3;
94
- uint32 usage_quota = 4;
94
+ uint32 usage_quota = 4;
95
95
  }
96
96
 
97
97
  //
@@ -197,7 +197,7 @@ message SubscribeToFeedsResponse {
197
197
  message Feed {
198
198
  dxos.keys.PublicKey feed_key = 1;
199
199
  int32 length = 2;
200
- int32 disk_usage = 3;
200
+ int32 bytes = 3;
201
201
  }
202
202
 
203
203
  repeated Feed feeds = 1;
@@ -300,7 +300,7 @@ export namespace SubscribeToFeedsResponse {
300
300
  export interface Feed {
301
301
  feedKey: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
302
302
  length: number;
303
- diskUsage: number;
303
+ bytes: number;
304
304
  }
305
305
  }
306
306
  /**