@dxos/protocols 0.4.4-main.c5da621 → 0.4.4-main.d035bb3

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;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAohB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,oimGAAoimG,CAAC,CAAC,CAAC;AAC7lmG,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,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA6DhE,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAohB7C,MAAM,CAAC,MAAM,UAAU,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC,8umGAA8umG,CAAC,CAAC,CAAC;AACvymG,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.4.4-main.c5da621",
3
+ "version": "0.4.4-main.d035bb3",
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.4.4-main.c5da621",
37
- "@dxos/invariant": "0.4.4-main.c5da621",
38
- "@dxos/keys": "0.4.4-main.c5da621",
39
- "@dxos/timeframe": "0.4.4-main.c5da621"
36
+ "@dxos/invariant": "0.4.4-main.d035bb3",
37
+ "@dxos/keys": "0.4.4-main.d035bb3",
38
+ "@dxos/timeframe": "0.4.4-main.d035bb3",
39
+ "@dxos/codec-protobuf": "0.4.4-main.d035bb3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "glob": "~7.1.6"
@@ -324,6 +324,9 @@ message Runtime {
324
324
  message Ipfs {
325
325
  optional string server = 1;
326
326
  optional string gateway = 2;
327
+ /// Used for IPFS API authentication, regardless if server is direct KUBO API (e.g. path of '/api/v0') or a reverse proxy
328
+ /// Same secret format as https://github.com/ipfs/kubo/blob/master/docs/config.md#apiauthorizations
329
+ optional string server_auth_secret = 3;
327
330
  }
328
331
 
329
332
  message Signal {
@@ -876,6 +876,13 @@ export namespace Runtime {
876
876
  * - proto3_optional = true
877
877
  */
878
878
  gateway?: string;
879
+ /**
880
+ * Same secret format as https://github.com/ipfs/kubo/blob/master/docs/config.md#apiauthorizations
881
+ *
882
+ * Options:
883
+ * - proto3_optional = true
884
+ */
885
+ serverAuthSecret?: string;
879
886
  }
880
887
  /**
881
888
  * Defined in:
@@ -59,6 +59,37 @@ import * as dxos_value from "../value";
59
59
  import * as example_testing_data from "../../example/testing/data";
60
60
  import * as example_testing_rpc from "../../example/testing/rpc";
61
61
  import * as google_protobuf from "../../google/protobuf";
62
+ /**
63
+ * Defined in:
64
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
65
+ */
66
+ export interface Services {
67
+ spaces?: SpaceStats[];
68
+ }
69
+ /**
70
+ * Defined in:
71
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
72
+ */
73
+ export interface SpaceStats {
74
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
75
+ peers?: PeerStats[];
76
+ }
77
+ /**
78
+ * Defined in:
79
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
80
+ */
81
+ export interface PeerStats {
82
+ controlFeed: FeedStats;
83
+ dataFeed: FeedStats;
84
+ }
85
+ /**
86
+ * Defined in:
87
+ * {@link file://./../../../dxos/devtools/diagnostics.proto}
88
+ */
89
+ export interface FeedStats {
90
+ key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
91
+ length: number;
92
+ }
62
93
  /**
63
94
  * Defined in:
64
95
  * {@link file://./../../../dxos/devtools/host.proto}
@@ -481,34 +512,3 @@ export interface SubscribeToSwarmInfoRequest {
481
512
  export interface SubscribeToSwarmInfoResponse {
482
513
  data?: dxos_devtools_swarm.SwarmInfo[];
483
514
  }
484
- /**
485
- * Defined in:
486
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
487
- */
488
- export interface Services {
489
- spaces?: SpaceStats[];
490
- }
491
- /**
492
- * Defined in:
493
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
494
- */
495
- export interface SpaceStats {
496
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
497
- peers?: PeerStats[];
498
- }
499
- /**
500
- * Defined in:
501
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
502
- */
503
- export interface PeerStats {
504
- controlFeed: FeedStats;
505
- dataFeed: FeedStats;
506
- }
507
- /**
508
- * Defined in:
509
- * {@link file://./../../../dxos/devtools/diagnostics.proto}
510
- */
511
- export interface FeedStats {
512
- key: ReturnType<(typeof substitutions)["dxos.keys.PublicKey"]["decode"]>;
513
- length: number;
514
- }