@dxos/protocols 2.33.8-dev.6bc74570 → 2.33.8

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.
Files changed (78) hide show
  1. package/dist/src/index.d.ts +1 -0
  2. package/dist/src/index.d.ts.map +1 -1
  3. package/dist/src/index.js +1 -0
  4. package/dist/src/index.js.map +1 -1
  5. package/dist/src/proto/gen/dxos/bot.d.ts.map +1 -1
  6. package/dist/src/proto/gen/dxos/bot.js.map +1 -1
  7. package/dist/src/proto/gen/dxos/client.d.ts.map +1 -1
  8. package/dist/src/proto/gen/dxos/client.js.map +1 -1
  9. package/dist/src/proto/gen/dxos/config.d.ts.map +1 -1
  10. package/dist/src/proto/gen/dxos/config.js.map +1 -1
  11. package/dist/src/proto/gen/dxos/credentials/auth.d.ts.map +1 -1
  12. package/dist/src/proto/gen/dxos/credentials/greet.d.ts +1 -1
  13. package/dist/src/proto/gen/dxos/credentials/greet.d.ts.map +1 -1
  14. package/dist/src/proto/gen/dxos/credentials/greet.js.map +1 -1
  15. package/dist/src/proto/gen/dxos/credentials/identity.d.ts.map +1 -1
  16. package/dist/src/proto/gen/dxos/credentials/party.d.ts.map +1 -1
  17. package/dist/src/proto/gen/dxos/credentials/party.js.map +1 -1
  18. package/dist/src/proto/gen/dxos/credentials.d.ts.map +1 -1
  19. package/dist/src/proto/gen/dxos/devtools.d.ts.map +1 -1
  20. package/dist/src/proto/gen/dxos/echo/feed.d.ts.map +1 -1
  21. package/dist/src/proto/gen/dxos/echo/feed.js.map +1 -1
  22. package/dist/src/proto/gen/dxos/echo/invitation.d.ts.map +1 -1
  23. package/dist/src/proto/gen/dxos/echo/invitation.js.map +1 -1
  24. package/dist/src/proto/gen/dxos/echo/metadata.d.ts +6 -5
  25. package/dist/src/proto/gen/dxos/echo/metadata.d.ts.map +1 -1
  26. package/dist/src/proto/gen/dxos/echo/service.d.ts.map +1 -1
  27. package/dist/src/proto/gen/dxos/echo/snapshot.d.ts.map +1 -1
  28. package/dist/src/proto/gen/dxos/echo/timeframe.d.ts.map +1 -1
  29. package/dist/src/proto/gen/dxos/halo/keys.d.ts.map +1 -1
  30. package/dist/src/proto/gen/dxos/halo/keys.js.map +1 -1
  31. package/dist/src/proto/gen/dxos/rpc.d.ts.map +1 -1
  32. package/dist/src/proto/gen/dxos/rpc.js.map +1 -1
  33. package/dist/src/proto/gen/dxos/test/echo.d.ts +11 -0
  34. package/dist/src/proto/gen/dxos/test/echo.d.ts.map +1 -0
  35. package/dist/src/proto/gen/dxos/test/echo.js +3 -0
  36. package/dist/src/proto/gen/dxos/test/echo.js.map +1 -0
  37. package/dist/src/proto/gen/google/protobuf.d.ts.map +1 -1
  38. package/dist/src/proto/gen/google/protobuf.js.map +1 -1
  39. package/dist/src/proto/gen/index.d.ts +4 -0
  40. package/dist/src/proto/gen/index.d.ts.map +1 -1
  41. package/dist/src/proto/gen/index.js +1 -1
  42. package/dist/src/proto/gen/index.js.map +1 -1
  43. package/dist/src/timeframe.d.ts +57 -0
  44. package/dist/src/timeframe.d.ts.map +1 -0
  45. package/dist/src/timeframe.js +127 -0
  46. package/dist/src/timeframe.js.map +1 -0
  47. package/dist/src/timeframe.test.d.ts +2 -0
  48. package/dist/src/timeframe.test.d.ts.map +1 -0
  49. package/dist/src/timeframe.test.js +113 -0
  50. package/dist/src/timeframe.test.js.map +1 -0
  51. package/dist/tsconfig.tsbuildinfo +1 -1
  52. package/package.json +5 -3
  53. package/src/index.ts +1 -0
  54. package/src/proto/dxos/echo/metadata.proto +10 -7
  55. package/src/proto/dxos/halo/greet.proto +1 -2
  56. package/src/proto/dxos/test/echo.proto +20 -0
  57. package/src/proto/gen/dxos/bot.ts +1 -0
  58. package/src/proto/gen/dxos/client.ts +1 -0
  59. package/src/proto/gen/dxos/config.ts +1 -0
  60. package/src/proto/gen/dxos/credentials/auth.ts +1 -0
  61. package/src/proto/gen/dxos/credentials/greet.ts +2 -1
  62. package/src/proto/gen/dxos/credentials/identity.ts +1 -0
  63. package/src/proto/gen/dxos/credentials/party.ts +1 -0
  64. package/src/proto/gen/dxos/credentials.ts +1 -0
  65. package/src/proto/gen/dxos/devtools.ts +1 -0
  66. package/src/proto/gen/dxos/echo/feed.ts +1 -0
  67. package/src/proto/gen/dxos/echo/invitation.ts +1 -0
  68. package/src/proto/gen/dxos/echo/metadata.ts +7 -5
  69. package/src/proto/gen/dxos/echo/service.ts +1 -0
  70. package/src/proto/gen/dxos/echo/snapshot.ts +1 -0
  71. package/src/proto/gen/dxos/echo/timeframe.ts +1 -0
  72. package/src/proto/gen/dxos/halo/keys.ts +1 -0
  73. package/src/proto/gen/dxos/rpc.ts +1 -0
  74. package/src/proto/gen/dxos/test/echo.ts +29 -0
  75. package/src/proto/gen/google/protobuf.ts +1 -0
  76. package/src/proto/gen/index.ts +5 -1
  77. package/src/timeframe.test.ts +125 -0
  78. package/src/timeframe.ts +144 -0
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "../echo/snapshot";
15
15
  import * as dxos_echo_timeframe from "../echo/timeframe";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  /**
20
21
  * A Greeter command.
@@ -42,7 +43,7 @@ export interface HandshakeResponse {
42
43
  }
43
44
  export interface NotarizeResponse {
44
45
  copies?: google_protobuf.Any[];
45
- feedHints?: dxos_halo_keys.PubKey[];
46
+ genesisFeed?: dxos_halo_keys.PubKey;
46
47
  }
47
48
  export interface KeyHint {
48
49
  publicKey?: dxos_halo_keys.PubKey;
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "../echo/snapshot";
15
15
  import * as dxos_echo_timeframe from "../echo/timeframe";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  export interface IdentityInfo {
20
21
  publicKey?: dxos_halo_keys.PubKey;
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "../echo/snapshot";
15
15
  import * as dxos_echo_timeframe from "../echo/timeframe";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  export interface PartyCredential {
20
21
  type?: PartyCredential.Type;
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "./echo/snapshot";
15
15
  import * as dxos_echo_timeframe from "./echo/timeframe";
16
16
  import * as dxos_halo_keys from "./halo/keys";
17
17
  import * as dxos_rpc from "./rpc";
18
+ import * as dxos_test_echo from "./test/echo";
18
19
  import * as google_protobuf from "../google/protobuf";
19
20
  export interface Message {
20
21
  payload: google_protobuf.Any;
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "./echo/snapshot";
15
15
  import * as dxos_echo_timeframe from "./echo/timeframe";
16
16
  import * as dxos_halo_keys from "./halo/keys";
17
17
  import * as dxos_rpc from "./rpc";
18
+ import * as dxos_test_echo from "./test/echo";
18
19
  import * as google_protobuf from "../google/protobuf";
19
20
  export interface DevtoolsHost {
20
21
  events: (request: void) => Stream<Event>;
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "./snapshot";
15
15
  import * as dxos_echo_timeframe from "./timeframe";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  /**
20
21
  * Outer message type decoded by Codec.
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "./snapshot";
15
15
  import * as dxos_echo_timeframe from "./timeframe";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  export interface InvitationDescriptor {
20
21
  type?: InvitationDescriptor.Type;
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "./snapshot";
15
15
  import * as dxos_echo_timeframe from "./timeframe";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  export interface EchoMetadata {
20
21
  /**
@@ -33,17 +34,18 @@ export interface PartyMetadata {
33
34
  * Party key.
34
35
  */
35
36
  key?: dxos_halo_keys.PubKey;
37
+ genesisFeedKey?: dxos_halo_keys.PubKey;
36
38
  /**
37
- * List of all feed associated with the party.
39
+ * Key of the wriatable control feed.
38
40
  */
39
- feedKeys?: dxos_halo_keys.PubKey[];
41
+ controlFeedKey?: dxos_halo_keys.PubKey;
40
42
  /**
41
43
  * Key of the wriatable data feed.
42
44
  */
43
45
  dataFeedKey?: dxos_halo_keys.PubKey;
46
+ latestTimeframe?: dxos_echo_timeframe.TimeframeVector;
44
47
  /**
45
- * Key of the wriatable control feed.
48
+ * List of all feed associated with the party.
46
49
  */
47
- controlFeedKey?: dxos_halo_keys.PubKey;
48
- latestTimeframe?: dxos_echo_timeframe.TimeframeVector;
50
+ feedKeys?: dxos_halo_keys.PubKey[];
49
51
  }
@@ -15,6 +15,7 @@ import * as dxos_echo_snapshot from "./snapshot";
15
15
  import * as dxos_echo_timeframe from "./timeframe";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  export interface SubscribeEntitySetRequest {
20
21
  partyKey?: dxos_halo_keys.PubKey;
@@ -15,6 +15,7 @@ import * as dxos_echo_service from "./service";
15
15
  import * as dxos_echo_timeframe from "./timeframe";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  export interface PartySnapshot {
20
21
  partyKey?: Uint8Array;
@@ -15,6 +15,7 @@ import * as dxos_echo_service from "./service";
15
15
  import * as dxos_echo_snapshot from "./snapshot";
16
16
  import * as dxos_halo_keys from "../halo/keys";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  /**
20
21
  * Vector timestamp used to order messages.
@@ -15,6 +15,7 @@ import * as dxos_echo_service from "../echo/service";
15
15
  import * as dxos_echo_snapshot from "../echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../echo/timeframe";
17
17
  import * as dxos_rpc from "../rpc";
18
+ import * as dxos_test_echo from "../test/echo";
18
19
  import * as google_protobuf from "../../google/protobuf";
19
20
  export enum KeyType {
20
21
  UNKNOWN = 0,
@@ -15,6 +15,7 @@ import * as dxos_echo_service from "./echo/service";
15
15
  import * as dxos_echo_snapshot from "./echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "./echo/timeframe";
17
17
  import * as dxos_halo_keys from "./halo/keys";
18
+ import * as dxos_test_echo from "./test/echo";
18
19
  import * as google_protobuf from "../google/protobuf";
19
20
  export interface RpcMessage {
20
21
  request?: Request;
@@ -0,0 +1,29 @@
1
+ import type { Stream } from "@dxos/codec-protobuf";
2
+ import * as dxos_bot from "../bot";
3
+ import * as dxos_client from "../client";
4
+ import * as dxos_config from "../config";
5
+ import * as dxos_credentials from "../credentials";
6
+ import * as dxos_credentials_auth from "../credentials/auth";
7
+ import * as dxos_credentials_greet from "../credentials/greet";
8
+ import * as dxos_credentials_identity from "../credentials/identity";
9
+ import * as dxos_credentials_party from "../credentials/party";
10
+ import * as dxos_devtools from "../devtools";
11
+ import * as dxos_echo_feed from "../echo/feed";
12
+ import * as dxos_echo_invitation from "../echo/invitation";
13
+ import * as dxos_echo_metadata from "../echo/metadata";
14
+ import * as dxos_echo_service from "../echo/service";
15
+ import * as dxos_echo_snapshot from "../echo/snapshot";
16
+ import * as dxos_echo_timeframe from "../echo/timeframe";
17
+ import * as dxos_halo_keys from "../halo/keys";
18
+ import * as dxos_rpc from "../rpc";
19
+ import * as google_protobuf from "../../google/protobuf";
20
+ export interface TestItemMutation {
21
+ key?: string;
22
+ value?: string;
23
+ }
24
+ export interface TestListMutation {
25
+ data?: string;
26
+ }
27
+ export interface TestItemSnapshot {
28
+ keys?: TestItemMutation[];
29
+ }
@@ -16,6 +16,7 @@ import * as dxos_echo_snapshot from "../dxos/echo/snapshot";
16
16
  import * as dxos_echo_timeframe from "../dxos/echo/timeframe";
17
17
  import * as dxos_halo_keys from "../dxos/halo/keys";
18
18
  import * as dxos_rpc from "../dxos/rpc";
19
+ import * as dxos_test_echo from "../dxos/test/echo";
19
20
  export interface Empty {
20
21
  }
21
22
  export interface Any {