@dxos/client 2.25.1-dev.be228d10 → 2.26.1-dev.4b9fb0c5
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/dist/src/api/echo-proxy.d.ts.map +1 -1
- package/dist/src/api/echo-proxy.js +9 -7
- package/dist/src/api/echo-proxy.js.map +1 -1
- package/dist/src/api/halo-proxy.d.ts.map +1 -1
- package/dist/src/api/halo-proxy.js +14 -11
- package/dist/src/api/halo-proxy.js.map +1 -1
- package/dist/src/api/party-proxy.d.ts +5 -1
- package/dist/src/api/party-proxy.d.ts.map +1 -1
- package/dist/src/api/party-proxy.js +12 -6
- package/dist/src/api/party-proxy.js.map +1 -1
- package/dist/src/client/client-services.test.js +5 -5
- package/dist/src/client/client.js +3 -3
- package/dist/src/client/client.js.map +1 -1
- package/dist/src/client/client.test.js +2 -2
- package/dist/src/client/client.test.js.map +1 -1
- package/dist/src/client/service-host/services/halo.d.ts +3 -3
- package/dist/src/client/service-host/services/halo.d.ts.map +1 -1
- package/dist/src/client/service-host/services/halo.js +7 -3
- package/dist/src/client/service-host/services/halo.js.map +1 -1
- package/dist/src/client/service-host/services/party.d.ts +10 -10
- package/dist/src/client/service-host/services/party.js +10 -10
- package/dist/src/client/service-host/services/profile.d.ts +6 -6
- package/dist/src/client/service-host/services/profile.js +6 -6
- package/dist/src/client/service-host/services/services.js +2 -2
- package/dist/src/client/service-host/services/system.js +2 -2
- package/dist/src/devtools/devtools-host.js +19 -19
- package/dist/src/devtools/items.js +2 -2
- package/dist/src/devtools/items.js.map +1 -1
- package/dist/src/proto/gen/dxos/client.d.ts +21 -21
- package/dist/src/proto/gen/dxos/devtools.d.ts +21 -21
- package/dist/src/proto/gen/dxos/echo/service.d.ts +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +19 -19
- package/src/api/echo-proxy.ts +11 -7
- package/src/api/halo-proxy.ts +16 -11
- package/src/api/party-proxy.ts +14 -7
- package/src/client/client-services.test.ts +5 -5
- package/src/client/client.test.ts +2 -2
- package/src/client/client.ts +3 -3
- package/src/client/service-host/services/halo.ts +8 -3
- package/src/client/service-host/services/party.ts +10 -10
- package/src/client/service-host/services/profile.ts +6 -6
- package/src/client/service-host/services/services.ts +2 -2
- package/src/client/service-host/services/system.ts +2 -2
- package/src/devtools/devtools-host.ts +19 -19
- package/src/devtools/items.ts +2 -2
- package/src/proto/gen/dxos/client.ts +21 -21
- package/src/proto/gen/dxos/devtools.ts +21 -21
- 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
|
-
|
|
15
|
-
|
|
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
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
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
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
200
|
-
|
|
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
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
subscribeEntitySet: (request: SubscribeEntitySetRequest) => Stream<SubscribeEntitySetResponse>;
|
|
51
|
+
subscribeEntityStream: (request: SubscribeEntityStreamRequest) => Stream<SubscribeEntityStreamResponse>;
|
|
52
|
+
write: (request: WriteRequest) => Promise<MutationReceipt>;
|
|
53
53
|
}
|