@dxos/client 2.25.1-dev.bf49bd36 → 2.26.1-dev.544435db

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 (49) hide show
  1. package/dist/src/api/echo-proxy.d.ts.map +1 -1
  2. package/dist/src/api/echo-proxy.js +9 -7
  3. package/dist/src/api/echo-proxy.js.map +1 -1
  4. package/dist/src/api/halo-proxy.d.ts.map +1 -1
  5. package/dist/src/api/halo-proxy.js +14 -11
  6. package/dist/src/api/halo-proxy.js.map +1 -1
  7. package/dist/src/api/party-proxy.d.ts +5 -1
  8. package/dist/src/api/party-proxy.d.ts.map +1 -1
  9. package/dist/src/api/party-proxy.js +12 -6
  10. package/dist/src/api/party-proxy.js.map +1 -1
  11. package/dist/src/client/client-services.test.js +5 -5
  12. package/dist/src/client/client.js +3 -3
  13. package/dist/src/client/client.js.map +1 -1
  14. package/dist/src/client/client.test.js +2 -2
  15. package/dist/src/client/client.test.js.map +1 -1
  16. package/dist/src/client/service-host/services/halo.d.ts +3 -3
  17. package/dist/src/client/service-host/services/halo.d.ts.map +1 -1
  18. package/dist/src/client/service-host/services/halo.js +7 -3
  19. package/dist/src/client/service-host/services/halo.js.map +1 -1
  20. package/dist/src/client/service-host/services/party.d.ts +10 -10
  21. package/dist/src/client/service-host/services/party.js +10 -10
  22. package/dist/src/client/service-host/services/profile.d.ts +6 -6
  23. package/dist/src/client/service-host/services/profile.js +6 -6
  24. package/dist/src/client/service-host/services/services.js +2 -2
  25. package/dist/src/client/service-host/services/system.js +2 -2
  26. package/dist/src/devtools/devtools-host.js +19 -19
  27. package/dist/src/devtools/items.js +2 -2
  28. package/dist/src/devtools/items.js.map +1 -1
  29. package/dist/src/proto/gen/dxos/client.d.ts +21 -21
  30. package/dist/src/proto/gen/dxos/devtools.d.ts +21 -21
  31. package/dist/src/proto/gen/dxos/echo/service.d.ts +3 -3
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/package.json +19 -19
  34. package/src/api/echo-proxy.ts +11 -7
  35. package/src/api/halo-proxy.ts +16 -11
  36. package/src/api/party-proxy.ts +14 -7
  37. package/src/client/client-services.test.ts +5 -5
  38. package/src/client/client.test.ts +2 -2
  39. package/src/client/client.ts +3 -3
  40. package/src/client/service-host/services/halo.ts +8 -3
  41. package/src/client/service-host/services/party.ts +10 -10
  42. package/src/client/service-host/services/profile.ts +6 -6
  43. package/src/client/service-host/services/services.ts +2 -2
  44. package/src/client/service-host/services/system.ts +2 -2
  45. package/src/devtools/devtools-host.ts +19 -19
  46. package/src/devtools/items.ts +2 -2
  47. package/src/proto/gen/dxos/client.ts +21 -21
  48. package/src/proto/gen/dxos/devtools.ts +21 -21
  49. package/src/proto/gen/dxos/echo/service.ts +3 -3
@@ -11,8 +11,8 @@ import * as dxos_halo_keys from "./halo/keys";
11
11
  import * as dxos_rpc from "./rpc";
12
12
  import * as google_protobuf from "../google/protobuf";
13
13
  export interface SystemService {
14
- GetConfig: (request: void) => Promise<dxos_config.Config>;
15
- Reset: (request: void) => Promise<void>;
14
+ getConfig: (request: void) => Promise<dxos_config.Config>;
15
+ reset: (request: void) => Promise<void>;
16
16
  }
17
17
  export enum InvitationState {
18
18
  WAITING_FOR_CONNECTION = 1,
@@ -76,12 +76,12 @@ export interface Contacts {
76
76
  contacts?: Contact[];
77
77
  }
78
78
  export interface ProfileService {
79
- SubscribeProfile: (request: void) => Stream<SubscribeProfileResponse>;
80
- CreateProfile: (request: CreateProfileRequest) => Promise<Profile>;
81
- RecoverProfile: (request: RecoverProfileRequest) => Promise<Profile>;
82
- CreateInvitation: (request: void) => Stream<InvitationRequest>;
83
- AcceptInvitation: (request: dxos_echo_invitation.InvitationDescriptor) => Stream<RedeemedInvitation>;
84
- AuthenticateInvitation: (request: AuthenticateInvitationRequest) => Promise<void>;
79
+ subscribeProfile: (request: void) => Stream<SubscribeProfileResponse>;
80
+ createProfile: (request: CreateProfileRequest) => Promise<Profile>;
81
+ recoverProfile: (request: RecoverProfileRequest) => Promise<Profile>;
82
+ createInvitation: (request: void) => Stream<InvitationRequest>;
83
+ acceptInvitation: (request: dxos_echo_invitation.InvitationDescriptor) => Stream<RedeemedInvitation>;
84
+ authenticateInvitation: (request: AuthenticateInvitationRequest) => Promise<void>;
85
85
  }
86
86
  export interface AddKeyRecordRequest {
87
87
  keyRecord?: dxos_halo_keys.KeyRecord;
@@ -97,9 +97,9 @@ export interface SignResponse {
97
97
  signed?: ReturnType<typeof substitutions["google.protobuf.Any"]["decode"]>;
98
98
  }
99
99
  export interface HaloService {
100
- SubscribeContacts: (request: void) => Stream<Contacts>;
101
- AddKeyRecord: (request: AddKeyRecordRequest) => Promise<void>;
102
- Sign: (request: SignRequest) => Promise<SignResponse>;
100
+ subscribeContacts: (request: void) => Stream<Contacts>;
101
+ addKeyRecord: (request: AddKeyRecordRequest) => Promise<void>;
102
+ sign: (request: SignRequest) => Promise<SignResponse>;
103
103
  }
104
104
  export interface Party {
105
105
  publicKey: ReturnType<typeof substitutions["dxos.halo.keys.PubKey"]["decode"]>;
@@ -155,17 +155,17 @@ export interface CreateSnaspotRequest {
155
155
  partyKey?: ReturnType<typeof substitutions["dxos.halo.keys.PubKey"]["decode"]>;
156
156
  }
157
157
  export interface PartyService {
158
- SubscribeToParty: (request: SubscribePartyRequest) => Stream<SubscribePartyResponse>;
159
- SubscribeParties: (request: void) => Stream<SubscribePartiesResponse>;
160
- CreateParty: (request: void) => Promise<Party>;
161
- CloneParty: (request: dxos_echo_snapshot.PartySnapshot) => Promise<Party>;
158
+ subscribeToParty: (request: SubscribePartyRequest) => Stream<SubscribePartyResponse>;
159
+ subscribeParties: (request: void) => Stream<SubscribePartiesResponse>;
160
+ createParty: (request: void) => Promise<Party>;
161
+ cloneParty: (request: dxos_echo_snapshot.PartySnapshot) => Promise<Party>;
162
162
  /**
163
163
  * Open and close or activate and deactivate a party.
164
164
  */
165
- SetPartyState: (request: SetPartyStateRequest) => Promise<Party>;
166
- CreateInvitation: (request: CreateInvitationRequest) => Stream<InvitationRequest>;
167
- AcceptInvitation: (request: dxos_echo_invitation.InvitationDescriptor) => Stream<RedeemedInvitation>;
168
- AuthenticateInvitation: (request: AuthenticateInvitationRequest) => Promise<void>;
169
- SubscribeMembers: (request: SubscribeMembersRequest) => Stream<SubscribeMembersResponse>;
170
- CreateSnapshot: (request: CreateSnaspotRequest) => Promise<dxos_echo_snapshot.PartySnapshot>;
165
+ setPartyState: (request: SetPartyStateRequest) => Promise<Party>;
166
+ createInvitation: (request: CreateInvitationRequest) => Stream<InvitationRequest>;
167
+ acceptInvitation: (request: dxos_echo_invitation.InvitationDescriptor) => Stream<RedeemedInvitation>;
168
+ authenticateInvitation: (request: AuthenticateInvitationRequest) => Promise<void>;
169
+ subscribeMembers: (request: SubscribeMembersRequest) => Stream<SubscribeMembersResponse>;
170
+ createSnapshot: (request: CreateSnaspotRequest) => Promise<dxos_echo_snapshot.PartySnapshot>;
171
171
  }
@@ -11,25 +11,25 @@ import * as dxos_halo_keys from "./halo/keys";
11
11
  import * as dxos_rpc from "./rpc";
12
12
  import * as google_protobuf from "../google/protobuf";
13
13
  export interface DevtoolsHost {
14
- Events: (request: void) => Stream<Event>;
15
- GetConfig: (request: void) => Promise<GetConfigResponse>;
16
- ResetStorage: (request: ResetStorageRequest) => Promise<void>;
17
- EnableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
18
- DisableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
19
- SubscribeToKeyringKeys: (request: SubscribeToKeyringKeysRequest) => Stream<SubscribeToKeyringKeysResponse>;
20
- SubscribeToCredentialMessages: (request: SubscribeToCredentialMessagesRequest) => Stream<SubscribeToCredentialMessagesResponse>;
21
- SubscribeToParties: (request: SubscribeToPartiesRequest) => Stream<SubscribeToPartiesResponse>;
22
- SubscribeToItems: (request: SubscribeToItemsRequest) => Stream<SubscribeToItemsResponse>;
23
- SubscribeToFeeds: (request: SubscribeToFeedsRequest) => Stream<SubscribeToFeedsResponse>;
24
- SubscribeToFeed: (request: SubscribeToFeedRequest) => Stream<SubscribeToFeedResponse>;
25
- GetPartySnapshot: (request: GetPartySnapshotRequest) => Promise<GetPartySnapshotResponse>;
26
- SavePartySnapshot: (request: SavePartySnapshotRequest) => Promise<SavePartySnapshotResponse>;
27
- ClearSnapshots: (request: ClearSnapshotsRequest) => Promise<void>;
28
- GetNetworkPeers: (request: GetNetworkPeersRequest) => Promise<GetNetworkPeersResponse>;
29
- SubscribeToNetworkTopics: (request: void) => Stream<SubscribeToNetworkTopicsResponse>;
30
- SubscribeToSignalStatus: (request: void) => Stream<SubscribeToSignalStatusResponse>;
31
- SubscribeToSignalTrace: (request: void) => Stream<SubscribeToSignalTraceResponse>;
32
- SubscribeToSwarmInfo: (request: SubscribeToSwarmInfoRequest) => Stream<SubscribeToSwarmInfoResponse>;
14
+ events: (request: void) => Stream<Event>;
15
+ getConfig: (request: void) => Promise<GetConfigResponse>;
16
+ resetStorage: (request: ResetStorageRequest) => Promise<void>;
17
+ enableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
18
+ disableDebugLogging: (request: EnableDebugLoggingRequest) => Promise<EnableDebugLoggingResponse>;
19
+ subscribeToKeyringKeys: (request: SubscribeToKeyringKeysRequest) => Stream<SubscribeToKeyringKeysResponse>;
20
+ subscribeToCredentialMessages: (request: SubscribeToCredentialMessagesRequest) => Stream<SubscribeToCredentialMessagesResponse>;
21
+ subscribeToParties: (request: SubscribeToPartiesRequest) => Stream<SubscribeToPartiesResponse>;
22
+ subscribeToItems: (request: SubscribeToItemsRequest) => Stream<SubscribeToItemsResponse>;
23
+ subscribeToFeeds: (request: SubscribeToFeedsRequest) => Stream<SubscribeToFeedsResponse>;
24
+ subscribeToFeed: (request: SubscribeToFeedRequest) => Stream<SubscribeToFeedResponse>;
25
+ getPartySnapshot: (request: GetPartySnapshotRequest) => Promise<GetPartySnapshotResponse>;
26
+ savePartySnapshot: (request: SavePartySnapshotRequest) => Promise<SavePartySnapshotResponse>;
27
+ clearSnapshots: (request: ClearSnapshotsRequest) => Promise<void>;
28
+ getNetworkPeers: (request: GetNetworkPeersRequest) => Promise<GetNetworkPeersResponse>;
29
+ subscribeToNetworkTopics: (request: void) => Stream<SubscribeToNetworkTopicsResponse>;
30
+ subscribeToSignalStatus: (request: void) => Stream<SubscribeToSignalStatusResponse>;
31
+ subscribeToSignalTrace: (request: void) => Stream<SubscribeToSignalTraceResponse>;
32
+ subscribeToSwarmInfo: (request: SubscribeToSwarmInfoRequest) => Stream<SubscribeToSwarmInfoResponse>;
33
33
  }
34
34
  export interface Event {
35
35
  ready?: ReadyEvent;
@@ -196,6 +196,6 @@ export interface SetTracingOptionsRequest {
196
196
  enable?: boolean;
197
197
  }
198
198
  export interface TracingService {
199
- SetTracingOptions: (request: SetTracingOptionsRequest) => Promise<void>;
200
- SubscribeToRpcTrace: (request: void) => Stream<dxos_rpc.RpcMessage>;
199
+ setTracingOptions: (request: SetTracingOptionsRequest) => Promise<void>;
200
+ subscribeToRpcTrace: (request: void) => Stream<dxos_rpc.RpcMessage>;
201
201
  }
@@ -47,7 +47,7 @@ export interface MutationReceipt {
47
47
  seq?: number;
48
48
  }
49
49
  export interface DataService {
50
- SubscribeEntitySet: (request: SubscribeEntitySetRequest) => Stream<SubscribeEntitySetResponse>;
51
- SubscribeEntityStream: (request: SubscribeEntityStreamRequest) => Stream<SubscribeEntityStreamResponse>;
52
- Write: (request: WriteRequest) => Promise<MutationReceipt>;
50
+ subscribeEntitySet: (request: SubscribeEntitySetRequest) => Stream<SubscribeEntitySetResponse>;
51
+ subscribeEntityStream: (request: SubscribeEntityStreamRequest) => Stream<SubscribeEntityStreamResponse>;
52
+ write: (request: WriteRequest) => Promise<MutationReceipt>;
53
53
  }